diff --git a/contracts/deployments/base/.migrations.json b/contracts/deployments/base/.migrations.json index ee8891ad19..c5b75bf050 100644 --- a/contracts/deployments/base/.migrations.json +++ b/contracts/deployments/base/.migrations.json @@ -12,5 +12,6 @@ "011_transfer_governance": 1725984158, "012_claim_governance": 1725984162, "013_revoke_admin_role": 1727204761, - "014_fixed_rate_dripper": 1727409372 + "014_fixed_rate_dripper": 1727409372, + "015_harvester": 1727718319 } \ No newline at end of file diff --git a/contracts/deployments/base/OETHBaseHarvester.json b/contracts/deployments/base/OETHBaseHarvester.json new file mode 100644 index 0000000000..823d280af1 --- /dev/null +++ b/contracts/deployments/base/OETHBaseHarvester.json @@ -0,0 +1,466 @@ +{ + "address": "0xA50fD560AF7433D00d231B397512F5df375ffaD8", + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "_vault", + "type": "address" + }, + { + "internalType": "address", + "name": "_amoStrategy", + "type": "address" + }, + { + "internalType": "address", + "name": "_aero", + "type": "address" + }, + { + "internalType": "address", + "name": "_weth", + "type": "address" + }, + { + "internalType": "address", + "name": "_swapRouter", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousGovernor", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newGovernor", + "type": "address" + } + ], + "name": "GovernorshipTransferred", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "oldOperator", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "newOperator", + "type": "address" + } + ], + "name": "OperatorChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousGovernor", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newGovernor", + "type": "address" + } + ], + "name": "PendingGovernorshipTransfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "rewardToken", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "swappedInto", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint8", + "name": "swapPlatform", + "type": "uint8" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amountIn", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amountOut", + "type": "uint256" + } + ], + "name": "RewardTokenSwapped", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "yield", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "fee", + "type": "uint256" + } + ], + "name": "YieldSent", + "type": "event" + }, + { + "inputs": [], + "name": "aero", + "outputs": [ + { + "internalType": "contract IERC20", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "amoStrategy", + "outputs": [ + { + "internalType": "contract IStrategy", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "claimGovernance", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "governor", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "harvest", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "aeroToSwap", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "minWETHExpected", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "feeBps", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "sendYieldToDripper", + "type": "bool" + } + ], + "name": "harvestAndSwap", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "isGovernor", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "operatorAddr", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_operatorAddr", + "type": "address" + } + ], + "name": "setOperatorAddr", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "swapRouter", + "outputs": [ + { + "internalType": "contract ISwapRouter", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_newGovernor", + "type": "address" + } + ], + "name": "transferGovernance", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_asset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "transferToken", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "vault", + "outputs": [ + { + "internalType": "contract IVault", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "weth", + "outputs": [ + { + "internalType": "contract IERC20", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "transactionHash": "0xc4f144187fbf4387170098d2ee1cf51408927c1313767c58f20c931d35348b45", + "receipt": { + "to": null, + "from": "0x58890A9cB27586E83Cb51d2d26bbE18a1a647245", + "contractAddress": "0xA50fD560AF7433D00d231B397512F5df375ffaD8", + "transactionIndex": 28, + "gasUsed": "1411765", + "logsBloom": "0x00000000000001000000000000000000000000000000000000000000000000000000000000000000000100000000000000008000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000800000000000000000000000000000000000004000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008010000000000010000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000", + "blockHash": "0x1f07ebce02dc2bce6f5aa1945ccba8ca99ca86c8f0fd0862abd32a2374419d85", + "transactionHash": "0xc4f144187fbf4387170098d2ee1cf51408927c1313767c58f20c931d35348b45", + "logs": [ + { + "transactionIndex": 28, + "blockNumber": 20464477, + "transactionHash": "0xc4f144187fbf4387170098d2ee1cf51408927c1313767c58f20c931d35348b45", + "address": "0xA50fD560AF7433D00d231B397512F5df375ffaD8", + "topics": [ + "0xc7c0c772add429241571afb3805861fb3cfa2af374534088b76cdb4325a87e9a", + "0x0000000000000000000000000000000000000000000000000000000000000000", + "0x00000000000000000000000058890a9cb27586e83cb51d2d26bbe18a1a647245" + ], + "data": "0x", + "logIndex": 116, + "blockHash": "0x1f07ebce02dc2bce6f5aa1945ccba8ca99ca86c8f0fd0862abd32a2374419d85" + } + ], + "blockNumber": 20464477, + "cumulativeGasUsed": "6525235", + "status": 1, + "byzantium": true + }, + "args": [ + "0x98a0CbeF61bD2D21435f433bE4CD42B56B38CC93", + "0xF611cC500eEE7E4e4763A05FE623E2363c86d2Af", + "0x940181a94A35A4569E4529A3CDfB74e38FD98631", + "0x4200000000000000000000000000000000000006", + "0xBE6D8f0d05cC4be24d5167a3eF062215bE6D18a5" + ], + "numDeployments": 1, + "solcInputHash": "2187cac0f2ea82bf39113c8aaf196a20", + "metadata": "{\"compiler\":{\"version\":\"0.8.7+commit.e28d00a7\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_vault\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_amoStrategy\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_aero\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_weth\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_swapRouter\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousGovernor\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newGovernor\",\"type\":\"address\"}],\"name\":\"GovernorshipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldOperator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newOperator\",\"type\":\"address\"}],\"name\":\"OperatorChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousGovernor\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newGovernor\",\"type\":\"address\"}],\"name\":\"PendingGovernorshipTransfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"rewardToken\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"swappedInto\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"swapPlatform\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"name\":\"RewardTokenSwapped\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"yield\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"name\":\"YieldSent\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"aero\",\"outputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"amoStrategy\",\"outputs\":[{\"internalType\":\"contract IStrategy\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claimGovernance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"governor\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"harvest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"aeroToSwap\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minWETHExpected\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feeBps\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"sendYieldToDripper\",\"type\":\"bool\"}],\"name\":\"harvestAndSwap\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isGovernor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"operatorAddr\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operatorAddr\",\"type\":\"address\"}],\"name\":\"setOperatorAddr\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"swapRouter\",\"outputs\":[{\"internalType\":\"contract ISwapRouter\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newGovernor\",\"type\":\"address\"}],\"name\":\"transferGovernance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"transferToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vault\",\"outputs\":[{\"internalType\":\"contract IVault\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"weth\",\"outputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"harvestAndSwap(uint256,uint256,uint256,bool)\":{\"params\":{\"aeroToSwap\":\"Amount of AERO to swap\",\"feeBps\":\"Performance fee bps (Sent to strategist)\",\"minWETHExpected\":\"Min. amount of WETH to expect\",\"sendYieldToDripper\":\"Sends yield to Dripper, if set to true. Otherwise, to the Guardian\"}},\"setOperatorAddr(address)\":{\"details\":\"Changes the operator address which can call `harvest`\",\"params\":{\"_operatorAddr\":\"New operator address\"}},\"transferGovernance(address)\":{\"params\":{\"_newGovernor\":\"Address of the new Governor\"}},\"transferToken(address,uint256)\":{\"params\":{\"_amount\":\"Amount of the asset to transfer\",\"_asset\":\"Address for the asset\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"claimGovernance()\":{\"notice\":\"Claim Governance of the contract to a new account (`newGovernor`). Can only be called by the new Governor.\"},\"governor()\":{\"notice\":\"Returns the address of the current Governor.\"},\"harvest()\":{\"notice\":\"Collects AERO from AMO strategy and sends it to the Strategist multisig. Anyone can call it.\"},\"harvestAndSwap(uint256,uint256,uint256,bool)\":{\"notice\":\"Harvests AERO from AMO strategy and then swaps some (or all) of it into WETH to distribute yield and fee. When `feeBps` is set to 10000 (100%), all WETH received is sent to strategist.\"},\"isGovernor()\":{\"notice\":\"Returns true if the caller is the current Governor.\"},\"transferGovernance(address)\":{\"notice\":\"Transfers Governance of the contract to a new account (`newGovernor`). Can only be called by the current Governor. Must be claimed for this to complete\"},\"transferToken(address,uint256)\":{\"notice\":\"Transfer token to governor. Intended for recovering tokens stuck in the contract, i.e. mistaken sends. Also, allows to transfer any AERO left in the contract.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/harvest/OETHBaseHarvester.sol\":\"OETHBaseHarvester\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n */\\ninterface IERC20 {\\n /**\\n * @dev Returns the amount of tokens in existence.\\n */\\n function totalSupply() external view returns (uint256);\\n\\n /**\\n * @dev Returns the amount of tokens owned by `account`.\\n */\\n function balanceOf(address account) external view returns (uint256);\\n\\n /**\\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transfer(address recipient, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Returns the remaining number of tokens that `spender` will be\\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n * zero by default.\\n *\\n * This value changes when {approve} or {transferFrom} are called.\\n */\\n function allowance(address owner, address spender) external view returns (uint256);\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n * that someone may use both the old and the new allowance by unfortunate\\n * transaction ordering. One possible solution to mitigate this race\\n * condition is to first reduce the spender's allowance to 0 and set the\\n * desired value afterwards:\\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n *\\n * Emits an {Approval} event.\\n */\\n function approve(address spender, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\\n * allowance mechanism. `amount` is then deducted from the caller's\\n * allowance.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transferFrom(\\n address sender,\\n address recipient,\\n uint256 amount\\n ) external returns (bool);\\n\\n /**\\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n * another (`to`).\\n *\\n * Note that `value` may be zero.\\n */\\n event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n /**\\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n * a call to {approve}. `value` is the new allowance.\\n */\\n event Approval(address indexed owner, address indexed spender, uint256 value);\\n}\\n\",\"keccak256\":\"0x61437cb513a887a1bbad006e7b1c8b414478427d33de47c5600af3c748f108da\",\"license\":\"MIT\"},\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../IERC20.sol\\\";\\nimport \\\"../../../utils/Address.sol\\\";\\n\\n/**\\n * @title SafeERC20\\n * @dev Wrappers around ERC20 operations that throw on failure (when the token\\n * contract returns false). Tokens that return no value (and instead revert or\\n * throw on failure) are also supported, non-reverting calls are assumed to be\\n * successful.\\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\\n */\\nlibrary SafeERC20 {\\n using Address for address;\\n\\n function safeTransfer(\\n IERC20 token,\\n address to,\\n uint256 value\\n ) internal {\\n _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\\n }\\n\\n function safeTransferFrom(\\n IERC20 token,\\n address from,\\n address to,\\n uint256 value\\n ) internal {\\n _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\\n }\\n\\n /**\\n * @dev Deprecated. This function has issues similar to the ones found in\\n * {IERC20-approve}, and its usage is discouraged.\\n *\\n * Whenever possible, use {safeIncreaseAllowance} and\\n * {safeDecreaseAllowance} instead.\\n */\\n function safeApprove(\\n IERC20 token,\\n address spender,\\n uint256 value\\n ) internal {\\n // safeApprove should only be called when setting an initial allowance,\\n // or when resetting it to zero. To increase and decrease it, use\\n // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\\n require(\\n (value == 0) || (token.allowance(address(this), spender) == 0),\\n \\\"SafeERC20: approve from non-zero to non-zero allowance\\\"\\n );\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\\n }\\n\\n function safeIncreaseAllowance(\\n IERC20 token,\\n address spender,\\n uint256 value\\n ) internal {\\n uint256 newAllowance = token.allowance(address(this), spender) + value;\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n }\\n\\n function safeDecreaseAllowance(\\n IERC20 token,\\n address spender,\\n uint256 value\\n ) internal {\\n unchecked {\\n uint256 oldAllowance = token.allowance(address(this), spender);\\n require(oldAllowance >= value, \\\"SafeERC20: decreased allowance below zero\\\");\\n uint256 newAllowance = oldAllowance - value;\\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n }\\n }\\n\\n /**\\n * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\\n * on the return value: the return value is optional (but if data is returned, it must not be false).\\n * @param token The token targeted by the call.\\n * @param data The call data (encoded using abi.encode or one of its variants).\\n */\\n function _callOptionalReturn(IERC20 token, bytes memory data) private {\\n // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\n // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that\\n // the target address contains contract code and also asserts for success in the low-level call.\\n\\n bytes memory returndata = address(token).functionCall(data, \\\"SafeERC20: low-level call failed\\\");\\n if (returndata.length > 0) {\\n // Return data is optional\\n require(abi.decode(returndata, (bool)), \\\"SafeERC20: ERC20 operation did not succeed\\\");\\n }\\n }\\n}\\n\",\"keccak256\":\"0xc3d946432c0ddbb1f846a0d3985be71299df331b91d06732152117f62f0be2b5\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/Address.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // This method relies on extcodesize, which returns 0 for contracts in\\n // construction, since the code is only stored at the end of the\\n // constructor execution.\\n\\n uint256 size;\\n assembly {\\n size := extcodesize(account)\\n }\\n return size > 0;\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n\\n /**\\n * @dev Performs a Solidity function call using a low level `call`. A\\n * plain `call` is an unsafe replacement for a function call: use this\\n * function instead.\\n *\\n * If `target` reverts with a revert reason, it is bubbled up by this\\n * function (like regular Solidity function calls).\\n *\\n * Returns the raw returned data. To convert to the expected return value,\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n *\\n * Requirements:\\n *\\n * - `target` must be a contract.\\n * - calling `target` with `data` must not revert.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCall(target, data, \\\"Address: low-level call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but also transferring `value` wei to `target`.\\n *\\n * Requirements:\\n *\\n * - the calling contract must have an ETH balance of at least `value`.\\n * - the called Solidity function must be `payable`.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n require(isContract(target), \\\"Address: call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.call{value: value}(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal view returns (bytes memory) {\\n require(isContract(target), \\\"Address: static call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n require(isContract(target), \\\"Address: delegate call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.delegatecall(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\\n * revert reason using the provided one.\\n *\\n * _Available since v4.3._\\n */\\n function verifyCallResult(\\n bool success,\\n bytes memory returndata,\\n string memory errorMessage\\n ) internal pure returns (bytes memory) {\\n if (success) {\\n return returndata;\\n } else {\\n // Look for revert reason and bubble it up if present\\n if (returndata.length > 0) {\\n // The easiest way to bubble the revert reason is using memory via assembly\\n\\n assembly {\\n let returndata_size := mload(returndata)\\n revert(add(32, returndata), returndata_size)\\n }\\n } else {\\n revert(errorMessage);\\n }\\n }\\n }\\n}\\n\",\"keccak256\":\"0x51b758a8815ecc9596c66c37d56b1d33883a444631a3f916b9fe65cb863ef7c4\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/math/SafeMath.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)\\n\\npragma solidity ^0.8.0;\\n\\n// CAUTION\\n// This version of SafeMath should only be used with Solidity 0.8 or later,\\n// because it relies on the compiler's built in overflow checks.\\n\\n/**\\n * @dev Wrappers over Solidity's arithmetic operations.\\n *\\n * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler\\n * now has built in overflow checking.\\n */\\nlibrary SafeMath {\\n /**\\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\\n *\\n * _Available since v3.4._\\n */\\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n unchecked {\\n uint256 c = a + b;\\n if (c < a) return (false, 0);\\n return (true, c);\\n }\\n }\\n\\n /**\\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\\n *\\n * _Available since v3.4._\\n */\\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n unchecked {\\n if (b > a) return (false, 0);\\n return (true, a - b);\\n }\\n }\\n\\n /**\\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\\n *\\n * _Available since v3.4._\\n */\\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n unchecked {\\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\\n // benefit is lost if 'b' is also tested.\\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\\n if (a == 0) return (true, 0);\\n uint256 c = a * b;\\n if (c / a != b) return (false, 0);\\n return (true, c);\\n }\\n }\\n\\n /**\\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\\n *\\n * _Available since v3.4._\\n */\\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n unchecked {\\n if (b == 0) return (false, 0);\\n return (true, a / b);\\n }\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\\n *\\n * _Available since v3.4._\\n */\\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\\n unchecked {\\n if (b == 0) return (false, 0);\\n return (true, a % b);\\n }\\n }\\n\\n /**\\n * @dev Returns the addition of two unsigned integers, reverting on\\n * overflow.\\n *\\n * Counterpart to Solidity's `+` operator.\\n *\\n * Requirements:\\n *\\n * - Addition cannot overflow.\\n */\\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\\n return a + b;\\n }\\n\\n /**\\n * @dev Returns the subtraction of two unsigned integers, reverting on\\n * overflow (when the result is negative).\\n *\\n * Counterpart to Solidity's `-` operator.\\n *\\n * Requirements:\\n *\\n * - Subtraction cannot overflow.\\n */\\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\\n return a - b;\\n }\\n\\n /**\\n * @dev Returns the multiplication of two unsigned integers, reverting on\\n * overflow.\\n *\\n * Counterpart to Solidity's `*` operator.\\n *\\n * Requirements:\\n *\\n * - Multiplication cannot overflow.\\n */\\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\\n return a * b;\\n }\\n\\n /**\\n * @dev Returns the integer division of two unsigned integers, reverting on\\n * division by zero. The result is rounded towards zero.\\n *\\n * Counterpart to Solidity's `/` operator.\\n *\\n * Requirements:\\n *\\n * - The divisor cannot be zero.\\n */\\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\\n return a / b;\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\\n * reverting when dividing by zero.\\n *\\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\\n * opcode (which leaves remaining gas untouched) while Solidity uses an\\n * invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n *\\n * - The divisor cannot be zero.\\n */\\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\\n return a % b;\\n }\\n\\n /**\\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\\n * overflow (when the result is negative).\\n *\\n * CAUTION: This function is deprecated because it requires allocating memory for the error\\n * message unnecessarily. For custom revert reasons use {trySub}.\\n *\\n * Counterpart to Solidity's `-` operator.\\n *\\n * Requirements:\\n *\\n * - Subtraction cannot overflow.\\n */\\n function sub(\\n uint256 a,\\n uint256 b,\\n string memory errorMessage\\n ) internal pure returns (uint256) {\\n unchecked {\\n require(b <= a, errorMessage);\\n return a - b;\\n }\\n }\\n\\n /**\\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\\n * division by zero. The result is rounded towards zero.\\n *\\n * Counterpart to Solidity's `/` operator. Note: this function uses a\\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\\n * uses an invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n *\\n * - The divisor cannot be zero.\\n */\\n function div(\\n uint256 a,\\n uint256 b,\\n string memory errorMessage\\n ) internal pure returns (uint256) {\\n unchecked {\\n require(b > 0, errorMessage);\\n return a / b;\\n }\\n }\\n\\n /**\\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\\n * reverting with custom message when dividing by zero.\\n *\\n * CAUTION: This function is deprecated because it requires allocating memory for the error\\n * message unnecessarily. For custom revert reasons use {tryMod}.\\n *\\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\\n * opcode (which leaves remaining gas untouched) while Solidity uses an\\n * invalid opcode to revert (consuming all remaining gas).\\n *\\n * Requirements:\\n *\\n * - The divisor cannot be zero.\\n */\\n function mod(\\n uint256 a,\\n uint256 b,\\n string memory errorMessage\\n ) internal pure returns (uint256) {\\n unchecked {\\n require(b > 0, errorMessage);\\n return a % b;\\n }\\n }\\n}\\n\",\"keccak256\":\"0xa2f576be637946f767aa56601c26d717f48a0aff44f82e46f13807eea1009a21\",\"license\":\"MIT\"},\"contracts/governance/Governable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/**\\n * @title Base for contracts that are managed by the Origin Protocol's Governor.\\n * @dev Copy of the openzeppelin Ownable.sol contract with nomenclature change\\n * from owner to governor and renounce methods removed. Does not use\\n * Context.sol like Ownable.sol does for simplification.\\n * @author Origin Protocol Inc\\n */\\ncontract Governable {\\n // Storage position of the owner and pendingOwner of the contract\\n // keccak256(\\\"OUSD.governor\\\");\\n bytes32 private constant governorPosition =\\n 0x7bea13895fa79d2831e0a9e28edede30099005a50d652d8957cf8a607ee6ca4a;\\n\\n // keccak256(\\\"OUSD.pending.governor\\\");\\n bytes32 private constant pendingGovernorPosition =\\n 0x44c4d30b2eaad5130ad70c3ba6972730566f3e6359ab83e800d905c61b1c51db;\\n\\n // keccak256(\\\"OUSD.reentry.status\\\");\\n bytes32 private constant reentryStatusPosition =\\n 0x53bf423e48ed90e97d02ab0ebab13b2a235a6bfbe9c321847d5c175333ac4535;\\n\\n // See OpenZeppelin ReentrancyGuard implementation\\n uint256 constant _NOT_ENTERED = 1;\\n uint256 constant _ENTERED = 2;\\n\\n event PendingGovernorshipTransfer(\\n address indexed previousGovernor,\\n address indexed newGovernor\\n );\\n\\n event GovernorshipTransferred(\\n address indexed previousGovernor,\\n address indexed newGovernor\\n );\\n\\n /**\\n * @dev Initializes the contract setting the deployer as the initial Governor.\\n */\\n constructor() {\\n _setGovernor(msg.sender);\\n emit GovernorshipTransferred(address(0), _governor());\\n }\\n\\n /**\\n * @notice Returns the address of the current Governor.\\n */\\n function governor() public view returns (address) {\\n return _governor();\\n }\\n\\n /**\\n * @dev Returns the address of the current Governor.\\n */\\n function _governor() internal view returns (address governorOut) {\\n bytes32 position = governorPosition;\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n governorOut := sload(position)\\n }\\n }\\n\\n /**\\n * @dev Returns the address of the pending Governor.\\n */\\n function _pendingGovernor()\\n internal\\n view\\n returns (address pendingGovernor)\\n {\\n bytes32 position = pendingGovernorPosition;\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n pendingGovernor := sload(position)\\n }\\n }\\n\\n /**\\n * @dev Throws if called by any account other than the Governor.\\n */\\n modifier onlyGovernor() {\\n require(isGovernor(), \\\"Caller is not the Governor\\\");\\n _;\\n }\\n\\n /**\\n * @notice Returns true if the caller is the current Governor.\\n */\\n function isGovernor() public view returns (bool) {\\n return msg.sender == _governor();\\n }\\n\\n function _setGovernor(address newGovernor) internal {\\n bytes32 position = governorPosition;\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n sstore(position, newGovernor)\\n }\\n }\\n\\n /**\\n * @dev Prevents a contract from calling itself, directly or indirectly.\\n * Calling a `nonReentrant` function from another `nonReentrant`\\n * function is not supported. It is possible to prevent this from happening\\n * by making the `nonReentrant` function external, and make it call a\\n * `private` function that does the actual work.\\n */\\n modifier nonReentrant() {\\n bytes32 position = reentryStatusPosition;\\n uint256 _reentry_status;\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n _reentry_status := sload(position)\\n }\\n\\n // On the first call to nonReentrant, _notEntered will be true\\n require(_reentry_status != _ENTERED, \\\"Reentrant call\\\");\\n\\n // Any calls to nonReentrant after this point will fail\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n sstore(position, _ENTERED)\\n }\\n\\n _;\\n\\n // By storing the original value once again, a refund is triggered (see\\n // https://eips.ethereum.org/EIPS/eip-2200)\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n sstore(position, _NOT_ENTERED)\\n }\\n }\\n\\n function _setPendingGovernor(address newGovernor) internal {\\n bytes32 position = pendingGovernorPosition;\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n sstore(position, newGovernor)\\n }\\n }\\n\\n /**\\n * @notice Transfers Governance of the contract to a new account (`newGovernor`).\\n * Can only be called by the current Governor. Must be claimed for this to complete\\n * @param _newGovernor Address of the new Governor\\n */\\n function transferGovernance(address _newGovernor) external onlyGovernor {\\n _setPendingGovernor(_newGovernor);\\n emit PendingGovernorshipTransfer(_governor(), _newGovernor);\\n }\\n\\n /**\\n * @notice Claim Governance of the contract to a new account (`newGovernor`).\\n * Can only be called by the new Governor.\\n */\\n function claimGovernance() external {\\n require(\\n msg.sender == _pendingGovernor(),\\n \\\"Only the pending Governor can complete the claim\\\"\\n );\\n _changeGovernor(msg.sender);\\n }\\n\\n /**\\n * @dev Change Governance of the contract to a new account (`newGovernor`).\\n * @param _newGovernor Address of the new Governor\\n */\\n function _changeGovernor(address _newGovernor) internal {\\n require(_newGovernor != address(0), \\\"New Governor is address(0)\\\");\\n emit GovernorshipTransferred(_governor(), _newGovernor);\\n _setGovernor(_newGovernor);\\n }\\n}\\n\",\"keccak256\":\"0xb7133d6ce7a9e673ff79fcedb3fd41ae6e58e251f94915bb65731abe524270b4\",\"license\":\"MIT\"},\"contracts/harvest/OETHBaseHarvester.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { Governable } from \\\"../governance/Governable.sol\\\";\\n\\nimport { IERC20 } from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport { SafeERC20 } from \\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\";\\n\\nimport { IVault } from \\\"../interfaces/IVault.sol\\\";\\nimport { IStrategy } from \\\"../interfaces/IStrategy.sol\\\";\\nimport { ISwapRouter } from \\\"../interfaces/aerodrome/ISwapRouter.sol\\\";\\n\\ncontract OETHBaseHarvester is Governable {\\n using SafeERC20 for IERC20;\\n\\n IVault public immutable vault;\\n IStrategy public immutable amoStrategy;\\n IERC20 public immutable aero;\\n IERC20 public immutable weth;\\n ISwapRouter public immutable swapRouter;\\n\\n address public operatorAddr;\\n\\n // Similar sig to `AbstractHarvester.RewardTokenSwapped` for\\n // future compatibility with monitoring\\n event RewardTokenSwapped(\\n address indexed rewardToken,\\n address indexed swappedInto,\\n uint8 swapPlatform,\\n uint256 amountIn,\\n uint256 amountOut\\n );\\n\\n event OperatorChanged(address oldOperator, address newOperator);\\n event YieldSent(address recipient, uint256 yield, uint256 fee);\\n\\n /**\\n * @notice Verifies that the caller is either Governor or Strategist.\\n */\\n modifier onlyGovernorOrStrategist() {\\n require(\\n msg.sender == vault.strategistAddr() || isGovernor(),\\n \\\"Caller is not the Strategist or Governor\\\"\\n );\\n _;\\n }\\n\\n /**\\n * @notice Verifies that the caller is either Governor or Strategist.\\n */\\n modifier onlyGovernorOrStrategistOrOperator() {\\n require(\\n msg.sender == operatorAddr ||\\n msg.sender == vault.strategistAddr() ||\\n isGovernor(),\\n \\\"Caller is not the Operator or Strategist or Governor\\\"\\n );\\n _;\\n }\\n\\n constructor(\\n address _vault,\\n address _amoStrategy,\\n address _aero,\\n address _weth,\\n address _swapRouter\\n ) {\\n vault = IVault(_vault);\\n amoStrategy = IStrategy(_amoStrategy);\\n aero = IERC20(_aero);\\n weth = IERC20(_weth);\\n swapRouter = ISwapRouter(_swapRouter);\\n }\\n\\n /**\\n * @dev Changes the operator address which can call `harvest`\\n * @param _operatorAddr New operator address\\n */\\n function setOperatorAddr(address _operatorAddr) external onlyGovernor {\\n emit OperatorChanged(operatorAddr, _operatorAddr);\\n operatorAddr = _operatorAddr;\\n }\\n\\n /**\\n * @notice Collects AERO from AMO strategy and\\n * sends it to the Strategist multisig.\\n * Anyone can call it.\\n */\\n function harvest() external onlyGovernorOrStrategistOrOperator {\\n address strategistAddr = vault.strategistAddr();\\n require(strategistAddr != address(0), \\\"Guardian address not set\\\");\\n\\n // Collect all AERO\\n amoStrategy.collectRewardTokens();\\n\\n uint256 aeroBalance = aero.balanceOf(address(this));\\n if (aeroBalance == 0) {\\n // Do nothing if there's no AERO to transfer\\n return;\\n }\\n\\n // Transfer everything to Strategist\\n aero.safeTransfer(strategistAddr, aeroBalance);\\n }\\n\\n /**\\n * @notice Harvests AERO from AMO strategy and then swaps some (or all)\\n * of it into WETH to distribute yield and fee.\\n * When `feeBps` is set to 10000 (100%), all WETH received is\\n * sent to strategist.\\n *\\n * @param aeroToSwap Amount of AERO to swap\\n * @param minWETHExpected Min. amount of WETH to expect\\n * @param feeBps Performance fee bps (Sent to strategist)\\n * @param sendYieldToDripper Sends yield to Dripper, if set to true.\\n * Otherwise, to the Guardian\\n */\\n function harvestAndSwap(\\n uint256 aeroToSwap,\\n uint256 minWETHExpected,\\n uint256 feeBps,\\n bool sendYieldToDripper\\n ) external onlyGovernorOrStrategist {\\n address strategistAddr = vault.strategistAddr();\\n require(strategistAddr != address(0), \\\"Guardian address not set\\\");\\n\\n // Yields can either be sent to the Dripper or Strategist\\n address yieldRecipient = sendYieldToDripper\\n ? vault.dripper()\\n : strategistAddr;\\n require(yieldRecipient != address(0), \\\"Yield recipient not set\\\");\\n\\n require(feeBps <= 10000, \\\"Invalid Fee Bps\\\");\\n\\n // Collect all AERO\\n amoStrategy.collectRewardTokens();\\n\\n uint256 aeroBalance = aero.balanceOf(address(this));\\n if (aeroBalance == 0) {\\n // Do nothing if there's no AERO to transfer/swap\\n return;\\n }\\n\\n if (aeroToSwap > 0) {\\n if (aeroBalance < aeroToSwap) {\\n // Transfer in balance from the multisig as needed\\n // slither-disable-next-line unchecked-transfer arbitrary-send-erc20\\n aero.safeTransferFrom(\\n strategistAddr,\\n address(this),\\n aeroToSwap - aeroBalance\\n );\\n }\\n\\n _doSwap(aeroToSwap, minWETHExpected);\\n\\n // Figure out AERO left in contract after swap\\n aeroBalance = aero.balanceOf(address(this));\\n }\\n\\n // Transfer out any leftover AERO after swap\\n if (aeroBalance > 0) {\\n aero.safeTransfer(strategistAddr, aeroBalance);\\n }\\n\\n // Computes using all balance the contract holds,\\n // not just the WETH received from swap. Use `transferToken`\\n // if there's any WETH left that needs to be taken out\\n uint256 availableWETHBalance = weth.balanceOf(address(this));\\n // Computation rounds in favor of protocol\\n uint256 fee = (availableWETHBalance * feeBps) / 10000;\\n uint256 yield = availableWETHBalance - fee;\\n\\n // Transfer yield, if any\\n if (yield > 0) {\\n weth.safeTransfer(yieldRecipient, yield);\\n }\\n\\n // Transfer fee to the Guardian, if any\\n if (fee > 0) {\\n weth.safeTransfer(strategistAddr, fee);\\n }\\n\\n emit YieldSent(yieldRecipient, yield, fee);\\n }\\n\\n /**\\n * @notice Swaps AERO to WETH on Aerodrome\\n * @param aeroToSwap Amount of AERO to swap\\n * @param minWETHExpected Min. amount of WETH to expect\\n */\\n function _doSwap(uint256 aeroToSwap, uint256 minWETHExpected) internal {\\n // Let the swap router move funds\\n aero.approve(address(swapRouter), aeroToSwap);\\n\\n // Do the swap\\n uint256 wethReceived = swapRouter.exactInputSingle(\\n ISwapRouter.ExactInputSingleParams({\\n tokenIn: address(aero),\\n tokenOut: address(weth),\\n tickSpacing: 200, // From AERO/WETH pool contract\\n recipient: address(this),\\n deadline: block.timestamp,\\n amountIn: aeroToSwap,\\n amountOutMinimum: minWETHExpected,\\n sqrtPriceLimitX96: 0\\n })\\n );\\n\\n emit RewardTokenSwapped(\\n address(aero),\\n address(weth),\\n 0,\\n aeroToSwap,\\n wethReceived\\n );\\n }\\n\\n /**\\n * @notice Transfer token to governor. Intended for recovering tokens stuck in\\n * the contract, i.e. mistaken sends.\\n * Also, allows to transfer any AERO left in the contract.\\n * @param _asset Address for the asset\\n * @param _amount Amount of the asset to transfer\\n */\\n function transferToken(address _asset, uint256 _amount)\\n external\\n virtual\\n onlyGovernor\\n {\\n IERC20(_asset).safeTransfer(governor(), _amount);\\n }\\n}\\n\",\"keccak256\":\"0xf61b47efc569a06f86496ffeee60e2d4e89c205326576d7de3aa1a9ff3c804e2\",\"license\":\"MIT\"},\"contracts/interfaces/IBasicToken.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IBasicToken {\\n function symbol() external view returns (string memory);\\n\\n function decimals() external view returns (uint8);\\n}\\n\",\"keccak256\":\"0xa562062698aa12572123b36dfd2072f1a39e44fed2031cc19c2c9fd522f96ec2\",\"license\":\"MIT\"},\"contracts/interfaces/IStrategy.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/**\\n * @title Platform interface to integrate with lending platform like Compound, AAVE etc.\\n */\\ninterface IStrategy {\\n /**\\n * @dev Deposit the given asset to platform\\n * @param _asset asset address\\n * @param _amount Amount to deposit\\n */\\n function deposit(address _asset, uint256 _amount) external;\\n\\n /**\\n * @dev Deposit the entire balance of all supported assets in the Strategy\\n * to the platform\\n */\\n function depositAll() external;\\n\\n /**\\n * @dev Withdraw given asset from Lending platform\\n */\\n function withdraw(\\n address _recipient,\\n address _asset,\\n uint256 _amount\\n ) external;\\n\\n /**\\n * @dev Liquidate all assets in strategy and return them to Vault.\\n */\\n function withdrawAll() external;\\n\\n /**\\n * @dev Returns the current balance of the given asset.\\n */\\n function checkBalance(address _asset)\\n external\\n view\\n returns (uint256 balance);\\n\\n /**\\n * @dev Returns bool indicating whether strategy supports asset.\\n */\\n function supportsAsset(address _asset) external view returns (bool);\\n\\n /**\\n * @dev Collect reward tokens from the Strategy.\\n */\\n function collectRewardTokens() external;\\n\\n /**\\n * @dev The address array of the reward tokens for the Strategy.\\n */\\n function getRewardTokenAddresses() external view returns (address[] memory);\\n}\\n\",\"keccak256\":\"0xb291e409a9b95527f9ed19cd6bff8eeb9921a21c1f5194a48c0bb9ce6613959a\",\"license\":\"MIT\"},\"contracts/interfaces/IVault.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { VaultStorage } from \\\"../vault/VaultStorage.sol\\\";\\n\\ninterface IVault {\\n event AssetSupported(address _asset);\\n event AssetDefaultStrategyUpdated(address _asset, address _strategy);\\n event AssetAllocated(address _asset, address _strategy, uint256 _amount);\\n event StrategyApproved(address _addr);\\n event StrategyRemoved(address _addr);\\n event Mint(address _addr, uint256 _value);\\n event Redeem(address _addr, uint256 _value);\\n event CapitalPaused();\\n event CapitalUnpaused();\\n event RebasePaused();\\n event RebaseUnpaused();\\n event VaultBufferUpdated(uint256 _vaultBuffer);\\n event RedeemFeeUpdated(uint256 _redeemFeeBps);\\n event PriceProviderUpdated(address _priceProvider);\\n event AllocateThresholdUpdated(uint256 _threshold);\\n event RebaseThresholdUpdated(uint256 _threshold);\\n event StrategistUpdated(address _address);\\n event MaxSupplyDiffChanged(uint256 maxSupplyDiff);\\n event YieldDistribution(address _to, uint256 _yield, uint256 _fee);\\n event TrusteeFeeBpsChanged(uint256 _basis);\\n event TrusteeAddressChanged(address _address);\\n event SwapperChanged(address _address);\\n event SwapAllowedUndervalueChanged(uint256 _basis);\\n event SwapSlippageChanged(address _asset, uint256 _basis);\\n event Swapped(\\n address indexed _fromAsset,\\n address indexed _toAsset,\\n uint256 _fromAssetAmount,\\n uint256 _toAssetAmount\\n );\\n event StrategyAddedToMintWhitelist(address indexed strategy);\\n event StrategyRemovedFromMintWhitelist(address indexed strategy);\\n event DripperChanged(address indexed _dripper);\\n event WithdrawalRequested(\\n address indexed _withdrawer,\\n uint256 indexed _requestId,\\n uint256 _amount,\\n uint256 _queued\\n );\\n event WithdrawalClaimed(\\n address indexed _withdrawer,\\n uint256 indexed _requestId,\\n uint256 _amount\\n );\\n event WithdrawalClaimable(uint256 _claimable, uint256 _newClaimable);\\n\\n // Governable.sol\\n function transferGovernance(address _newGovernor) external;\\n\\n function claimGovernance() external;\\n\\n function governor() external view returns (address);\\n\\n // VaultAdmin.sol\\n function setPriceProvider(address _priceProvider) external;\\n\\n function priceProvider() external view returns (address);\\n\\n function setRedeemFeeBps(uint256 _redeemFeeBps) external;\\n\\n function redeemFeeBps() external view returns (uint256);\\n\\n function setVaultBuffer(uint256 _vaultBuffer) external;\\n\\n function vaultBuffer() external view returns (uint256);\\n\\n function setAutoAllocateThreshold(uint256 _threshold) external;\\n\\n function autoAllocateThreshold() external view returns (uint256);\\n\\n function setRebaseThreshold(uint256 _threshold) external;\\n\\n function rebaseThreshold() external view returns (uint256);\\n\\n function setStrategistAddr(address _address) external;\\n\\n function strategistAddr() external view returns (address);\\n\\n function setMaxSupplyDiff(uint256 _maxSupplyDiff) external;\\n\\n function maxSupplyDiff() external view returns (uint256);\\n\\n function setTrusteeAddress(address _address) external;\\n\\n function trusteeAddress() external view returns (address);\\n\\n function setTrusteeFeeBps(uint256 _basis) external;\\n\\n function trusteeFeeBps() external view returns (uint256);\\n\\n function ousdMetaStrategy() external view returns (address);\\n\\n function setSwapper(address _swapperAddr) external;\\n\\n function setSwapAllowedUndervalue(uint16 _percentageBps) external;\\n\\n function setOracleSlippage(address _asset, uint16 _allowedOracleSlippageBps)\\n external;\\n\\n function supportAsset(address _asset, uint8 _supportsAsset) external;\\n\\n function approveStrategy(address _addr) external;\\n\\n function removeStrategy(address _addr) external;\\n\\n function setAssetDefaultStrategy(address _asset, address _strategy)\\n external;\\n\\n function assetDefaultStrategies(address _asset)\\n external\\n view\\n returns (address);\\n\\n function pauseRebase() external;\\n\\n function unpauseRebase() external;\\n\\n function rebasePaused() external view returns (bool);\\n\\n function pauseCapital() external;\\n\\n function unpauseCapital() external;\\n\\n function capitalPaused() external view returns (bool);\\n\\n function transferToken(address _asset, uint256 _amount) external;\\n\\n function priceUnitMint(address asset) external view returns (uint256);\\n\\n function priceUnitRedeem(address asset) external view returns (uint256);\\n\\n function withdrawAllFromStrategy(address _strategyAddr) external;\\n\\n function withdrawAllFromStrategies() external;\\n\\n function withdrawFromStrategy(\\n address _strategyFromAddress,\\n address[] calldata _assets,\\n uint256[] calldata _amounts\\n ) external;\\n\\n function depositToStrategy(\\n address _strategyToAddress,\\n address[] calldata _assets,\\n uint256[] calldata _amounts\\n ) external;\\n\\n // VaultCore.sol\\n function mint(\\n address _asset,\\n uint256 _amount,\\n uint256 _minimumOusdAmount\\n ) external;\\n\\n function mintForStrategy(uint256 _amount) external;\\n\\n function redeem(uint256 _amount, uint256 _minimumUnitAmount) external;\\n\\n function burnForStrategy(uint256 _amount) external;\\n\\n function redeemAll(uint256 _minimumUnitAmount) external;\\n\\n function allocate() external;\\n\\n function rebase() external;\\n\\n function swapCollateral(\\n address fromAsset,\\n address toAsset,\\n uint256 fromAssetAmount,\\n uint256 minToAssetAmount,\\n bytes calldata data\\n ) external returns (uint256 toAssetAmount);\\n\\n function totalValue() external view returns (uint256 value);\\n\\n function checkBalance(address _asset) external view returns (uint256);\\n\\n function calculateRedeemOutputs(uint256 _amount)\\n external\\n view\\n returns (uint256[] memory);\\n\\n function getAssetCount() external view returns (uint256);\\n\\n function getAssetConfig(address _asset)\\n external\\n view\\n returns (VaultStorage.Asset memory config);\\n\\n function getAllAssets() external view returns (address[] memory);\\n\\n function getStrategyCount() external view returns (uint256);\\n\\n function swapper() external view returns (address);\\n\\n function allowedSwapUndervalue() external view returns (uint256);\\n\\n function getAllStrategies() external view returns (address[] memory);\\n\\n function isSupportedAsset(address _asset) external view returns (bool);\\n\\n function netOusdMintForStrategyThreshold() external view returns (uint256);\\n\\n function setOusdMetaStrategy(address _ousdMetaStrategy) external;\\n\\n function setNetOusdMintForStrategyThreshold(uint256 _threshold) external;\\n\\n function netOusdMintedForStrategy() external view returns (int256);\\n\\n function setDripper(address _dripper) external;\\n\\n function dripper() external view returns (address);\\n\\n function weth() external view returns (address);\\n\\n function cacheWETHAssetIndex() external;\\n\\n function wethAssetIndex() external view returns (uint256);\\n\\n function initialize(address, address) external;\\n\\n function setAdminImpl(address) external;\\n\\n function removeAsset(address _asset) external;\\n\\n // These are OETH specific functions\\n function addWithdrawalQueueLiquidity() external;\\n\\n function requestWithdrawal(uint256 _amount)\\n external\\n returns (uint256 requestId, uint256 queued);\\n\\n function claimWithdrawal(uint256 requestId)\\n external\\n returns (uint256 amount);\\n\\n function claimWithdrawals(uint256[] memory requestIds)\\n external\\n returns (uint256[] memory amounts, uint256 totalAmount);\\n\\n function withdrawalQueueMetadata()\\n external\\n view\\n returns (VaultStorage.WithdrawalQueueMetadata memory);\\n\\n function withdrawalRequests(uint256 requestId)\\n external\\n view\\n returns (VaultStorage.WithdrawalRequest memory);\\n\\n // OETHb specific functions\\n function addStrategyToMintWhitelist(address strategyAddr) external;\\n\\n function removeStrategyFromMintWhitelist(address strategyAddr) external;\\n\\n function isMintWhitelistedStrategy(address strategyAddr)\\n external\\n view\\n returns (bool);\\n}\\n\",\"keccak256\":\"0x6e123892173532c0fef7b0be6f7f3a75a135f2310cd268792e1bd833c896f5d3\",\"license\":\"MIT\"},\"contracts/interfaces/aerodrome/ISwapRouter.sol\":{\"content\":\"// SPDX-License-Identifier: GPL-2.0-or-later\\npragma solidity >=0.7.5;\\npragma abicoder v2;\\n\\n/// @title Router token swapping functionality\\n/// @notice Functions for swapping tokens via CL\\ninterface ISwapRouter {\\n struct ExactInputSingleParams {\\n address tokenIn;\\n address tokenOut;\\n int24 tickSpacing;\\n address recipient;\\n uint256 deadline;\\n uint256 amountIn;\\n uint256 amountOutMinimum;\\n uint160 sqrtPriceLimitX96;\\n }\\n\\n /// @notice Swaps `amountIn` of one token for as much as possible of another token\\n /// @param params The parameters necessary for the swap, encoded as `ExactInputSingleParams` in calldata\\n /// @return amountOut The amount of the received token\\n function exactInputSingle(ExactInputSingleParams calldata params)\\n external\\n payable\\n returns (uint256 amountOut);\\n\\n struct ExactInputParams {\\n bytes path;\\n address recipient;\\n uint256 deadline;\\n uint256 amountIn;\\n uint256 amountOutMinimum;\\n }\\n\\n /// @notice Swaps `amountIn` of one token for as much as possible of another along the specified path\\n /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactInputParams` in calldata\\n /// @return amountOut The amount of the received token\\n function exactInput(ExactInputParams calldata params)\\n external\\n payable\\n returns (uint256 amountOut);\\n\\n struct ExactOutputSingleParams {\\n address tokenIn;\\n address tokenOut;\\n int24 tickSpacing;\\n address recipient;\\n uint256 deadline;\\n uint256 amountOut;\\n uint256 amountInMaximum;\\n uint160 sqrtPriceLimitX96;\\n }\\n\\n /// @notice Swaps as little as possible of one token for `amountOut` of another token\\n /// @param params The parameters necessary for the swap, encoded as `ExactOutputSingleParams` in calldata\\n /// @return amountIn The amount of the input token\\n function exactOutputSingle(ExactOutputSingleParams calldata params)\\n external\\n payable\\n returns (uint256 amountIn);\\n\\n struct ExactOutputParams {\\n bytes path;\\n address recipient;\\n uint256 deadline;\\n uint256 amountOut;\\n uint256 amountInMaximum;\\n }\\n\\n /// @notice Swaps as little as possible of one token for `amountOut` of another along the specified path (reversed)\\n /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactOutputParams` in calldata\\n /// @return amountIn The amount of the input token\\n function exactOutput(ExactOutputParams calldata params)\\n external\\n payable\\n returns (uint256 amountIn);\\n}\\n\",\"keccak256\":\"0x1d1fb103a1abbfa8433d6a4a10d415b0978bab2c18677924138110f72dc53a1f\",\"license\":\"GPL-2.0-or-later\"},\"contracts/token/OUSD.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/**\\n * @title OUSD Token Contract\\n * @dev ERC20 compatible contract for OUSD\\n * @dev Implements an elastic supply\\n * @author Origin Protocol Inc\\n */\\nimport { SafeMath } from \\\"@openzeppelin/contracts/utils/math/SafeMath.sol\\\";\\nimport { Address } from \\\"@openzeppelin/contracts/utils/Address.sol\\\";\\n\\nimport { Initializable } from \\\"../utils/Initializable.sol\\\";\\nimport { InitializableERC20Detailed } from \\\"../utils/InitializableERC20Detailed.sol\\\";\\nimport { StableMath } from \\\"../utils/StableMath.sol\\\";\\nimport { Governable } from \\\"../governance/Governable.sol\\\";\\n\\n/**\\n * NOTE that this is an ERC20 token but the invariant that the sum of\\n * balanceOf(x) for all x is not >= totalSupply(). This is a consequence of the\\n * rebasing design. Any integrations with OUSD should be aware.\\n */\\n\\ncontract OUSD is Initializable, InitializableERC20Detailed, Governable {\\n using SafeMath for uint256;\\n using StableMath for uint256;\\n\\n event TotalSupplyUpdatedHighres(\\n uint256 totalSupply,\\n uint256 rebasingCredits,\\n uint256 rebasingCreditsPerToken\\n );\\n event AccountRebasingEnabled(address account);\\n event AccountRebasingDisabled(address account);\\n\\n enum RebaseOptions {\\n NotSet,\\n OptOut,\\n OptIn\\n }\\n\\n uint256 private constant MAX_SUPPLY = ~uint128(0); // (2^128) - 1\\n uint256 public _totalSupply;\\n mapping(address => mapping(address => uint256)) private _allowances;\\n address public vaultAddress = address(0);\\n mapping(address => uint256) private _creditBalances;\\n uint256 private _rebasingCredits;\\n uint256 private _rebasingCreditsPerToken;\\n // Frozen address/credits are non rebasing (value is held in contracts which\\n // do not receive yield unless they explicitly opt in)\\n uint256 public nonRebasingSupply;\\n mapping(address => uint256) public nonRebasingCreditsPerToken;\\n mapping(address => RebaseOptions) public rebaseState;\\n mapping(address => uint256) public isUpgraded;\\n\\n uint256 private constant RESOLUTION_INCREASE = 1e9;\\n\\n function initialize(\\n string calldata _nameArg,\\n string calldata _symbolArg,\\n address _vaultAddress,\\n uint256 _initialCreditsPerToken\\n ) external onlyGovernor initializer {\\n InitializableERC20Detailed._initialize(_nameArg, _symbolArg, 18);\\n _rebasingCreditsPerToken = _initialCreditsPerToken;\\n vaultAddress = _vaultAddress;\\n }\\n\\n /**\\n * @dev Verifies that the caller is the Vault contract\\n */\\n modifier onlyVault() {\\n require(vaultAddress == msg.sender, \\\"Caller is not the Vault\\\");\\n _;\\n }\\n\\n /**\\n * @return The total supply of OUSD.\\n */\\n function totalSupply() public view override returns (uint256) {\\n return _totalSupply;\\n }\\n\\n /**\\n * @return Low resolution rebasingCreditsPerToken\\n */\\n function rebasingCreditsPerToken() public view returns (uint256) {\\n return _rebasingCreditsPerToken / RESOLUTION_INCREASE;\\n }\\n\\n /**\\n * @return Low resolution total number of rebasing credits\\n */\\n function rebasingCredits() public view returns (uint256) {\\n return _rebasingCredits / RESOLUTION_INCREASE;\\n }\\n\\n /**\\n * @return High resolution rebasingCreditsPerToken\\n */\\n function rebasingCreditsPerTokenHighres() public view returns (uint256) {\\n return _rebasingCreditsPerToken;\\n }\\n\\n /**\\n * @return High resolution total number of rebasing credits\\n */\\n function rebasingCreditsHighres() public view returns (uint256) {\\n return _rebasingCredits;\\n }\\n\\n /**\\n * @dev Gets the balance of the specified address.\\n * @param _account Address to query the balance of.\\n * @return A uint256 representing the amount of base units owned by the\\n * specified address.\\n */\\n function balanceOf(address _account)\\n public\\n view\\n override\\n returns (uint256)\\n {\\n if (_creditBalances[_account] == 0) return 0;\\n return\\n _creditBalances[_account].divPrecisely(_creditsPerToken(_account));\\n }\\n\\n /**\\n * @dev Gets the credits balance of the specified address.\\n * @dev Backwards compatible with old low res credits per token.\\n * @param _account The address to query the balance of.\\n * @return (uint256, uint256) Credit balance and credits per token of the\\n * address\\n */\\n function creditsBalanceOf(address _account)\\n public\\n view\\n returns (uint256, uint256)\\n {\\n uint256 cpt = _creditsPerToken(_account);\\n if (cpt == 1e27) {\\n // For a period before the resolution upgrade, we created all new\\n // contract accounts at high resolution. Since they are not changing\\n // as a result of this upgrade, we will return their true values\\n return (_creditBalances[_account], cpt);\\n } else {\\n return (\\n _creditBalances[_account] / RESOLUTION_INCREASE,\\n cpt / RESOLUTION_INCREASE\\n );\\n }\\n }\\n\\n /**\\n * @dev Gets the credits balance of the specified address.\\n * @param _account The address to query the balance of.\\n * @return (uint256, uint256, bool) Credit balance, credits per token of the\\n * address, and isUpgraded\\n */\\n function creditsBalanceOfHighres(address _account)\\n public\\n view\\n returns (\\n uint256,\\n uint256,\\n bool\\n )\\n {\\n return (\\n _creditBalances[_account],\\n _creditsPerToken(_account),\\n isUpgraded[_account] == 1\\n );\\n }\\n\\n /**\\n * @dev Transfer tokens to a specified address.\\n * @param _to the address to transfer to.\\n * @param _value the amount to be transferred.\\n * @return true on success.\\n */\\n function transfer(address _to, uint256 _value)\\n public\\n override\\n returns (bool)\\n {\\n require(_to != address(0), \\\"Transfer to zero address\\\");\\n require(\\n _value <= balanceOf(msg.sender),\\n \\\"Transfer greater than balance\\\"\\n );\\n\\n _executeTransfer(msg.sender, _to, _value);\\n\\n emit Transfer(msg.sender, _to, _value);\\n\\n return true;\\n }\\n\\n /**\\n * @dev Transfer tokens from one address to another.\\n * @param _from The address you want to send tokens from.\\n * @param _to The address you want to transfer to.\\n * @param _value The amount of tokens to be transferred.\\n */\\n function transferFrom(\\n address _from,\\n address _to,\\n uint256 _value\\n ) public override returns (bool) {\\n require(_to != address(0), \\\"Transfer to zero address\\\");\\n require(_value <= balanceOf(_from), \\\"Transfer greater than balance\\\");\\n\\n _allowances[_from][msg.sender] = _allowances[_from][msg.sender].sub(\\n _value\\n );\\n\\n _executeTransfer(_from, _to, _value);\\n\\n emit Transfer(_from, _to, _value);\\n\\n return true;\\n }\\n\\n /**\\n * @dev Update the count of non rebasing credits in response to a transfer\\n * @param _from The address you want to send tokens from.\\n * @param _to The address you want to transfer to.\\n * @param _value Amount of OUSD to transfer\\n */\\n function _executeTransfer(\\n address _from,\\n address _to,\\n uint256 _value\\n ) internal {\\n bool isNonRebasingTo = _isNonRebasingAccount(_to);\\n bool isNonRebasingFrom = _isNonRebasingAccount(_from);\\n\\n // Credits deducted and credited might be different due to the\\n // differing creditsPerToken used by each account\\n uint256 creditsCredited = _value.mulTruncate(_creditsPerToken(_to));\\n uint256 creditsDeducted = _value.mulTruncate(_creditsPerToken(_from));\\n\\n _creditBalances[_from] = _creditBalances[_from].sub(\\n creditsDeducted,\\n \\\"Transfer amount exceeds balance\\\"\\n );\\n _creditBalances[_to] = _creditBalances[_to].add(creditsCredited);\\n\\n if (isNonRebasingTo && !isNonRebasingFrom) {\\n // Transfer to non-rebasing account from rebasing account, credits\\n // are removed from the non rebasing tally\\n nonRebasingSupply = nonRebasingSupply.add(_value);\\n // Update rebasingCredits by subtracting the deducted amount\\n _rebasingCredits = _rebasingCredits.sub(creditsDeducted);\\n } else if (!isNonRebasingTo && isNonRebasingFrom) {\\n // Transfer to rebasing account from non-rebasing account\\n // Decreasing non-rebasing credits by the amount that was sent\\n nonRebasingSupply = nonRebasingSupply.sub(_value);\\n // Update rebasingCredits by adding the credited amount\\n _rebasingCredits = _rebasingCredits.add(creditsCredited);\\n }\\n }\\n\\n /**\\n * @dev Function to check the amount of tokens that _owner has allowed to\\n * `_spender`.\\n * @param _owner The address which owns the funds.\\n * @param _spender The address which will spend the funds.\\n * @return The number of tokens still available for the _spender.\\n */\\n function allowance(address _owner, address _spender)\\n public\\n view\\n override\\n returns (uint256)\\n {\\n return _allowances[_owner][_spender];\\n }\\n\\n /**\\n * @dev Approve the passed address to spend the specified amount of tokens\\n * on behalf of msg.sender. This method is included for ERC20\\n * compatibility. `increaseAllowance` and `decreaseAllowance` should be\\n * used instead.\\n *\\n * Changing an allowance with this method brings the risk that someone\\n * may transfer both the old and the new allowance - if they are both\\n * greater than zero - if a transfer transaction is mined before the\\n * later approve() call is mined.\\n * @param _spender The address which will spend the funds.\\n * @param _value The amount of tokens to be spent.\\n */\\n function approve(address _spender, uint256 _value)\\n public\\n override\\n returns (bool)\\n {\\n _allowances[msg.sender][_spender] = _value;\\n emit Approval(msg.sender, _spender, _value);\\n return true;\\n }\\n\\n /**\\n * @dev Increase the amount of tokens that an owner has allowed to\\n * `_spender`.\\n * This method should be used instead of approve() to avoid the double\\n * approval vulnerability described above.\\n * @param _spender The address which will spend the funds.\\n * @param _addedValue The amount of tokens to increase the allowance by.\\n */\\n function increaseAllowance(address _spender, uint256 _addedValue)\\n public\\n returns (bool)\\n {\\n _allowances[msg.sender][_spender] = _allowances[msg.sender][_spender]\\n .add(_addedValue);\\n emit Approval(msg.sender, _spender, _allowances[msg.sender][_spender]);\\n return true;\\n }\\n\\n /**\\n * @dev Decrease the amount of tokens that an owner has allowed to\\n `_spender`.\\n * @param _spender The address which will spend the funds.\\n * @param _subtractedValue The amount of tokens to decrease the allowance\\n * by.\\n */\\n function decreaseAllowance(address _spender, uint256 _subtractedValue)\\n public\\n returns (bool)\\n {\\n uint256 oldValue = _allowances[msg.sender][_spender];\\n if (_subtractedValue >= oldValue) {\\n _allowances[msg.sender][_spender] = 0;\\n } else {\\n _allowances[msg.sender][_spender] = oldValue.sub(_subtractedValue);\\n }\\n emit Approval(msg.sender, _spender, _allowances[msg.sender][_spender]);\\n return true;\\n }\\n\\n /**\\n * @dev Mints new tokens, increasing totalSupply.\\n */\\n function mint(address _account, uint256 _amount) external onlyVault {\\n _mint(_account, _amount);\\n }\\n\\n /**\\n * @dev Creates `_amount` tokens and assigns them to `_account`, increasing\\n * the total supply.\\n *\\n * Emits a {Transfer} event with `from` set to the zero address.\\n *\\n * Requirements\\n *\\n * - `to` cannot be the zero address.\\n */\\n function _mint(address _account, uint256 _amount) internal nonReentrant {\\n require(_account != address(0), \\\"Mint to the zero address\\\");\\n\\n bool isNonRebasingAccount = _isNonRebasingAccount(_account);\\n\\n uint256 creditAmount = _amount.mulTruncate(_creditsPerToken(_account));\\n _creditBalances[_account] = _creditBalances[_account].add(creditAmount);\\n\\n // If the account is non rebasing and doesn't have a set creditsPerToken\\n // then set it i.e. this is a mint from a fresh contract\\n if (isNonRebasingAccount) {\\n nonRebasingSupply = nonRebasingSupply.add(_amount);\\n } else {\\n _rebasingCredits = _rebasingCredits.add(creditAmount);\\n }\\n\\n _totalSupply = _totalSupply.add(_amount);\\n\\n require(_totalSupply < MAX_SUPPLY, \\\"Max supply\\\");\\n\\n emit Transfer(address(0), _account, _amount);\\n }\\n\\n /**\\n * @dev Burns tokens, decreasing totalSupply.\\n */\\n function burn(address account, uint256 amount) external onlyVault {\\n _burn(account, amount);\\n }\\n\\n /**\\n * @dev Destroys `_amount` tokens from `_account`, reducing the\\n * total supply.\\n *\\n * Emits a {Transfer} event with `to` set to the zero address.\\n *\\n * Requirements\\n *\\n * - `_account` cannot be the zero address.\\n * - `_account` must have at least `_amount` tokens.\\n */\\n function _burn(address _account, uint256 _amount) internal nonReentrant {\\n require(_account != address(0), \\\"Burn from the zero address\\\");\\n if (_amount == 0) {\\n return;\\n }\\n\\n bool isNonRebasingAccount = _isNonRebasingAccount(_account);\\n uint256 creditAmount = _amount.mulTruncate(_creditsPerToken(_account));\\n uint256 currentCredits = _creditBalances[_account];\\n\\n // Remove the credits, burning rounding errors\\n if (\\n currentCredits == creditAmount || currentCredits - 1 == creditAmount\\n ) {\\n // Handle dust from rounding\\n _creditBalances[_account] = 0;\\n } else if (currentCredits > creditAmount) {\\n _creditBalances[_account] = _creditBalances[_account].sub(\\n creditAmount\\n );\\n } else {\\n revert(\\\"Remove exceeds balance\\\");\\n }\\n\\n // Remove from the credit tallies and non-rebasing supply\\n if (isNonRebasingAccount) {\\n nonRebasingSupply = nonRebasingSupply.sub(_amount);\\n } else {\\n _rebasingCredits = _rebasingCredits.sub(creditAmount);\\n }\\n\\n _totalSupply = _totalSupply.sub(_amount);\\n\\n emit Transfer(_account, address(0), _amount);\\n }\\n\\n /**\\n * @dev Get the credits per token for an account. Returns a fixed amount\\n * if the account is non-rebasing.\\n * @param _account Address of the account.\\n */\\n function _creditsPerToken(address _account)\\n internal\\n view\\n returns (uint256)\\n {\\n if (nonRebasingCreditsPerToken[_account] != 0) {\\n return nonRebasingCreditsPerToken[_account];\\n } else {\\n return _rebasingCreditsPerToken;\\n }\\n }\\n\\n /**\\n * @dev Is an account using rebasing accounting or non-rebasing accounting?\\n * Also, ensure contracts are non-rebasing if they have not opted in.\\n * @param _account Address of the account.\\n */\\n function _isNonRebasingAccount(address _account) internal returns (bool) {\\n bool isContract = Address.isContract(_account);\\n if (isContract && rebaseState[_account] == RebaseOptions.NotSet) {\\n _ensureRebasingMigration(_account);\\n }\\n return nonRebasingCreditsPerToken[_account] > 0;\\n }\\n\\n /**\\n * @dev Ensures internal account for rebasing and non-rebasing credits and\\n * supply is updated following deployment of frozen yield change.\\n */\\n function _ensureRebasingMigration(address _account) internal {\\n if (nonRebasingCreditsPerToken[_account] == 0) {\\n emit AccountRebasingDisabled(_account);\\n if (_creditBalances[_account] == 0) {\\n // Since there is no existing balance, we can directly set to\\n // high resolution, and do not have to do any other bookkeeping\\n nonRebasingCreditsPerToken[_account] = 1e27;\\n } else {\\n // Migrate an existing account:\\n\\n // Set fixed credits per token for this account\\n nonRebasingCreditsPerToken[_account] = _rebasingCreditsPerToken;\\n // Update non rebasing supply\\n nonRebasingSupply = nonRebasingSupply.add(balanceOf(_account));\\n // Update credit tallies\\n _rebasingCredits = _rebasingCredits.sub(\\n _creditBalances[_account]\\n );\\n }\\n }\\n }\\n\\n /**\\n * @notice Enable rebasing for an account.\\n * @dev Add a contract address to the non-rebasing exception list. The\\n * address's balance will be part of rebases and the account will be exposed\\n * to upside and downside.\\n * @param _account Address of the account.\\n */\\n function governanceRebaseOptIn(address _account)\\n public\\n nonReentrant\\n onlyGovernor\\n {\\n _rebaseOptIn(_account);\\n }\\n\\n /**\\n * @dev Add a contract address to the non-rebasing exception list. The\\n * address's balance will be part of rebases and the account will be exposed\\n * to upside and downside.\\n */\\n function rebaseOptIn() public nonReentrant {\\n _rebaseOptIn(msg.sender);\\n }\\n\\n function _rebaseOptIn(address _account) internal {\\n require(_isNonRebasingAccount(_account), \\\"Account has not opted out\\\");\\n\\n // Convert balance into the same amount at the current exchange rate\\n uint256 newCreditBalance = _creditBalances[_account]\\n .mul(_rebasingCreditsPerToken)\\n .div(_creditsPerToken(_account));\\n\\n // Decreasing non rebasing supply\\n nonRebasingSupply = nonRebasingSupply.sub(balanceOf(_account));\\n\\n _creditBalances[_account] = newCreditBalance;\\n\\n // Increase rebasing credits, totalSupply remains unchanged so no\\n // adjustment necessary\\n _rebasingCredits = _rebasingCredits.add(_creditBalances[_account]);\\n\\n rebaseState[_account] = RebaseOptions.OptIn;\\n\\n // Delete any fixed credits per token\\n delete nonRebasingCreditsPerToken[_account];\\n emit AccountRebasingEnabled(_account);\\n }\\n\\n /**\\n * @dev Explicitly mark that an address is non-rebasing.\\n */\\n function rebaseOptOut() public nonReentrant {\\n require(!_isNonRebasingAccount(msg.sender), \\\"Account has not opted in\\\");\\n\\n // Increase non rebasing supply\\n nonRebasingSupply = nonRebasingSupply.add(balanceOf(msg.sender));\\n // Set fixed credits per token\\n nonRebasingCreditsPerToken[msg.sender] = _rebasingCreditsPerToken;\\n\\n // Decrease rebasing credits, total supply remains unchanged so no\\n // adjustment necessary\\n _rebasingCredits = _rebasingCredits.sub(_creditBalances[msg.sender]);\\n\\n // Mark explicitly opted out of rebasing\\n rebaseState[msg.sender] = RebaseOptions.OptOut;\\n emit AccountRebasingDisabled(msg.sender);\\n }\\n\\n /**\\n * @dev Modify the supply without minting new tokens. This uses a change in\\n * the exchange rate between \\\"credits\\\" and OUSD tokens to change balances.\\n * @param _newTotalSupply New total supply of OUSD.\\n */\\n function changeSupply(uint256 _newTotalSupply)\\n external\\n onlyVault\\n nonReentrant\\n {\\n require(_totalSupply > 0, \\\"Cannot increase 0 supply\\\");\\n\\n if (_totalSupply == _newTotalSupply) {\\n emit TotalSupplyUpdatedHighres(\\n _totalSupply,\\n _rebasingCredits,\\n _rebasingCreditsPerToken\\n );\\n return;\\n }\\n\\n _totalSupply = _newTotalSupply > MAX_SUPPLY\\n ? MAX_SUPPLY\\n : _newTotalSupply;\\n\\n _rebasingCreditsPerToken = _rebasingCredits.divPrecisely(\\n _totalSupply.sub(nonRebasingSupply)\\n );\\n\\n require(_rebasingCreditsPerToken > 0, \\\"Invalid change in supply\\\");\\n\\n _totalSupply = _rebasingCredits\\n .divPrecisely(_rebasingCreditsPerToken)\\n .add(nonRebasingSupply);\\n\\n emit TotalSupplyUpdatedHighres(\\n _totalSupply,\\n _rebasingCredits,\\n _rebasingCreditsPerToken\\n );\\n }\\n}\\n\",\"keccak256\":\"0x2dc66b1ba02716d64eb47dd9117fda62650d8b57669e6c351437e0ad29ad5f19\",\"license\":\"MIT\"},\"contracts/utils/Helpers.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { IBasicToken } from \\\"../interfaces/IBasicToken.sol\\\";\\n\\nlibrary Helpers {\\n /**\\n * @notice Fetch the `symbol()` from an ERC20 token\\n * @dev Grabs the `symbol()` from a contract\\n * @param _token Address of the ERC20 token\\n * @return string Symbol of the ERC20 token\\n */\\n function getSymbol(address _token) internal view returns (string memory) {\\n string memory symbol = IBasicToken(_token).symbol();\\n return symbol;\\n }\\n\\n /**\\n * @notice Fetch the `decimals()` from an ERC20 token\\n * @dev Grabs the `decimals()` from a contract and fails if\\n * the decimal value does not live within a certain range\\n * @param _token Address of the ERC20 token\\n * @return uint256 Decimals of the ERC20 token\\n */\\n function getDecimals(address _token) internal view returns (uint256) {\\n uint256 decimals = IBasicToken(_token).decimals();\\n require(\\n decimals >= 4 && decimals <= 18,\\n \\\"Token must have sufficient decimal places\\\"\\n );\\n\\n return decimals;\\n }\\n}\\n\",\"keccak256\":\"0x108b7a69e0140da0072ca18f90a03a3340574400f81aa6076cd2cccdf13699c2\",\"license\":\"MIT\"},\"contracts/utils/Initializable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/**\\n * @title Base contract any contracts that need to initialize state after deployment.\\n * @author Origin Protocol Inc\\n */\\nabstract contract Initializable {\\n /**\\n * @dev Indicates that the contract has been initialized.\\n */\\n bool private initialized;\\n\\n /**\\n * @dev Indicates that the contract is in the process of being initialized.\\n */\\n bool private initializing;\\n\\n /**\\n * @dev Modifier to protect an initializer function from being invoked twice.\\n */\\n modifier initializer() {\\n require(\\n initializing || !initialized,\\n \\\"Initializable: contract is already initialized\\\"\\n );\\n\\n bool isTopLevelCall = !initializing;\\n if (isTopLevelCall) {\\n initializing = true;\\n initialized = true;\\n }\\n\\n _;\\n\\n if (isTopLevelCall) {\\n initializing = false;\\n }\\n }\\n\\n uint256[50] private ______gap;\\n}\\n\",\"keccak256\":\"0xaadbcc138114afed4af4f353c2ced2916e6ee14be91434789187f192caf0d786\",\"license\":\"MIT\"},\"contracts/utils/InitializableERC20Detailed.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { IERC20 } from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\n\\n/**\\n * @dev Optional functions from the ERC20 standard.\\n * Converted from openzeppelin/contracts/token/ERC20/ERC20Detailed.sol\\n * @author Origin Protocol Inc\\n */\\nabstract contract InitializableERC20Detailed is IERC20 {\\n // Storage gap to skip storage from prior to OUSD reset\\n uint256[100] private _____gap;\\n\\n string private _name;\\n string private _symbol;\\n uint8 private _decimals;\\n\\n /**\\n * @dev Sets the values for `name`, `symbol`, and `decimals`. All three of\\n * these values are immutable: they can only be set once during\\n * construction.\\n * @notice To avoid variable shadowing appended `Arg` after arguments name.\\n */\\n function _initialize(\\n string memory nameArg,\\n string memory symbolArg,\\n uint8 decimalsArg\\n ) internal {\\n _name = nameArg;\\n _symbol = symbolArg;\\n _decimals = decimalsArg;\\n }\\n\\n /**\\n * @notice Returns the name of the token.\\n */\\n function name() public view returns (string memory) {\\n return _name;\\n }\\n\\n /**\\n * @notice Returns the symbol of the token, usually a shorter version of the\\n * name.\\n */\\n function symbol() public view returns (string memory) {\\n return _symbol;\\n }\\n\\n /**\\n * @notice Returns the number of decimals used to get its user representation.\\n * For example, if `decimals` equals `2`, a balance of `505` tokens should\\n * be displayed to a user as `5,05` (`505 / 10 ** 2`).\\n *\\n * Tokens usually opt for a value of 18, imitating the relationship between\\n * Ether and Wei.\\n *\\n * NOTE: This information is only used for _display_ purposes: it in\\n * no way affects any of the arithmetic of the contract, including\\n * {IERC20-balanceOf} and {IERC20-transfer}.\\n */\\n function decimals() public view returns (uint8) {\\n return _decimals;\\n }\\n}\\n\",\"keccak256\":\"0xe35ac2d813a30d845a3b52bba72588d7e936c2b3f3373d15568c14db46aeed60\",\"license\":\"MIT\"},\"contracts/utils/StableMath.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { SafeMath } from \\\"@openzeppelin/contracts/utils/math/SafeMath.sol\\\";\\n\\n// Based on StableMath from Stability Labs Pty. Ltd.\\n// https://github.com/mstable/mStable-contracts/blob/master/contracts/shared/StableMath.sol\\n\\nlibrary StableMath {\\n using SafeMath for uint256;\\n\\n /**\\n * @dev Scaling unit for use in specific calculations,\\n * where 1 * 10**18, or 1e18 represents a unit '1'\\n */\\n uint256 private constant FULL_SCALE = 1e18;\\n\\n /***************************************\\n Helpers\\n ****************************************/\\n\\n /**\\n * @dev Adjust the scale of an integer\\n * @param to Decimals to scale to\\n * @param from Decimals to scale from\\n */\\n function scaleBy(\\n uint256 x,\\n uint256 to,\\n uint256 from\\n ) internal pure returns (uint256) {\\n if (to > from) {\\n x = x.mul(10**(to - from));\\n } else if (to < from) {\\n // slither-disable-next-line divide-before-multiply\\n x = x.div(10**(from - to));\\n }\\n return x;\\n }\\n\\n /***************************************\\n Precise Arithmetic\\n ****************************************/\\n\\n /**\\n * @dev Multiplies two precise units, and then truncates by the full scale\\n * @param x Left hand input to multiplication\\n * @param y Right hand input to multiplication\\n * @return Result after multiplying the two inputs and then dividing by the shared\\n * scale unit\\n */\\n function mulTruncate(uint256 x, uint256 y) internal pure returns (uint256) {\\n return mulTruncateScale(x, y, FULL_SCALE);\\n }\\n\\n /**\\n * @dev Multiplies two precise units, and then truncates by the given scale. For example,\\n * when calculating 90% of 10e18, (10e18 * 9e17) / 1e18 = (9e36) / 1e18 = 9e18\\n * @param x Left hand input to multiplication\\n * @param y Right hand input to multiplication\\n * @param scale Scale unit\\n * @return Result after multiplying the two inputs and then dividing by the shared\\n * scale unit\\n */\\n function mulTruncateScale(\\n uint256 x,\\n uint256 y,\\n uint256 scale\\n ) internal pure returns (uint256) {\\n // e.g. assume scale = fullScale\\n // z = 10e18 * 9e17 = 9e36\\n uint256 z = x.mul(y);\\n // return 9e36 / 1e18 = 9e18\\n return z.div(scale);\\n }\\n\\n /**\\n * @dev Multiplies two precise units, and then truncates by the full scale, rounding up the result\\n * @param x Left hand input to multiplication\\n * @param y Right hand input to multiplication\\n * @return Result after multiplying the two inputs and then dividing by the shared\\n * scale unit, rounded up to the closest base unit.\\n */\\n function mulTruncateCeil(uint256 x, uint256 y)\\n internal\\n pure\\n returns (uint256)\\n {\\n // e.g. 8e17 * 17268172638 = 138145381104e17\\n uint256 scaled = x.mul(y);\\n // e.g. 138145381104e17 + 9.99...e17 = 138145381113.99...e17\\n uint256 ceil = scaled.add(FULL_SCALE.sub(1));\\n // e.g. 13814538111.399...e18 / 1e18 = 13814538111\\n return ceil.div(FULL_SCALE);\\n }\\n\\n /**\\n * @dev Precisely divides two units, by first scaling the left hand operand. Useful\\n * for finding percentage weightings, i.e. 8e18/10e18 = 80% (or 8e17)\\n * @param x Left hand input to division\\n * @param y Right hand input to division\\n * @return Result after multiplying the left operand by the scale, and\\n * executing the division on the right hand input.\\n */\\n function divPrecisely(uint256 x, uint256 y)\\n internal\\n pure\\n returns (uint256)\\n {\\n // e.g. 8e18 * 1e18 = 8e36\\n uint256 z = x.mul(FULL_SCALE);\\n // e.g. 8e36 / 10e18 = 8e17\\n return z.div(y);\\n }\\n}\\n\",\"keccak256\":\"0x1eb49f6f79045d9e0a8e1dced8e01d9e559e5fac554dcbb53e43140b601b04e7\",\"license\":\"MIT\"},\"contracts/vault/VaultStorage.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/**\\n * @title OToken VaultStorage contract\\n * @notice The VaultStorage contract defines the storage for the Vault contracts\\n * @author Origin Protocol Inc\\n */\\n\\nimport { IERC20 } from \\\"@openzeppelin/contracts/token/ERC20/IERC20.sol\\\";\\nimport { SafeERC20 } from \\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\";\\nimport { Address } from \\\"@openzeppelin/contracts/utils/Address.sol\\\";\\n\\nimport { IStrategy } from \\\"../interfaces/IStrategy.sol\\\";\\nimport { Governable } from \\\"../governance/Governable.sol\\\";\\nimport { OUSD } from \\\"../token/OUSD.sol\\\";\\nimport { Initializable } from \\\"../utils/Initializable.sol\\\";\\nimport \\\"../utils/Helpers.sol\\\";\\n\\ncontract VaultStorage is Initializable, Governable {\\n using SafeERC20 for IERC20;\\n\\n event AssetSupported(address _asset);\\n event AssetRemoved(address _asset);\\n event AssetDefaultStrategyUpdated(address _asset, address _strategy);\\n event AssetAllocated(address _asset, address _strategy, uint256 _amount);\\n event StrategyApproved(address _addr);\\n event StrategyRemoved(address _addr);\\n event Mint(address _addr, uint256 _value);\\n event Redeem(address _addr, uint256 _value);\\n event CapitalPaused();\\n event CapitalUnpaused();\\n event RebasePaused();\\n event RebaseUnpaused();\\n event VaultBufferUpdated(uint256 _vaultBuffer);\\n event OusdMetaStrategyUpdated(address _ousdMetaStrategy);\\n event RedeemFeeUpdated(uint256 _redeemFeeBps);\\n event PriceProviderUpdated(address _priceProvider);\\n event AllocateThresholdUpdated(uint256 _threshold);\\n event RebaseThresholdUpdated(uint256 _threshold);\\n event StrategistUpdated(address _address);\\n event MaxSupplyDiffChanged(uint256 maxSupplyDiff);\\n event YieldDistribution(address _to, uint256 _yield, uint256 _fee);\\n event TrusteeFeeBpsChanged(uint256 _basis);\\n event TrusteeAddressChanged(address _address);\\n event NetOusdMintForStrategyThresholdChanged(uint256 _threshold);\\n event SwapperChanged(address _address);\\n event SwapAllowedUndervalueChanged(uint256 _basis);\\n event SwapSlippageChanged(address _asset, uint256 _basis);\\n event Swapped(\\n address indexed _fromAsset,\\n address indexed _toAsset,\\n uint256 _fromAssetAmount,\\n uint256 _toAssetAmount\\n );\\n event StrategyAddedToMintWhitelist(address indexed strategy);\\n event StrategyRemovedFromMintWhitelist(address indexed strategy);\\n event DripperChanged(address indexed _dripper);\\n event WithdrawalRequested(\\n address indexed _withdrawer,\\n uint256 indexed _requestId,\\n uint256 _amount,\\n uint256 _queued\\n );\\n event WithdrawalClaimed(\\n address indexed _withdrawer,\\n uint256 indexed _requestId,\\n uint256 _amount\\n );\\n event WithdrawalClaimable(uint256 _claimable, uint256 _newClaimable);\\n\\n // Assets supported by the Vault, i.e. Stablecoins\\n enum UnitConversion {\\n DECIMALS,\\n GETEXCHANGERATE\\n }\\n // Changed to fit into a single storage slot so the decimals needs to be recached\\n struct Asset {\\n // Note: OETHVaultCore doesn't use `isSupported` when minting,\\n // redeeming or checking balance of assets.\\n bool isSupported;\\n UnitConversion unitConversion;\\n uint8 decimals;\\n // Max allowed slippage from the Oracle price when swapping collateral assets in basis points.\\n // For example 40 == 0.4% slippage\\n uint16 allowedOracleSlippageBps;\\n }\\n\\n /// @dev mapping of supported vault assets to their configuration\\n // slither-disable-next-line uninitialized-state\\n mapping(address => Asset) internal assets;\\n /// @dev list of all assets supported by the vault.\\n // slither-disable-next-line uninitialized-state\\n address[] internal allAssets;\\n\\n // Strategies approved for use by the Vault\\n struct Strategy {\\n bool isSupported;\\n uint256 _deprecated; // Deprecated storage slot\\n }\\n /// @dev mapping of strategy contracts to their configuration\\n // slither-disable-next-line uninitialized-state\\n mapping(address => Strategy) internal strategies;\\n /// @dev list of all vault strategies\\n address[] internal allStrategies;\\n\\n /// @notice Address of the Oracle price provider contract\\n // slither-disable-next-line uninitialized-state\\n address public priceProvider;\\n /// @notice pause rebasing if true\\n bool public rebasePaused = false;\\n /// @notice pause operations that change the OToken supply.\\n /// eg mint, redeem, allocate, mint/burn for strategy\\n bool public capitalPaused = true;\\n /// @notice Redemption fee in basis points. eg 50 = 0.5%\\n uint256 public redeemFeeBps;\\n /// @notice Percentage of assets to keep in Vault to handle (most) withdrawals. 100% = 1e18.\\n uint256 public vaultBuffer;\\n /// @notice OToken mints over this amount automatically allocate funds. 18 decimals.\\n uint256 public autoAllocateThreshold;\\n /// @notice OToken mints over this amount automatically rebase. 18 decimals.\\n uint256 public rebaseThreshold;\\n\\n /// @dev Address of the OToken token. eg OUSD or OETH.\\n // slither-disable-next-line uninitialized-state\\n OUSD internal oUSD;\\n\\n //keccak256(\\\"OUSD.vault.governor.admin.impl\\\");\\n bytes32 constant adminImplPosition =\\n 0xa2bd3d3cf188a41358c8b401076eb59066b09dec5775650c0de4c55187d17bd9;\\n\\n // Address of the contract responsible for post rebase syncs with AMMs\\n address private _deprecated_rebaseHooksAddr = address(0);\\n\\n // Deprecated: Address of Uniswap\\n // slither-disable-next-line constable-states\\n address private _deprecated_uniswapAddr = address(0);\\n\\n /// @notice Address of the Strategist\\n address public strategistAddr = address(0);\\n\\n /// @notice Mapping of asset address to the Strategy that they should automatically\\n // be allocated to\\n // slither-disable-next-line uninitialized-state\\n mapping(address => address) public assetDefaultStrategies;\\n\\n /// @notice Max difference between total supply and total value of assets. 18 decimals.\\n // slither-disable-next-line uninitialized-state\\n uint256 public maxSupplyDiff;\\n\\n /// @notice Trustee contract that can collect a percentage of yield\\n address public trusteeAddress;\\n\\n /// @notice Amount of yield collected in basis points. eg 2000 = 20%\\n uint256 public trusteeFeeBps;\\n\\n /// @dev Deprecated: Tokens that should be swapped for stablecoins\\n address[] private _deprecated_swapTokens;\\n\\n uint256 constant MINT_MINIMUM_UNIT_PRICE = 0.998e18;\\n\\n /// @notice Metapool strategy that is allowed to mint/burn OTokens without changing collateral\\n\\n // slither-disable-start constable-states\\n // slither-disable-next-line uninitialized-state\\n address public ousdMetaStrategy;\\n\\n /// @notice How much OTokens are currently minted by the strategy\\n // slither-disable-next-line uninitialized-state\\n int256 public netOusdMintedForStrategy;\\n\\n /// @notice How much net total OTokens are allowed to be minted by all strategies\\n // slither-disable-next-line uninitialized-state\\n uint256 public netOusdMintForStrategyThreshold;\\n\\n // slither-disable-end constable-states\\n\\n uint256 constant MIN_UNIT_PRICE_DRIFT = 0.7e18;\\n uint256 constant MAX_UNIT_PRICE_DRIFT = 1.3e18;\\n\\n /// @notice Collateral swap configuration.\\n /// @dev is packed into a single storage slot to save gas.\\n struct SwapConfig {\\n // Contract that swaps the vault's collateral assets\\n address swapper;\\n // Max allowed percentage the total value can drop below the total supply in basis points.\\n // For example 100 == 1%\\n uint16 allowedUndervalueBps;\\n }\\n SwapConfig internal swapConfig = SwapConfig(address(0), 0);\\n\\n // List of strategies that can mint oTokens directly\\n // Used in OETHBaseVaultCore\\n // slither-disable-next-line uninitialized-state\\n mapping(address => bool) public isMintWhitelistedStrategy;\\n\\n /// @notice Address of the Dripper contract that streams harvested rewards to the Vault\\n /// @dev The vault is proxied so needs to be set with setDripper against the proxy contract.\\n // slither-disable-start constable-states\\n // slither-disable-next-line uninitialized-state\\n address public dripper;\\n // slither-disable-end constable-states\\n\\n /// Withdrawal Queue Storage /////\\n\\n struct WithdrawalQueueMetadata {\\n // cumulative total of all withdrawal requests included the ones that have already been claimed\\n uint128 queued;\\n // cumulative total of all the requests that can be claimed including the ones that have already been claimed\\n uint128 claimable;\\n // total of all the requests that have been claimed\\n uint128 claimed;\\n // index of the next withdrawal request starting at 0\\n uint128 nextWithdrawalIndex;\\n }\\n\\n /// @notice Global metadata for the withdrawal queue including:\\n /// queued - cumulative total of all withdrawal requests included the ones that have already been claimed\\n /// claimable - cumulative total of all the requests that can be claimed including the ones already claimed\\n /// claimed - total of all the requests that have been claimed\\n /// nextWithdrawalIndex - index of the next withdrawal request starting at 0\\n // slither-disable-next-line uninitialized-state\\n WithdrawalQueueMetadata public withdrawalQueueMetadata;\\n\\n struct WithdrawalRequest {\\n address withdrawer;\\n bool claimed;\\n uint40 timestamp; // timestamp of the withdrawal request\\n // Amount of oTokens to redeem. eg OETH\\n uint128 amount;\\n // cumulative total of all withdrawal requests including this one.\\n // this request can be claimed when this queued amount is less than or equal to the queue's claimable amount.\\n uint128 queued;\\n }\\n\\n /// @notice Mapping of withdrawal request indices to the user withdrawal request data\\n mapping(uint256 => WithdrawalRequest) public withdrawalRequests;\\n\\n // For future use\\n uint256[45] private __gap;\\n\\n /**\\n * @notice set the implementation for the admin, this needs to be in a base class else we cannot set it\\n * @param newImpl address of the implementation\\n */\\n function setAdminImpl(address newImpl) external onlyGovernor {\\n require(\\n Address.isContract(newImpl),\\n \\\"new implementation is not a contract\\\"\\n );\\n bytes32 position = adminImplPosition;\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n sstore(position, newImpl)\\n }\\n }\\n}\\n\",\"keccak256\":\"0x38c105631acf3a5ccd1abd18b0aa1b08282499f2ab1fd6045d1a387439a97507\",\"license\":\"MIT\"}},\"version\":1}", + "bytecode": "0x6101206040523480156200001257600080fd5b5060405162001a8d38038062001a8d8339810160408190526200003591620000ea565b6200004d3360008051602062001a6d83398151915255565b60008051602062001a6d833981519152546040516001600160a01b03909116906000907fc7c0c772add429241571afb3805861fb3cfa2af374534088b76cdb4325a87e9a908290a36001600160601b0319606095861b811660805293851b841660a05291841b831660c052831b821660e05290911b16610100526200015a565b80516001600160a01b0381168114620000e557600080fd5b919050565b600080600080600060a086880312156200010357600080fd5b6200010e86620000cd565b94506200011e60208701620000cd565b93506200012e60408701620000cd565b92506200013e60608701620000cd565b91506200014e60808701620000cd565b90509295509295909350565b60805160601c60a05160601c60c05160601c60e05160601c6101005160601c61181e6200024f600039600081816101b2015281816110b9015261124401526000818161015501528181610c6401528181610d2401528181610d5e0152818161119f01526112e301526000818161012e0152818161056b0152818161060601528181610a8d01528181610b4601528181610b8d01528181610c25015281816110e80152818161117a0152611307015260008181610217015281816104e30152610a0501526000818161023e015281816102e0015281816103ff015281816106d5015281816107e701526108d8015261181e6000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80639e4285521161008c578063d38bfff411610066578063d38bfff4146101ec578063f3f18c37146101ff578063f6aa085d14610212578063fbfa77cf1461023957600080fd5b80639e4285521461019a578063c31c9c07146101ad578063c7af3352146101d457600080fd5b80633fc8cef3116100c85780633fc8cef3146101505780634641257d146101775780635d36b1901461017f578063859e4b811461018757600080fd5b80630c340a24146100ef5780631072cbea1461011457806326837eda14610129575b600080fd5b6100f7610260565b6040516001600160a01b0390911681526020015b60405180910390f35b6101276101223660046115e2565b61027d565b005b6100f77f000000000000000000000000000000000000000000000000000000000000000081565b6100f77f000000000000000000000000000000000000000000000000000000000000000081565b6101276102ca565b61012761062f565b610127610195366004611644565b6106d3565b6101276101a83660046115a8565b610ddc565b6100f77f000000000000000000000000000000000000000000000000000000000000000081565b6101dc610e69565b604051901515815260200161010b565b6101276101fa3660046115a8565b610e9a565b6000546100f7906001600160a01b031681565b6100f77f000000000000000000000000000000000000000000000000000000000000000081565b6100f77f000000000000000000000000000000000000000000000000000000000000000081565b60006102786000805160206117c98339815191525490565b905090565b610285610e69565b6102aa5760405162461bcd60e51b81526004016102a1906116d4565b60405180910390fd5b6102c66102b5610260565b6001600160a01b0384169083610f3e565b5050565b6000546001600160a01b031633148061038457507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663570d8e1d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561033757600080fd5b505afa15801561034b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061036f91906115c5565b6001600160a01b0316336001600160a01b0316145b806103925750610392610e69565b6103fb5760405162461bcd60e51b815260206004820152603460248201527f43616c6c6572206973206e6f7420746865204f70657261746f72206f722053746044820152733930ba32b3b4b9ba1037b91023b7bb32b93737b960611b60648201526084016102a1565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663570d8e1d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561045657600080fd5b505afa15801561046a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061048e91906115c5565b90506001600160a01b0381166104e15760405162461bcd60e51b815260206004820152601860248201527711dd585c991a585b881859191c995cdcc81b9bdd081cd95d60421b60448201526064016102a1565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635a063f636040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561053c57600080fd5b505af1158015610550573d6000803e3d6000fd5b50506040516370a0823160e01b8152306004820152600092507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691506370a082319060240160206040518083038186803b1580156105b657600080fd5b505afa1580156105ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ee919061162b565b9050806105f9575050565b6102c66001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168383610f3e565b565b7f44c4d30b2eaad5130ad70c3ba6972730566f3e6359ab83e800d905c61b1c51db546001600160a01b0316336001600160a01b0316146106ca5760405162461bcd60e51b815260206004820152603060248201527f4f6e6c79207468652070656e64696e6720476f7665726e6f722063616e20636f60448201526f6d706c6574652074686520636c61696d60801b60648201526084016102a1565b61062d33610fa6565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663570d8e1d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561072c57600080fd5b505afa158015610740573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076491906115c5565b6001600160a01b0316336001600160a01b031614806107865750610786610e69565b6107e35760405162461bcd60e51b815260206004820152602860248201527f43616c6c6572206973206e6f74207468652053747261746567697374206f722060448201526723b7bb32b93737b960c11b60648201526084016102a1565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663570d8e1d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561083e57600080fd5b505afa158015610852573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087691906115c5565b90506001600160a01b0381166108c95760405162461bcd60e51b815260206004820152601860248201527711dd585c991a585b881859191c995cdcc81b9bdd081cd95d60421b60448201526064016102a1565b6000826108d65781610967565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663603ea03b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561092f57600080fd5b505afa158015610943573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096791906115c5565b90506001600160a01b0381166109bf5760405162461bcd60e51b815260206004820152601760248201527f5969656c6420726563697069656e74206e6f742073657400000000000000000060448201526064016102a1565b612710841115610a035760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964204665652042707360881b60448201526064016102a1565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635a063f636040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610a5e57600080fd5b505af1158015610a72573d6000803e3d6000fd5b50506040516370a0823160e01b8152306004820152600092507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691506370a082319060240160206040518083038186803b158015610ad857600080fd5b505afa158015610aec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b10919061162b565b905080610b1f57505050610dd6565b8615610c125786811015610b6e57610b6e8330610b3c848b61174c565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001692919061106a565b610b7887876110a2565b6040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b158015610bd757600080fd5b505afa158015610beb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0f919061162b565b90505b8015610c4c57610c4c6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168483610f3e565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b158015610cae57600080fd5b505afa158015610cc2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce6919061162b565b90506000612710610cf7888461172d565b610d01919061170b565b90506000610d0f828461174c565b90508015610d4b57610d4b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168683610f3e565b8115610d8557610d856001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168784610f3e565b604080516001600160a01b0387168152602081018390529081018390527f4c70885488a444f9f6af8660e35d1c356100677dff981e92b57e4be32d6619d19060600160405180910390a15050505050505b50505050565b610de4610e69565b610e005760405162461bcd60e51b81526004016102a1906116d4565b600054604080516001600160a01b03928316815291831660208301527fd58299b712891143e76310d5e664c4203c940a67db37cf856bdaa3c5c76a802c910160405180910390a1600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000610e816000805160206117c98339815191525490565b6001600160a01b0316336001600160a01b031614905090565b610ea2610e69565b610ebe5760405162461bcd60e51b81526004016102a1906116d4565b610ee6817f44c4d30b2eaad5130ad70c3ba6972730566f3e6359ab83e800d905c61b1c51db55565b806001600160a01b0316610f066000805160206117c98339815191525490565b6001600160a01b03167fa39cc5eb22d0f34d8beaefee8a3f17cc229c1a1d1ef87a5ad47313487b1c4f0d60405160405180910390a350565b6040516001600160a01b038316602482015260448101829052610fa190849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261135c565b505050565b6001600160a01b038116610ffc5760405162461bcd60e51b815260206004820152601a60248201527f4e657720476f7665726e6f72206973206164647265737328302900000000000060448201526064016102a1565b806001600160a01b031661101c6000805160206117c98339815191525490565b6001600160a01b03167fc7c0c772add429241571afb3805861fb3cfa2af374534088b76cdb4325a87e9a60405160405180910390a3611067816000805160206117c983398151915255565b50565b6040516001600160a01b0380851660248301528316604482015260648101829052610dd69085906323b872dd60e01b90608401610f6a565b60405163095ea7b360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018490527f0000000000000000000000000000000000000000000000000000000000000000169063095ea7b390604401602060405180830381600087803b15801561112c57600080fd5b505af1158015611140573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611164919061160e565b5060408051610100810182526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811682527f000000000000000000000000000000000000000000000000000000000000000081166020830190815260c88385019081523060608501908152426080860190815260a0860189815260c08701898152600060e0890181815299516350131c1f60e11b81529851881660048a0152955187166024890152935160020b60448801529151851660648701525160848601525160a48501525160c48401529251811660e48301527f0000000000000000000000000000000000000000000000000000000000000000169063a026383e9061010401602060405180830381600087803b15801561128957600080fd5b505af115801561129d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c1919061162b565b6040805160008152602081018690529081018290529091506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116917f0000000000000000000000000000000000000000000000000000000000000000909116907fa861903141bc68b536d5048a576afcc645630e1b18a4296ef34cbd4d1407f7099060600160405180910390a3505050565b60006113b1826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661142e9092919063ffffffff16565b805190915015610fa157808060200190518101906113cf919061160e565b610fa15760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102a1565b606061143d8484600085611447565b90505b9392505050565b6060824710156114a85760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102a1565b843b6114f65760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102a1565b600080866001600160a01b031685876040516115129190611685565b60006040518083038185875af1925050503d806000811461154f576040519150601f19603f3d011682016040523d82523d6000602084013e611554565b606091505b509150915061156482828661156f565b979650505050505050565b6060831561157e575081611440565b82511561158e5782518084602001fd5b8160405162461bcd60e51b81526004016102a191906116a1565b6000602082840312156115ba57600080fd5b8135611440816117a5565b6000602082840312156115d757600080fd5b8151611440816117a5565b600080604083850312156115f557600080fd5b8235611600816117a5565b946020939093013593505050565b60006020828403121561162057600080fd5b8151611440816117ba565b60006020828403121561163d57600080fd5b5051919050565b6000806000806080858703121561165a57600080fd5b843593506020850135925060408501359150606085013561167a816117ba565b939692955090935050565b60008251611697818460208701611763565b9190910192915050565b60208152600082518060208401526116c0816040850160208701611763565b601f01601f19169190910160400192915050565b6020808252601a908201527f43616c6c6572206973206e6f742074686520476f7665726e6f72000000000000604082015260600190565b60008261172857634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156117475761174761178f565b500290565b60008282101561175e5761175e61178f565b500390565b60005b8381101561177e578181015183820152602001611766565b83811115610dd65750506000910152565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461106757600080fd5b801515811461106757600080fdfe7bea13895fa79d2831e0a9e28edede30099005a50d652d8957cf8a607ee6ca4aa2646970667358221220364632194e1b7104297b63eeb71e9a1a149a72ab5b95a44ebbcf7a27e51f00f164736f6c634300080700337bea13895fa79d2831e0a9e28edede30099005a50d652d8957cf8a607ee6ca4a", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c80639e4285521161008c578063d38bfff411610066578063d38bfff4146101ec578063f3f18c37146101ff578063f6aa085d14610212578063fbfa77cf1461023957600080fd5b80639e4285521461019a578063c31c9c07146101ad578063c7af3352146101d457600080fd5b80633fc8cef3116100c85780633fc8cef3146101505780634641257d146101775780635d36b1901461017f578063859e4b811461018757600080fd5b80630c340a24146100ef5780631072cbea1461011457806326837eda14610129575b600080fd5b6100f7610260565b6040516001600160a01b0390911681526020015b60405180910390f35b6101276101223660046115e2565b61027d565b005b6100f77f000000000000000000000000000000000000000000000000000000000000000081565b6100f77f000000000000000000000000000000000000000000000000000000000000000081565b6101276102ca565b61012761062f565b610127610195366004611644565b6106d3565b6101276101a83660046115a8565b610ddc565b6100f77f000000000000000000000000000000000000000000000000000000000000000081565b6101dc610e69565b604051901515815260200161010b565b6101276101fa3660046115a8565b610e9a565b6000546100f7906001600160a01b031681565b6100f77f000000000000000000000000000000000000000000000000000000000000000081565b6100f77f000000000000000000000000000000000000000000000000000000000000000081565b60006102786000805160206117c98339815191525490565b905090565b610285610e69565b6102aa5760405162461bcd60e51b81526004016102a1906116d4565b60405180910390fd5b6102c66102b5610260565b6001600160a01b0384169083610f3e565b5050565b6000546001600160a01b031633148061038457507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663570d8e1d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561033757600080fd5b505afa15801561034b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061036f91906115c5565b6001600160a01b0316336001600160a01b0316145b806103925750610392610e69565b6103fb5760405162461bcd60e51b815260206004820152603460248201527f43616c6c6572206973206e6f7420746865204f70657261746f72206f722053746044820152733930ba32b3b4b9ba1037b91023b7bb32b93737b960611b60648201526084016102a1565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663570d8e1d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561045657600080fd5b505afa15801561046a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061048e91906115c5565b90506001600160a01b0381166104e15760405162461bcd60e51b815260206004820152601860248201527711dd585c991a585b881859191c995cdcc81b9bdd081cd95d60421b60448201526064016102a1565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635a063f636040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561053c57600080fd5b505af1158015610550573d6000803e3d6000fd5b50506040516370a0823160e01b8152306004820152600092507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691506370a082319060240160206040518083038186803b1580156105b657600080fd5b505afa1580156105ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ee919061162b565b9050806105f9575050565b6102c66001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168383610f3e565b565b7f44c4d30b2eaad5130ad70c3ba6972730566f3e6359ab83e800d905c61b1c51db546001600160a01b0316336001600160a01b0316146106ca5760405162461bcd60e51b815260206004820152603060248201527f4f6e6c79207468652070656e64696e6720476f7665726e6f722063616e20636f60448201526f6d706c6574652074686520636c61696d60801b60648201526084016102a1565b61062d33610fa6565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663570d8e1d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561072c57600080fd5b505afa158015610740573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076491906115c5565b6001600160a01b0316336001600160a01b031614806107865750610786610e69565b6107e35760405162461bcd60e51b815260206004820152602860248201527f43616c6c6572206973206e6f74207468652053747261746567697374206f722060448201526723b7bb32b93737b960c11b60648201526084016102a1565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663570d8e1d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561083e57600080fd5b505afa158015610852573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087691906115c5565b90506001600160a01b0381166108c95760405162461bcd60e51b815260206004820152601860248201527711dd585c991a585b881859191c995cdcc81b9bdd081cd95d60421b60448201526064016102a1565b6000826108d65781610967565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663603ea03b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561092f57600080fd5b505afa158015610943573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096791906115c5565b90506001600160a01b0381166109bf5760405162461bcd60e51b815260206004820152601760248201527f5969656c6420726563697069656e74206e6f742073657400000000000000000060448201526064016102a1565b612710841115610a035760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964204665652042707360881b60448201526064016102a1565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635a063f636040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610a5e57600080fd5b505af1158015610a72573d6000803e3d6000fd5b50506040516370a0823160e01b8152306004820152600092507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691506370a082319060240160206040518083038186803b158015610ad857600080fd5b505afa158015610aec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b10919061162b565b905080610b1f57505050610dd6565b8615610c125786811015610b6e57610b6e8330610b3c848b61174c565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001692919061106a565b610b7887876110a2565b6040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b158015610bd757600080fd5b505afa158015610beb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0f919061162b565b90505b8015610c4c57610c4c6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168483610f3e565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b158015610cae57600080fd5b505afa158015610cc2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce6919061162b565b90506000612710610cf7888461172d565b610d01919061170b565b90506000610d0f828461174c565b90508015610d4b57610d4b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168683610f3e565b8115610d8557610d856001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168784610f3e565b604080516001600160a01b0387168152602081018390529081018390527f4c70885488a444f9f6af8660e35d1c356100677dff981e92b57e4be32d6619d19060600160405180910390a15050505050505b50505050565b610de4610e69565b610e005760405162461bcd60e51b81526004016102a1906116d4565b600054604080516001600160a01b03928316815291831660208301527fd58299b712891143e76310d5e664c4203c940a67db37cf856bdaa3c5c76a802c910160405180910390a1600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000610e816000805160206117c98339815191525490565b6001600160a01b0316336001600160a01b031614905090565b610ea2610e69565b610ebe5760405162461bcd60e51b81526004016102a1906116d4565b610ee6817f44c4d30b2eaad5130ad70c3ba6972730566f3e6359ab83e800d905c61b1c51db55565b806001600160a01b0316610f066000805160206117c98339815191525490565b6001600160a01b03167fa39cc5eb22d0f34d8beaefee8a3f17cc229c1a1d1ef87a5ad47313487b1c4f0d60405160405180910390a350565b6040516001600160a01b038316602482015260448101829052610fa190849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261135c565b505050565b6001600160a01b038116610ffc5760405162461bcd60e51b815260206004820152601a60248201527f4e657720476f7665726e6f72206973206164647265737328302900000000000060448201526064016102a1565b806001600160a01b031661101c6000805160206117c98339815191525490565b6001600160a01b03167fc7c0c772add429241571afb3805861fb3cfa2af374534088b76cdb4325a87e9a60405160405180910390a3611067816000805160206117c983398151915255565b50565b6040516001600160a01b0380851660248301528316604482015260648101829052610dd69085906323b872dd60e01b90608401610f6a565b60405163095ea7b360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018490527f0000000000000000000000000000000000000000000000000000000000000000169063095ea7b390604401602060405180830381600087803b15801561112c57600080fd5b505af1158015611140573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611164919061160e565b5060408051610100810182526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811682527f000000000000000000000000000000000000000000000000000000000000000081166020830190815260c88385019081523060608501908152426080860190815260a0860189815260c08701898152600060e0890181815299516350131c1f60e11b81529851881660048a0152955187166024890152935160020b60448801529151851660648701525160848601525160a48501525160c48401529251811660e48301527f0000000000000000000000000000000000000000000000000000000000000000169063a026383e9061010401602060405180830381600087803b15801561128957600080fd5b505af115801561129d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c1919061162b565b6040805160008152602081018690529081018290529091506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116917f0000000000000000000000000000000000000000000000000000000000000000909116907fa861903141bc68b536d5048a576afcc645630e1b18a4296ef34cbd4d1407f7099060600160405180910390a3505050565b60006113b1826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661142e9092919063ffffffff16565b805190915015610fa157808060200190518101906113cf919061160e565b610fa15760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102a1565b606061143d8484600085611447565b90505b9392505050565b6060824710156114a85760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102a1565b843b6114f65760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102a1565b600080866001600160a01b031685876040516115129190611685565b60006040518083038185875af1925050503d806000811461154f576040519150601f19603f3d011682016040523d82523d6000602084013e611554565b606091505b509150915061156482828661156f565b979650505050505050565b6060831561157e575081611440565b82511561158e5782518084602001fd5b8160405162461bcd60e51b81526004016102a191906116a1565b6000602082840312156115ba57600080fd5b8135611440816117a5565b6000602082840312156115d757600080fd5b8151611440816117a5565b600080604083850312156115f557600080fd5b8235611600816117a5565b946020939093013593505050565b60006020828403121561162057600080fd5b8151611440816117ba565b60006020828403121561163d57600080fd5b5051919050565b6000806000806080858703121561165a57600080fd5b843593506020850135925060408501359150606085013561167a816117ba565b939692955090935050565b60008251611697818460208701611763565b9190910192915050565b60208152600082518060208401526116c0816040850160208701611763565b601f01601f19169190910160400192915050565b6020808252601a908201527f43616c6c6572206973206e6f742074686520476f7665726e6f72000000000000604082015260600190565b60008261172857634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156117475761174761178f565b500290565b60008282101561175e5761175e61178f565b500390565b60005b8381101561177e578181015183820152602001611766565b83811115610dd65750506000910152565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461106757600080fd5b801515811461106757600080fdfe7bea13895fa79d2831e0a9e28edede30099005a50d652d8957cf8a607ee6ca4aa2646970667358221220364632194e1b7104297b63eeb71e9a1a149a72ab5b95a44ebbcf7a27e51f00f164736f6c63430008070033", + "libraries": {}, + "devdoc": { + "kind": "dev", + "methods": { + "harvestAndSwap(uint256,uint256,uint256,bool)": { + "params": { + "aeroToSwap": "Amount of AERO to swap", + "feeBps": "Performance fee bps (Sent to strategist)", + "minWETHExpected": "Min. amount of WETH to expect", + "sendYieldToDripper": "Sends yield to Dripper, if set to true. Otherwise, to the Guardian" + } + }, + "setOperatorAddr(address)": { + "details": "Changes the operator address which can call `harvest`", + "params": { + "_operatorAddr": "New operator address" + } + }, + "transferGovernance(address)": { + "params": { + "_newGovernor": "Address of the new Governor" + } + }, + "transferToken(address,uint256)": { + "params": { + "_amount": "Amount of the asset to transfer", + "_asset": "Address for the asset" + } + } + }, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": { + "claimGovernance()": { + "notice": "Claim Governance of the contract to a new account (`newGovernor`). Can only be called by the new Governor." + }, + "governor()": { + "notice": "Returns the address of the current Governor." + }, + "harvest()": { + "notice": "Collects AERO from AMO strategy and sends it to the Strategist multisig. Anyone can call it." + }, + "harvestAndSwap(uint256,uint256,uint256,bool)": { + "notice": "Harvests AERO from AMO strategy and then swaps some (or all) of it into WETH to distribute yield and fee. When `feeBps` is set to 10000 (100%), all WETH received is sent to strategist." + }, + "isGovernor()": { + "notice": "Returns true if the caller is the current Governor." + }, + "transferGovernance(address)": { + "notice": "Transfers Governance of the contract to a new account (`newGovernor`). Can only be called by the current Governor. Must be claimed for this to complete" + }, + "transferToken(address,uint256)": { + "notice": "Transfer token to governor. Intended for recovering tokens stuck in the contract, i.e. mistaken sends. Also, allows to transfer any AERO left in the contract." + } + }, + "version": 1 + }, + "storageLayout": { + "storage": [ + { + "astId": 1164, + "contract": "contracts/harvest/OETHBaseHarvester.sol:OETHBaseHarvester", + "label": "operatorAddr", + "offset": 0, + "slot": "0", + "type": "t_address" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + } + } + } +} \ No newline at end of file diff --git a/contracts/deployments/base/OETHBaseHarvesterProxy.json b/contracts/deployments/base/OETHBaseHarvesterProxy.json new file mode 100644 index 0000000000..da3f427200 --- /dev/null +++ b/contracts/deployments/base/OETHBaseHarvesterProxy.json @@ -0,0 +1,289 @@ +{ + "address": "0x247872f58f2fF11f9E8f89C1C48e460CfF0c6b29", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousGovernor", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newGovernor", + "type": "address" + } + ], + "name": "GovernorshipTransferred", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousGovernor", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newGovernor", + "type": "address" + } + ], + "name": "PendingGovernorshipTransfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "implementation", + "type": "address" + } + ], + "name": "Upgraded", + "type": "event" + }, + { + "stateMutability": "payable", + "type": "fallback" + }, + { + "inputs": [], + "name": "admin", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "claimGovernance", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "governor", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "implementation", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_logic", + "type": "address" + }, + { + "internalType": "address", + "name": "_initGovernor", + "type": "address" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "name": "initialize", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "isGovernor", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_newGovernor", + "type": "address" + } + ], + "name": "transferGovernance", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_newImplementation", + "type": "address" + } + ], + "name": "upgradeTo", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newImplementation", + "type": "address" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "upgradeToAndCall", + "outputs": [], + "stateMutability": "payable", + "type": "function" + } + ], + "transactionHash": "0x84c7dccc03ac06028e345061c0fb86f51b00862ead6ef1bb5418500ebf7ad0b7", + "receipt": { + "to": null, + "from": "0x58890A9cB27586E83Cb51d2d26bbE18a1a647245", + "contractAddress": "0x247872f58f2fF11f9E8f89C1C48e460CfF0c6b29", + "transactionIndex": 73, + "gasUsed": "597515", + "logsBloom": "0x00000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000800000000000000000000000000000000000004000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000008000000000200010000000000000000000000000000000000004000020000000000000000000000000000000000000000000000000000000000000000000", + "blockHash": "0x04c4d837322dadc62517163c7fa88455963cbc8055b7df84926c72ebc894a393", + "transactionHash": "0x84c7dccc03ac06028e345061c0fb86f51b00862ead6ef1bb5418500ebf7ad0b7", + "logs": [ + { + "transactionIndex": 73, + "blockNumber": 20464471, + "transactionHash": "0x84c7dccc03ac06028e345061c0fb86f51b00862ead6ef1bb5418500ebf7ad0b7", + "address": "0x247872f58f2fF11f9E8f89C1C48e460CfF0c6b29", + "topics": [ + "0xc7c0c772add429241571afb3805861fb3cfa2af374534088b76cdb4325a87e9a", + "0x0000000000000000000000000000000000000000000000000000000000000000", + "0x00000000000000000000000058890a9cb27586e83cb51d2d26bbe18a1a647245" + ], + "data": "0x", + "logIndex": 241, + "blockHash": "0x04c4d837322dadc62517163c7fa88455963cbc8055b7df84926c72ebc894a393" + } + ], + "blockNumber": 20464471, + "cumulativeGasUsed": "9227675", + "status": 1, + "byzantium": true + }, + "args": [], + "numDeployments": 1, + "solcInputHash": "f4a7247d9372687113ee2c2c465d68f0", + "metadata": "{\"compiler\":{\"version\":\"0.8.7+commit.e28d00a7\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousGovernor\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newGovernor\",\"type\":\"address\"}],\"name\":\"GovernorshipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousGovernor\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newGovernor\",\"type\":\"address\"}],\"name\":\"PendingGovernorshipTransfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"admin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claimGovernance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"governor\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"implementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_logic\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_initGovernor\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isGovernor\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newGovernor\",\"type\":\"address\"}],\"name\":\"transferGovernance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"admin()\":{\"returns\":{\"_0\":\"The address of the proxy admin/it's also the governor.\"}},\"implementation()\":{\"returns\":{\"_0\":\"The address of the implementation.\"}},\"initialize(address,address,bytes)\":{\"details\":\"Contract initializer with Governor enforcement\",\"params\":{\"_data\":\"Data to send as msg.data to the implementation to initialize the proxied contract. It should include the signature and the parameters of the function to be called, as described in https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding. This parameter is optional, if no data is given the initialization call to proxied contract will be skipped.\",\"_initGovernor\":\"Address of the initial Governor.\",\"_logic\":\"Address of the initial implementation.\"}},\"transferGovernance(address)\":{\"params\":{\"_newGovernor\":\"Address of the new Governor\"}},\"upgradeTo(address)\":{\"details\":\"Upgrade the backing implementation of the proxy. Only the admin can call this function.\",\"params\":{\"_newImplementation\":\"Address of the new implementation.\"}},\"upgradeToAndCall(address,bytes)\":{\"details\":\"Upgrade the backing implementation of the proxy and call a function on the new implementation. This is useful to initialize the proxied contract.\",\"params\":{\"data\":\"Data to send as msg.data in the low level call. It should include the signature and the parameters of the function to be called, as described in https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.\",\"newImplementation\":\"Address of the new implementation.\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"claimGovernance()\":{\"notice\":\"Claim Governance of the contract to a new account (`newGovernor`). Can only be called by the new Governor.\"},\"governor()\":{\"notice\":\"Returns the address of the current Governor.\"},\"isGovernor()\":{\"notice\":\"Returns true if the caller is the current Governor.\"},\"transferGovernance(address)\":{\"notice\":\"Transfers Governance of the contract to a new account (`newGovernor`). Can only be called by the current Governor. Must be claimed for this to complete\"}},\"notice\":\"OETHBaseHarvesterProxy delegates calls to a OETHBaseHarvester implementation\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/proxies/Proxies.sol\":\"OETHBaseHarvesterProxy\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/utils/Address.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // This method relies on extcodesize, which returns 0 for contracts in\\n // construction, since the code is only stored at the end of the\\n // constructor execution.\\n\\n uint256 size;\\n assembly {\\n size := extcodesize(account)\\n }\\n return size > 0;\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n\\n /**\\n * @dev Performs a Solidity function call using a low level `call`. A\\n * plain `call` is an unsafe replacement for a function call: use this\\n * function instead.\\n *\\n * If `target` reverts with a revert reason, it is bubbled up by this\\n * function (like regular Solidity function calls).\\n *\\n * Returns the raw returned data. To convert to the expected return value,\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n *\\n * Requirements:\\n *\\n * - `target` must be a contract.\\n * - calling `target` with `data` must not revert.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCall(target, data, \\\"Address: low-level call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but also transferring `value` wei to `target`.\\n *\\n * Requirements:\\n *\\n * - the calling contract must have an ETH balance of at least `value`.\\n * - the called Solidity function must be `payable`.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n require(isContract(target), \\\"Address: call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.call{value: value}(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal view returns (bytes memory) {\\n require(isContract(target), \\\"Address: static call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a delegate call.\\n *\\n * _Available since v3.4._\\n */\\n function functionDelegateCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n require(isContract(target), \\\"Address: delegate call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.delegatecall(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\\n * revert reason using the provided one.\\n *\\n * _Available since v4.3._\\n */\\n function verifyCallResult(\\n bool success,\\n bytes memory returndata,\\n string memory errorMessage\\n ) internal pure returns (bytes memory) {\\n if (success) {\\n return returndata;\\n } else {\\n // Look for revert reason and bubble it up if present\\n if (returndata.length > 0) {\\n // The easiest way to bubble the revert reason is using memory via assembly\\n\\n assembly {\\n let returndata_size := mload(returndata)\\n revert(add(32, returndata), returndata_size)\\n }\\n } else {\\n revert(errorMessage);\\n }\\n }\\n }\\n}\\n\",\"keccak256\":\"0x51b758a8815ecc9596c66c37d56b1d33883a444631a3f916b9fe65cb863ef7c4\",\"license\":\"MIT\"},\"contracts/governance/Governable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\n/**\\n * @title Base for contracts that are managed by the Origin Protocol's Governor.\\n * @dev Copy of the openzeppelin Ownable.sol contract with nomenclature change\\n * from owner to governor and renounce methods removed. Does not use\\n * Context.sol like Ownable.sol does for simplification.\\n * @author Origin Protocol Inc\\n */\\ncontract Governable {\\n // Storage position of the owner and pendingOwner of the contract\\n // keccak256(\\\"OUSD.governor\\\");\\n bytes32 private constant governorPosition =\\n 0x7bea13895fa79d2831e0a9e28edede30099005a50d652d8957cf8a607ee6ca4a;\\n\\n // keccak256(\\\"OUSD.pending.governor\\\");\\n bytes32 private constant pendingGovernorPosition =\\n 0x44c4d30b2eaad5130ad70c3ba6972730566f3e6359ab83e800d905c61b1c51db;\\n\\n // keccak256(\\\"OUSD.reentry.status\\\");\\n bytes32 private constant reentryStatusPosition =\\n 0x53bf423e48ed90e97d02ab0ebab13b2a235a6bfbe9c321847d5c175333ac4535;\\n\\n // See OpenZeppelin ReentrancyGuard implementation\\n uint256 constant _NOT_ENTERED = 1;\\n uint256 constant _ENTERED = 2;\\n\\n event PendingGovernorshipTransfer(\\n address indexed previousGovernor,\\n address indexed newGovernor\\n );\\n\\n event GovernorshipTransferred(\\n address indexed previousGovernor,\\n address indexed newGovernor\\n );\\n\\n /**\\n * @dev Initializes the contract setting the deployer as the initial Governor.\\n */\\n constructor() {\\n _setGovernor(msg.sender);\\n emit GovernorshipTransferred(address(0), _governor());\\n }\\n\\n /**\\n * @notice Returns the address of the current Governor.\\n */\\n function governor() public view returns (address) {\\n return _governor();\\n }\\n\\n /**\\n * @dev Returns the address of the current Governor.\\n */\\n function _governor() internal view returns (address governorOut) {\\n bytes32 position = governorPosition;\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n governorOut := sload(position)\\n }\\n }\\n\\n /**\\n * @dev Returns the address of the pending Governor.\\n */\\n function _pendingGovernor()\\n internal\\n view\\n returns (address pendingGovernor)\\n {\\n bytes32 position = pendingGovernorPosition;\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n pendingGovernor := sload(position)\\n }\\n }\\n\\n /**\\n * @dev Throws if called by any account other than the Governor.\\n */\\n modifier onlyGovernor() {\\n require(isGovernor(), \\\"Caller is not the Governor\\\");\\n _;\\n }\\n\\n /**\\n * @notice Returns true if the caller is the current Governor.\\n */\\n function isGovernor() public view returns (bool) {\\n return msg.sender == _governor();\\n }\\n\\n function _setGovernor(address newGovernor) internal {\\n bytes32 position = governorPosition;\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n sstore(position, newGovernor)\\n }\\n }\\n\\n /**\\n * @dev Prevents a contract from calling itself, directly or indirectly.\\n * Calling a `nonReentrant` function from another `nonReentrant`\\n * function is not supported. It is possible to prevent this from happening\\n * by making the `nonReentrant` function external, and make it call a\\n * `private` function that does the actual work.\\n */\\n modifier nonReentrant() {\\n bytes32 position = reentryStatusPosition;\\n uint256 _reentry_status;\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n _reentry_status := sload(position)\\n }\\n\\n // On the first call to nonReentrant, _notEntered will be true\\n require(_reentry_status != _ENTERED, \\\"Reentrant call\\\");\\n\\n // Any calls to nonReentrant after this point will fail\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n sstore(position, _ENTERED)\\n }\\n\\n _;\\n\\n // By storing the original value once again, a refund is triggered (see\\n // https://eips.ethereum.org/EIPS/eip-2200)\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n sstore(position, _NOT_ENTERED)\\n }\\n }\\n\\n function _setPendingGovernor(address newGovernor) internal {\\n bytes32 position = pendingGovernorPosition;\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n sstore(position, newGovernor)\\n }\\n }\\n\\n /**\\n * @notice Transfers Governance of the contract to a new account (`newGovernor`).\\n * Can only be called by the current Governor. Must be claimed for this to complete\\n * @param _newGovernor Address of the new Governor\\n */\\n function transferGovernance(address _newGovernor) external onlyGovernor {\\n _setPendingGovernor(_newGovernor);\\n emit PendingGovernorshipTransfer(_governor(), _newGovernor);\\n }\\n\\n /**\\n * @notice Claim Governance of the contract to a new account (`newGovernor`).\\n * Can only be called by the new Governor.\\n */\\n function claimGovernance() external {\\n require(\\n msg.sender == _pendingGovernor(),\\n \\\"Only the pending Governor can complete the claim\\\"\\n );\\n _changeGovernor(msg.sender);\\n }\\n\\n /**\\n * @dev Change Governance of the contract to a new account (`newGovernor`).\\n * @param _newGovernor Address of the new Governor\\n */\\n function _changeGovernor(address _newGovernor) internal {\\n require(_newGovernor != address(0), \\\"New Governor is address(0)\\\");\\n emit GovernorshipTransferred(_governor(), _newGovernor);\\n _setGovernor(_newGovernor);\\n }\\n}\\n\",\"keccak256\":\"0xb7133d6ce7a9e673ff79fcedb3fd41ae6e58e251f94915bb65731abe524270b4\",\"license\":\"MIT\"},\"contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { Address } from \\\"@openzeppelin/contracts/utils/Address.sol\\\";\\n\\nimport { Governable } from \\\"../governance/Governable.sol\\\";\\n\\n/**\\n * @title BaseGovernedUpgradeabilityProxy\\n * @dev This contract combines an upgradeability proxy with our governor system.\\n * It is based on an older version of OpenZeppelins BaseUpgradeabilityProxy\\n * with Solidity ^0.8.0.\\n * @author Origin Protocol Inc\\n */\\ncontract InitializeGovernedUpgradeabilityProxy is Governable {\\n /**\\n * @dev Emitted when the implementation is upgraded.\\n * @param implementation Address of the new implementation.\\n */\\n event Upgraded(address indexed implementation);\\n\\n /**\\n * @dev Contract initializer with Governor enforcement\\n * @param _logic Address of the initial implementation.\\n * @param _initGovernor Address of the initial Governor.\\n * @param _data Data to send as msg.data to the implementation to initialize\\n * the proxied contract.\\n * It should include the signature and the parameters of the function to be\\n * called, as described in\\n * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.\\n * This parameter is optional, if no data is given the initialization call\\n * to proxied contract will be skipped.\\n */\\n function initialize(\\n address _logic,\\n address _initGovernor,\\n bytes calldata _data\\n ) public payable onlyGovernor {\\n require(_implementation() == address(0));\\n require(_logic != address(0), \\\"Implementation not set\\\");\\n assert(\\n IMPLEMENTATION_SLOT ==\\n bytes32(uint256(keccak256(\\\"eip1967.proxy.implementation\\\")) - 1)\\n );\\n _setImplementation(_logic);\\n if (_data.length > 0) {\\n (bool success, ) = _logic.delegatecall(_data);\\n require(success);\\n }\\n _changeGovernor(_initGovernor);\\n }\\n\\n /**\\n * @return The address of the proxy admin/it's also the governor.\\n */\\n function admin() external view returns (address) {\\n return _governor();\\n }\\n\\n /**\\n * @return The address of the implementation.\\n */\\n function implementation() external view returns (address) {\\n return _implementation();\\n }\\n\\n /**\\n * @dev Upgrade the backing implementation of the proxy.\\n * Only the admin can call this function.\\n * @param _newImplementation Address of the new implementation.\\n */\\n function upgradeTo(address _newImplementation) external onlyGovernor {\\n _upgradeTo(_newImplementation);\\n }\\n\\n /**\\n * @dev Upgrade the backing implementation of the proxy and call a function\\n * on the new implementation.\\n * This is useful to initialize the proxied contract.\\n * @param newImplementation Address of the new implementation.\\n * @param data Data to send as msg.data in the low level call.\\n * It should include the signature and the parameters of the function to be called, as described in\\n * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.\\n */\\n function upgradeToAndCall(address newImplementation, bytes calldata data)\\n external\\n payable\\n onlyGovernor\\n {\\n _upgradeTo(newImplementation);\\n (bool success, ) = newImplementation.delegatecall(data);\\n require(success);\\n }\\n\\n /**\\n * @dev Fallback function.\\n * Implemented entirely in `_fallback`.\\n */\\n fallback() external payable {\\n _fallback();\\n }\\n\\n /**\\n * @dev Delegates execution to an implementation contract.\\n * This is a low level function that doesn't return to its internal call site.\\n * It will return to the external caller whatever the implementation returns.\\n * @param _impl Address to delegate.\\n */\\n function _delegate(address _impl) internal {\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n // Copy msg.data. We take full control of memory in this inline assembly\\n // block because it will not return to Solidity code. We overwrite the\\n // Solidity scratch pad at memory position 0.\\n calldatacopy(0, 0, calldatasize())\\n\\n // Call the implementation.\\n // out and outsize are 0 because we don't know the size yet.\\n let result := delegatecall(gas(), _impl, 0, calldatasize(), 0, 0)\\n\\n // Copy the returned data.\\n returndatacopy(0, 0, returndatasize())\\n\\n switch result\\n // delegatecall returns 0 on error.\\n case 0 {\\n revert(0, returndatasize())\\n }\\n default {\\n return(0, returndatasize())\\n }\\n }\\n }\\n\\n /**\\n * @dev Function that is run as the first thing in the fallback function.\\n * Can be redefined in derived contracts to add functionality.\\n * Redefinitions must call super._willFallback().\\n */\\n function _willFallback() internal {}\\n\\n /**\\n * @dev fallback implementation.\\n * Extracted to enable manual triggering.\\n */\\n function _fallback() internal {\\n _willFallback();\\n _delegate(_implementation());\\n }\\n\\n /**\\n * @dev Storage slot with the address of the current implementation.\\n * This is the keccak-256 hash of \\\"eip1967.proxy.implementation\\\" subtracted by 1, and is\\n * validated in the constructor.\\n */\\n bytes32 internal constant IMPLEMENTATION_SLOT =\\n 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\\n\\n /**\\n * @dev Returns the current implementation.\\n * @return impl Address of the current implementation\\n */\\n function _implementation() internal view returns (address impl) {\\n bytes32 slot = IMPLEMENTATION_SLOT;\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n impl := sload(slot)\\n }\\n }\\n\\n /**\\n * @dev Upgrades the proxy to a new implementation.\\n * @param newImplementation Address of the new implementation.\\n */\\n function _upgradeTo(address newImplementation) internal {\\n _setImplementation(newImplementation);\\n emit Upgraded(newImplementation);\\n }\\n\\n /**\\n * @dev Sets the implementation address of the proxy.\\n * @param newImplementation Address of the new implementation.\\n */\\n function _setImplementation(address newImplementation) internal {\\n require(\\n Address.isContract(newImplementation),\\n \\\"Cannot set a proxy implementation to a non-contract address\\\"\\n );\\n\\n bytes32 slot = IMPLEMENTATION_SLOT;\\n\\n // solhint-disable-next-line no-inline-assembly\\n assembly {\\n sstore(slot, newImplementation)\\n }\\n }\\n}\\n\",\"keccak256\":\"0x5d13ccfc903fae88fb3db7d6b67e7c1e6c1bd25a4e3ed53eff5570d844775ceb\",\"license\":\"MIT\"},\"contracts/proxies/Proxies.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\nimport { InitializeGovernedUpgradeabilityProxy } from \\\"./InitializeGovernedUpgradeabilityProxy.sol\\\";\\n\\n/**\\n * @notice OUSDProxy delegates calls to an OUSD implementation\\n */\\ncontract OUSDProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice WrappedOUSDProxy delegates calls to a WrappedOUSD implementation\\n */\\ncontract WrappedOUSDProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice VaultProxy delegates calls to a Vault implementation\\n */\\ncontract VaultProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice CompoundStrategyProxy delegates calls to a CompoundStrategy implementation\\n */\\ncontract CompoundStrategyProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice AaveStrategyProxy delegates calls to a AaveStrategy implementation\\n */\\ncontract AaveStrategyProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice ThreePoolStrategyProxy delegates calls to a ThreePoolStrategy implementation\\n */\\ncontract ThreePoolStrategyProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice ConvexStrategyProxy delegates calls to a ConvexStrategy implementation\\n */\\ncontract ConvexStrategyProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice HarvesterProxy delegates calls to a Harvester implementation\\n */\\ncontract HarvesterProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice DripperProxy delegates calls to a Dripper implementation\\n */\\ncontract DripperProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice MorphoCompoundStrategyProxy delegates calls to a MorphoCompoundStrategy implementation\\n */\\ncontract MorphoCompoundStrategyProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice ConvexOUSDMetaStrategyProxy delegates calls to a ConvexOUSDMetaStrategy implementation\\n */\\ncontract ConvexOUSDMetaStrategyProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice ConvexLUSDMetaStrategyProxy delegates calls to a ConvexalGeneralizedMetaStrategy implementation\\n */\\ncontract ConvexLUSDMetaStrategyProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice MorphoAaveStrategyProxy delegates calls to a MorphoCompoundStrategy implementation\\n */\\ncontract MorphoAaveStrategyProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice OETHProxy delegates calls to nowhere for now\\n */\\ncontract OETHProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice WOETHProxy delegates calls to nowhere for now\\n */\\ncontract WOETHProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice OETHVaultProxy delegates calls to a Vault implementation\\n */\\ncontract OETHVaultProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice OETHDripperProxy delegates calls to a OETHDripper implementation\\n */\\ncontract OETHDripperProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice OETHHarvesterProxy delegates calls to a Harvester implementation\\n */\\ncontract OETHHarvesterProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice FraxETHStrategyProxy delegates calls to a FraxETHStrategy implementation\\n */\\ncontract FraxETHStrategyProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice CurveEthStrategyProxy delegates calls to a CurveEthStrategy implementation\\n */\\ncontract ConvexEthMetaStrategyProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice BuybackProxy delegates calls to Buyback implementation\\n */\\ncontract BuybackProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice OETHMorphoAaveStrategyProxy delegates calls to a MorphoAaveStrategy implementation\\n */\\ncontract OETHMorphoAaveStrategyProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice OETHBalancerMetaPoolrEthStrategyProxy delegates calls to a BalancerMetaPoolStrategy implementation\\n */\\ncontract OETHBalancerMetaPoolrEthStrategyProxy is\\n InitializeGovernedUpgradeabilityProxy\\n{\\n\\n}\\n\\n/**\\n * @notice OETHBalancerMetaPoolwstEthStrategyProxy delegates calls to a BalancerMetaPoolStrategy implementation\\n */\\ncontract OETHBalancerMetaPoolwstEthStrategyProxy is\\n InitializeGovernedUpgradeabilityProxy\\n{\\n\\n}\\n\\n/**\\n * @notice FluxStrategyProxy delegates calls to a CompoundStrategy implementation\\n */\\ncontract FluxStrategyProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice MakerDsrStrategyProxy delegates calls to a Generalized4626Strategy implementation\\n */\\ncontract MakerDsrStrategyProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice FrxEthRedeemStrategyProxy delegates calls to a FrxEthRedeemStrategy implementation\\n */\\ncontract FrxEthRedeemStrategyProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice OETHBuybackProxy delegates calls to Buyback implementation\\n */\\ncontract OETHBuybackProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice BridgedWOETHProxy delegates calls to BridgedWOETH implementation\\n */\\ncontract BridgedWOETHProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice NativeStakingSSVStrategyProxy delegates calls to NativeStakingSSVStrategy implementation\\n */\\ncontract NativeStakingSSVStrategyProxy is\\n InitializeGovernedUpgradeabilityProxy\\n{\\n\\n}\\n\\n/**\\n * @notice NativeStakingFeeAccumulatorProxy delegates calls to FeeAccumulator implementation\\n */\\ncontract NativeStakingFeeAccumulatorProxy is\\n InitializeGovernedUpgradeabilityProxy\\n{\\n\\n}\\n\\n/**\\n * @notice NativeStakingSSVStrategy2Proxy delegates calls to NativeStakingSSVStrategy implementation\\n */\\ncontract NativeStakingSSVStrategy2Proxy is\\n InitializeGovernedUpgradeabilityProxy\\n{\\n\\n}\\n\\n/**\\n * @notice NativeStakingFeeAccumulator2Proxy delegates calls to FeeAccumulator implementation\\n */\\ncontract NativeStakingFeeAccumulator2Proxy is\\n InitializeGovernedUpgradeabilityProxy\\n{\\n\\n}\\n\\n/**\\n * @notice LidoWithdrawalStrategyProxy delegates calls to a LidoWithdrawalStrategy implementation\\n */\\ncontract LidoWithdrawalStrategyProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice BridgedBaseWOETHProxy delegates calls to BridgedWOETH implementation\\n */\\ncontract BridgedBaseWOETHProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice OETHBaseVaultProxy delegates calls to OETHBaseVault implementation\\n */\\ncontract OETHBaseVaultProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice OETHBaseProxy delegates calls to OETH implementation\\n */\\ncontract OETHBaseProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice WOETHBaseProxy delegates calls to WOETH implementation\\n */\\ncontract WOETHBaseProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice OETHBaseDripperProxy delegates calls to a OETHDripper implementation\\n */\\ncontract OETHBaseDripperProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice AerodromeAMOStrategyProxy delegates calls to AerodromeAMOStrategy implementation\\n */\\ncontract AerodromeAMOStrategyProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice BridgedWOETHStrategyProxy delegates calls to BridgedWOETHStrategy implementation\\n */\\ncontract BridgedWOETHStrategyProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice MetaMorphoStrategyProxy delegates calls to a Generalized4626Strategy implementation\\n */\\ncontract MetaMorphoStrategyProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice OETHBaseHarvesterProxy delegates calls to a OETHBaseHarvester implementation\\n */\\ncontract OETHBaseHarvesterProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\\n/**\\n * @notice ARMBuybackProxy delegates calls to Buyback implementation\\n */\\ncontract ARMBuybackProxy is InitializeGovernedUpgradeabilityProxy {\\n\\n}\\n\",\"keccak256\":\"0xf25e857b12bad76641d0ee9a3fe846eec2a01bd6e9b02b6d5e4eaa24fa1faa05\",\"license\":\"MIT\"}},\"version\":1}", + "bytecode": "0x608060405234801561001057600080fd5b50610027336000805160206109df83398151915255565b6000805160206109df833981519152546040516001600160a01b03909116906000907fc7c0c772add429241571afb3805861fb3cfa2af374534088b76cdb4325a87e9a908290a36109628061007d6000396000f3fe6080604052600436106100865760003560e01c80635d36b190116100595780635d36b1901461010a578063c7af33521461011f578063cf7a1d7714610144578063d38bfff414610157578063f851a4401461009057610086565b80630c340a24146100905780633659cfe6146100c25780634f1ef286146100e25780635c60da1b146100f5575b61008e610177565b005b34801561009c57600080fd5b506100a5610197565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156100ce57600080fd5b5061008e6100dd366004610794565b6101b4565b61008e6100f0366004610817565b6101ed565b34801561010157600080fd5b506100a561028a565b34801561011657600080fd5b5061008e6102a2565b34801561012b57600080fd5b50610134610346565b60405190151581526020016100b9565b61008e6101523660046107b6565b610377565b34801561016357600080fd5b5061008e610172366004610794565b6104e0565b6101956101906000805160206108ed8339815191525490565b610584565b565b60006101af60008051602061090d8339815191525490565b905090565b6101bc610346565b6101e15760405162461bcd60e51b81526004016101d89061087a565b60405180910390fd5b6101ea816105a8565b50565b6101f5610346565b6102115760405162461bcd60e51b81526004016101d89061087a565b61021a836105a8565b6000836001600160a01b0316838360405161023692919061086a565b600060405180830381855af49150503d8060008114610271576040519150601f19603f3d011682016040523d82523d6000602084013e610276565b606091505b505090508061028457600080fd5b50505050565b60006101af6000805160206108ed8339815191525490565b7f44c4d30b2eaad5130ad70c3ba6972730566f3e6359ab83e800d905c61b1c51db546001600160a01b0316336001600160a01b03161461033d5760405162461bcd60e51b815260206004820152603060248201527f4f6e6c79207468652070656e64696e6720476f7665726e6f722063616e20636f60448201526f6d706c6574652074686520636c61696d60801b60648201526084016101d8565b610195336105e8565b600061035e60008051602061090d8339815191525490565b6001600160a01b0316336001600160a01b031614905090565b61037f610346565b61039b5760405162461bcd60e51b81526004016101d89061087a565b60006103b36000805160206108ed8339815191525490565b6001600160a01b0316146103c657600080fd5b6001600160a01b0384166104155760405162461bcd60e51b8152602060048201526016602482015275125b5c1b195b595b9d185d1a5bdb881b9bdd081cd95d60521b60448201526064016101d8565b61044060017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd6108b1565b6000805160206108ed8339815191521461045c5761045c6108d6565b610465846106a9565b80156104d7576000846001600160a01b0316838360405161048792919061086a565b600060405180830381855af49150503d80600081146104c2576040519150601f19603f3d011682016040523d82523d6000602084013e6104c7565b606091505b50509050806104d557600080fd5b505b610284836105e8565b6104e8610346565b6105045760405162461bcd60e51b81526004016101d89061087a565b61052c817f44c4d30b2eaad5130ad70c3ba6972730566f3e6359ab83e800d905c61b1c51db55565b806001600160a01b031661054c60008051602061090d8339815191525490565b6001600160a01b03167fa39cc5eb22d0f34d8beaefee8a3f17cc229c1a1d1ef87a5ad47313487b1c4f0d60405160405180910390a350565b3660008037600080366000845af43d6000803e8080156105a3573d6000f35b3d6000fd5b6105b1816106a9565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6001600160a01b03811661063e5760405162461bcd60e51b815260206004820152601a60248201527f4e657720476f7665726e6f72206973206164647265737328302900000000000060448201526064016101d8565b806001600160a01b031661065e60008051602061090d8339815191525490565b6001600160a01b03167fc7c0c772add429241571afb3805861fb3cfa2af374534088b76cdb4325a87e9a60405160405180910390a36101ea8160008051602061090d83398151915255565b803b61071d5760405162461bcd60e51b815260206004820152603b60248201527f43616e6e6f742073657420612070726f787920696d706c656d656e746174696f60448201527f6e20746f2061206e6f6e2d636f6e74726163742061646472657373000000000060648201526084016101d8565b6000805160206108ed83398151915255565b80356001600160a01b038116811461074657600080fd5b919050565b60008083601f84011261075d57600080fd5b50813567ffffffffffffffff81111561077557600080fd5b60208301915083602082850101111561078d57600080fd5b9250929050565b6000602082840312156107a657600080fd5b6107af8261072f565b9392505050565b600080600080606085870312156107cc57600080fd5b6107d58561072f565b93506107e36020860161072f565b9250604085013567ffffffffffffffff8111156107ff57600080fd5b61080b8782880161074b565b95989497509550505050565b60008060006040848603121561082c57600080fd5b6108358461072f565b9250602084013567ffffffffffffffff81111561085157600080fd5b61085d8682870161074b565b9497909650939450505050565b8183823760009101908152919050565b6020808252601a908201527f43616c6c6572206973206e6f742074686520476f7665726e6f72000000000000604082015260600190565b6000828210156108d157634e487b7160e01b600052601160045260246000fd5b500390565b634e487b7160e01b600052600160045260246000fdfe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc7bea13895fa79d2831e0a9e28edede30099005a50d652d8957cf8a607ee6ca4aa26469706673582212206411533463bdae0f089bc6bdbd24268853970f757a939605de484153c68e453364736f6c634300080700337bea13895fa79d2831e0a9e28edede30099005a50d652d8957cf8a607ee6ca4a", + "deployedBytecode": "0x6080604052600436106100865760003560e01c80635d36b190116100595780635d36b1901461010a578063c7af33521461011f578063cf7a1d7714610144578063d38bfff414610157578063f851a4401461009057610086565b80630c340a24146100905780633659cfe6146100c25780634f1ef286146100e25780635c60da1b146100f5575b61008e610177565b005b34801561009c57600080fd5b506100a5610197565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156100ce57600080fd5b5061008e6100dd366004610794565b6101b4565b61008e6100f0366004610817565b6101ed565b34801561010157600080fd5b506100a561028a565b34801561011657600080fd5b5061008e6102a2565b34801561012b57600080fd5b50610134610346565b60405190151581526020016100b9565b61008e6101523660046107b6565b610377565b34801561016357600080fd5b5061008e610172366004610794565b6104e0565b6101956101906000805160206108ed8339815191525490565b610584565b565b60006101af60008051602061090d8339815191525490565b905090565b6101bc610346565b6101e15760405162461bcd60e51b81526004016101d89061087a565b60405180910390fd5b6101ea816105a8565b50565b6101f5610346565b6102115760405162461bcd60e51b81526004016101d89061087a565b61021a836105a8565b6000836001600160a01b0316838360405161023692919061086a565b600060405180830381855af49150503d8060008114610271576040519150601f19603f3d011682016040523d82523d6000602084013e610276565b606091505b505090508061028457600080fd5b50505050565b60006101af6000805160206108ed8339815191525490565b7f44c4d30b2eaad5130ad70c3ba6972730566f3e6359ab83e800d905c61b1c51db546001600160a01b0316336001600160a01b03161461033d5760405162461bcd60e51b815260206004820152603060248201527f4f6e6c79207468652070656e64696e6720476f7665726e6f722063616e20636f60448201526f6d706c6574652074686520636c61696d60801b60648201526084016101d8565b610195336105e8565b600061035e60008051602061090d8339815191525490565b6001600160a01b0316336001600160a01b031614905090565b61037f610346565b61039b5760405162461bcd60e51b81526004016101d89061087a565b60006103b36000805160206108ed8339815191525490565b6001600160a01b0316146103c657600080fd5b6001600160a01b0384166104155760405162461bcd60e51b8152602060048201526016602482015275125b5c1b195b595b9d185d1a5bdb881b9bdd081cd95d60521b60448201526064016101d8565b61044060017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd6108b1565b6000805160206108ed8339815191521461045c5761045c6108d6565b610465846106a9565b80156104d7576000846001600160a01b0316838360405161048792919061086a565b600060405180830381855af49150503d80600081146104c2576040519150601f19603f3d011682016040523d82523d6000602084013e6104c7565b606091505b50509050806104d557600080fd5b505b610284836105e8565b6104e8610346565b6105045760405162461bcd60e51b81526004016101d89061087a565b61052c817f44c4d30b2eaad5130ad70c3ba6972730566f3e6359ab83e800d905c61b1c51db55565b806001600160a01b031661054c60008051602061090d8339815191525490565b6001600160a01b03167fa39cc5eb22d0f34d8beaefee8a3f17cc229c1a1d1ef87a5ad47313487b1c4f0d60405160405180910390a350565b3660008037600080366000845af43d6000803e8080156105a3573d6000f35b3d6000fd5b6105b1816106a9565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6001600160a01b03811661063e5760405162461bcd60e51b815260206004820152601a60248201527f4e657720476f7665726e6f72206973206164647265737328302900000000000060448201526064016101d8565b806001600160a01b031661065e60008051602061090d8339815191525490565b6001600160a01b03167fc7c0c772add429241571afb3805861fb3cfa2af374534088b76cdb4325a87e9a60405160405180910390a36101ea8160008051602061090d83398151915255565b803b61071d5760405162461bcd60e51b815260206004820152603b60248201527f43616e6e6f742073657420612070726f787920696d706c656d656e746174696f60448201527f6e20746f2061206e6f6e2d636f6e74726163742061646472657373000000000060648201526084016101d8565b6000805160206108ed83398151915255565b80356001600160a01b038116811461074657600080fd5b919050565b60008083601f84011261075d57600080fd5b50813567ffffffffffffffff81111561077557600080fd5b60208301915083602082850101111561078d57600080fd5b9250929050565b6000602082840312156107a657600080fd5b6107af8261072f565b9392505050565b600080600080606085870312156107cc57600080fd5b6107d58561072f565b93506107e36020860161072f565b9250604085013567ffffffffffffffff8111156107ff57600080fd5b61080b8782880161074b565b95989497509550505050565b60008060006040848603121561082c57600080fd5b6108358461072f565b9250602084013567ffffffffffffffff81111561085157600080fd5b61085d8682870161074b565b9497909650939450505050565b8183823760009101908152919050565b6020808252601a908201527f43616c6c6572206973206e6f742074686520476f7665726e6f72000000000000604082015260600190565b6000828210156108d157634e487b7160e01b600052601160045260246000fd5b500390565b634e487b7160e01b600052600160045260246000fdfe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc7bea13895fa79d2831e0a9e28edede30099005a50d652d8957cf8a607ee6ca4aa26469706673582212206411533463bdae0f089bc6bdbd24268853970f757a939605de484153c68e453364736f6c63430008070033", + "libraries": {}, + "devdoc": { + "kind": "dev", + "methods": { + "admin()": { + "returns": { + "_0": "The address of the proxy admin/it's also the governor." + } + }, + "implementation()": { + "returns": { + "_0": "The address of the implementation." + } + }, + "initialize(address,address,bytes)": { + "details": "Contract initializer with Governor enforcement", + "params": { + "_data": "Data to send as msg.data to the implementation to initialize the proxied contract. It should include the signature and the parameters of the function to be called, as described in https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding. This parameter is optional, if no data is given the initialization call to proxied contract will be skipped.", + "_initGovernor": "Address of the initial Governor.", + "_logic": "Address of the initial implementation." + } + }, + "transferGovernance(address)": { + "params": { + "_newGovernor": "Address of the new Governor" + } + }, + "upgradeTo(address)": { + "details": "Upgrade the backing implementation of the proxy. Only the admin can call this function.", + "params": { + "_newImplementation": "Address of the new implementation." + } + }, + "upgradeToAndCall(address,bytes)": { + "details": "Upgrade the backing implementation of the proxy and call a function on the new implementation. This is useful to initialize the proxied contract.", + "params": { + "data": "Data to send as msg.data in the low level call. It should include the signature and the parameters of the function to be called, as described in https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.", + "newImplementation": "Address of the new implementation." + } + } + }, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": { + "claimGovernance()": { + "notice": "Claim Governance of the contract to a new account (`newGovernor`). Can only be called by the new Governor." + }, + "governor()": { + "notice": "Returns the address of the current Governor." + }, + "isGovernor()": { + "notice": "Returns true if the caller is the current Governor." + }, + "transferGovernance(address)": { + "notice": "Transfers Governance of the contract to a new account (`newGovernor`). Can only be called by the current Governor. Must be claimed for this to complete" + } + }, + "notice": "OETHBaseHarvesterProxy delegates calls to a OETHBaseHarvester implementation", + "version": 1 + }, + "storageLayout": { + "storage": [], + "types": null + } +} \ No newline at end of file diff --git a/contracts/deployments/base/solcInputs/2187cac0f2ea82bf39113c8aaf196a20.json b/contracts/deployments/base/solcInputs/2187cac0f2ea82bf39113c8aaf196a20.json new file mode 100644 index 0000000000..0f628ca5e7 --- /dev/null +++ b/contracts/deployments/base/solcInputs/2187cac0f2ea82bf39113c8aaf196a20.json @@ -0,0 +1,92 @@ +{ + "language": "Solidity", + "sources": { + "@openzeppelin/contracts/token/ERC20/IERC20.sol": { + "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n */\ninterface IERC20 {\n /**\n * @dev Returns the amount of tokens in existence.\n */\n function totalSupply() external view returns (uint256);\n\n /**\n * @dev Returns the amount of tokens owned by `account`.\n */\n function balanceOf(address account) external view returns (uint256);\n\n /**\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\n *\n * Returns a boolean value indicating whether the operation succeeded.\n *\n * Emits a {Transfer} event.\n */\n function transfer(address recipient, uint256 amount) external returns (bool);\n\n /**\n * @dev Returns the remaining number of tokens that `spender` will be\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\n * zero by default.\n *\n * This value changes when {approve} or {transferFrom} are called.\n */\n function allowance(address owner, address spender) external view returns (uint256);\n\n /**\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\n *\n * Returns a boolean value indicating whether the operation succeeded.\n *\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\n * that someone may use both the old and the new allowance by unfortunate\n * transaction ordering. One possible solution to mitigate this race\n * condition is to first reduce the spender's allowance to 0 and set the\n * desired value afterwards:\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n *\n * Emits an {Approval} event.\n */\n function approve(address spender, uint256 amount) external returns (bool);\n\n /**\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\n * allowance mechanism. `amount` is then deducted from the caller's\n * allowance.\n *\n * Returns a boolean value indicating whether the operation succeeded.\n *\n * Emits a {Transfer} event.\n */\n function transferFrom(\n address sender,\n address recipient,\n uint256 amount\n ) external returns (bool);\n\n /**\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\n * another (`to`).\n *\n * Note that `value` may be zero.\n */\n event Transfer(address indexed from, address indexed to, uint256 value);\n\n /**\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n * a call to {approve}. `value` is the new allowance.\n */\n event Approval(address indexed owner, address indexed spender, uint256 value);\n}\n" + }, + "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol": { + "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../IERC20.sol\";\nimport \"../../../utils/Address.sol\";\n\n/**\n * @title SafeERC20\n * @dev Wrappers around ERC20 operations that throw on failure (when the token\n * contract returns false). Tokens that return no value (and instead revert or\n * throw on failure) are also supported, non-reverting calls are assumed to be\n * successful.\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\n */\nlibrary SafeERC20 {\n using Address for address;\n\n function safeTransfer(\n IERC20 token,\n address to,\n uint256 value\n ) internal {\n _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\n }\n\n function safeTransferFrom(\n IERC20 token,\n address from,\n address to,\n uint256 value\n ) internal {\n _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\n }\n\n /**\n * @dev Deprecated. This function has issues similar to the ones found in\n * {IERC20-approve}, and its usage is discouraged.\n *\n * Whenever possible, use {safeIncreaseAllowance} and\n * {safeDecreaseAllowance} instead.\n */\n function safeApprove(\n IERC20 token,\n address spender,\n uint256 value\n ) internal {\n // safeApprove should only be called when setting an initial allowance,\n // or when resetting it to zero. To increase and decrease it, use\n // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\n require(\n (value == 0) || (token.allowance(address(this), spender) == 0),\n \"SafeERC20: approve from non-zero to non-zero allowance\"\n );\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\n }\n\n function safeIncreaseAllowance(\n IERC20 token,\n address spender,\n uint256 value\n ) internal {\n uint256 newAllowance = token.allowance(address(this), spender) + value;\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\n }\n\n function safeDecreaseAllowance(\n IERC20 token,\n address spender,\n uint256 value\n ) internal {\n unchecked {\n uint256 oldAllowance = token.allowance(address(this), spender);\n require(oldAllowance >= value, \"SafeERC20: decreased allowance below zero\");\n uint256 newAllowance = oldAllowance - value;\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\n }\n }\n\n /**\n * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n * on the return value: the return value is optional (but if data is returned, it must not be false).\n * @param token The token targeted by the call.\n * @param data The call data (encoded using abi.encode or one of its variants).\n */\n function _callOptionalReturn(IERC20 token, bytes memory data) private {\n // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\n // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that\n // the target address contains contract code and also asserts for success in the low-level call.\n\n bytes memory returndata = address(token).functionCall(data, \"SafeERC20: low-level call failed\");\n if (returndata.length > 0) {\n // Return data is optional\n require(abi.decode(returndata, (bool)), \"SafeERC20: ERC20 operation did not succeed\");\n }\n }\n}\n" + }, + "@openzeppelin/contracts/utils/Address.sol": { + "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n /**\n * @dev Returns true if `account` is a contract.\n *\n * [IMPORTANT]\n * ====\n * It is unsafe to assume that an address for which this function returns\n * false is an externally-owned account (EOA) and not a contract.\n *\n * Among others, `isContract` will return false for the following\n * types of addresses:\n *\n * - an externally-owned account\n * - a contract in construction\n * - an address where a contract will be created\n * - an address where a contract lived, but was destroyed\n * ====\n */\n function isContract(address account) internal view returns (bool) {\n // This method relies on extcodesize, which returns 0 for contracts in\n // construction, since the code is only stored at the end of the\n // constructor execution.\n\n uint256 size;\n assembly {\n size := extcodesize(account)\n }\n return size > 0;\n }\n\n /**\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n * `recipient`, forwarding all available gas and reverting on errors.\n *\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\n * imposed by `transfer`, making them unable to receive funds via\n * `transfer`. {sendValue} removes this limitation.\n *\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n *\n * IMPORTANT: because control is transferred to `recipient`, care must be\n * taken to not create reentrancy vulnerabilities. Consider using\n * {ReentrancyGuard} or the\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n */\n function sendValue(address payable recipient, uint256 amount) internal {\n require(address(this).balance >= amount, \"Address: insufficient balance\");\n\n (bool success, ) = recipient.call{value: amount}(\"\");\n require(success, \"Address: unable to send value, recipient may have reverted\");\n }\n\n /**\n * @dev Performs a Solidity function call using a low level `call`. A\n * plain `call` is an unsafe replacement for a function call: use this\n * function instead.\n *\n * If `target` reverts with a revert reason, it is bubbled up by this\n * function (like regular Solidity function calls).\n *\n * Returns the raw returned data. To convert to the expected return value,\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n *\n * Requirements:\n *\n * - `target` must be a contract.\n * - calling `target` with `data` must not revert.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionCall(target, data, \"Address: low-level call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n * `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCall(\n address target,\n bytes memory data,\n string memory errorMessage\n ) internal returns (bytes memory) {\n return functionCallWithValue(target, data, 0, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but also transferring `value` wei to `target`.\n *\n * Requirements:\n *\n * - the calling contract must have an ETH balance of at least `value`.\n * - the called Solidity function must be `payable`.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(\n address target,\n bytes memory data,\n uint256 value\n ) internal returns (bytes memory) {\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n * with `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(\n address target,\n bytes memory data,\n uint256 value,\n string memory errorMessage\n ) internal returns (bytes memory) {\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\n require(isContract(target), \"Address: call to non-contract\");\n\n (bool success, bytes memory returndata) = target.call{value: value}(data);\n return verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(\n address target,\n bytes memory data,\n string memory errorMessage\n ) internal view returns (bytes memory) {\n require(isContract(target), \"Address: static call to non-contract\");\n\n (bool success, bytes memory returndata) = target.staticcall(data);\n return verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(\n address target,\n bytes memory data,\n string memory errorMessage\n ) internal returns (bytes memory) {\n require(isContract(target), \"Address: delegate call to non-contract\");\n\n (bool success, bytes memory returndata) = target.delegatecall(data);\n return verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\n * revert reason using the provided one.\n *\n * _Available since v4.3._\n */\n function verifyCallResult(\n bool success,\n bytes memory returndata,\n string memory errorMessage\n ) internal pure returns (bytes memory) {\n if (success) {\n return returndata;\n } else {\n // Look for revert reason and bubble it up if present\n if (returndata.length > 0) {\n // The easiest way to bubble the revert reason is using memory via assembly\n\n assembly {\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n }\n } else {\n revert(errorMessage);\n }\n }\n }\n}\n" + }, + "@openzeppelin/contracts/utils/math/SafeMath.sol": { + "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)\n\npragma solidity ^0.8.0;\n\n// CAUTION\n// This version of SafeMath should only be used with Solidity 0.8 or later,\n// because it relies on the compiler's built in overflow checks.\n\n/**\n * @dev Wrappers over Solidity's arithmetic operations.\n *\n * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler\n * now has built in overflow checking.\n */\nlibrary SafeMath {\n /**\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n unchecked {\n uint256 c = a + b;\n if (c < a) return (false, 0);\n return (true, c);\n }\n }\n\n /**\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n unchecked {\n if (b > a) return (false, 0);\n return (true, a - b);\n }\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n unchecked {\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n // benefit is lost if 'b' is also tested.\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n if (a == 0) return (true, 0);\n uint256 c = a * b;\n if (c / a != b) return (false, 0);\n return (true, c);\n }\n }\n\n /**\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n unchecked {\n if (b == 0) return (false, 0);\n return (true, a / b);\n }\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n unchecked {\n if (b == 0) return (false, 0);\n return (true, a % b);\n }\n }\n\n /**\n * @dev Returns the addition of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `+` operator.\n *\n * Requirements:\n *\n * - Addition cannot overflow.\n */\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\n return a + b;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting on\n * overflow (when the result is negative).\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\n return a - b;\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `*` operator.\n *\n * Requirements:\n *\n * - Multiplication cannot overflow.\n */\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n return a * b;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting on\n * division by zero. The result is rounded towards zero.\n *\n * Counterpart to Solidity's `/` operator.\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\n return a / b;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting when dividing by zero.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\n return a % b;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n * overflow (when the result is negative).\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {trySub}.\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(\n uint256 a,\n uint256 b,\n string memory errorMessage\n ) internal pure returns (uint256) {\n unchecked {\n require(b <= a, errorMessage);\n return a - b;\n }\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\n * division by zero. The result is rounded towards zero.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(\n uint256 a,\n uint256 b,\n string memory errorMessage\n ) internal pure returns (uint256) {\n unchecked {\n require(b > 0, errorMessage);\n return a / b;\n }\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting with custom message when dividing by zero.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryMod}.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(\n uint256 a,\n uint256 b,\n string memory errorMessage\n ) internal pure returns (uint256) {\n unchecked {\n require(b > 0, errorMessage);\n return a % b;\n }\n }\n}\n" + }, + "contracts/governance/Governable.sol": { + "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/**\n * @title Base for contracts that are managed by the Origin Protocol's Governor.\n * @dev Copy of the openzeppelin Ownable.sol contract with nomenclature change\n * from owner to governor and renounce methods removed. Does not use\n * Context.sol like Ownable.sol does for simplification.\n * @author Origin Protocol Inc\n */\ncontract Governable {\n // Storage position of the owner and pendingOwner of the contract\n // keccak256(\"OUSD.governor\");\n bytes32 private constant governorPosition =\n 0x7bea13895fa79d2831e0a9e28edede30099005a50d652d8957cf8a607ee6ca4a;\n\n // keccak256(\"OUSD.pending.governor\");\n bytes32 private constant pendingGovernorPosition =\n 0x44c4d30b2eaad5130ad70c3ba6972730566f3e6359ab83e800d905c61b1c51db;\n\n // keccak256(\"OUSD.reentry.status\");\n bytes32 private constant reentryStatusPosition =\n 0x53bf423e48ed90e97d02ab0ebab13b2a235a6bfbe9c321847d5c175333ac4535;\n\n // See OpenZeppelin ReentrancyGuard implementation\n uint256 constant _NOT_ENTERED = 1;\n uint256 constant _ENTERED = 2;\n\n event PendingGovernorshipTransfer(\n address indexed previousGovernor,\n address indexed newGovernor\n );\n\n event GovernorshipTransferred(\n address indexed previousGovernor,\n address indexed newGovernor\n );\n\n /**\n * @dev Initializes the contract setting the deployer as the initial Governor.\n */\n constructor() {\n _setGovernor(msg.sender);\n emit GovernorshipTransferred(address(0), _governor());\n }\n\n /**\n * @notice Returns the address of the current Governor.\n */\n function governor() public view returns (address) {\n return _governor();\n }\n\n /**\n * @dev Returns the address of the current Governor.\n */\n function _governor() internal view returns (address governorOut) {\n bytes32 position = governorPosition;\n // solhint-disable-next-line no-inline-assembly\n assembly {\n governorOut := sload(position)\n }\n }\n\n /**\n * @dev Returns the address of the pending Governor.\n */\n function _pendingGovernor()\n internal\n view\n returns (address pendingGovernor)\n {\n bytes32 position = pendingGovernorPosition;\n // solhint-disable-next-line no-inline-assembly\n assembly {\n pendingGovernor := sload(position)\n }\n }\n\n /**\n * @dev Throws if called by any account other than the Governor.\n */\n modifier onlyGovernor() {\n require(isGovernor(), \"Caller is not the Governor\");\n _;\n }\n\n /**\n * @notice Returns true if the caller is the current Governor.\n */\n function isGovernor() public view returns (bool) {\n return msg.sender == _governor();\n }\n\n function _setGovernor(address newGovernor) internal {\n bytes32 position = governorPosition;\n // solhint-disable-next-line no-inline-assembly\n assembly {\n sstore(position, newGovernor)\n }\n }\n\n /**\n * @dev Prevents a contract from calling itself, directly or indirectly.\n * Calling a `nonReentrant` function from another `nonReentrant`\n * function is not supported. It is possible to prevent this from happening\n * by making the `nonReentrant` function external, and make it call a\n * `private` function that does the actual work.\n */\n modifier nonReentrant() {\n bytes32 position = reentryStatusPosition;\n uint256 _reentry_status;\n // solhint-disable-next-line no-inline-assembly\n assembly {\n _reentry_status := sload(position)\n }\n\n // On the first call to nonReentrant, _notEntered will be true\n require(_reentry_status != _ENTERED, \"Reentrant call\");\n\n // Any calls to nonReentrant after this point will fail\n // solhint-disable-next-line no-inline-assembly\n assembly {\n sstore(position, _ENTERED)\n }\n\n _;\n\n // By storing the original value once again, a refund is triggered (see\n // https://eips.ethereum.org/EIPS/eip-2200)\n // solhint-disable-next-line no-inline-assembly\n assembly {\n sstore(position, _NOT_ENTERED)\n }\n }\n\n function _setPendingGovernor(address newGovernor) internal {\n bytes32 position = pendingGovernorPosition;\n // solhint-disable-next-line no-inline-assembly\n assembly {\n sstore(position, newGovernor)\n }\n }\n\n /**\n * @notice Transfers Governance of the contract to a new account (`newGovernor`).\n * Can only be called by the current Governor. Must be claimed for this to complete\n * @param _newGovernor Address of the new Governor\n */\n function transferGovernance(address _newGovernor) external onlyGovernor {\n _setPendingGovernor(_newGovernor);\n emit PendingGovernorshipTransfer(_governor(), _newGovernor);\n }\n\n /**\n * @notice Claim Governance of the contract to a new account (`newGovernor`).\n * Can only be called by the new Governor.\n */\n function claimGovernance() external {\n require(\n msg.sender == _pendingGovernor(),\n \"Only the pending Governor can complete the claim\"\n );\n _changeGovernor(msg.sender);\n }\n\n /**\n * @dev Change Governance of the contract to a new account (`newGovernor`).\n * @param _newGovernor Address of the new Governor\n */\n function _changeGovernor(address _newGovernor) internal {\n require(_newGovernor != address(0), \"New Governor is address(0)\");\n emit GovernorshipTransferred(_governor(), _newGovernor);\n _setGovernor(_newGovernor);\n }\n}\n" + }, + "contracts/harvest/OETHBaseHarvester.sol": { + "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport { Governable } from \"../governance/Governable.sol\";\n\nimport { IERC20 } from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport { SafeERC20 } from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\n\nimport { IVault } from \"../interfaces/IVault.sol\";\nimport { IStrategy } from \"../interfaces/IStrategy.sol\";\nimport { ISwapRouter } from \"../interfaces/aerodrome/ISwapRouter.sol\";\n\ncontract OETHBaseHarvester is Governable {\n using SafeERC20 for IERC20;\n\n IVault public immutable vault;\n IStrategy public immutable amoStrategy;\n IERC20 public immutable aero;\n IERC20 public immutable weth;\n ISwapRouter public immutable swapRouter;\n\n address public operatorAddr;\n\n // Similar sig to `AbstractHarvester.RewardTokenSwapped` for\n // future compatibility with monitoring\n event RewardTokenSwapped(\n address indexed rewardToken,\n address indexed swappedInto,\n uint8 swapPlatform,\n uint256 amountIn,\n uint256 amountOut\n );\n\n event OperatorChanged(address oldOperator, address newOperator);\n event YieldSent(address recipient, uint256 yield, uint256 fee);\n\n /**\n * @notice Verifies that the caller is either Governor or Strategist.\n */\n modifier onlyGovernorOrStrategist() {\n require(\n msg.sender == vault.strategistAddr() || isGovernor(),\n \"Caller is not the Strategist or Governor\"\n );\n _;\n }\n\n /**\n * @notice Verifies that the caller is either Governor or Strategist.\n */\n modifier onlyGovernorOrStrategistOrOperator() {\n require(\n msg.sender == operatorAddr ||\n msg.sender == vault.strategistAddr() ||\n isGovernor(),\n \"Caller is not the Operator or Strategist or Governor\"\n );\n _;\n }\n\n constructor(\n address _vault,\n address _amoStrategy,\n address _aero,\n address _weth,\n address _swapRouter\n ) {\n vault = IVault(_vault);\n amoStrategy = IStrategy(_amoStrategy);\n aero = IERC20(_aero);\n weth = IERC20(_weth);\n swapRouter = ISwapRouter(_swapRouter);\n }\n\n /**\n * @dev Changes the operator address which can call `harvest`\n * @param _operatorAddr New operator address\n */\n function setOperatorAddr(address _operatorAddr) external onlyGovernor {\n emit OperatorChanged(operatorAddr, _operatorAddr);\n operatorAddr = _operatorAddr;\n }\n\n /**\n * @notice Collects AERO from AMO strategy and\n * sends it to the Strategist multisig.\n * Anyone can call it.\n */\n function harvest() external onlyGovernorOrStrategistOrOperator {\n address strategistAddr = vault.strategistAddr();\n require(strategistAddr != address(0), \"Guardian address not set\");\n\n // Collect all AERO\n amoStrategy.collectRewardTokens();\n\n uint256 aeroBalance = aero.balanceOf(address(this));\n if (aeroBalance == 0) {\n // Do nothing if there's no AERO to transfer\n return;\n }\n\n // Transfer everything to Strategist\n aero.safeTransfer(strategistAddr, aeroBalance);\n }\n\n /**\n * @notice Harvests AERO from AMO strategy and then swaps some (or all)\n * of it into WETH to distribute yield and fee.\n * When `feeBps` is set to 10000 (100%), all WETH received is\n * sent to strategist.\n *\n * @param aeroToSwap Amount of AERO to swap\n * @param minWETHExpected Min. amount of WETH to expect\n * @param feeBps Performance fee bps (Sent to strategist)\n * @param sendYieldToDripper Sends yield to Dripper, if set to true.\n * Otherwise, to the Guardian\n */\n function harvestAndSwap(\n uint256 aeroToSwap,\n uint256 minWETHExpected,\n uint256 feeBps,\n bool sendYieldToDripper\n ) external onlyGovernorOrStrategist {\n address strategistAddr = vault.strategistAddr();\n require(strategistAddr != address(0), \"Guardian address not set\");\n\n // Yields can either be sent to the Dripper or Strategist\n address yieldRecipient = sendYieldToDripper\n ? vault.dripper()\n : strategistAddr;\n require(yieldRecipient != address(0), \"Yield recipient not set\");\n\n require(feeBps <= 10000, \"Invalid Fee Bps\");\n\n // Collect all AERO\n amoStrategy.collectRewardTokens();\n\n uint256 aeroBalance = aero.balanceOf(address(this));\n if (aeroBalance == 0) {\n // Do nothing if there's no AERO to transfer/swap\n return;\n }\n\n if (aeroToSwap > 0) {\n if (aeroBalance < aeroToSwap) {\n // Transfer in balance from the multisig as needed\n // slither-disable-next-line unchecked-transfer arbitrary-send-erc20\n aero.safeTransferFrom(\n strategistAddr,\n address(this),\n aeroToSwap - aeroBalance\n );\n }\n\n _doSwap(aeroToSwap, minWETHExpected);\n\n // Figure out AERO left in contract after swap\n aeroBalance = aero.balanceOf(address(this));\n }\n\n // Transfer out any leftover AERO after swap\n if (aeroBalance > 0) {\n aero.safeTransfer(strategistAddr, aeroBalance);\n }\n\n // Computes using all balance the contract holds,\n // not just the WETH received from swap. Use `transferToken`\n // if there's any WETH left that needs to be taken out\n uint256 availableWETHBalance = weth.balanceOf(address(this));\n // Computation rounds in favor of protocol\n uint256 fee = (availableWETHBalance * feeBps) / 10000;\n uint256 yield = availableWETHBalance - fee;\n\n // Transfer yield, if any\n if (yield > 0) {\n weth.safeTransfer(yieldRecipient, yield);\n }\n\n // Transfer fee to the Guardian, if any\n if (fee > 0) {\n weth.safeTransfer(strategistAddr, fee);\n }\n\n emit YieldSent(yieldRecipient, yield, fee);\n }\n\n /**\n * @notice Swaps AERO to WETH on Aerodrome\n * @param aeroToSwap Amount of AERO to swap\n * @param minWETHExpected Min. amount of WETH to expect\n */\n function _doSwap(uint256 aeroToSwap, uint256 minWETHExpected) internal {\n // Let the swap router move funds\n aero.approve(address(swapRouter), aeroToSwap);\n\n // Do the swap\n uint256 wethReceived = swapRouter.exactInputSingle(\n ISwapRouter.ExactInputSingleParams({\n tokenIn: address(aero),\n tokenOut: address(weth),\n tickSpacing: 200, // From AERO/WETH pool contract\n recipient: address(this),\n deadline: block.timestamp,\n amountIn: aeroToSwap,\n amountOutMinimum: minWETHExpected,\n sqrtPriceLimitX96: 0\n })\n );\n\n emit RewardTokenSwapped(\n address(aero),\n address(weth),\n 0,\n aeroToSwap,\n wethReceived\n );\n }\n\n /**\n * @notice Transfer token to governor. Intended for recovering tokens stuck in\n * the contract, i.e. mistaken sends.\n * Also, allows to transfer any AERO left in the contract.\n * @param _asset Address for the asset\n * @param _amount Amount of the asset to transfer\n */\n function transferToken(address _asset, uint256 _amount)\n external\n virtual\n onlyGovernor\n {\n IERC20(_asset).safeTransfer(governor(), _amount);\n }\n}\n" + }, + "contracts/interfaces/aerodrome/IAMOStrategy.sol": { + "content": "// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.0;\n\nimport { ICLPool } from \"./ICLPool.sol\";\n\ninterface IAMOStrategy {\n error NotEnoughWethForSwap(uint256 wethBalance, uint256 requiredWeth);\n error NotEnoughWethLiquidity(uint256 wethBalance, uint256 requiredWeth);\n error PoolRebalanceOutOfBounds(\n uint256 currentPoolWethShare,\n uint256 allowedWethShareStart,\n uint256 allowedWethShareEnd\n );\n error OutsideExpectedTickRange(int24 currentTick);\n\n function governor() external view returns (address);\n\n function rebalance(\n uint256 _amountToSwap,\n bool _swapWeth,\n uint256 _minTokenReceived\n ) external;\n\n function clPool() external view returns (ICLPool);\n\n function vaultAddress() external view returns (address);\n\n function poolWethShareVarianceAllowed() external view returns (uint256);\n\n function poolWethShare() external view returns (uint256);\n\n function tokenId() external view returns (uint256);\n\n function withdrawAll() external;\n\n function setAllowedPoolWethShareInterval(\n uint256 _allowedWethShareStart,\n uint256 _allowedWethShareEnd\n ) external;\n\n function setWithdrawLiquidityShare(uint128 share) external;\n\n function lowerTick() external view returns (int24);\n\n function upperTick() external view returns (int24);\n\n function getPoolX96Price() external view returns (uint160 _sqrtRatioX96);\n\n function sqrtRatioX96TickLower() external view returns (uint160);\n\n function sqrtRatioX96TickHigher() external view returns (uint160);\n\n function tickSpacing() external view returns (int24);\n\n function allowedWethShareStart() external view returns (uint256);\n\n function allowedWethShareEnd() external view returns (uint256);\n\n function claimGovernance() external;\n\n function transferGovernance(address _governor) external;\n}\n" + }, + "contracts/interfaces/aerodrome/ICLPool.sol": { + "content": "pragma solidity >=0.5.0;\n\n/// @title The interface for a CL Pool\n/// @notice A CL pool facilitates swapping and automated market making between any two assets that strictly conform\n/// to the ERC20 specification\n/// @dev The pool interface is broken up into many smaller pieces\ninterface ICLPool {\n function slot0()\n external\n view\n returns (\n uint160 sqrtPriceX96,\n int24 tick,\n uint16 observationIndex,\n uint16 observationCardinality,\n uint16 observationCardinalityNext,\n bool unlocked\n );\n\n /// @notice The first of the two tokens of the pool, sorted by address\n /// @return The token contract address\n function token0() external view returns (address);\n\n /// @notice The second of the two tokens of the pool, sorted by address\n /// @return The token contract address\n function token1() external view returns (address);\n\n function tickSpacing() external view returns (int24);\n\n /// @notice The gauge corresponding to this pool\n /// @return The gauge contract address\n function gauge() external view returns (address);\n\n /// @notice The currently in range liquidity available to the pool\n /// @dev This value has no relationship to the total liquidity across all ticks\n /// @dev This value includes staked liquidity\n function liquidity() external view returns (uint128);\n\n /// @notice Look up information about a specific tick in the pool\n /// @param tick The tick to look up\n /// @return liquidityGross the total amount of position liquidity that uses the pool either as tick lower or\n /// tick upper,\n /// liquidityNet how much liquidity changes when the pool price crosses the tick,\n /// feeGrowthOutside0X128 the fee growth on the other side of the tick from the current tick in token0,\n /// feeGrowthOutside1X128 the fee growth on the other side of the tick from the current tick in token1,\n /// tickCumulativeOutside the cumulative tick value on the other side of the tick from the current tick\n /// secondsPerLiquidityOutsideX128 the seconds spent per liquidity on the other side of the tick from\n /// the current tick,\n /// secondsOutside the seconds spent on the other side of the tick from the current tick,\n /// initialized Set to true if the tick is initialized, i.e. liquidityGross is greater than 0, otherwise\n /// equal to false.\n /// Outside values can only be used if the tick is initialized, i.e. if liquidityGross is greater than 0.\n /// In addition, these values are only relative and must be used only in comparison to previous snapshots for\n /// a specific position.\n function ticks(int24 tick)\n external\n view\n returns (\n uint128 liquidityGross,\n int128 liquidityNet,\n uint256 feeGrowthOutside0X128,\n uint256 feeGrowthOutside1X128,\n int56 tickCumulativeOutside,\n uint160 secondsPerLiquidityOutsideX128,\n uint32 secondsOutside,\n bool initialized\n );\n}\n" + }, + "contracts/interfaces/aerodrome/IQuoterV2.sol": { + "content": "// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.7.5;\npragma abicoder v2;\n\n/// @title QuoterV2 Interface\n/// @notice Supports quoting the calculated amounts from exact input or exact output swaps.\n/// @notice For each pool also tells you the number of initialized ticks crossed and the sqrt price of the\n/// pool after the swap.\n/// @dev These functions are not marked view because they rely on calling non-view functions and reverting\n/// to compute the result. They are also not gas efficient and should not be called on-chain.\ninterface IQuoterV2 {\n /// @notice Returns the amount out received for a given exact input swap without executing the swap\n /// @param path The path of the swap, i.e. each token pair and the pool tick spacing\n /// @param amountIn The amount of the first token to swap\n /// @return amountOut The amount of the last token that would be received\n /// @return sqrtPriceX96AfterList List of the sqrt price after the swap for each pool in the path\n /// @return initializedTicksCrossedList List of the initialized ticks that the swap crossed for\n /// each pool in the path\n /// @return gasEstimate The estimate of the gas that the swap consumes\n function quoteExactInput(bytes memory path, uint256 amountIn)\n external\n returns (\n uint256 amountOut,\n uint160[] memory sqrtPriceX96AfterList,\n uint32[] memory initializedTicksCrossedList,\n uint256 gasEstimate\n );\n\n struct QuoteExactInputSingleParams {\n address tokenIn;\n address tokenOut;\n uint256 amountIn;\n int24 tickSpacing;\n uint160 sqrtPriceLimitX96;\n }\n\n /// @notice Returns the amount out received for a given exact input but for a swap of a single pool\n /// @param params The params for the quote, encoded as `QuoteExactInputSingleParams`\n /// tokenIn The token being swapped in\n /// tokenOut The token being swapped out\n /// tickSpacing The tick spacing of the token pool to consider for the pair\n /// amountIn The desired input amount\n /// sqrtPriceLimitX96 The price limit of the pool that cannot be exceeded by the swap\n /// @return amountOut The amount of `tokenOut` that would be received\n /// @return sqrtPriceX96After The sqrt price of the pool after the swap\n /// @return initializedTicksCrossed The number of initialized ticks that the swap crossed\n /// @return gasEstimate The estimate of the gas that the swap consumes\n function quoteExactInputSingle(QuoteExactInputSingleParams memory params)\n external\n returns (\n uint256 amountOut,\n uint160 sqrtPriceX96After,\n uint32 initializedTicksCrossed,\n uint256 gasEstimate\n );\n\n /// @notice Returns the amount in required for a given exact output swap without executing the swap\n /// @param path The path of the swap, i.e. each token pair and the pool tick spacing.\n /// Path must be provided in reverse order\n /// @param amountOut The amount of the last token to receive\n /// @return amountIn The amount of first token required to be paid\n /// @return sqrtPriceX96AfterList List of the sqrt price after the swap for each pool in the path\n /// @return initializedTicksCrossedList List of the initialized ticks that the swap crossed for\n /// each pool in the path\n /// @return gasEstimate The estimate of the gas that the swap consumes\n function quoteExactOutput(bytes memory path, uint256 amountOut)\n external\n returns (\n uint256 amountIn,\n uint160[] memory sqrtPriceX96AfterList,\n uint32[] memory initializedTicksCrossedList,\n uint256 gasEstimate\n );\n\n struct QuoteExactOutputSingleParams {\n address tokenIn;\n address tokenOut;\n uint256 amount;\n int24 tickSpacing;\n uint160 sqrtPriceLimitX96;\n }\n\n /// @notice Returns the amount in required to receive the given exact output amount but for a swap of a single pool\n /// @param params The params for the quote, encoded as `QuoteExactOutputSingleParams`\n /// tokenIn The token being swapped in\n /// tokenOut The token being swapped out\n /// tickSpacing The tick spacing of the token pool to consider for the pair\n /// amountOut The desired output amount\n /// sqrtPriceLimitX96 The price limit of the pool that cannot be exceeded by the swap\n /// @return amountIn The amount required as the input for the swap in order to receive `amountOut`\n /// @return sqrtPriceX96After The sqrt price of the pool after the swap\n /// @return initializedTicksCrossed The number of initialized ticks that the swap crossed\n /// @return gasEstimate The estimate of the gas that the swap consumes\n function quoteExactOutputSingle(QuoteExactOutputSingleParams memory params)\n external\n returns (\n uint256 amountIn,\n uint160 sqrtPriceX96After,\n uint32 initializedTicksCrossed,\n uint256 gasEstimate\n );\n}\n" + }, + "contracts/interfaces/aerodrome/ISwapRouter.sol": { + "content": "// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.7.5;\npragma abicoder v2;\n\n/// @title Router token swapping functionality\n/// @notice Functions for swapping tokens via CL\ninterface ISwapRouter {\n struct ExactInputSingleParams {\n address tokenIn;\n address tokenOut;\n int24 tickSpacing;\n address recipient;\n uint256 deadline;\n uint256 amountIn;\n uint256 amountOutMinimum;\n uint160 sqrtPriceLimitX96;\n }\n\n /// @notice Swaps `amountIn` of one token for as much as possible of another token\n /// @param params The parameters necessary for the swap, encoded as `ExactInputSingleParams` in calldata\n /// @return amountOut The amount of the received token\n function exactInputSingle(ExactInputSingleParams calldata params)\n external\n payable\n returns (uint256 amountOut);\n\n struct ExactInputParams {\n bytes path;\n address recipient;\n uint256 deadline;\n uint256 amountIn;\n uint256 amountOutMinimum;\n }\n\n /// @notice Swaps `amountIn` of one token for as much as possible of another along the specified path\n /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactInputParams` in calldata\n /// @return amountOut The amount of the received token\n function exactInput(ExactInputParams calldata params)\n external\n payable\n returns (uint256 amountOut);\n\n struct ExactOutputSingleParams {\n address tokenIn;\n address tokenOut;\n int24 tickSpacing;\n address recipient;\n uint256 deadline;\n uint256 amountOut;\n uint256 amountInMaximum;\n uint160 sqrtPriceLimitX96;\n }\n\n /// @notice Swaps as little as possible of one token for `amountOut` of another token\n /// @param params The parameters necessary for the swap, encoded as `ExactOutputSingleParams` in calldata\n /// @return amountIn The amount of the input token\n function exactOutputSingle(ExactOutputSingleParams calldata params)\n external\n payable\n returns (uint256 amountIn);\n\n struct ExactOutputParams {\n bytes path;\n address recipient;\n uint256 deadline;\n uint256 amountOut;\n uint256 amountInMaximum;\n }\n\n /// @notice Swaps as little as possible of one token for `amountOut` of another along the specified path (reversed)\n /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactOutputParams` in calldata\n /// @return amountIn The amount of the input token\n function exactOutput(ExactOutputParams calldata params)\n external\n payable\n returns (uint256 amountIn);\n}\n" + }, + "contracts/interfaces/IBasicToken.sol": { + "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\ninterface IBasicToken {\n function symbol() external view returns (string memory);\n\n function decimals() external view returns (uint8);\n}\n" + }, + "contracts/interfaces/IStrategy.sol": { + "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/**\n * @title Platform interface to integrate with lending platform like Compound, AAVE etc.\n */\ninterface IStrategy {\n /**\n * @dev Deposit the given asset to platform\n * @param _asset asset address\n * @param _amount Amount to deposit\n */\n function deposit(address _asset, uint256 _amount) external;\n\n /**\n * @dev Deposit the entire balance of all supported assets in the Strategy\n * to the platform\n */\n function depositAll() external;\n\n /**\n * @dev Withdraw given asset from Lending platform\n */\n function withdraw(\n address _recipient,\n address _asset,\n uint256 _amount\n ) external;\n\n /**\n * @dev Liquidate all assets in strategy and return them to Vault.\n */\n function withdrawAll() external;\n\n /**\n * @dev Returns the current balance of the given asset.\n */\n function checkBalance(address _asset)\n external\n view\n returns (uint256 balance);\n\n /**\n * @dev Returns bool indicating whether strategy supports asset.\n */\n function supportsAsset(address _asset) external view returns (bool);\n\n /**\n * @dev Collect reward tokens from the Strategy.\n */\n function collectRewardTokens() external;\n\n /**\n * @dev The address array of the reward tokens for the Strategy.\n */\n function getRewardTokenAddresses() external view returns (address[] memory);\n}\n" + }, + "contracts/interfaces/IVault.sol": { + "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport { VaultStorage } from \"../vault/VaultStorage.sol\";\n\ninterface IVault {\n event AssetSupported(address _asset);\n event AssetDefaultStrategyUpdated(address _asset, address _strategy);\n event AssetAllocated(address _asset, address _strategy, uint256 _amount);\n event StrategyApproved(address _addr);\n event StrategyRemoved(address _addr);\n event Mint(address _addr, uint256 _value);\n event Redeem(address _addr, uint256 _value);\n event CapitalPaused();\n event CapitalUnpaused();\n event RebasePaused();\n event RebaseUnpaused();\n event VaultBufferUpdated(uint256 _vaultBuffer);\n event RedeemFeeUpdated(uint256 _redeemFeeBps);\n event PriceProviderUpdated(address _priceProvider);\n event AllocateThresholdUpdated(uint256 _threshold);\n event RebaseThresholdUpdated(uint256 _threshold);\n event StrategistUpdated(address _address);\n event MaxSupplyDiffChanged(uint256 maxSupplyDiff);\n event YieldDistribution(address _to, uint256 _yield, uint256 _fee);\n event TrusteeFeeBpsChanged(uint256 _basis);\n event TrusteeAddressChanged(address _address);\n event SwapperChanged(address _address);\n event SwapAllowedUndervalueChanged(uint256 _basis);\n event SwapSlippageChanged(address _asset, uint256 _basis);\n event Swapped(\n address indexed _fromAsset,\n address indexed _toAsset,\n uint256 _fromAssetAmount,\n uint256 _toAssetAmount\n );\n event StrategyAddedToMintWhitelist(address indexed strategy);\n event StrategyRemovedFromMintWhitelist(address indexed strategy);\n event DripperChanged(address indexed _dripper);\n event WithdrawalRequested(\n address indexed _withdrawer,\n uint256 indexed _requestId,\n uint256 _amount,\n uint256 _queued\n );\n event WithdrawalClaimed(\n address indexed _withdrawer,\n uint256 indexed _requestId,\n uint256 _amount\n );\n event WithdrawalClaimable(uint256 _claimable, uint256 _newClaimable);\n\n // Governable.sol\n function transferGovernance(address _newGovernor) external;\n\n function claimGovernance() external;\n\n function governor() external view returns (address);\n\n // VaultAdmin.sol\n function setPriceProvider(address _priceProvider) external;\n\n function priceProvider() external view returns (address);\n\n function setRedeemFeeBps(uint256 _redeemFeeBps) external;\n\n function redeemFeeBps() external view returns (uint256);\n\n function setVaultBuffer(uint256 _vaultBuffer) external;\n\n function vaultBuffer() external view returns (uint256);\n\n function setAutoAllocateThreshold(uint256 _threshold) external;\n\n function autoAllocateThreshold() external view returns (uint256);\n\n function setRebaseThreshold(uint256 _threshold) external;\n\n function rebaseThreshold() external view returns (uint256);\n\n function setStrategistAddr(address _address) external;\n\n function strategistAddr() external view returns (address);\n\n function setMaxSupplyDiff(uint256 _maxSupplyDiff) external;\n\n function maxSupplyDiff() external view returns (uint256);\n\n function setTrusteeAddress(address _address) external;\n\n function trusteeAddress() external view returns (address);\n\n function setTrusteeFeeBps(uint256 _basis) external;\n\n function trusteeFeeBps() external view returns (uint256);\n\n function ousdMetaStrategy() external view returns (address);\n\n function setSwapper(address _swapperAddr) external;\n\n function setSwapAllowedUndervalue(uint16 _percentageBps) external;\n\n function setOracleSlippage(address _asset, uint16 _allowedOracleSlippageBps)\n external;\n\n function supportAsset(address _asset, uint8 _supportsAsset) external;\n\n function approveStrategy(address _addr) external;\n\n function removeStrategy(address _addr) external;\n\n function setAssetDefaultStrategy(address _asset, address _strategy)\n external;\n\n function assetDefaultStrategies(address _asset)\n external\n view\n returns (address);\n\n function pauseRebase() external;\n\n function unpauseRebase() external;\n\n function rebasePaused() external view returns (bool);\n\n function pauseCapital() external;\n\n function unpauseCapital() external;\n\n function capitalPaused() external view returns (bool);\n\n function transferToken(address _asset, uint256 _amount) external;\n\n function priceUnitMint(address asset) external view returns (uint256);\n\n function priceUnitRedeem(address asset) external view returns (uint256);\n\n function withdrawAllFromStrategy(address _strategyAddr) external;\n\n function withdrawAllFromStrategies() external;\n\n function withdrawFromStrategy(\n address _strategyFromAddress,\n address[] calldata _assets,\n uint256[] calldata _amounts\n ) external;\n\n function depositToStrategy(\n address _strategyToAddress,\n address[] calldata _assets,\n uint256[] calldata _amounts\n ) external;\n\n // VaultCore.sol\n function mint(\n address _asset,\n uint256 _amount,\n uint256 _minimumOusdAmount\n ) external;\n\n function mintForStrategy(uint256 _amount) external;\n\n function redeem(uint256 _amount, uint256 _minimumUnitAmount) external;\n\n function burnForStrategy(uint256 _amount) external;\n\n function redeemAll(uint256 _minimumUnitAmount) external;\n\n function allocate() external;\n\n function rebase() external;\n\n function swapCollateral(\n address fromAsset,\n address toAsset,\n uint256 fromAssetAmount,\n uint256 minToAssetAmount,\n bytes calldata data\n ) external returns (uint256 toAssetAmount);\n\n function totalValue() external view returns (uint256 value);\n\n function checkBalance(address _asset) external view returns (uint256);\n\n function calculateRedeemOutputs(uint256 _amount)\n external\n view\n returns (uint256[] memory);\n\n function getAssetCount() external view returns (uint256);\n\n function getAssetConfig(address _asset)\n external\n view\n returns (VaultStorage.Asset memory config);\n\n function getAllAssets() external view returns (address[] memory);\n\n function getStrategyCount() external view returns (uint256);\n\n function swapper() external view returns (address);\n\n function allowedSwapUndervalue() external view returns (uint256);\n\n function getAllStrategies() external view returns (address[] memory);\n\n function isSupportedAsset(address _asset) external view returns (bool);\n\n function netOusdMintForStrategyThreshold() external view returns (uint256);\n\n function setOusdMetaStrategy(address _ousdMetaStrategy) external;\n\n function setNetOusdMintForStrategyThreshold(uint256 _threshold) external;\n\n function netOusdMintedForStrategy() external view returns (int256);\n\n function setDripper(address _dripper) external;\n\n function dripper() external view returns (address);\n\n function weth() external view returns (address);\n\n function cacheWETHAssetIndex() external;\n\n function wethAssetIndex() external view returns (uint256);\n\n function initialize(address, address) external;\n\n function setAdminImpl(address) external;\n\n function removeAsset(address _asset) external;\n\n // These are OETH specific functions\n function addWithdrawalQueueLiquidity() external;\n\n function requestWithdrawal(uint256 _amount)\n external\n returns (uint256 requestId, uint256 queued);\n\n function claimWithdrawal(uint256 requestId)\n external\n returns (uint256 amount);\n\n function claimWithdrawals(uint256[] memory requestIds)\n external\n returns (uint256[] memory amounts, uint256 totalAmount);\n\n function withdrawalQueueMetadata()\n external\n view\n returns (VaultStorage.WithdrawalQueueMetadata memory);\n\n function withdrawalRequests(uint256 requestId)\n external\n view\n returns (VaultStorage.WithdrawalRequest memory);\n\n // OETHb specific functions\n function addStrategyToMintWhitelist(address strategyAddr) external;\n\n function removeStrategyFromMintWhitelist(address strategyAddr) external;\n\n function isMintWhitelistedStrategy(address strategyAddr)\n external\n view\n returns (bool);\n}\n" + }, + "contracts/token/OUSD.sol": { + "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/**\n * @title OUSD Token Contract\n * @dev ERC20 compatible contract for OUSD\n * @dev Implements an elastic supply\n * @author Origin Protocol Inc\n */\nimport { SafeMath } from \"@openzeppelin/contracts/utils/math/SafeMath.sol\";\nimport { Address } from \"@openzeppelin/contracts/utils/Address.sol\";\n\nimport { Initializable } from \"../utils/Initializable.sol\";\nimport { InitializableERC20Detailed } from \"../utils/InitializableERC20Detailed.sol\";\nimport { StableMath } from \"../utils/StableMath.sol\";\nimport { Governable } from \"../governance/Governable.sol\";\n\n/**\n * NOTE that this is an ERC20 token but the invariant that the sum of\n * balanceOf(x) for all x is not >= totalSupply(). This is a consequence of the\n * rebasing design. Any integrations with OUSD should be aware.\n */\n\ncontract OUSD is Initializable, InitializableERC20Detailed, Governable {\n using SafeMath for uint256;\n using StableMath for uint256;\n\n event TotalSupplyUpdatedHighres(\n uint256 totalSupply,\n uint256 rebasingCredits,\n uint256 rebasingCreditsPerToken\n );\n event AccountRebasingEnabled(address account);\n event AccountRebasingDisabled(address account);\n\n enum RebaseOptions {\n NotSet,\n OptOut,\n OptIn\n }\n\n uint256 private constant MAX_SUPPLY = ~uint128(0); // (2^128) - 1\n uint256 public _totalSupply;\n mapping(address => mapping(address => uint256)) private _allowances;\n address public vaultAddress = address(0);\n mapping(address => uint256) private _creditBalances;\n uint256 private _rebasingCredits;\n uint256 private _rebasingCreditsPerToken;\n // Frozen address/credits are non rebasing (value is held in contracts which\n // do not receive yield unless they explicitly opt in)\n uint256 public nonRebasingSupply;\n mapping(address => uint256) public nonRebasingCreditsPerToken;\n mapping(address => RebaseOptions) public rebaseState;\n mapping(address => uint256) public isUpgraded;\n\n uint256 private constant RESOLUTION_INCREASE = 1e9;\n\n function initialize(\n string calldata _nameArg,\n string calldata _symbolArg,\n address _vaultAddress,\n uint256 _initialCreditsPerToken\n ) external onlyGovernor initializer {\n InitializableERC20Detailed._initialize(_nameArg, _symbolArg, 18);\n _rebasingCreditsPerToken = _initialCreditsPerToken;\n vaultAddress = _vaultAddress;\n }\n\n /**\n * @dev Verifies that the caller is the Vault contract\n */\n modifier onlyVault() {\n require(vaultAddress == msg.sender, \"Caller is not the Vault\");\n _;\n }\n\n /**\n * @return The total supply of OUSD.\n */\n function totalSupply() public view override returns (uint256) {\n return _totalSupply;\n }\n\n /**\n * @return Low resolution rebasingCreditsPerToken\n */\n function rebasingCreditsPerToken() public view returns (uint256) {\n return _rebasingCreditsPerToken / RESOLUTION_INCREASE;\n }\n\n /**\n * @return Low resolution total number of rebasing credits\n */\n function rebasingCredits() public view returns (uint256) {\n return _rebasingCredits / RESOLUTION_INCREASE;\n }\n\n /**\n * @return High resolution rebasingCreditsPerToken\n */\n function rebasingCreditsPerTokenHighres() public view returns (uint256) {\n return _rebasingCreditsPerToken;\n }\n\n /**\n * @return High resolution total number of rebasing credits\n */\n function rebasingCreditsHighres() public view returns (uint256) {\n return _rebasingCredits;\n }\n\n /**\n * @dev Gets the balance of the specified address.\n * @param _account Address to query the balance of.\n * @return A uint256 representing the amount of base units owned by the\n * specified address.\n */\n function balanceOf(address _account)\n public\n view\n override\n returns (uint256)\n {\n if (_creditBalances[_account] == 0) return 0;\n return\n _creditBalances[_account].divPrecisely(_creditsPerToken(_account));\n }\n\n /**\n * @dev Gets the credits balance of the specified address.\n * @dev Backwards compatible with old low res credits per token.\n * @param _account The address to query the balance of.\n * @return (uint256, uint256) Credit balance and credits per token of the\n * address\n */\n function creditsBalanceOf(address _account)\n public\n view\n returns (uint256, uint256)\n {\n uint256 cpt = _creditsPerToken(_account);\n if (cpt == 1e27) {\n // For a period before the resolution upgrade, we created all new\n // contract accounts at high resolution. Since they are not changing\n // as a result of this upgrade, we will return their true values\n return (_creditBalances[_account], cpt);\n } else {\n return (\n _creditBalances[_account] / RESOLUTION_INCREASE,\n cpt / RESOLUTION_INCREASE\n );\n }\n }\n\n /**\n * @dev Gets the credits balance of the specified address.\n * @param _account The address to query the balance of.\n * @return (uint256, uint256, bool) Credit balance, credits per token of the\n * address, and isUpgraded\n */\n function creditsBalanceOfHighres(address _account)\n public\n view\n returns (\n uint256,\n uint256,\n bool\n )\n {\n return (\n _creditBalances[_account],\n _creditsPerToken(_account),\n isUpgraded[_account] == 1\n );\n }\n\n /**\n * @dev Transfer tokens to a specified address.\n * @param _to the address to transfer to.\n * @param _value the amount to be transferred.\n * @return true on success.\n */\n function transfer(address _to, uint256 _value)\n public\n override\n returns (bool)\n {\n require(_to != address(0), \"Transfer to zero address\");\n require(\n _value <= balanceOf(msg.sender),\n \"Transfer greater than balance\"\n );\n\n _executeTransfer(msg.sender, _to, _value);\n\n emit Transfer(msg.sender, _to, _value);\n\n return true;\n }\n\n /**\n * @dev Transfer tokens from one address to another.\n * @param _from The address you want to send tokens from.\n * @param _to The address you want to transfer to.\n * @param _value The amount of tokens to be transferred.\n */\n function transferFrom(\n address _from,\n address _to,\n uint256 _value\n ) public override returns (bool) {\n require(_to != address(0), \"Transfer to zero address\");\n require(_value <= balanceOf(_from), \"Transfer greater than balance\");\n\n _allowances[_from][msg.sender] = _allowances[_from][msg.sender].sub(\n _value\n );\n\n _executeTransfer(_from, _to, _value);\n\n emit Transfer(_from, _to, _value);\n\n return true;\n }\n\n /**\n * @dev Update the count of non rebasing credits in response to a transfer\n * @param _from The address you want to send tokens from.\n * @param _to The address you want to transfer to.\n * @param _value Amount of OUSD to transfer\n */\n function _executeTransfer(\n address _from,\n address _to,\n uint256 _value\n ) internal {\n bool isNonRebasingTo = _isNonRebasingAccount(_to);\n bool isNonRebasingFrom = _isNonRebasingAccount(_from);\n\n // Credits deducted and credited might be different due to the\n // differing creditsPerToken used by each account\n uint256 creditsCredited = _value.mulTruncate(_creditsPerToken(_to));\n uint256 creditsDeducted = _value.mulTruncate(_creditsPerToken(_from));\n\n _creditBalances[_from] = _creditBalances[_from].sub(\n creditsDeducted,\n \"Transfer amount exceeds balance\"\n );\n _creditBalances[_to] = _creditBalances[_to].add(creditsCredited);\n\n if (isNonRebasingTo && !isNonRebasingFrom) {\n // Transfer to non-rebasing account from rebasing account, credits\n // are removed from the non rebasing tally\n nonRebasingSupply = nonRebasingSupply.add(_value);\n // Update rebasingCredits by subtracting the deducted amount\n _rebasingCredits = _rebasingCredits.sub(creditsDeducted);\n } else if (!isNonRebasingTo && isNonRebasingFrom) {\n // Transfer to rebasing account from non-rebasing account\n // Decreasing non-rebasing credits by the amount that was sent\n nonRebasingSupply = nonRebasingSupply.sub(_value);\n // Update rebasingCredits by adding the credited amount\n _rebasingCredits = _rebasingCredits.add(creditsCredited);\n }\n }\n\n /**\n * @dev Function to check the amount of tokens that _owner has allowed to\n * `_spender`.\n * @param _owner The address which owns the funds.\n * @param _spender The address which will spend the funds.\n * @return The number of tokens still available for the _spender.\n */\n function allowance(address _owner, address _spender)\n public\n view\n override\n returns (uint256)\n {\n return _allowances[_owner][_spender];\n }\n\n /**\n * @dev Approve the passed address to spend the specified amount of tokens\n * on behalf of msg.sender. This method is included for ERC20\n * compatibility. `increaseAllowance` and `decreaseAllowance` should be\n * used instead.\n *\n * Changing an allowance with this method brings the risk that someone\n * may transfer both the old and the new allowance - if they are both\n * greater than zero - if a transfer transaction is mined before the\n * later approve() call is mined.\n * @param _spender The address which will spend the funds.\n * @param _value The amount of tokens to be spent.\n */\n function approve(address _spender, uint256 _value)\n public\n override\n returns (bool)\n {\n _allowances[msg.sender][_spender] = _value;\n emit Approval(msg.sender, _spender, _value);\n return true;\n }\n\n /**\n * @dev Increase the amount of tokens that an owner has allowed to\n * `_spender`.\n * This method should be used instead of approve() to avoid the double\n * approval vulnerability described above.\n * @param _spender The address which will spend the funds.\n * @param _addedValue The amount of tokens to increase the allowance by.\n */\n function increaseAllowance(address _spender, uint256 _addedValue)\n public\n returns (bool)\n {\n _allowances[msg.sender][_spender] = _allowances[msg.sender][_spender]\n .add(_addedValue);\n emit Approval(msg.sender, _spender, _allowances[msg.sender][_spender]);\n return true;\n }\n\n /**\n * @dev Decrease the amount of tokens that an owner has allowed to\n `_spender`.\n * @param _spender The address which will spend the funds.\n * @param _subtractedValue The amount of tokens to decrease the allowance\n * by.\n */\n function decreaseAllowance(address _spender, uint256 _subtractedValue)\n public\n returns (bool)\n {\n uint256 oldValue = _allowances[msg.sender][_spender];\n if (_subtractedValue >= oldValue) {\n _allowances[msg.sender][_spender] = 0;\n } else {\n _allowances[msg.sender][_spender] = oldValue.sub(_subtractedValue);\n }\n emit Approval(msg.sender, _spender, _allowances[msg.sender][_spender]);\n return true;\n }\n\n /**\n * @dev Mints new tokens, increasing totalSupply.\n */\n function mint(address _account, uint256 _amount) external onlyVault {\n _mint(_account, _amount);\n }\n\n /**\n * @dev Creates `_amount` tokens and assigns them to `_account`, increasing\n * the total supply.\n *\n * Emits a {Transfer} event with `from` set to the zero address.\n *\n * Requirements\n *\n * - `to` cannot be the zero address.\n */\n function _mint(address _account, uint256 _amount) internal nonReentrant {\n require(_account != address(0), \"Mint to the zero address\");\n\n bool isNonRebasingAccount = _isNonRebasingAccount(_account);\n\n uint256 creditAmount = _amount.mulTruncate(_creditsPerToken(_account));\n _creditBalances[_account] = _creditBalances[_account].add(creditAmount);\n\n // If the account is non rebasing and doesn't have a set creditsPerToken\n // then set it i.e. this is a mint from a fresh contract\n if (isNonRebasingAccount) {\n nonRebasingSupply = nonRebasingSupply.add(_amount);\n } else {\n _rebasingCredits = _rebasingCredits.add(creditAmount);\n }\n\n _totalSupply = _totalSupply.add(_amount);\n\n require(_totalSupply < MAX_SUPPLY, \"Max supply\");\n\n emit Transfer(address(0), _account, _amount);\n }\n\n /**\n * @dev Burns tokens, decreasing totalSupply.\n */\n function burn(address account, uint256 amount) external onlyVault {\n _burn(account, amount);\n }\n\n /**\n * @dev Destroys `_amount` tokens from `_account`, reducing the\n * total supply.\n *\n * Emits a {Transfer} event with `to` set to the zero address.\n *\n * Requirements\n *\n * - `_account` cannot be the zero address.\n * - `_account` must have at least `_amount` tokens.\n */\n function _burn(address _account, uint256 _amount) internal nonReentrant {\n require(_account != address(0), \"Burn from the zero address\");\n if (_amount == 0) {\n return;\n }\n\n bool isNonRebasingAccount = _isNonRebasingAccount(_account);\n uint256 creditAmount = _amount.mulTruncate(_creditsPerToken(_account));\n uint256 currentCredits = _creditBalances[_account];\n\n // Remove the credits, burning rounding errors\n if (\n currentCredits == creditAmount || currentCredits - 1 == creditAmount\n ) {\n // Handle dust from rounding\n _creditBalances[_account] = 0;\n } else if (currentCredits > creditAmount) {\n _creditBalances[_account] = _creditBalances[_account].sub(\n creditAmount\n );\n } else {\n revert(\"Remove exceeds balance\");\n }\n\n // Remove from the credit tallies and non-rebasing supply\n if (isNonRebasingAccount) {\n nonRebasingSupply = nonRebasingSupply.sub(_amount);\n } else {\n _rebasingCredits = _rebasingCredits.sub(creditAmount);\n }\n\n _totalSupply = _totalSupply.sub(_amount);\n\n emit Transfer(_account, address(0), _amount);\n }\n\n /**\n * @dev Get the credits per token for an account. Returns a fixed amount\n * if the account is non-rebasing.\n * @param _account Address of the account.\n */\n function _creditsPerToken(address _account)\n internal\n view\n returns (uint256)\n {\n if (nonRebasingCreditsPerToken[_account] != 0) {\n return nonRebasingCreditsPerToken[_account];\n } else {\n return _rebasingCreditsPerToken;\n }\n }\n\n /**\n * @dev Is an account using rebasing accounting or non-rebasing accounting?\n * Also, ensure contracts are non-rebasing if they have not opted in.\n * @param _account Address of the account.\n */\n function _isNonRebasingAccount(address _account) internal returns (bool) {\n bool isContract = Address.isContract(_account);\n if (isContract && rebaseState[_account] == RebaseOptions.NotSet) {\n _ensureRebasingMigration(_account);\n }\n return nonRebasingCreditsPerToken[_account] > 0;\n }\n\n /**\n * @dev Ensures internal account for rebasing and non-rebasing credits and\n * supply is updated following deployment of frozen yield change.\n */\n function _ensureRebasingMigration(address _account) internal {\n if (nonRebasingCreditsPerToken[_account] == 0) {\n emit AccountRebasingDisabled(_account);\n if (_creditBalances[_account] == 0) {\n // Since there is no existing balance, we can directly set to\n // high resolution, and do not have to do any other bookkeeping\n nonRebasingCreditsPerToken[_account] = 1e27;\n } else {\n // Migrate an existing account:\n\n // Set fixed credits per token for this account\n nonRebasingCreditsPerToken[_account] = _rebasingCreditsPerToken;\n // Update non rebasing supply\n nonRebasingSupply = nonRebasingSupply.add(balanceOf(_account));\n // Update credit tallies\n _rebasingCredits = _rebasingCredits.sub(\n _creditBalances[_account]\n );\n }\n }\n }\n\n /**\n * @notice Enable rebasing for an account.\n * @dev Add a contract address to the non-rebasing exception list. The\n * address's balance will be part of rebases and the account will be exposed\n * to upside and downside.\n * @param _account Address of the account.\n */\n function governanceRebaseOptIn(address _account)\n public\n nonReentrant\n onlyGovernor\n {\n _rebaseOptIn(_account);\n }\n\n /**\n * @dev Add a contract address to the non-rebasing exception list. The\n * address's balance will be part of rebases and the account will be exposed\n * to upside and downside.\n */\n function rebaseOptIn() public nonReentrant {\n _rebaseOptIn(msg.sender);\n }\n\n function _rebaseOptIn(address _account) internal {\n require(_isNonRebasingAccount(_account), \"Account has not opted out\");\n\n // Convert balance into the same amount at the current exchange rate\n uint256 newCreditBalance = _creditBalances[_account]\n .mul(_rebasingCreditsPerToken)\n .div(_creditsPerToken(_account));\n\n // Decreasing non rebasing supply\n nonRebasingSupply = nonRebasingSupply.sub(balanceOf(_account));\n\n _creditBalances[_account] = newCreditBalance;\n\n // Increase rebasing credits, totalSupply remains unchanged so no\n // adjustment necessary\n _rebasingCredits = _rebasingCredits.add(_creditBalances[_account]);\n\n rebaseState[_account] = RebaseOptions.OptIn;\n\n // Delete any fixed credits per token\n delete nonRebasingCreditsPerToken[_account];\n emit AccountRebasingEnabled(_account);\n }\n\n /**\n * @dev Explicitly mark that an address is non-rebasing.\n */\n function rebaseOptOut() public nonReentrant {\n require(!_isNonRebasingAccount(msg.sender), \"Account has not opted in\");\n\n // Increase non rebasing supply\n nonRebasingSupply = nonRebasingSupply.add(balanceOf(msg.sender));\n // Set fixed credits per token\n nonRebasingCreditsPerToken[msg.sender] = _rebasingCreditsPerToken;\n\n // Decrease rebasing credits, total supply remains unchanged so no\n // adjustment necessary\n _rebasingCredits = _rebasingCredits.sub(_creditBalances[msg.sender]);\n\n // Mark explicitly opted out of rebasing\n rebaseState[msg.sender] = RebaseOptions.OptOut;\n emit AccountRebasingDisabled(msg.sender);\n }\n\n /**\n * @dev Modify the supply without minting new tokens. This uses a change in\n * the exchange rate between \"credits\" and OUSD tokens to change balances.\n * @param _newTotalSupply New total supply of OUSD.\n */\n function changeSupply(uint256 _newTotalSupply)\n external\n onlyVault\n nonReentrant\n {\n require(_totalSupply > 0, \"Cannot increase 0 supply\");\n\n if (_totalSupply == _newTotalSupply) {\n emit TotalSupplyUpdatedHighres(\n _totalSupply,\n _rebasingCredits,\n _rebasingCreditsPerToken\n );\n return;\n }\n\n _totalSupply = _newTotalSupply > MAX_SUPPLY\n ? MAX_SUPPLY\n : _newTotalSupply;\n\n _rebasingCreditsPerToken = _rebasingCredits.divPrecisely(\n _totalSupply.sub(nonRebasingSupply)\n );\n\n require(_rebasingCreditsPerToken > 0, \"Invalid change in supply\");\n\n _totalSupply = _rebasingCredits\n .divPrecisely(_rebasingCreditsPerToken)\n .add(nonRebasingSupply);\n\n emit TotalSupplyUpdatedHighres(\n _totalSupply,\n _rebasingCredits,\n _rebasingCreditsPerToken\n );\n }\n}\n" + }, + "contracts/utils/AerodromeAMOQuoter.sol": { + "content": "// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.7;\n\nimport { ICLPool } from \"../interfaces/aerodrome/ICLPool.sol\";\nimport { IQuoterV2 } from \"../interfaces/aerodrome/IQuoterV2.sol\";\nimport { IAMOStrategy } from \"../interfaces/aerodrome/IAMOStrategy.sol\";\n\n/// @title QuoterHelper\n/// @author Origin Protocol\n/// @notice Helper for Aerodrome AMO Quoter, as `_quoteAmountToSwapBeforeRebalance` use try/catch method and\n/// this can only be used when calling external contracts.\ncontract QuoterHelper {\n ////////////////////////////////////////////////////////////////\n /// --- STRUCTS & ENUMS\n ////////////////////////////////////////////////////////////////\n enum RevertReasons {\n DefaultStatus,\n RebalanceOutOfBounds,\n NotInExpectedTickRange,\n NotEnoughWethForSwap,\n NotEnoughWethLiquidity,\n UnexpectedError,\n Found,\n NotFound\n }\n\n struct RebalanceStatus {\n RevertReasons reason;\n uint256 currentPoolWETHShare; // Case 1\n uint256 allowedWETHShareStart; // Case 1\n uint256 allowedWETHShareEnd; // Case 1\n int24 currentTick; // Case 2\n uint256 balanceWETH; // Case 3\n uint256 amountWETH; // Case 3\n string revertMessage;\n }\n\n ////////////////////////////////////////////////////////////////\n /// --- CONSTANT & IMMUTABLE\n ////////////////////////////////////////////////////////////////\n uint256 public constant BINARY_MIN_AMOUNT = 1 wei;\n uint256 public constant BINARY_MAX_AMOUNT_FOR_REBALANCE = 3_000 ether;\n uint256 public constant BINARY_MAX_AMOUNT_FOR_PUSH_PRICE = 5_000_000 ether;\n\n uint256 public constant BINARY_MAX_ITERATIONS = 100;\n uint256 public constant PERCENTAGE_BASE = 1e18; // 100%\n uint256 public constant ALLOWED_VARIANCE_PERCENTAGE = 1e12; // 0.0001%\n\n ////////////////////////////////////////////////////////////////\n /// --- VARIABLES STORAGE\n ////////////////////////////////////////////////////////////////\n ICLPool public immutable clPool;\n IQuoterV2 public immutable quoterV2;\n IAMOStrategy public immutable strategy;\n\n address public originalGovernor;\n\n ////////////////////////////////////////////////////////////////\n /// --- ERRORS & EVENTS\n ////////////////////////////////////////////////////////////////\n error UnexpectedError(string message);\n error OutOfIterations(uint256 iterations);\n error ValidAmount(\n uint256 amount,\n uint256 iterations,\n bool swapWETHForOETHB\n );\n\n ////////////////////////////////////////////////////////////////\n /// --- CONSTRUCTOR\n ////////////////////////////////////////////////////////////////\n constructor(IAMOStrategy _strategy, IQuoterV2 _quoterV2) {\n strategy = _strategy;\n quoterV2 = _quoterV2;\n clPool = _strategy.clPool();\n }\n\n ////////////////////////////////////////////////////////////////\n /// --- FUNCTIONS\n ////////////////////////////////////////////////////////////////\n /// @notice This call can only end with a revert.\n function getAmountToSwapBeforeRebalance(\n uint256 overrideBottomWethShare,\n uint256 overrideTopWethShare\n ) public {\n if (\n overrideBottomWethShare != type(uint256).max ||\n overrideTopWethShare != type(uint256).max\n ) {\n // Current values\n uint256 shareStart = strategy.allowedWethShareStart();\n uint256 shareEnd = strategy.allowedWethShareEnd();\n\n // Override values\n if (overrideBottomWethShare != type(uint256).max) {\n shareStart = overrideBottomWethShare;\n }\n if (overrideTopWethShare != type(uint256).max) {\n shareEnd = overrideTopWethShare;\n }\n\n strategy.setAllowedPoolWethShareInterval(shareStart, shareEnd);\n }\n uint256 iterations = 0;\n uint256 low = BINARY_MIN_AMOUNT;\n uint256 high = BINARY_MAX_AMOUNT_FOR_REBALANCE;\n int24 lowerTick = strategy.lowerTick();\n int24 upperTick = strategy.upperTick();\n bool swapWETHForOETHB = getSwapDirectionForRebalance();\n\n while (low <= high && iterations < BINARY_MAX_ITERATIONS) {\n uint256 mid = (low + high) / 2;\n\n RebalanceStatus memory status = getRebalanceStatus(\n mid,\n swapWETHForOETHB\n );\n\n // Best case, we found the `amount` that will reach the target pool share!\n // We can revert with the amount and the number of iterations\n if (status.reason == RevertReasons.Found) {\n revert ValidAmount(mid, iterations, swapWETHForOETHB);\n }\n\n // If the rebalance failed then we should try to change the amount.\n // We will handle all possible revert reasons here.\n\n // Case 1: Rebalance out of bounds\n // If the pool is out of bounds, we need to adjust the amount to reach the target pool share\n if (status.reason == RevertReasons.RebalanceOutOfBounds) {\n // If the current pool share is less than the target pool share, we need to increase the amount\n if (\n swapWETHForOETHB\n ? status.currentPoolWETHShare <\n status.allowedWETHShareStart\n : status.currentPoolWETHShare >\n status.allowedWETHShareEnd\n ) {\n low = mid + 1;\n }\n // Else we need to decrease the amount\n else {\n high = mid;\n }\n }\n\n // Case 2: Not in expected tick range\n // If the pool is not in the expected tick range, we need to adjust the amount\n // to reach the target pool share\n if (status.reason == RevertReasons.NotInExpectedTickRange) {\n // If we are buying OETHb and the current tick is greater than the lower tick,\n //we need to increase the amount in order to continue to push price down.\n // If we are selling OETHb and the current tick is less than the upper tick,\n // we need to increase the amount in order to continue to push price up.\n if (\n swapWETHForOETHB\n ? status.currentTick > lowerTick\n : status.currentTick < upperTick\n ) {\n low = mid + 1;\n }\n // Else we need to decrease the amount\n else {\n high = mid;\n }\n }\n\n // Case 3: Not enough WETH for swap\n // If we don't have enough WETH to swap, we need to decrease the amount\n // This error can happen, when initial value of mid is too high, so we need to decrease it\n if (status.reason == RevertReasons.NotEnoughWethForSwap) {\n high = mid;\n }\n\n // Case 4: Not enough WETH liquidity\n // If we don't have enough WETH liquidity\n // Revert for the moment, we need to improve this\n if (status.reason == RevertReasons.NotEnoughWethLiquidity) {\n revert(\"Quoter: Not enough WETH liquidity\");\n }\n\n // Case 5: Unexpected error\n // Worst case, it reverted with an unexpected error.\n if (status.reason == RevertReasons.UnexpectedError) {\n revert UnexpectedError(status.revertMessage);\n }\n\n iterations++;\n }\n\n // Case 6: Out of iterations\n // If we didn't find the amount after the max iterations, we need to revert.\n revert OutOfIterations(iterations);\n }\n\n /// @notice Get the status of the rebalance\n /// @param amount The amount of token to swap\n /// @param swapWETH True if we need to swap WETH for OETHb, false otherwise\n /// @return status The status of the rebalance\n function getRebalanceStatus(uint256 amount, bool swapWETH)\n public\n returns (RebalanceStatus memory status)\n {\n try strategy.rebalance(amount, swapWETH, 0) {\n status.reason = RevertReasons.Found;\n return status;\n } catch Error(string memory reason) {\n status.reason = RevertReasons.UnexpectedError;\n status.revertMessage = reason;\n } catch (bytes memory reason) {\n bytes4 receivedSelector = bytes4(reason);\n\n // Case 1: Rebalance out of bounds\n if (\n receivedSelector ==\n IAMOStrategy.PoolRebalanceOutOfBounds.selector\n ) {\n uint256 currentPoolWETHShare;\n uint256 allowedWETHShareStart;\n uint256 allowedWETHShareEnd;\n\n // solhint-disable-next-line no-inline-assembly\n assembly {\n currentPoolWETHShare := mload(add(reason, 0x24))\n allowedWETHShareStart := mload(add(reason, 0x44))\n allowedWETHShareEnd := mload(add(reason, 0x64))\n }\n return\n RebalanceStatus({\n reason: RevertReasons.RebalanceOutOfBounds,\n currentPoolWETHShare: currentPoolWETHShare,\n allowedWETHShareStart: allowedWETHShareStart,\n allowedWETHShareEnd: allowedWETHShareEnd,\n currentTick: 0,\n balanceWETH: 0,\n amountWETH: 0,\n revertMessage: \"\"\n });\n }\n\n // Case 2: Not in expected tick range\n if (\n receivedSelector ==\n IAMOStrategy.OutsideExpectedTickRange.selector\n ) {\n int24 currentTick;\n\n // solhint-disable-next-line no-inline-assembly\n assembly {\n currentTick := mload(add(reason, 0x24))\n }\n return\n RebalanceStatus({\n reason: RevertReasons.NotInExpectedTickRange,\n currentPoolWETHShare: 0,\n allowedWETHShareStart: 0,\n allowedWETHShareEnd: 0,\n currentTick: currentTick,\n balanceWETH: 0,\n amountWETH: 0,\n revertMessage: \"\"\n });\n }\n\n // Case 3: Not enough WETH for swap\n if (\n receivedSelector == IAMOStrategy.NotEnoughWethForSwap.selector\n ) {\n uint256 balanceWETH;\n uint256 amountWETH;\n\n // solhint-disable-next-line no-inline-assembly\n assembly {\n balanceWETH := mload(add(reason, 0x24))\n amountWETH := mload(add(reason, 0x44))\n }\n return\n RebalanceStatus({\n reason: RevertReasons.NotEnoughWethForSwap,\n currentPoolWETHShare: 0,\n allowedWETHShareStart: 0,\n allowedWETHShareEnd: 0,\n currentTick: 0,\n balanceWETH: balanceWETH,\n amountWETH: amountWETH,\n revertMessage: \"\"\n });\n }\n\n // Case 4: Not enough WETH liquidity\n if (\n receivedSelector == IAMOStrategy.NotEnoughWethLiquidity.selector\n ) {\n return\n RebalanceStatus({\n reason: RevertReasons.NotEnoughWethLiquidity,\n currentPoolWETHShare: 0,\n allowedWETHShareStart: 0,\n allowedWETHShareEnd: 0,\n currentTick: 0,\n balanceWETH: 0,\n amountWETH: 0,\n revertMessage: \"\"\n });\n }\n\n // Case 5: Unexpected error\n return\n RebalanceStatus({\n reason: RevertReasons.UnexpectedError,\n currentPoolWETHShare: 0,\n allowedWETHShareStart: 0,\n allowedWETHShareEnd: 0,\n currentTick: 0,\n balanceWETH: 0,\n amountWETH: 0,\n revertMessage: abi.decode(reason, (string))\n });\n }\n }\n\n /// @notice Get the swap direction to reach the target price before rebalance.\n /// @return bool True if we need to swap WETH for OETHb, false otherwise.\n function getSwapDirectionForRebalance() public view returns (bool) {\n uint160 currentPrice = strategy.getPoolX96Price();\n uint160 ticker0Price = strategy.sqrtRatioX96TickLower();\n uint160 ticker1Price = strategy.sqrtRatioX96TickHigher();\n uint256 allowedWethShareStart = strategy.allowedWethShareStart();\n uint256 allowedWethShareEnd = strategy.allowedWethShareEnd();\n uint160 mid = uint160(allowedWethShareStart + allowedWethShareEnd) / 2;\n // slither-disable-start divide-before-multiply\n uint160 targetPrice = (ticker0Price *\n mid +\n ticker1Price *\n (1 ether - mid)) / 1 ether;\n // slither-disable-end divide-before-multiply\n\n return currentPrice > targetPrice;\n }\n\n /// @notice Get the amount of tokens to swap to reach the target price.\n /// @dev This act like a quoter, i.e. the transaction is not performed.\n /// @dev Because the amount to swap can be largely overestimated, because CLAMM alow partial orders,\n /// i.e. when we ask to swap a very large amount, with a close priceLimite, it will swap only a part of it,\n /// and not revert. So if overestimated amount is to high, use a custom maxAmount to avoid this issue.\n /// @param sqrtPriceTargetX96 The target price to reach.\n /// @return amount The amount of tokens to swap.\n /// @return iterations The number of iterations to find the amount.\n /// @return swapWETHForOETHB True if we need to swap WETH for OETHb, false otherwise.\n /// @return sqrtPriceX96After The price after the swap.\n function getAmountToSwapToReachPrice(uint160 sqrtPriceTargetX96)\n public\n returns (\n uint256,\n uint256,\n bool,\n uint160\n )\n {\n uint256 iterations = 0;\n uint256 low = BINARY_MIN_AMOUNT;\n uint256 high = BINARY_MAX_AMOUNT_FOR_PUSH_PRICE;\n bool swapWETHForOETHB = getSwapDirection(sqrtPriceTargetX96);\n\n while (low <= high && iterations < BINARY_MAX_ITERATIONS) {\n uint256 mid = (low + high) / 2;\n\n // Call QuoterV2 from SugarHelper\n (, uint160 sqrtPriceX96After, , ) = quoterV2.quoteExactInputSingle(\n IQuoterV2.QuoteExactInputSingleParams({\n tokenIn: swapWETHForOETHB\n ? clPool.token0()\n : clPool.token1(),\n tokenOut: swapWETHForOETHB\n ? clPool.token1()\n : clPool.token0(),\n amountIn: mid,\n tickSpacing: strategy.tickSpacing(),\n sqrtPriceLimitX96: sqrtPriceTargetX96\n })\n );\n\n if (\n isWithinAllowedVariance(sqrtPriceX96After, sqrtPriceTargetX96)\n ) {\n return (mid, iterations, swapWETHForOETHB, sqrtPriceX96After);\n } else if (low == high) {\n // target swap amount not found.\n // try increasing BINARY_MAX_AMOUNT_FOR_PUSH_PRICE\n revert(\"SwapAmountNotFound\");\n } else if (\n swapWETHForOETHB\n ? sqrtPriceX96After > sqrtPriceTargetX96\n : sqrtPriceX96After < sqrtPriceTargetX96\n ) {\n low = mid + 1;\n } else {\n high = mid;\n }\n iterations++;\n }\n\n revert OutOfIterations(iterations);\n }\n\n /// @notice Check if the current price is within the allowed variance in comparison to the target price\n /// @return bool True if the current price is within the allowed variance, false otherwise\n function isWithinAllowedVariance(\n uint160 sqrtPriceCurrentX96,\n uint160 sqrtPriceTargetX96\n ) public view returns (bool) {\n uint160 range = strategy.sqrtRatioX96TickHigher() -\n strategy.sqrtRatioX96TickLower();\n if (sqrtPriceCurrentX96 > sqrtPriceTargetX96) {\n return\n (sqrtPriceCurrentX96 - sqrtPriceTargetX96) <=\n (ALLOWED_VARIANCE_PERCENTAGE * range) / PERCENTAGE_BASE;\n } else {\n return\n (sqrtPriceTargetX96 - sqrtPriceCurrentX96) <=\n (ALLOWED_VARIANCE_PERCENTAGE * range) / PERCENTAGE_BASE;\n }\n }\n\n /// @notice Get the swap direction to reach the target price.\n /// @param sqrtPriceTargetX96 The target price to reach.\n /// @return bool True if we need to swap WETH for OETHb, false otherwise.\n function getSwapDirection(uint160 sqrtPriceTargetX96)\n public\n view\n returns (bool)\n {\n uint160 currentPrice = strategy.getPoolX96Price();\n return currentPrice > sqrtPriceTargetX96;\n }\n\n function claimGovernanceOnAMO() public {\n originalGovernor = strategy.governor();\n strategy.claimGovernance();\n }\n\n function giveBackGovernanceOnAMO() public {\n require(\n originalGovernor != address(0),\n \"Quoter: Original governor not set\"\n );\n strategy.transferGovernance(originalGovernor);\n }\n}\n\n/// @title AerodromeAMOQuoter\n/// @author Origin Protocol\n/// @notice Quoter for Aerodrome AMO\ncontract AerodromeAMOQuoter {\n ////////////////////////////////////////////////////////////////\n /// --- STRUCTS & ENUMS\n ///////////////////////////////////////////////////////////////\n struct Data {\n uint256 amount;\n uint256 iterations;\n }\n\n ////////////////////////////////////////////////////////////////\n /// --- VARIABLES STORAGE\n ////////////////////////////////////////////////////////////////\n QuoterHelper public immutable quoterHelper;\n\n ////////////////////////////////////////////////////////////////\n /// --- CONSTRUCTOR\n ////////////////////////////////////////////////////////////////\n constructor(address _strategy, address _quoterV2) {\n quoterHelper = new QuoterHelper(\n IAMOStrategy(_strategy),\n IQuoterV2(_quoterV2)\n );\n }\n\n ////////////////////////////////////////////////////////////////\n /// --- ERRORS & EVENTS\n ////////////////////////////////////////////////////////////////\n event ValueFound(uint256 value, uint256 iterations, bool swapWETHForOETHB);\n event ValueFoundBis(\n uint256 value,\n uint256 iterations,\n bool swapWETHForOETHB,\n uint160 sqrtPriceAfterX96\n );\n event ValueNotFound(string message);\n\n ////////////////////////////////////////////////////////////////\n /// --- FUNCTIONS\n ////////////////////////////////////////////////////////////////\n /// @notice Use this to get the amount to swap before rebalance\n /// @dev This call will only revert, check the logs to get returned values.\n /// @dev Need to perform this call while impersonating the governor or strategist of AMO.\n /// @return data Data struct with the amount and the number of iterations\n function quoteAmountToSwapBeforeRebalance()\n public\n returns (Data memory data)\n {\n return\n _quoteAmountToSwapBeforeRebalance(\n type(uint256).max,\n type(uint256).max\n );\n }\n\n /// @notice Use this to get the amount to swap before rebalance and\n /// update allowedWethShareStart and allowedWethShareEnd on AMO.\n /// @dev This call will only revert, check the logs to get returned values.\n /// @dev Need to perform this call while impersonating the governor of AMO.\n /// @param overrideBottomWethShare New value for the allowedWethShareStart on AMO.\n /// Use type(uint256).max to keep same value.\n /// @param overrideTopWethShare New value for the allowedWethShareEnd on AMO.\n /// Use type(uint256).max to keep same value.\n /// @return data Data struct with the amount and the number of iterations\n function quoteAmountToSwapBeforeRebalance(\n uint256 overrideBottomWethShare,\n uint256 overrideTopWethShare\n ) public returns (Data memory data) {\n return\n _quoteAmountToSwapBeforeRebalance(\n overrideBottomWethShare,\n overrideTopWethShare\n );\n }\n\n /// @notice Internal logic for quoteAmountToSwapBeforeRebalance.\n function _quoteAmountToSwapBeforeRebalance(\n uint256 overrideBottomWethShare,\n uint256 overrideTopWethShare\n ) internal returns (Data memory data) {\n try\n quoterHelper.getAmountToSwapBeforeRebalance(\n overrideBottomWethShare,\n overrideTopWethShare\n )\n {\n revert(\"Previous call should only revert, it cannot succeed\");\n } catch (bytes memory reason) {\n bytes4 receivedSelector = bytes4(reason);\n\n if (receivedSelector == QuoterHelper.ValidAmount.selector) {\n uint256 value;\n uint256 iterations;\n bool swapWETHForOETHB;\n\n // solhint-disable-next-line no-inline-assembly\n assembly {\n value := mload(add(reason, 0x24))\n iterations := mload(add(reason, 0x44))\n swapWETHForOETHB := mload(add(reason, 0x64))\n }\n emit ValueFound(value, iterations, swapWETHForOETHB);\n return Data({ amount: value, iterations: iterations });\n }\n\n if (receivedSelector == QuoterHelper.OutOfIterations.selector) {\n emit ValueNotFound(\"Out of iterations\");\n revert(\"Out of iterations\");\n }\n\n emit ValueNotFound(\"Unexpected error\");\n revert(abi.decode(reason, (string)));\n }\n }\n\n /// @notice Use this to get the amount to swap to reach the target price after swap.\n /// @dev This call will only revert, check the logs to get returned values.\n /// @param sqrtPriceTargetX96 The target price to reach.\n function quoteAmountToSwapToReachPrice(uint160 sqrtPriceTargetX96) public {\n (\n uint256 amount,\n uint256 iterations,\n bool swapWETHForOETHB,\n uint160 sqrtPriceAfterX96\n ) = quoterHelper.getAmountToSwapToReachPrice(sqrtPriceTargetX96);\n\n emit ValueFoundBis(\n amount,\n iterations,\n swapWETHForOETHB,\n sqrtPriceAfterX96\n );\n }\n\n function claimGovernance() public {\n quoterHelper.claimGovernanceOnAMO();\n }\n\n function giveBackGovernance() public {\n quoterHelper.giveBackGovernanceOnAMO();\n }\n}\n" + }, + "contracts/utils/Helpers.sol": { + "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport { IBasicToken } from \"../interfaces/IBasicToken.sol\";\n\nlibrary Helpers {\n /**\n * @notice Fetch the `symbol()` from an ERC20 token\n * @dev Grabs the `symbol()` from a contract\n * @param _token Address of the ERC20 token\n * @return string Symbol of the ERC20 token\n */\n function getSymbol(address _token) internal view returns (string memory) {\n string memory symbol = IBasicToken(_token).symbol();\n return symbol;\n }\n\n /**\n * @notice Fetch the `decimals()` from an ERC20 token\n * @dev Grabs the `decimals()` from a contract and fails if\n * the decimal value does not live within a certain range\n * @param _token Address of the ERC20 token\n * @return uint256 Decimals of the ERC20 token\n */\n function getDecimals(address _token) internal view returns (uint256) {\n uint256 decimals = IBasicToken(_token).decimals();\n require(\n decimals >= 4 && decimals <= 18,\n \"Token must have sufficient decimal places\"\n );\n\n return decimals;\n }\n}\n" + }, + "contracts/utils/Initializable.sol": { + "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/**\n * @title Base contract any contracts that need to initialize state after deployment.\n * @author Origin Protocol Inc\n */\nabstract contract Initializable {\n /**\n * @dev Indicates that the contract has been initialized.\n */\n bool private initialized;\n\n /**\n * @dev Indicates that the contract is in the process of being initialized.\n */\n bool private initializing;\n\n /**\n * @dev Modifier to protect an initializer function from being invoked twice.\n */\n modifier initializer() {\n require(\n initializing || !initialized,\n \"Initializable: contract is already initialized\"\n );\n\n bool isTopLevelCall = !initializing;\n if (isTopLevelCall) {\n initializing = true;\n initialized = true;\n }\n\n _;\n\n if (isTopLevelCall) {\n initializing = false;\n }\n }\n\n uint256[50] private ______gap;\n}\n" + }, + "contracts/utils/InitializableERC20Detailed.sol": { + "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport { IERC20 } from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\n\n/**\n * @dev Optional functions from the ERC20 standard.\n * Converted from openzeppelin/contracts/token/ERC20/ERC20Detailed.sol\n * @author Origin Protocol Inc\n */\nabstract contract InitializableERC20Detailed is IERC20 {\n // Storage gap to skip storage from prior to OUSD reset\n uint256[100] private _____gap;\n\n string private _name;\n string private _symbol;\n uint8 private _decimals;\n\n /**\n * @dev Sets the values for `name`, `symbol`, and `decimals`. All three of\n * these values are immutable: they can only be set once during\n * construction.\n * @notice To avoid variable shadowing appended `Arg` after arguments name.\n */\n function _initialize(\n string memory nameArg,\n string memory symbolArg,\n uint8 decimalsArg\n ) internal {\n _name = nameArg;\n _symbol = symbolArg;\n _decimals = decimalsArg;\n }\n\n /**\n * @notice Returns the name of the token.\n */\n function name() public view returns (string memory) {\n return _name;\n }\n\n /**\n * @notice Returns the symbol of the token, usually a shorter version of the\n * name.\n */\n function symbol() public view returns (string memory) {\n return _symbol;\n }\n\n /**\n * @notice Returns the number of decimals used to get its user representation.\n * For example, if `decimals` equals `2`, a balance of `505` tokens should\n * be displayed to a user as `5,05` (`505 / 10 ** 2`).\n *\n * Tokens usually opt for a value of 18, imitating the relationship between\n * Ether and Wei.\n *\n * NOTE: This information is only used for _display_ purposes: it in\n * no way affects any of the arithmetic of the contract, including\n * {IERC20-balanceOf} and {IERC20-transfer}.\n */\n function decimals() public view returns (uint8) {\n return _decimals;\n }\n}\n" + }, + "contracts/utils/StableMath.sol": { + "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport { SafeMath } from \"@openzeppelin/contracts/utils/math/SafeMath.sol\";\n\n// Based on StableMath from Stability Labs Pty. Ltd.\n// https://github.com/mstable/mStable-contracts/blob/master/contracts/shared/StableMath.sol\n\nlibrary StableMath {\n using SafeMath for uint256;\n\n /**\n * @dev Scaling unit for use in specific calculations,\n * where 1 * 10**18, or 1e18 represents a unit '1'\n */\n uint256 private constant FULL_SCALE = 1e18;\n\n /***************************************\n Helpers\n ****************************************/\n\n /**\n * @dev Adjust the scale of an integer\n * @param to Decimals to scale to\n * @param from Decimals to scale from\n */\n function scaleBy(\n uint256 x,\n uint256 to,\n uint256 from\n ) internal pure returns (uint256) {\n if (to > from) {\n x = x.mul(10**(to - from));\n } else if (to < from) {\n // slither-disable-next-line divide-before-multiply\n x = x.div(10**(from - to));\n }\n return x;\n }\n\n /***************************************\n Precise Arithmetic\n ****************************************/\n\n /**\n * @dev Multiplies two precise units, and then truncates by the full scale\n * @param x Left hand input to multiplication\n * @param y Right hand input to multiplication\n * @return Result after multiplying the two inputs and then dividing by the shared\n * scale unit\n */\n function mulTruncate(uint256 x, uint256 y) internal pure returns (uint256) {\n return mulTruncateScale(x, y, FULL_SCALE);\n }\n\n /**\n * @dev Multiplies two precise units, and then truncates by the given scale. For example,\n * when calculating 90% of 10e18, (10e18 * 9e17) / 1e18 = (9e36) / 1e18 = 9e18\n * @param x Left hand input to multiplication\n * @param y Right hand input to multiplication\n * @param scale Scale unit\n * @return Result after multiplying the two inputs and then dividing by the shared\n * scale unit\n */\n function mulTruncateScale(\n uint256 x,\n uint256 y,\n uint256 scale\n ) internal pure returns (uint256) {\n // e.g. assume scale = fullScale\n // z = 10e18 * 9e17 = 9e36\n uint256 z = x.mul(y);\n // return 9e36 / 1e18 = 9e18\n return z.div(scale);\n }\n\n /**\n * @dev Multiplies two precise units, and then truncates by the full scale, rounding up the result\n * @param x Left hand input to multiplication\n * @param y Right hand input to multiplication\n * @return Result after multiplying the two inputs and then dividing by the shared\n * scale unit, rounded up to the closest base unit.\n */\n function mulTruncateCeil(uint256 x, uint256 y)\n internal\n pure\n returns (uint256)\n {\n // e.g. 8e17 * 17268172638 = 138145381104e17\n uint256 scaled = x.mul(y);\n // e.g. 138145381104e17 + 9.99...e17 = 138145381113.99...e17\n uint256 ceil = scaled.add(FULL_SCALE.sub(1));\n // e.g. 13814538111.399...e18 / 1e18 = 13814538111\n return ceil.div(FULL_SCALE);\n }\n\n /**\n * @dev Precisely divides two units, by first scaling the left hand operand. Useful\n * for finding percentage weightings, i.e. 8e18/10e18 = 80% (or 8e17)\n * @param x Left hand input to division\n * @param y Right hand input to division\n * @return Result after multiplying the left operand by the scale, and\n * executing the division on the right hand input.\n */\n function divPrecisely(uint256 x, uint256 y)\n internal\n pure\n returns (uint256)\n {\n // e.g. 8e18 * 1e18 = 8e36\n uint256 z = x.mul(FULL_SCALE);\n // e.g. 8e36 / 10e18 = 8e17\n return z.div(y);\n }\n}\n" + }, + "contracts/vault/VaultStorage.sol": { + "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/**\n * @title OToken VaultStorage contract\n * @notice The VaultStorage contract defines the storage for the Vault contracts\n * @author Origin Protocol Inc\n */\n\nimport { IERC20 } from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport { SafeERC20 } from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport { Address } from \"@openzeppelin/contracts/utils/Address.sol\";\n\nimport { IStrategy } from \"../interfaces/IStrategy.sol\";\nimport { Governable } from \"../governance/Governable.sol\";\nimport { OUSD } from \"../token/OUSD.sol\";\nimport { Initializable } from \"../utils/Initializable.sol\";\nimport \"../utils/Helpers.sol\";\n\ncontract VaultStorage is Initializable, Governable {\n using SafeERC20 for IERC20;\n\n event AssetSupported(address _asset);\n event AssetRemoved(address _asset);\n event AssetDefaultStrategyUpdated(address _asset, address _strategy);\n event AssetAllocated(address _asset, address _strategy, uint256 _amount);\n event StrategyApproved(address _addr);\n event StrategyRemoved(address _addr);\n event Mint(address _addr, uint256 _value);\n event Redeem(address _addr, uint256 _value);\n event CapitalPaused();\n event CapitalUnpaused();\n event RebasePaused();\n event RebaseUnpaused();\n event VaultBufferUpdated(uint256 _vaultBuffer);\n event OusdMetaStrategyUpdated(address _ousdMetaStrategy);\n event RedeemFeeUpdated(uint256 _redeemFeeBps);\n event PriceProviderUpdated(address _priceProvider);\n event AllocateThresholdUpdated(uint256 _threshold);\n event RebaseThresholdUpdated(uint256 _threshold);\n event StrategistUpdated(address _address);\n event MaxSupplyDiffChanged(uint256 maxSupplyDiff);\n event YieldDistribution(address _to, uint256 _yield, uint256 _fee);\n event TrusteeFeeBpsChanged(uint256 _basis);\n event TrusteeAddressChanged(address _address);\n event NetOusdMintForStrategyThresholdChanged(uint256 _threshold);\n event SwapperChanged(address _address);\n event SwapAllowedUndervalueChanged(uint256 _basis);\n event SwapSlippageChanged(address _asset, uint256 _basis);\n event Swapped(\n address indexed _fromAsset,\n address indexed _toAsset,\n uint256 _fromAssetAmount,\n uint256 _toAssetAmount\n );\n event StrategyAddedToMintWhitelist(address indexed strategy);\n event StrategyRemovedFromMintWhitelist(address indexed strategy);\n event DripperChanged(address indexed _dripper);\n event WithdrawalRequested(\n address indexed _withdrawer,\n uint256 indexed _requestId,\n uint256 _amount,\n uint256 _queued\n );\n event WithdrawalClaimed(\n address indexed _withdrawer,\n uint256 indexed _requestId,\n uint256 _amount\n );\n event WithdrawalClaimable(uint256 _claimable, uint256 _newClaimable);\n\n // Assets supported by the Vault, i.e. Stablecoins\n enum UnitConversion {\n DECIMALS,\n GETEXCHANGERATE\n }\n // Changed to fit into a single storage slot so the decimals needs to be recached\n struct Asset {\n // Note: OETHVaultCore doesn't use `isSupported` when minting,\n // redeeming or checking balance of assets.\n bool isSupported;\n UnitConversion unitConversion;\n uint8 decimals;\n // Max allowed slippage from the Oracle price when swapping collateral assets in basis points.\n // For example 40 == 0.4% slippage\n uint16 allowedOracleSlippageBps;\n }\n\n /// @dev mapping of supported vault assets to their configuration\n // slither-disable-next-line uninitialized-state\n mapping(address => Asset) internal assets;\n /// @dev list of all assets supported by the vault.\n // slither-disable-next-line uninitialized-state\n address[] internal allAssets;\n\n // Strategies approved for use by the Vault\n struct Strategy {\n bool isSupported;\n uint256 _deprecated; // Deprecated storage slot\n }\n /// @dev mapping of strategy contracts to their configuration\n // slither-disable-next-line uninitialized-state\n mapping(address => Strategy) internal strategies;\n /// @dev list of all vault strategies\n address[] internal allStrategies;\n\n /// @notice Address of the Oracle price provider contract\n // slither-disable-next-line uninitialized-state\n address public priceProvider;\n /// @notice pause rebasing if true\n bool public rebasePaused = false;\n /// @notice pause operations that change the OToken supply.\n /// eg mint, redeem, allocate, mint/burn for strategy\n bool public capitalPaused = true;\n /// @notice Redemption fee in basis points. eg 50 = 0.5%\n uint256 public redeemFeeBps;\n /// @notice Percentage of assets to keep in Vault to handle (most) withdrawals. 100% = 1e18.\n uint256 public vaultBuffer;\n /// @notice OToken mints over this amount automatically allocate funds. 18 decimals.\n uint256 public autoAllocateThreshold;\n /// @notice OToken mints over this amount automatically rebase. 18 decimals.\n uint256 public rebaseThreshold;\n\n /// @dev Address of the OToken token. eg OUSD or OETH.\n // slither-disable-next-line uninitialized-state\n OUSD internal oUSD;\n\n //keccak256(\"OUSD.vault.governor.admin.impl\");\n bytes32 constant adminImplPosition =\n 0xa2bd3d3cf188a41358c8b401076eb59066b09dec5775650c0de4c55187d17bd9;\n\n // Address of the contract responsible for post rebase syncs with AMMs\n address private _deprecated_rebaseHooksAddr = address(0);\n\n // Deprecated: Address of Uniswap\n // slither-disable-next-line constable-states\n address private _deprecated_uniswapAddr = address(0);\n\n /// @notice Address of the Strategist\n address public strategistAddr = address(0);\n\n /// @notice Mapping of asset address to the Strategy that they should automatically\n // be allocated to\n // slither-disable-next-line uninitialized-state\n mapping(address => address) public assetDefaultStrategies;\n\n /// @notice Max difference between total supply and total value of assets. 18 decimals.\n // slither-disable-next-line uninitialized-state\n uint256 public maxSupplyDiff;\n\n /// @notice Trustee contract that can collect a percentage of yield\n address public trusteeAddress;\n\n /// @notice Amount of yield collected in basis points. eg 2000 = 20%\n uint256 public trusteeFeeBps;\n\n /// @dev Deprecated: Tokens that should be swapped for stablecoins\n address[] private _deprecated_swapTokens;\n\n uint256 constant MINT_MINIMUM_UNIT_PRICE = 0.998e18;\n\n /// @notice Metapool strategy that is allowed to mint/burn OTokens without changing collateral\n\n // slither-disable-start constable-states\n // slither-disable-next-line uninitialized-state\n address public ousdMetaStrategy;\n\n /// @notice How much OTokens are currently minted by the strategy\n // slither-disable-next-line uninitialized-state\n int256 public netOusdMintedForStrategy;\n\n /// @notice How much net total OTokens are allowed to be minted by all strategies\n // slither-disable-next-line uninitialized-state\n uint256 public netOusdMintForStrategyThreshold;\n\n // slither-disable-end constable-states\n\n uint256 constant MIN_UNIT_PRICE_DRIFT = 0.7e18;\n uint256 constant MAX_UNIT_PRICE_DRIFT = 1.3e18;\n\n /// @notice Collateral swap configuration.\n /// @dev is packed into a single storage slot to save gas.\n struct SwapConfig {\n // Contract that swaps the vault's collateral assets\n address swapper;\n // Max allowed percentage the total value can drop below the total supply in basis points.\n // For example 100 == 1%\n uint16 allowedUndervalueBps;\n }\n SwapConfig internal swapConfig = SwapConfig(address(0), 0);\n\n // List of strategies that can mint oTokens directly\n // Used in OETHBaseVaultCore\n // slither-disable-next-line uninitialized-state\n mapping(address => bool) public isMintWhitelistedStrategy;\n\n /// @notice Address of the Dripper contract that streams harvested rewards to the Vault\n /// @dev The vault is proxied so needs to be set with setDripper against the proxy contract.\n // slither-disable-start constable-states\n // slither-disable-next-line uninitialized-state\n address public dripper;\n // slither-disable-end constable-states\n\n /// Withdrawal Queue Storage /////\n\n struct WithdrawalQueueMetadata {\n // cumulative total of all withdrawal requests included the ones that have already been claimed\n uint128 queued;\n // cumulative total of all the requests that can be claimed including the ones that have already been claimed\n uint128 claimable;\n // total of all the requests that have been claimed\n uint128 claimed;\n // index of the next withdrawal request starting at 0\n uint128 nextWithdrawalIndex;\n }\n\n /// @notice Global metadata for the withdrawal queue including:\n /// queued - cumulative total of all withdrawal requests included the ones that have already been claimed\n /// claimable - cumulative total of all the requests that can be claimed including the ones already claimed\n /// claimed - total of all the requests that have been claimed\n /// nextWithdrawalIndex - index of the next withdrawal request starting at 0\n // slither-disable-next-line uninitialized-state\n WithdrawalQueueMetadata public withdrawalQueueMetadata;\n\n struct WithdrawalRequest {\n address withdrawer;\n bool claimed;\n uint40 timestamp; // timestamp of the withdrawal request\n // Amount of oTokens to redeem. eg OETH\n uint128 amount;\n // cumulative total of all withdrawal requests including this one.\n // this request can be claimed when this queued amount is less than or equal to the queue's claimable amount.\n uint128 queued;\n }\n\n /// @notice Mapping of withdrawal request indices to the user withdrawal request data\n mapping(uint256 => WithdrawalRequest) public withdrawalRequests;\n\n // For future use\n uint256[45] private __gap;\n\n /**\n * @notice set the implementation for the admin, this needs to be in a base class else we cannot set it\n * @param newImpl address of the implementation\n */\n function setAdminImpl(address newImpl) external onlyGovernor {\n require(\n Address.isContract(newImpl),\n \"new implementation is not a contract\"\n );\n bytes32 position = adminImplPosition;\n // solhint-disable-next-line no-inline-assembly\n assembly {\n sstore(position, newImpl)\n }\n }\n}\n" + } + }, + "settings": { + "optimizer": { + "enabled": true, + "runs": 200 + }, + "outputSelection": { + "*": { + "*": [ + "abi", + "evm.bytecode", + "evm.deployedBytecode", + "evm.methodIdentifiers", + "metadata", + "devdoc", + "userdoc", + "storageLayout", + "evm.gasEstimates" + ], + "": [ + "ast" + ] + } + }, + "metadata": { + "useLiteralContent": true + } + } +} \ No newline at end of file diff --git a/contracts/deployments/base/solcInputs/f4a7247d9372687113ee2c2c465d68f0.json b/contracts/deployments/base/solcInputs/f4a7247d9372687113ee2c2c465d68f0.json new file mode 100644 index 0000000000..ebca019863 --- /dev/null +++ b/contracts/deployments/base/solcInputs/f4a7247d9372687113ee2c2c465d68f0.json @@ -0,0 +1,86 @@ +{ + "language": "Solidity", + "sources": { + "@openzeppelin/contracts/token/ERC20/IERC20.sol": { + "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n */\ninterface IERC20 {\n /**\n * @dev Returns the amount of tokens in existence.\n */\n function totalSupply() external view returns (uint256);\n\n /**\n * @dev Returns the amount of tokens owned by `account`.\n */\n function balanceOf(address account) external view returns (uint256);\n\n /**\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\n *\n * Returns a boolean value indicating whether the operation succeeded.\n *\n * Emits a {Transfer} event.\n */\n function transfer(address recipient, uint256 amount) external returns (bool);\n\n /**\n * @dev Returns the remaining number of tokens that `spender` will be\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\n * zero by default.\n *\n * This value changes when {approve} or {transferFrom} are called.\n */\n function allowance(address owner, address spender) external view returns (uint256);\n\n /**\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\n *\n * Returns a boolean value indicating whether the operation succeeded.\n *\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\n * that someone may use both the old and the new allowance by unfortunate\n * transaction ordering. One possible solution to mitigate this race\n * condition is to first reduce the spender's allowance to 0 and set the\n * desired value afterwards:\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n *\n * Emits an {Approval} event.\n */\n function approve(address spender, uint256 amount) external returns (bool);\n\n /**\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\n * allowance mechanism. `amount` is then deducted from the caller's\n * allowance.\n *\n * Returns a boolean value indicating whether the operation succeeded.\n *\n * Emits a {Transfer} event.\n */\n function transferFrom(\n address sender,\n address recipient,\n uint256 amount\n ) external returns (bool);\n\n /**\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\n * another (`to`).\n *\n * Note that `value` may be zero.\n */\n event Transfer(address indexed from, address indexed to, uint256 value);\n\n /**\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n * a call to {approve}. `value` is the new allowance.\n */\n event Approval(address indexed owner, address indexed spender, uint256 value);\n}\n" + }, + "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol": { + "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../IERC20.sol\";\nimport \"../../../utils/Address.sol\";\n\n/**\n * @title SafeERC20\n * @dev Wrappers around ERC20 operations that throw on failure (when the token\n * contract returns false). Tokens that return no value (and instead revert or\n * throw on failure) are also supported, non-reverting calls are assumed to be\n * successful.\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\n */\nlibrary SafeERC20 {\n using Address for address;\n\n function safeTransfer(\n IERC20 token,\n address to,\n uint256 value\n ) internal {\n _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\n }\n\n function safeTransferFrom(\n IERC20 token,\n address from,\n address to,\n uint256 value\n ) internal {\n _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\n }\n\n /**\n * @dev Deprecated. This function has issues similar to the ones found in\n * {IERC20-approve}, and its usage is discouraged.\n *\n * Whenever possible, use {safeIncreaseAllowance} and\n * {safeDecreaseAllowance} instead.\n */\n function safeApprove(\n IERC20 token,\n address spender,\n uint256 value\n ) internal {\n // safeApprove should only be called when setting an initial allowance,\n // or when resetting it to zero. To increase and decrease it, use\n // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\n require(\n (value == 0) || (token.allowance(address(this), spender) == 0),\n \"SafeERC20: approve from non-zero to non-zero allowance\"\n );\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\n }\n\n function safeIncreaseAllowance(\n IERC20 token,\n address spender,\n uint256 value\n ) internal {\n uint256 newAllowance = token.allowance(address(this), spender) + value;\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\n }\n\n function safeDecreaseAllowance(\n IERC20 token,\n address spender,\n uint256 value\n ) internal {\n unchecked {\n uint256 oldAllowance = token.allowance(address(this), spender);\n require(oldAllowance >= value, \"SafeERC20: decreased allowance below zero\");\n uint256 newAllowance = oldAllowance - value;\n _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\n }\n }\n\n /**\n * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n * on the return value: the return value is optional (but if data is returned, it must not be false).\n * @param token The token targeted by the call.\n * @param data The call data (encoded using abi.encode or one of its variants).\n */\n function _callOptionalReturn(IERC20 token, bytes memory data) private {\n // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\n // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that\n // the target address contains contract code and also asserts for success in the low-level call.\n\n bytes memory returndata = address(token).functionCall(data, \"SafeERC20: low-level call failed\");\n if (returndata.length > 0) {\n // Return data is optional\n require(abi.decode(returndata, (bool)), \"SafeERC20: ERC20 operation did not succeed\");\n }\n }\n}\n" + }, + "@openzeppelin/contracts/utils/Address.sol": { + "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n /**\n * @dev Returns true if `account` is a contract.\n *\n * [IMPORTANT]\n * ====\n * It is unsafe to assume that an address for which this function returns\n * false is an externally-owned account (EOA) and not a contract.\n *\n * Among others, `isContract` will return false for the following\n * types of addresses:\n *\n * - an externally-owned account\n * - a contract in construction\n * - an address where a contract will be created\n * - an address where a contract lived, but was destroyed\n * ====\n */\n function isContract(address account) internal view returns (bool) {\n // This method relies on extcodesize, which returns 0 for contracts in\n // construction, since the code is only stored at the end of the\n // constructor execution.\n\n uint256 size;\n assembly {\n size := extcodesize(account)\n }\n return size > 0;\n }\n\n /**\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n * `recipient`, forwarding all available gas and reverting on errors.\n *\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\n * imposed by `transfer`, making them unable to receive funds via\n * `transfer`. {sendValue} removes this limitation.\n *\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n *\n * IMPORTANT: because control is transferred to `recipient`, care must be\n * taken to not create reentrancy vulnerabilities. Consider using\n * {ReentrancyGuard} or the\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n */\n function sendValue(address payable recipient, uint256 amount) internal {\n require(address(this).balance >= amount, \"Address: insufficient balance\");\n\n (bool success, ) = recipient.call{value: amount}(\"\");\n require(success, \"Address: unable to send value, recipient may have reverted\");\n }\n\n /**\n * @dev Performs a Solidity function call using a low level `call`. A\n * plain `call` is an unsafe replacement for a function call: use this\n * function instead.\n *\n * If `target` reverts with a revert reason, it is bubbled up by this\n * function (like regular Solidity function calls).\n *\n * Returns the raw returned data. To convert to the expected return value,\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n *\n * Requirements:\n *\n * - `target` must be a contract.\n * - calling `target` with `data` must not revert.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionCall(target, data, \"Address: low-level call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n * `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCall(\n address target,\n bytes memory data,\n string memory errorMessage\n ) internal returns (bytes memory) {\n return functionCallWithValue(target, data, 0, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but also transferring `value` wei to `target`.\n *\n * Requirements:\n *\n * - the calling contract must have an ETH balance of at least `value`.\n * - the called Solidity function must be `payable`.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(\n address target,\n bytes memory data,\n uint256 value\n ) internal returns (bytes memory) {\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n * with `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(\n address target,\n bytes memory data,\n uint256 value,\n string memory errorMessage\n ) internal returns (bytes memory) {\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\n require(isContract(target), \"Address: call to non-contract\");\n\n (bool success, bytes memory returndata) = target.call{value: value}(data);\n return verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(\n address target,\n bytes memory data,\n string memory errorMessage\n ) internal view returns (bytes memory) {\n require(isContract(target), \"Address: static call to non-contract\");\n\n (bool success, bytes memory returndata) = target.staticcall(data);\n return verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(\n address target,\n bytes memory data,\n string memory errorMessage\n ) internal returns (bytes memory) {\n require(isContract(target), \"Address: delegate call to non-contract\");\n\n (bool success, bytes memory returndata) = target.delegatecall(data);\n return verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\n * revert reason using the provided one.\n *\n * _Available since v4.3._\n */\n function verifyCallResult(\n bool success,\n bytes memory returndata,\n string memory errorMessage\n ) internal pure returns (bytes memory) {\n if (success) {\n return returndata;\n } else {\n // Look for revert reason and bubble it up if present\n if (returndata.length > 0) {\n // The easiest way to bubble the revert reason is using memory via assembly\n\n assembly {\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n }\n } else {\n revert(errorMessage);\n }\n }\n }\n}\n" + }, + "@openzeppelin/contracts/utils/math/SafeMath.sol": { + "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)\n\npragma solidity ^0.8.0;\n\n// CAUTION\n// This version of SafeMath should only be used with Solidity 0.8 or later,\n// because it relies on the compiler's built in overflow checks.\n\n/**\n * @dev Wrappers over Solidity's arithmetic operations.\n *\n * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler\n * now has built in overflow checking.\n */\nlibrary SafeMath {\n /**\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n unchecked {\n uint256 c = a + b;\n if (c < a) return (false, 0);\n return (true, c);\n }\n }\n\n /**\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n unchecked {\n if (b > a) return (false, 0);\n return (true, a - b);\n }\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n unchecked {\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n // benefit is lost if 'b' is also tested.\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n if (a == 0) return (true, 0);\n uint256 c = a * b;\n if (c / a != b) return (false, 0);\n return (true, c);\n }\n }\n\n /**\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n unchecked {\n if (b == 0) return (false, 0);\n return (true, a / b);\n }\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n unchecked {\n if (b == 0) return (false, 0);\n return (true, a % b);\n }\n }\n\n /**\n * @dev Returns the addition of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `+` operator.\n *\n * Requirements:\n *\n * - Addition cannot overflow.\n */\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\n return a + b;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting on\n * overflow (when the result is negative).\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\n return a - b;\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `*` operator.\n *\n * Requirements:\n *\n * - Multiplication cannot overflow.\n */\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n return a * b;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting on\n * division by zero. The result is rounded towards zero.\n *\n * Counterpart to Solidity's `/` operator.\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\n return a / b;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting when dividing by zero.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\n return a % b;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n * overflow (when the result is negative).\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {trySub}.\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(\n uint256 a,\n uint256 b,\n string memory errorMessage\n ) internal pure returns (uint256) {\n unchecked {\n require(b <= a, errorMessage);\n return a - b;\n }\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\n * division by zero. The result is rounded towards zero.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(\n uint256 a,\n uint256 b,\n string memory errorMessage\n ) internal pure returns (uint256) {\n unchecked {\n require(b > 0, errorMessage);\n return a / b;\n }\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting with custom message when dividing by zero.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryMod}.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(\n uint256 a,\n uint256 b,\n string memory errorMessage\n ) internal pure returns (uint256) {\n unchecked {\n require(b > 0, errorMessage);\n return a % b;\n }\n }\n}\n" + }, + "contracts/governance/Governable.sol": { + "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/**\n * @title Base for contracts that are managed by the Origin Protocol's Governor.\n * @dev Copy of the openzeppelin Ownable.sol contract with nomenclature change\n * from owner to governor and renounce methods removed. Does not use\n * Context.sol like Ownable.sol does for simplification.\n * @author Origin Protocol Inc\n */\ncontract Governable {\n // Storage position of the owner and pendingOwner of the contract\n // keccak256(\"OUSD.governor\");\n bytes32 private constant governorPosition =\n 0x7bea13895fa79d2831e0a9e28edede30099005a50d652d8957cf8a607ee6ca4a;\n\n // keccak256(\"OUSD.pending.governor\");\n bytes32 private constant pendingGovernorPosition =\n 0x44c4d30b2eaad5130ad70c3ba6972730566f3e6359ab83e800d905c61b1c51db;\n\n // keccak256(\"OUSD.reentry.status\");\n bytes32 private constant reentryStatusPosition =\n 0x53bf423e48ed90e97d02ab0ebab13b2a235a6bfbe9c321847d5c175333ac4535;\n\n // See OpenZeppelin ReentrancyGuard implementation\n uint256 constant _NOT_ENTERED = 1;\n uint256 constant _ENTERED = 2;\n\n event PendingGovernorshipTransfer(\n address indexed previousGovernor,\n address indexed newGovernor\n );\n\n event GovernorshipTransferred(\n address indexed previousGovernor,\n address indexed newGovernor\n );\n\n /**\n * @dev Initializes the contract setting the deployer as the initial Governor.\n */\n constructor() {\n _setGovernor(msg.sender);\n emit GovernorshipTransferred(address(0), _governor());\n }\n\n /**\n * @notice Returns the address of the current Governor.\n */\n function governor() public view returns (address) {\n return _governor();\n }\n\n /**\n * @dev Returns the address of the current Governor.\n */\n function _governor() internal view returns (address governorOut) {\n bytes32 position = governorPosition;\n // solhint-disable-next-line no-inline-assembly\n assembly {\n governorOut := sload(position)\n }\n }\n\n /**\n * @dev Returns the address of the pending Governor.\n */\n function _pendingGovernor()\n internal\n view\n returns (address pendingGovernor)\n {\n bytes32 position = pendingGovernorPosition;\n // solhint-disable-next-line no-inline-assembly\n assembly {\n pendingGovernor := sload(position)\n }\n }\n\n /**\n * @dev Throws if called by any account other than the Governor.\n */\n modifier onlyGovernor() {\n require(isGovernor(), \"Caller is not the Governor\");\n _;\n }\n\n /**\n * @notice Returns true if the caller is the current Governor.\n */\n function isGovernor() public view returns (bool) {\n return msg.sender == _governor();\n }\n\n function _setGovernor(address newGovernor) internal {\n bytes32 position = governorPosition;\n // solhint-disable-next-line no-inline-assembly\n assembly {\n sstore(position, newGovernor)\n }\n }\n\n /**\n * @dev Prevents a contract from calling itself, directly or indirectly.\n * Calling a `nonReentrant` function from another `nonReentrant`\n * function is not supported. It is possible to prevent this from happening\n * by making the `nonReentrant` function external, and make it call a\n * `private` function that does the actual work.\n */\n modifier nonReentrant() {\n bytes32 position = reentryStatusPosition;\n uint256 _reentry_status;\n // solhint-disable-next-line no-inline-assembly\n assembly {\n _reentry_status := sload(position)\n }\n\n // On the first call to nonReentrant, _notEntered will be true\n require(_reentry_status != _ENTERED, \"Reentrant call\");\n\n // Any calls to nonReentrant after this point will fail\n // solhint-disable-next-line no-inline-assembly\n assembly {\n sstore(position, _ENTERED)\n }\n\n _;\n\n // By storing the original value once again, a refund is triggered (see\n // https://eips.ethereum.org/EIPS/eip-2200)\n // solhint-disable-next-line no-inline-assembly\n assembly {\n sstore(position, _NOT_ENTERED)\n }\n }\n\n function _setPendingGovernor(address newGovernor) internal {\n bytes32 position = pendingGovernorPosition;\n // solhint-disable-next-line no-inline-assembly\n assembly {\n sstore(position, newGovernor)\n }\n }\n\n /**\n * @notice Transfers Governance of the contract to a new account (`newGovernor`).\n * Can only be called by the current Governor. Must be claimed for this to complete\n * @param _newGovernor Address of the new Governor\n */\n function transferGovernance(address _newGovernor) external onlyGovernor {\n _setPendingGovernor(_newGovernor);\n emit PendingGovernorshipTransfer(_governor(), _newGovernor);\n }\n\n /**\n * @notice Claim Governance of the contract to a new account (`newGovernor`).\n * Can only be called by the new Governor.\n */\n function claimGovernance() external {\n require(\n msg.sender == _pendingGovernor(),\n \"Only the pending Governor can complete the claim\"\n );\n _changeGovernor(msg.sender);\n }\n\n /**\n * @dev Change Governance of the contract to a new account (`newGovernor`).\n * @param _newGovernor Address of the new Governor\n */\n function _changeGovernor(address _newGovernor) internal {\n require(_newGovernor != address(0), \"New Governor is address(0)\");\n emit GovernorshipTransferred(_governor(), _newGovernor);\n _setGovernor(_newGovernor);\n }\n}\n" + }, + "contracts/harvest/OETHBaseHarvester.sol": { + "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport { Governable } from \"../governance/Governable.sol\";\n\nimport { IERC20 } from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport { SafeERC20 } from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\n\nimport { IVault } from \"../interfaces/IVault.sol\";\nimport { IStrategy } from \"../interfaces/IStrategy.sol\";\nimport { ISwapRouter } from \"../interfaces/aerodrome/ISwapRouter.sol\";\n\ncontract OETHBaseHarvester is Governable {\n using SafeERC20 for IERC20;\n\n event YieldSent(address recipient, uint256 yield, uint256 fee);\n\n IVault public immutable vault;\n IStrategy public immutable amoStrategy;\n IERC20 public immutable aero;\n IERC20 public immutable weth;\n ISwapRouter public immutable swapRouter;\n\n address public operatorAddr;\n\n // Similar sig to `AbstractHarvester.RewardTokenSwapped` for\n // future compatibility with monitoring\n event RewardTokenSwapped(\n address indexed rewardToken,\n address indexed swappedInto,\n uint8 swapPlatform,\n uint256 amountIn,\n uint256 amountOut\n );\n\n event OperatorChanged(address oldOperator, address newOperator);\n\n /**\n * @notice Verifies that the caller is either Governor or Strategist.\n */\n modifier onlyGovernorOrStrategist() {\n require(\n msg.sender == vault.strategistAddr() || isGovernor(),\n \"Caller is not the Strategist or Governor\"\n );\n _;\n }\n\n /**\n * @notice Verifies that the caller is either Governor or Strategist.\n */\n modifier onlyGovernorOrStrategistOrOperator() {\n require(\n msg.sender == operatorAddr ||\n msg.sender == vault.strategistAddr() ||\n isGovernor(),\n \"Caller is not the Operator or Strategist or Governor\"\n );\n _;\n }\n\n constructor(\n address _vault,\n address _amoStrategy,\n address _aero,\n address _weth,\n address _swapRouter\n ) {\n vault = IVault(_vault);\n amoStrategy = IStrategy(_amoStrategy);\n aero = IERC20(_aero);\n weth = IERC20(_weth);\n swapRouter = ISwapRouter(_swapRouter);\n }\n\n /**\n * @dev Changes the operator address which can call `harvest`\n * @param _operatorAddr New operator address\n */\n function setOperatorAddr(address _operatorAddr) external onlyGovernor {\n emit OperatorChanged(operatorAddr, _operatorAddr);\n operatorAddr = _operatorAddr;\n }\n\n /**\n * @notice Collects AERO from AMO strategy and\n * sends it to the Strategist multisig.\n * Anyone can call it.\n */\n function harvest() external onlyGovernorOrStrategistOrOperator {\n address strategistAddr = vault.strategistAddr();\n require(strategistAddr != address(0), \"Guardian address not set\");\n\n // Collect all AERO\n amoStrategy.collectRewardTokens();\n\n uint256 aeroBalance = aero.balanceOf(address(this));\n if (aeroBalance == 0) {\n // Do nothing if there's no AERO to transfer\n return;\n }\n\n // Transfer everything to Strategist\n aero.safeTransfer(strategistAddr, aeroBalance);\n }\n\n /**\n * @notice Harvests AERO from AMO strategy and then swaps some (or all)\n * of it into WETH to distribute yield and fee.\n * When `feeBps` is set to 10000 (100%), all WETH received is\n * sent to strategist.\n *\n * @param aeroToSwap Amount of AERO to swap\n * @param minWETHExpected Min. amount of WETH to expect\n * @param feeBps Performance fee bps (Sent to strategist)\n */\n function harvestAndSwap(\n uint256 aeroToSwap,\n uint256 minWETHExpected,\n uint256 feeBps\n ) external onlyGovernorOrStrategist {\n address strategistAddr = vault.strategistAddr();\n require(strategistAddr != address(0), \"Guardian address not set\");\n\n // Yields can only be sent to the Dripper.\n address yieldRecipient = vault.dripper();\n require(\n yieldRecipient != address(0),\n \"Dripper address not set\"\n );\n\n require(feeBps <= 10000, \"Invalid Fee Bps\");\n\n // Collect all AERO\n amoStrategy.collectRewardTokens();\n\n uint256 aeroBalance = aero.balanceOf(address(this));\n if (aeroBalance == 0) {\n // Do nothing if there's no AERO to transfer/swap\n return;\n }\n\n if (aeroToSwap > 0) {\n if (aeroBalance < aeroToSwap) {\n // Transfer in balance from the multisig as needed\n // slither-disable-next-line unchecked-transfer arbitrary-send-erc20\n aero.safeTransferFrom(\n strategistAddr,\n address(this),\n aeroToSwap - aeroBalance\n );\n }\n\n _doSwap(aeroToSwap, minWETHExpected);\n\n // Figure out AERO left in contract after swap\n aeroBalance = aero.balanceOf(address(this));\n }\n\n // Transfer out any leftover AERO after swap\n if (aeroBalance > 0) {\n aero.safeTransfer(strategistAddr, aeroBalance);\n }\n\n // Computes using all balance the contract holds,\n // not just the WETH received from swap. Use `transferToken`\n // if there's any WETH left that needs to be taken out\n uint256 availableWETHBalance = weth.balanceOf(address(this));\n // Computation rounds in favor of protocol\n uint256 fee = (availableWETHBalance * feeBps) / 10000;\n uint256 yield = availableWETHBalance - fee;\n\n // Transfer yield to Dripper if any\n if (yield > 0) {\n weth.safeTransfer(yieldRecipient, yield);\n }\n\n // Transfer fee to Guardian if any\n if (fee > 0) {\n weth.safeTransfer(strategistAddr, fee);\n }\n\n emit YieldSent(yieldRecipient, yield, fee);\n }\n\n /**\n * @notice Swaps AERO to WETH on Aerodrome\n * @param aeroToSwap Amount of AERO to swap\n * @param minWETHExpected Min. amount of WETH to expect\n */\n function _doSwap(uint256 aeroToSwap, uint256 minWETHExpected) internal {\n // Let the swap router move funds\n aero.approve(address(swapRouter), aeroToSwap);\n\n // Do the swap\n uint256 wethReceived = swapRouter.exactInputSingle(\n ISwapRouter.ExactInputSingleParams({\n tokenIn: address(aero),\n tokenOut: address(weth),\n tickSpacing: 200, // From AERO/WETH pool contract\n recipient: address(this),\n deadline: block.timestamp,\n amountIn: aeroToSwap,\n amountOutMinimum: minWETHExpected,\n sqrtPriceLimitX96: 0\n })\n );\n\n emit RewardTokenSwapped(\n address(aero),\n address(weth),\n 0,\n aeroToSwap,\n wethReceived\n );\n }\n\n /**\n * @notice Transfer token to governor. Intended for recovering tokens stuck in\n * the contract, i.e. mistaken sends.\n * Also, allows to transfer any AERO left in the contract.\n * @param _asset Address for the asset\n * @param _amount Amount of the asset to transfer\n */\n function transferToken(address _asset, uint256 _amount)\n external\n virtual\n onlyGovernor\n {\n IERC20(_asset).safeTransfer(governor(), _amount);\n }\n}\n" + }, + "contracts/interfaces/aerodrome/ISwapRouter.sol": { + "content": "// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.7.5;\npragma abicoder v2;\n\n/// @title Router token swapping functionality\n/// @notice Functions for swapping tokens via CL\ninterface ISwapRouter {\n struct ExactInputSingleParams {\n address tokenIn;\n address tokenOut;\n int24 tickSpacing;\n address recipient;\n uint256 deadline;\n uint256 amountIn;\n uint256 amountOutMinimum;\n uint160 sqrtPriceLimitX96;\n }\n\n /// @notice Swaps `amountIn` of one token for as much as possible of another token\n /// @param params The parameters necessary for the swap, encoded as `ExactInputSingleParams` in calldata\n /// @return amountOut The amount of the received token\n function exactInputSingle(ExactInputSingleParams calldata params)\n external\n payable\n returns (uint256 amountOut);\n\n struct ExactInputParams {\n bytes path;\n address recipient;\n uint256 deadline;\n uint256 amountIn;\n uint256 amountOutMinimum;\n }\n\n /// @notice Swaps `amountIn` of one token for as much as possible of another along the specified path\n /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactInputParams` in calldata\n /// @return amountOut The amount of the received token\n function exactInput(ExactInputParams calldata params)\n external\n payable\n returns (uint256 amountOut);\n\n struct ExactOutputSingleParams {\n address tokenIn;\n address tokenOut;\n int24 tickSpacing;\n address recipient;\n uint256 deadline;\n uint256 amountOut;\n uint256 amountInMaximum;\n uint160 sqrtPriceLimitX96;\n }\n\n /// @notice Swaps as little as possible of one token for `amountOut` of another token\n /// @param params The parameters necessary for the swap, encoded as `ExactOutputSingleParams` in calldata\n /// @return amountIn The amount of the input token\n function exactOutputSingle(ExactOutputSingleParams calldata params)\n external\n payable\n returns (uint256 amountIn);\n\n struct ExactOutputParams {\n bytes path;\n address recipient;\n uint256 deadline;\n uint256 amountOut;\n uint256 amountInMaximum;\n }\n\n /// @notice Swaps as little as possible of one token for `amountOut` of another along the specified path (reversed)\n /// @param params The parameters necessary for the multi-hop swap, encoded as `ExactOutputParams` in calldata\n /// @return amountIn The amount of the input token\n function exactOutput(ExactOutputParams calldata params)\n external\n payable\n returns (uint256 amountIn);\n}\n" + }, + "contracts/interfaces/IBasicToken.sol": { + "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\ninterface IBasicToken {\n function symbol() external view returns (string memory);\n\n function decimals() external view returns (uint8);\n}\n" + }, + "contracts/interfaces/IStrategy.sol": { + "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/**\n * @title Platform interface to integrate with lending platform like Compound, AAVE etc.\n */\ninterface IStrategy {\n /**\n * @dev Deposit the given asset to platform\n * @param _asset asset address\n * @param _amount Amount to deposit\n */\n function deposit(address _asset, uint256 _amount) external;\n\n /**\n * @dev Deposit the entire balance of all supported assets in the Strategy\n * to the platform\n */\n function depositAll() external;\n\n /**\n * @dev Withdraw given asset from Lending platform\n */\n function withdraw(\n address _recipient,\n address _asset,\n uint256 _amount\n ) external;\n\n /**\n * @dev Liquidate all assets in strategy and return them to Vault.\n */\n function withdrawAll() external;\n\n /**\n * @dev Returns the current balance of the given asset.\n */\n function checkBalance(address _asset)\n external\n view\n returns (uint256 balance);\n\n /**\n * @dev Returns bool indicating whether strategy supports asset.\n */\n function supportsAsset(address _asset) external view returns (bool);\n\n /**\n * @dev Collect reward tokens from the Strategy.\n */\n function collectRewardTokens() external;\n\n /**\n * @dev The address array of the reward tokens for the Strategy.\n */\n function getRewardTokenAddresses() external view returns (address[] memory);\n}\n" + }, + "contracts/interfaces/IVault.sol": { + "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport { VaultStorage } from \"../vault/VaultStorage.sol\";\n\ninterface IVault {\n event AssetSupported(address _asset);\n event AssetDefaultStrategyUpdated(address _asset, address _strategy);\n event AssetAllocated(address _asset, address _strategy, uint256 _amount);\n event StrategyApproved(address _addr);\n event StrategyRemoved(address _addr);\n event Mint(address _addr, uint256 _value);\n event Redeem(address _addr, uint256 _value);\n event CapitalPaused();\n event CapitalUnpaused();\n event RebasePaused();\n event RebaseUnpaused();\n event VaultBufferUpdated(uint256 _vaultBuffer);\n event RedeemFeeUpdated(uint256 _redeemFeeBps);\n event PriceProviderUpdated(address _priceProvider);\n event AllocateThresholdUpdated(uint256 _threshold);\n event RebaseThresholdUpdated(uint256 _threshold);\n event StrategistUpdated(address _address);\n event MaxSupplyDiffChanged(uint256 maxSupplyDiff);\n event YieldDistribution(address _to, uint256 _yield, uint256 _fee);\n event TrusteeFeeBpsChanged(uint256 _basis);\n event TrusteeAddressChanged(address _address);\n event SwapperChanged(address _address);\n event SwapAllowedUndervalueChanged(uint256 _basis);\n event SwapSlippageChanged(address _asset, uint256 _basis);\n event Swapped(\n address indexed _fromAsset,\n address indexed _toAsset,\n uint256 _fromAssetAmount,\n uint256 _toAssetAmount\n );\n event StrategyAddedToMintWhitelist(address indexed strategy);\n event StrategyRemovedFromMintWhitelist(address indexed strategy);\n event DripperChanged(address indexed _dripper);\n event WithdrawalRequested(\n address indexed _withdrawer,\n uint256 indexed _requestId,\n uint256 _amount,\n uint256 _queued\n );\n event WithdrawalClaimed(\n address indexed _withdrawer,\n uint256 indexed _requestId,\n uint256 _amount\n );\n event WithdrawalClaimable(uint256 _claimable, uint256 _newClaimable);\n\n // Governable.sol\n function transferGovernance(address _newGovernor) external;\n\n function claimGovernance() external;\n\n function governor() external view returns (address);\n\n // VaultAdmin.sol\n function setPriceProvider(address _priceProvider) external;\n\n function priceProvider() external view returns (address);\n\n function setRedeemFeeBps(uint256 _redeemFeeBps) external;\n\n function redeemFeeBps() external view returns (uint256);\n\n function setVaultBuffer(uint256 _vaultBuffer) external;\n\n function vaultBuffer() external view returns (uint256);\n\n function setAutoAllocateThreshold(uint256 _threshold) external;\n\n function autoAllocateThreshold() external view returns (uint256);\n\n function setRebaseThreshold(uint256 _threshold) external;\n\n function rebaseThreshold() external view returns (uint256);\n\n function setStrategistAddr(address _address) external;\n\n function strategistAddr() external view returns (address);\n\n function setMaxSupplyDiff(uint256 _maxSupplyDiff) external;\n\n function maxSupplyDiff() external view returns (uint256);\n\n function setTrusteeAddress(address _address) external;\n\n function trusteeAddress() external view returns (address);\n\n function setTrusteeFeeBps(uint256 _basis) external;\n\n function trusteeFeeBps() external view returns (uint256);\n\n function ousdMetaStrategy() external view returns (address);\n\n function setSwapper(address _swapperAddr) external;\n\n function setSwapAllowedUndervalue(uint16 _percentageBps) external;\n\n function setOracleSlippage(address _asset, uint16 _allowedOracleSlippageBps)\n external;\n\n function supportAsset(address _asset, uint8 _supportsAsset) external;\n\n function approveStrategy(address _addr) external;\n\n function removeStrategy(address _addr) external;\n\n function setAssetDefaultStrategy(address _asset, address _strategy)\n external;\n\n function assetDefaultStrategies(address _asset)\n external\n view\n returns (address);\n\n function pauseRebase() external;\n\n function unpauseRebase() external;\n\n function rebasePaused() external view returns (bool);\n\n function pauseCapital() external;\n\n function unpauseCapital() external;\n\n function capitalPaused() external view returns (bool);\n\n function transferToken(address _asset, uint256 _amount) external;\n\n function priceUnitMint(address asset) external view returns (uint256);\n\n function priceUnitRedeem(address asset) external view returns (uint256);\n\n function withdrawAllFromStrategy(address _strategyAddr) external;\n\n function withdrawAllFromStrategies() external;\n\n function withdrawFromStrategy(\n address _strategyFromAddress,\n address[] calldata _assets,\n uint256[] calldata _amounts\n ) external;\n\n function depositToStrategy(\n address _strategyToAddress,\n address[] calldata _assets,\n uint256[] calldata _amounts\n ) external;\n\n // VaultCore.sol\n function mint(\n address _asset,\n uint256 _amount,\n uint256 _minimumOusdAmount\n ) external;\n\n function mintForStrategy(uint256 _amount) external;\n\n function redeem(uint256 _amount, uint256 _minimumUnitAmount) external;\n\n function burnForStrategy(uint256 _amount) external;\n\n function redeemAll(uint256 _minimumUnitAmount) external;\n\n function allocate() external;\n\n function rebase() external;\n\n function swapCollateral(\n address fromAsset,\n address toAsset,\n uint256 fromAssetAmount,\n uint256 minToAssetAmount,\n bytes calldata data\n ) external returns (uint256 toAssetAmount);\n\n function totalValue() external view returns (uint256 value);\n\n function checkBalance(address _asset) external view returns (uint256);\n\n function calculateRedeemOutputs(uint256 _amount)\n external\n view\n returns (uint256[] memory);\n\n function getAssetCount() external view returns (uint256);\n\n function getAssetConfig(address _asset)\n external\n view\n returns (VaultStorage.Asset memory config);\n\n function getAllAssets() external view returns (address[] memory);\n\n function getStrategyCount() external view returns (uint256);\n\n function swapper() external view returns (address);\n\n function allowedSwapUndervalue() external view returns (uint256);\n\n function getAllStrategies() external view returns (address[] memory);\n\n function isSupportedAsset(address _asset) external view returns (bool);\n\n function netOusdMintForStrategyThreshold() external view returns (uint256);\n\n function setOusdMetaStrategy(address _ousdMetaStrategy) external;\n\n function setNetOusdMintForStrategyThreshold(uint256 _threshold) external;\n\n function netOusdMintedForStrategy() external view returns (int256);\n\n function setDripper(address _dripper) external;\n\n function dripper() external view returns (address);\n\n function weth() external view returns (address);\n\n function cacheWETHAssetIndex() external;\n\n function wethAssetIndex() external view returns (uint256);\n\n function initialize(address, address) external;\n\n function setAdminImpl(address) external;\n\n function removeAsset(address _asset) external;\n\n // These are OETH specific functions\n function addWithdrawalQueueLiquidity() external;\n\n function requestWithdrawal(uint256 _amount)\n external\n returns (uint256 requestId, uint256 queued);\n\n function claimWithdrawal(uint256 requestId)\n external\n returns (uint256 amount);\n\n function claimWithdrawals(uint256[] memory requestIds)\n external\n returns (uint256[] memory amounts, uint256 totalAmount);\n\n function withdrawalQueueMetadata()\n external\n view\n returns (VaultStorage.WithdrawalQueueMetadata memory);\n\n function withdrawalRequests(uint256 requestId)\n external\n view\n returns (VaultStorage.WithdrawalRequest memory);\n\n // OETHb specific functions\n function addStrategyToMintWhitelist(address strategyAddr) external;\n\n function removeStrategyFromMintWhitelist(address strategyAddr) external;\n\n function isMintWhitelistedStrategy(address strategyAddr)\n external\n view\n returns (bool);\n}\n" + }, + "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol": { + "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport { Address } from \"@openzeppelin/contracts/utils/Address.sol\";\n\nimport { Governable } from \"../governance/Governable.sol\";\n\n/**\n * @title BaseGovernedUpgradeabilityProxy\n * @dev This contract combines an upgradeability proxy with our governor system.\n * It is based on an older version of OpenZeppelins BaseUpgradeabilityProxy\n * with Solidity ^0.8.0.\n * @author Origin Protocol Inc\n */\ncontract InitializeGovernedUpgradeabilityProxy is Governable {\n /**\n * @dev Emitted when the implementation is upgraded.\n * @param implementation Address of the new implementation.\n */\n event Upgraded(address indexed implementation);\n\n /**\n * @dev Contract initializer with Governor enforcement\n * @param _logic Address of the initial implementation.\n * @param _initGovernor Address of the initial Governor.\n * @param _data Data to send as msg.data to the implementation to initialize\n * the proxied contract.\n * It should include the signature and the parameters of the function to be\n * called, as described in\n * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.\n * This parameter is optional, if no data is given the initialization call\n * to proxied contract will be skipped.\n */\n function initialize(\n address _logic,\n address _initGovernor,\n bytes calldata _data\n ) public payable onlyGovernor {\n require(_implementation() == address(0));\n require(_logic != address(0), \"Implementation not set\");\n assert(\n IMPLEMENTATION_SLOT ==\n bytes32(uint256(keccak256(\"eip1967.proxy.implementation\")) - 1)\n );\n _setImplementation(_logic);\n if (_data.length > 0) {\n (bool success, ) = _logic.delegatecall(_data);\n require(success);\n }\n _changeGovernor(_initGovernor);\n }\n\n /**\n * @return The address of the proxy admin/it's also the governor.\n */\n function admin() external view returns (address) {\n return _governor();\n }\n\n /**\n * @return The address of the implementation.\n */\n function implementation() external view returns (address) {\n return _implementation();\n }\n\n /**\n * @dev Upgrade the backing implementation of the proxy.\n * Only the admin can call this function.\n * @param _newImplementation Address of the new implementation.\n */\n function upgradeTo(address _newImplementation) external onlyGovernor {\n _upgradeTo(_newImplementation);\n }\n\n /**\n * @dev Upgrade the backing implementation of the proxy and call a function\n * on the new implementation.\n * This is useful to initialize the proxied contract.\n * @param newImplementation Address of the new implementation.\n * @param data Data to send as msg.data in the low level call.\n * It should include the signature and the parameters of the function to be called, as described in\n * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.\n */\n function upgradeToAndCall(address newImplementation, bytes calldata data)\n external\n payable\n onlyGovernor\n {\n _upgradeTo(newImplementation);\n (bool success, ) = newImplementation.delegatecall(data);\n require(success);\n }\n\n /**\n * @dev Fallback function.\n * Implemented entirely in `_fallback`.\n */\n fallback() external payable {\n _fallback();\n }\n\n /**\n * @dev Delegates execution to an implementation contract.\n * This is a low level function that doesn't return to its internal call site.\n * It will return to the external caller whatever the implementation returns.\n * @param _impl Address to delegate.\n */\n function _delegate(address _impl) internal {\n // solhint-disable-next-line no-inline-assembly\n assembly {\n // Copy msg.data. We take full control of memory in this inline assembly\n // block because it will not return to Solidity code. We overwrite the\n // Solidity scratch pad at memory position 0.\n calldatacopy(0, 0, calldatasize())\n\n // Call the implementation.\n // out and outsize are 0 because we don't know the size yet.\n let result := delegatecall(gas(), _impl, 0, calldatasize(), 0, 0)\n\n // Copy the returned data.\n returndatacopy(0, 0, returndatasize())\n\n switch result\n // delegatecall returns 0 on error.\n case 0 {\n revert(0, returndatasize())\n }\n default {\n return(0, returndatasize())\n }\n }\n }\n\n /**\n * @dev Function that is run as the first thing in the fallback function.\n * Can be redefined in derived contracts to add functionality.\n * Redefinitions must call super._willFallback().\n */\n function _willFallback() internal {}\n\n /**\n * @dev fallback implementation.\n * Extracted to enable manual triggering.\n */\n function _fallback() internal {\n _willFallback();\n _delegate(_implementation());\n }\n\n /**\n * @dev Storage slot with the address of the current implementation.\n * This is the keccak-256 hash of \"eip1967.proxy.implementation\" subtracted by 1, and is\n * validated in the constructor.\n */\n bytes32 internal constant IMPLEMENTATION_SLOT =\n 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n\n /**\n * @dev Returns the current implementation.\n * @return impl Address of the current implementation\n */\n function _implementation() internal view returns (address impl) {\n bytes32 slot = IMPLEMENTATION_SLOT;\n // solhint-disable-next-line no-inline-assembly\n assembly {\n impl := sload(slot)\n }\n }\n\n /**\n * @dev Upgrades the proxy to a new implementation.\n * @param newImplementation Address of the new implementation.\n */\n function _upgradeTo(address newImplementation) internal {\n _setImplementation(newImplementation);\n emit Upgraded(newImplementation);\n }\n\n /**\n * @dev Sets the implementation address of the proxy.\n * @param newImplementation Address of the new implementation.\n */\n function _setImplementation(address newImplementation) internal {\n require(\n Address.isContract(newImplementation),\n \"Cannot set a proxy implementation to a non-contract address\"\n );\n\n bytes32 slot = IMPLEMENTATION_SLOT;\n\n // solhint-disable-next-line no-inline-assembly\n assembly {\n sstore(slot, newImplementation)\n }\n }\n}\n" + }, + "contracts/proxies/Proxies.sol": { + "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport { InitializeGovernedUpgradeabilityProxy } from \"./InitializeGovernedUpgradeabilityProxy.sol\";\n\n/**\n * @notice OUSDProxy delegates calls to an OUSD implementation\n */\ncontract OUSDProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice WrappedOUSDProxy delegates calls to a WrappedOUSD implementation\n */\ncontract WrappedOUSDProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice VaultProxy delegates calls to a Vault implementation\n */\ncontract VaultProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice CompoundStrategyProxy delegates calls to a CompoundStrategy implementation\n */\ncontract CompoundStrategyProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice AaveStrategyProxy delegates calls to a AaveStrategy implementation\n */\ncontract AaveStrategyProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice ThreePoolStrategyProxy delegates calls to a ThreePoolStrategy implementation\n */\ncontract ThreePoolStrategyProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice ConvexStrategyProxy delegates calls to a ConvexStrategy implementation\n */\ncontract ConvexStrategyProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice HarvesterProxy delegates calls to a Harvester implementation\n */\ncontract HarvesterProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice DripperProxy delegates calls to a Dripper implementation\n */\ncontract DripperProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice MorphoCompoundStrategyProxy delegates calls to a MorphoCompoundStrategy implementation\n */\ncontract MorphoCompoundStrategyProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice ConvexOUSDMetaStrategyProxy delegates calls to a ConvexOUSDMetaStrategy implementation\n */\ncontract ConvexOUSDMetaStrategyProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice ConvexLUSDMetaStrategyProxy delegates calls to a ConvexalGeneralizedMetaStrategy implementation\n */\ncontract ConvexLUSDMetaStrategyProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice MorphoAaveStrategyProxy delegates calls to a MorphoCompoundStrategy implementation\n */\ncontract MorphoAaveStrategyProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice OETHProxy delegates calls to nowhere for now\n */\ncontract OETHProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice WOETHProxy delegates calls to nowhere for now\n */\ncontract WOETHProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice OETHVaultProxy delegates calls to a Vault implementation\n */\ncontract OETHVaultProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice OETHDripperProxy delegates calls to a OETHDripper implementation\n */\ncontract OETHDripperProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice OETHHarvesterProxy delegates calls to a Harvester implementation\n */\ncontract OETHHarvesterProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice FraxETHStrategyProxy delegates calls to a FraxETHStrategy implementation\n */\ncontract FraxETHStrategyProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice CurveEthStrategyProxy delegates calls to a CurveEthStrategy implementation\n */\ncontract ConvexEthMetaStrategyProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice BuybackProxy delegates calls to Buyback implementation\n */\ncontract BuybackProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice OETHMorphoAaveStrategyProxy delegates calls to a MorphoAaveStrategy implementation\n */\ncontract OETHMorphoAaveStrategyProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice OETHBalancerMetaPoolrEthStrategyProxy delegates calls to a BalancerMetaPoolStrategy implementation\n */\ncontract OETHBalancerMetaPoolrEthStrategyProxy is\n InitializeGovernedUpgradeabilityProxy\n{\n\n}\n\n/**\n * @notice OETHBalancerMetaPoolwstEthStrategyProxy delegates calls to a BalancerMetaPoolStrategy implementation\n */\ncontract OETHBalancerMetaPoolwstEthStrategyProxy is\n InitializeGovernedUpgradeabilityProxy\n{\n\n}\n\n/**\n * @notice FluxStrategyProxy delegates calls to a CompoundStrategy implementation\n */\ncontract FluxStrategyProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice MakerDsrStrategyProxy delegates calls to a Generalized4626Strategy implementation\n */\ncontract MakerDsrStrategyProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice FrxEthRedeemStrategyProxy delegates calls to a FrxEthRedeemStrategy implementation\n */\ncontract FrxEthRedeemStrategyProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice OETHBuybackProxy delegates calls to Buyback implementation\n */\ncontract OETHBuybackProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice BridgedWOETHProxy delegates calls to BridgedWOETH implementation\n */\ncontract BridgedWOETHProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice NativeStakingSSVStrategyProxy delegates calls to NativeStakingSSVStrategy implementation\n */\ncontract NativeStakingSSVStrategyProxy is\n InitializeGovernedUpgradeabilityProxy\n{\n\n}\n\n/**\n * @notice NativeStakingFeeAccumulatorProxy delegates calls to FeeAccumulator implementation\n */\ncontract NativeStakingFeeAccumulatorProxy is\n InitializeGovernedUpgradeabilityProxy\n{\n\n}\n\n/**\n * @notice NativeStakingSSVStrategy2Proxy delegates calls to NativeStakingSSVStrategy implementation\n */\ncontract NativeStakingSSVStrategy2Proxy is\n InitializeGovernedUpgradeabilityProxy\n{\n\n}\n\n/**\n * @notice NativeStakingFeeAccumulator2Proxy delegates calls to FeeAccumulator implementation\n */\ncontract NativeStakingFeeAccumulator2Proxy is\n InitializeGovernedUpgradeabilityProxy\n{\n\n}\n\n/**\n * @notice LidoWithdrawalStrategyProxy delegates calls to a LidoWithdrawalStrategy implementation\n */\ncontract LidoWithdrawalStrategyProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice BridgedBaseWOETHProxy delegates calls to BridgedWOETH implementation\n */\ncontract BridgedBaseWOETHProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice OETHBaseVaultProxy delegates calls to OETHBaseVault implementation\n */\ncontract OETHBaseVaultProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice OETHBaseProxy delegates calls to OETH implementation\n */\ncontract OETHBaseProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice WOETHBaseProxy delegates calls to WOETH implementation\n */\ncontract WOETHBaseProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice OETHBaseDripperProxy delegates calls to a OETHDripper implementation\n */\ncontract OETHBaseDripperProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice AerodromeAMOStrategyProxy delegates calls to AerodromeAMOStrategy implementation\n */\ncontract AerodromeAMOStrategyProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice BridgedWOETHStrategyProxy delegates calls to BridgedWOETHStrategy implementation\n */\ncontract BridgedWOETHStrategyProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice MetaMorphoStrategyProxy delegates calls to a Generalized4626Strategy implementation\n */\ncontract MetaMorphoStrategyProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice OETHBaseHarvesterProxy delegates calls to a OETHBaseHarvester implementation\n */\ncontract OETHBaseHarvesterProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n\n/**\n * @notice ARMBuybackProxy delegates calls to Buyback implementation\n */\ncontract ARMBuybackProxy is InitializeGovernedUpgradeabilityProxy {\n\n}\n" + }, + "contracts/token/OUSD.sol": { + "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/**\n * @title OUSD Token Contract\n * @dev ERC20 compatible contract for OUSD\n * @dev Implements an elastic supply\n * @author Origin Protocol Inc\n */\nimport { SafeMath } from \"@openzeppelin/contracts/utils/math/SafeMath.sol\";\nimport { Address } from \"@openzeppelin/contracts/utils/Address.sol\";\n\nimport { Initializable } from \"../utils/Initializable.sol\";\nimport { InitializableERC20Detailed } from \"../utils/InitializableERC20Detailed.sol\";\nimport { StableMath } from \"../utils/StableMath.sol\";\nimport { Governable } from \"../governance/Governable.sol\";\n\n/**\n * NOTE that this is an ERC20 token but the invariant that the sum of\n * balanceOf(x) for all x is not >= totalSupply(). This is a consequence of the\n * rebasing design. Any integrations with OUSD should be aware.\n */\n\ncontract OUSD is Initializable, InitializableERC20Detailed, Governable {\n using SafeMath for uint256;\n using StableMath for uint256;\n\n event TotalSupplyUpdatedHighres(\n uint256 totalSupply,\n uint256 rebasingCredits,\n uint256 rebasingCreditsPerToken\n );\n event AccountRebasingEnabled(address account);\n event AccountRebasingDisabled(address account);\n\n enum RebaseOptions {\n NotSet,\n OptOut,\n OptIn\n }\n\n uint256 private constant MAX_SUPPLY = ~uint128(0); // (2^128) - 1\n uint256 public _totalSupply;\n mapping(address => mapping(address => uint256)) private _allowances;\n address public vaultAddress = address(0);\n mapping(address => uint256) private _creditBalances;\n uint256 private _rebasingCredits;\n uint256 private _rebasingCreditsPerToken;\n // Frozen address/credits are non rebasing (value is held in contracts which\n // do not receive yield unless they explicitly opt in)\n uint256 public nonRebasingSupply;\n mapping(address => uint256) public nonRebasingCreditsPerToken;\n mapping(address => RebaseOptions) public rebaseState;\n mapping(address => uint256) public isUpgraded;\n\n uint256 private constant RESOLUTION_INCREASE = 1e9;\n\n function initialize(\n string calldata _nameArg,\n string calldata _symbolArg,\n address _vaultAddress,\n uint256 _initialCreditsPerToken\n ) external onlyGovernor initializer {\n InitializableERC20Detailed._initialize(_nameArg, _symbolArg, 18);\n _rebasingCreditsPerToken = _initialCreditsPerToken;\n vaultAddress = _vaultAddress;\n }\n\n /**\n * @dev Verifies that the caller is the Vault contract\n */\n modifier onlyVault() {\n require(vaultAddress == msg.sender, \"Caller is not the Vault\");\n _;\n }\n\n /**\n * @return The total supply of OUSD.\n */\n function totalSupply() public view override returns (uint256) {\n return _totalSupply;\n }\n\n /**\n * @return Low resolution rebasingCreditsPerToken\n */\n function rebasingCreditsPerToken() public view returns (uint256) {\n return _rebasingCreditsPerToken / RESOLUTION_INCREASE;\n }\n\n /**\n * @return Low resolution total number of rebasing credits\n */\n function rebasingCredits() public view returns (uint256) {\n return _rebasingCredits / RESOLUTION_INCREASE;\n }\n\n /**\n * @return High resolution rebasingCreditsPerToken\n */\n function rebasingCreditsPerTokenHighres() public view returns (uint256) {\n return _rebasingCreditsPerToken;\n }\n\n /**\n * @return High resolution total number of rebasing credits\n */\n function rebasingCreditsHighres() public view returns (uint256) {\n return _rebasingCredits;\n }\n\n /**\n * @dev Gets the balance of the specified address.\n * @param _account Address to query the balance of.\n * @return A uint256 representing the amount of base units owned by the\n * specified address.\n */\n function balanceOf(address _account)\n public\n view\n override\n returns (uint256)\n {\n if (_creditBalances[_account] == 0) return 0;\n return\n _creditBalances[_account].divPrecisely(_creditsPerToken(_account));\n }\n\n /**\n * @dev Gets the credits balance of the specified address.\n * @dev Backwards compatible with old low res credits per token.\n * @param _account The address to query the balance of.\n * @return (uint256, uint256) Credit balance and credits per token of the\n * address\n */\n function creditsBalanceOf(address _account)\n public\n view\n returns (uint256, uint256)\n {\n uint256 cpt = _creditsPerToken(_account);\n if (cpt == 1e27) {\n // For a period before the resolution upgrade, we created all new\n // contract accounts at high resolution. Since they are not changing\n // as a result of this upgrade, we will return their true values\n return (_creditBalances[_account], cpt);\n } else {\n return (\n _creditBalances[_account] / RESOLUTION_INCREASE,\n cpt / RESOLUTION_INCREASE\n );\n }\n }\n\n /**\n * @dev Gets the credits balance of the specified address.\n * @param _account The address to query the balance of.\n * @return (uint256, uint256, bool) Credit balance, credits per token of the\n * address, and isUpgraded\n */\n function creditsBalanceOfHighres(address _account)\n public\n view\n returns (\n uint256,\n uint256,\n bool\n )\n {\n return (\n _creditBalances[_account],\n _creditsPerToken(_account),\n isUpgraded[_account] == 1\n );\n }\n\n /**\n * @dev Transfer tokens to a specified address.\n * @param _to the address to transfer to.\n * @param _value the amount to be transferred.\n * @return true on success.\n */\n function transfer(address _to, uint256 _value)\n public\n override\n returns (bool)\n {\n require(_to != address(0), \"Transfer to zero address\");\n require(\n _value <= balanceOf(msg.sender),\n \"Transfer greater than balance\"\n );\n\n _executeTransfer(msg.sender, _to, _value);\n\n emit Transfer(msg.sender, _to, _value);\n\n return true;\n }\n\n /**\n * @dev Transfer tokens from one address to another.\n * @param _from The address you want to send tokens from.\n * @param _to The address you want to transfer to.\n * @param _value The amount of tokens to be transferred.\n */\n function transferFrom(\n address _from,\n address _to,\n uint256 _value\n ) public override returns (bool) {\n require(_to != address(0), \"Transfer to zero address\");\n require(_value <= balanceOf(_from), \"Transfer greater than balance\");\n\n _allowances[_from][msg.sender] = _allowances[_from][msg.sender].sub(\n _value\n );\n\n _executeTransfer(_from, _to, _value);\n\n emit Transfer(_from, _to, _value);\n\n return true;\n }\n\n /**\n * @dev Update the count of non rebasing credits in response to a transfer\n * @param _from The address you want to send tokens from.\n * @param _to The address you want to transfer to.\n * @param _value Amount of OUSD to transfer\n */\n function _executeTransfer(\n address _from,\n address _to,\n uint256 _value\n ) internal {\n bool isNonRebasingTo = _isNonRebasingAccount(_to);\n bool isNonRebasingFrom = _isNonRebasingAccount(_from);\n\n // Credits deducted and credited might be different due to the\n // differing creditsPerToken used by each account\n uint256 creditsCredited = _value.mulTruncate(_creditsPerToken(_to));\n uint256 creditsDeducted = _value.mulTruncate(_creditsPerToken(_from));\n\n _creditBalances[_from] = _creditBalances[_from].sub(\n creditsDeducted,\n \"Transfer amount exceeds balance\"\n );\n _creditBalances[_to] = _creditBalances[_to].add(creditsCredited);\n\n if (isNonRebasingTo && !isNonRebasingFrom) {\n // Transfer to non-rebasing account from rebasing account, credits\n // are removed from the non rebasing tally\n nonRebasingSupply = nonRebasingSupply.add(_value);\n // Update rebasingCredits by subtracting the deducted amount\n _rebasingCredits = _rebasingCredits.sub(creditsDeducted);\n } else if (!isNonRebasingTo && isNonRebasingFrom) {\n // Transfer to rebasing account from non-rebasing account\n // Decreasing non-rebasing credits by the amount that was sent\n nonRebasingSupply = nonRebasingSupply.sub(_value);\n // Update rebasingCredits by adding the credited amount\n _rebasingCredits = _rebasingCredits.add(creditsCredited);\n }\n }\n\n /**\n * @dev Function to check the amount of tokens that _owner has allowed to\n * `_spender`.\n * @param _owner The address which owns the funds.\n * @param _spender The address which will spend the funds.\n * @return The number of tokens still available for the _spender.\n */\n function allowance(address _owner, address _spender)\n public\n view\n override\n returns (uint256)\n {\n return _allowances[_owner][_spender];\n }\n\n /**\n * @dev Approve the passed address to spend the specified amount of tokens\n * on behalf of msg.sender. This method is included for ERC20\n * compatibility. `increaseAllowance` and `decreaseAllowance` should be\n * used instead.\n *\n * Changing an allowance with this method brings the risk that someone\n * may transfer both the old and the new allowance - if they are both\n * greater than zero - if a transfer transaction is mined before the\n * later approve() call is mined.\n * @param _spender The address which will spend the funds.\n * @param _value The amount of tokens to be spent.\n */\n function approve(address _spender, uint256 _value)\n public\n override\n returns (bool)\n {\n _allowances[msg.sender][_spender] = _value;\n emit Approval(msg.sender, _spender, _value);\n return true;\n }\n\n /**\n * @dev Increase the amount of tokens that an owner has allowed to\n * `_spender`.\n * This method should be used instead of approve() to avoid the double\n * approval vulnerability described above.\n * @param _spender The address which will spend the funds.\n * @param _addedValue The amount of tokens to increase the allowance by.\n */\n function increaseAllowance(address _spender, uint256 _addedValue)\n public\n returns (bool)\n {\n _allowances[msg.sender][_spender] = _allowances[msg.sender][_spender]\n .add(_addedValue);\n emit Approval(msg.sender, _spender, _allowances[msg.sender][_spender]);\n return true;\n }\n\n /**\n * @dev Decrease the amount of tokens that an owner has allowed to\n `_spender`.\n * @param _spender The address which will spend the funds.\n * @param _subtractedValue The amount of tokens to decrease the allowance\n * by.\n */\n function decreaseAllowance(address _spender, uint256 _subtractedValue)\n public\n returns (bool)\n {\n uint256 oldValue = _allowances[msg.sender][_spender];\n if (_subtractedValue >= oldValue) {\n _allowances[msg.sender][_spender] = 0;\n } else {\n _allowances[msg.sender][_spender] = oldValue.sub(_subtractedValue);\n }\n emit Approval(msg.sender, _spender, _allowances[msg.sender][_spender]);\n return true;\n }\n\n /**\n * @dev Mints new tokens, increasing totalSupply.\n */\n function mint(address _account, uint256 _amount) external onlyVault {\n _mint(_account, _amount);\n }\n\n /**\n * @dev Creates `_amount` tokens and assigns them to `_account`, increasing\n * the total supply.\n *\n * Emits a {Transfer} event with `from` set to the zero address.\n *\n * Requirements\n *\n * - `to` cannot be the zero address.\n */\n function _mint(address _account, uint256 _amount) internal nonReentrant {\n require(_account != address(0), \"Mint to the zero address\");\n\n bool isNonRebasingAccount = _isNonRebasingAccount(_account);\n\n uint256 creditAmount = _amount.mulTruncate(_creditsPerToken(_account));\n _creditBalances[_account] = _creditBalances[_account].add(creditAmount);\n\n // If the account is non rebasing and doesn't have a set creditsPerToken\n // then set it i.e. this is a mint from a fresh contract\n if (isNonRebasingAccount) {\n nonRebasingSupply = nonRebasingSupply.add(_amount);\n } else {\n _rebasingCredits = _rebasingCredits.add(creditAmount);\n }\n\n _totalSupply = _totalSupply.add(_amount);\n\n require(_totalSupply < MAX_SUPPLY, \"Max supply\");\n\n emit Transfer(address(0), _account, _amount);\n }\n\n /**\n * @dev Burns tokens, decreasing totalSupply.\n */\n function burn(address account, uint256 amount) external onlyVault {\n _burn(account, amount);\n }\n\n /**\n * @dev Destroys `_amount` tokens from `_account`, reducing the\n * total supply.\n *\n * Emits a {Transfer} event with `to` set to the zero address.\n *\n * Requirements\n *\n * - `_account` cannot be the zero address.\n * - `_account` must have at least `_amount` tokens.\n */\n function _burn(address _account, uint256 _amount) internal nonReentrant {\n require(_account != address(0), \"Burn from the zero address\");\n if (_amount == 0) {\n return;\n }\n\n bool isNonRebasingAccount = _isNonRebasingAccount(_account);\n uint256 creditAmount = _amount.mulTruncate(_creditsPerToken(_account));\n uint256 currentCredits = _creditBalances[_account];\n\n // Remove the credits, burning rounding errors\n if (\n currentCredits == creditAmount || currentCredits - 1 == creditAmount\n ) {\n // Handle dust from rounding\n _creditBalances[_account] = 0;\n } else if (currentCredits > creditAmount) {\n _creditBalances[_account] = _creditBalances[_account].sub(\n creditAmount\n );\n } else {\n revert(\"Remove exceeds balance\");\n }\n\n // Remove from the credit tallies and non-rebasing supply\n if (isNonRebasingAccount) {\n nonRebasingSupply = nonRebasingSupply.sub(_amount);\n } else {\n _rebasingCredits = _rebasingCredits.sub(creditAmount);\n }\n\n _totalSupply = _totalSupply.sub(_amount);\n\n emit Transfer(_account, address(0), _amount);\n }\n\n /**\n * @dev Get the credits per token for an account. Returns a fixed amount\n * if the account is non-rebasing.\n * @param _account Address of the account.\n */\n function _creditsPerToken(address _account)\n internal\n view\n returns (uint256)\n {\n if (nonRebasingCreditsPerToken[_account] != 0) {\n return nonRebasingCreditsPerToken[_account];\n } else {\n return _rebasingCreditsPerToken;\n }\n }\n\n /**\n * @dev Is an account using rebasing accounting or non-rebasing accounting?\n * Also, ensure contracts are non-rebasing if they have not opted in.\n * @param _account Address of the account.\n */\n function _isNonRebasingAccount(address _account) internal returns (bool) {\n bool isContract = Address.isContract(_account);\n if (isContract && rebaseState[_account] == RebaseOptions.NotSet) {\n _ensureRebasingMigration(_account);\n }\n return nonRebasingCreditsPerToken[_account] > 0;\n }\n\n /**\n * @dev Ensures internal account for rebasing and non-rebasing credits and\n * supply is updated following deployment of frozen yield change.\n */\n function _ensureRebasingMigration(address _account) internal {\n if (nonRebasingCreditsPerToken[_account] == 0) {\n emit AccountRebasingDisabled(_account);\n if (_creditBalances[_account] == 0) {\n // Since there is no existing balance, we can directly set to\n // high resolution, and do not have to do any other bookkeeping\n nonRebasingCreditsPerToken[_account] = 1e27;\n } else {\n // Migrate an existing account:\n\n // Set fixed credits per token for this account\n nonRebasingCreditsPerToken[_account] = _rebasingCreditsPerToken;\n // Update non rebasing supply\n nonRebasingSupply = nonRebasingSupply.add(balanceOf(_account));\n // Update credit tallies\n _rebasingCredits = _rebasingCredits.sub(\n _creditBalances[_account]\n );\n }\n }\n }\n\n /**\n * @notice Enable rebasing for an account.\n * @dev Add a contract address to the non-rebasing exception list. The\n * address's balance will be part of rebases and the account will be exposed\n * to upside and downside.\n * @param _account Address of the account.\n */\n function governanceRebaseOptIn(address _account)\n public\n nonReentrant\n onlyGovernor\n {\n _rebaseOptIn(_account);\n }\n\n /**\n * @dev Add a contract address to the non-rebasing exception list. The\n * address's balance will be part of rebases and the account will be exposed\n * to upside and downside.\n */\n function rebaseOptIn() public nonReentrant {\n _rebaseOptIn(msg.sender);\n }\n\n function _rebaseOptIn(address _account) internal {\n require(_isNonRebasingAccount(_account), \"Account has not opted out\");\n\n // Convert balance into the same amount at the current exchange rate\n uint256 newCreditBalance = _creditBalances[_account]\n .mul(_rebasingCreditsPerToken)\n .div(_creditsPerToken(_account));\n\n // Decreasing non rebasing supply\n nonRebasingSupply = nonRebasingSupply.sub(balanceOf(_account));\n\n _creditBalances[_account] = newCreditBalance;\n\n // Increase rebasing credits, totalSupply remains unchanged so no\n // adjustment necessary\n _rebasingCredits = _rebasingCredits.add(_creditBalances[_account]);\n\n rebaseState[_account] = RebaseOptions.OptIn;\n\n // Delete any fixed credits per token\n delete nonRebasingCreditsPerToken[_account];\n emit AccountRebasingEnabled(_account);\n }\n\n /**\n * @dev Explicitly mark that an address is non-rebasing.\n */\n function rebaseOptOut() public nonReentrant {\n require(!_isNonRebasingAccount(msg.sender), \"Account has not opted in\");\n\n // Increase non rebasing supply\n nonRebasingSupply = nonRebasingSupply.add(balanceOf(msg.sender));\n // Set fixed credits per token\n nonRebasingCreditsPerToken[msg.sender] = _rebasingCreditsPerToken;\n\n // Decrease rebasing credits, total supply remains unchanged so no\n // adjustment necessary\n _rebasingCredits = _rebasingCredits.sub(_creditBalances[msg.sender]);\n\n // Mark explicitly opted out of rebasing\n rebaseState[msg.sender] = RebaseOptions.OptOut;\n emit AccountRebasingDisabled(msg.sender);\n }\n\n /**\n * @dev Modify the supply without minting new tokens. This uses a change in\n * the exchange rate between \"credits\" and OUSD tokens to change balances.\n * @param _newTotalSupply New total supply of OUSD.\n */\n function changeSupply(uint256 _newTotalSupply)\n external\n onlyVault\n nonReentrant\n {\n require(_totalSupply > 0, \"Cannot increase 0 supply\");\n\n if (_totalSupply == _newTotalSupply) {\n emit TotalSupplyUpdatedHighres(\n _totalSupply,\n _rebasingCredits,\n _rebasingCreditsPerToken\n );\n return;\n }\n\n _totalSupply = _newTotalSupply > MAX_SUPPLY\n ? MAX_SUPPLY\n : _newTotalSupply;\n\n _rebasingCreditsPerToken = _rebasingCredits.divPrecisely(\n _totalSupply.sub(nonRebasingSupply)\n );\n\n require(_rebasingCreditsPerToken > 0, \"Invalid change in supply\");\n\n _totalSupply = _rebasingCredits\n .divPrecisely(_rebasingCreditsPerToken)\n .add(nonRebasingSupply);\n\n emit TotalSupplyUpdatedHighres(\n _totalSupply,\n _rebasingCredits,\n _rebasingCreditsPerToken\n );\n }\n}\n" + }, + "contracts/utils/Helpers.sol": { + "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport { IBasicToken } from \"../interfaces/IBasicToken.sol\";\n\nlibrary Helpers {\n /**\n * @notice Fetch the `symbol()` from an ERC20 token\n * @dev Grabs the `symbol()` from a contract\n * @param _token Address of the ERC20 token\n * @return string Symbol of the ERC20 token\n */\n function getSymbol(address _token) internal view returns (string memory) {\n string memory symbol = IBasicToken(_token).symbol();\n return symbol;\n }\n\n /**\n * @notice Fetch the `decimals()` from an ERC20 token\n * @dev Grabs the `decimals()` from a contract and fails if\n * the decimal value does not live within a certain range\n * @param _token Address of the ERC20 token\n * @return uint256 Decimals of the ERC20 token\n */\n function getDecimals(address _token) internal view returns (uint256) {\n uint256 decimals = IBasicToken(_token).decimals();\n require(\n decimals >= 4 && decimals <= 18,\n \"Token must have sufficient decimal places\"\n );\n\n return decimals;\n }\n}\n" + }, + "contracts/utils/Initializable.sol": { + "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/**\n * @title Base contract any contracts that need to initialize state after deployment.\n * @author Origin Protocol Inc\n */\nabstract contract Initializable {\n /**\n * @dev Indicates that the contract has been initialized.\n */\n bool private initialized;\n\n /**\n * @dev Indicates that the contract is in the process of being initialized.\n */\n bool private initializing;\n\n /**\n * @dev Modifier to protect an initializer function from being invoked twice.\n */\n modifier initializer() {\n require(\n initializing || !initialized,\n \"Initializable: contract is already initialized\"\n );\n\n bool isTopLevelCall = !initializing;\n if (isTopLevelCall) {\n initializing = true;\n initialized = true;\n }\n\n _;\n\n if (isTopLevelCall) {\n initializing = false;\n }\n }\n\n uint256[50] private ______gap;\n}\n" + }, + "contracts/utils/InitializableERC20Detailed.sol": { + "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport { IERC20 } from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\n\n/**\n * @dev Optional functions from the ERC20 standard.\n * Converted from openzeppelin/contracts/token/ERC20/ERC20Detailed.sol\n * @author Origin Protocol Inc\n */\nabstract contract InitializableERC20Detailed is IERC20 {\n // Storage gap to skip storage from prior to OUSD reset\n uint256[100] private _____gap;\n\n string private _name;\n string private _symbol;\n uint8 private _decimals;\n\n /**\n * @dev Sets the values for `name`, `symbol`, and `decimals`. All three of\n * these values are immutable: they can only be set once during\n * construction.\n * @notice To avoid variable shadowing appended `Arg` after arguments name.\n */\n function _initialize(\n string memory nameArg,\n string memory symbolArg,\n uint8 decimalsArg\n ) internal {\n _name = nameArg;\n _symbol = symbolArg;\n _decimals = decimalsArg;\n }\n\n /**\n * @notice Returns the name of the token.\n */\n function name() public view returns (string memory) {\n return _name;\n }\n\n /**\n * @notice Returns the symbol of the token, usually a shorter version of the\n * name.\n */\n function symbol() public view returns (string memory) {\n return _symbol;\n }\n\n /**\n * @notice Returns the number of decimals used to get its user representation.\n * For example, if `decimals` equals `2`, a balance of `505` tokens should\n * be displayed to a user as `5,05` (`505 / 10 ** 2`).\n *\n * Tokens usually opt for a value of 18, imitating the relationship between\n * Ether and Wei.\n *\n * NOTE: This information is only used for _display_ purposes: it in\n * no way affects any of the arithmetic of the contract, including\n * {IERC20-balanceOf} and {IERC20-transfer}.\n */\n function decimals() public view returns (uint8) {\n return _decimals;\n }\n}\n" + }, + "contracts/utils/StableMath.sol": { + "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport { SafeMath } from \"@openzeppelin/contracts/utils/math/SafeMath.sol\";\n\n// Based on StableMath from Stability Labs Pty. Ltd.\n// https://github.com/mstable/mStable-contracts/blob/master/contracts/shared/StableMath.sol\n\nlibrary StableMath {\n using SafeMath for uint256;\n\n /**\n * @dev Scaling unit for use in specific calculations,\n * where 1 * 10**18, or 1e18 represents a unit '1'\n */\n uint256 private constant FULL_SCALE = 1e18;\n\n /***************************************\n Helpers\n ****************************************/\n\n /**\n * @dev Adjust the scale of an integer\n * @param to Decimals to scale to\n * @param from Decimals to scale from\n */\n function scaleBy(\n uint256 x,\n uint256 to,\n uint256 from\n ) internal pure returns (uint256) {\n if (to > from) {\n x = x.mul(10**(to - from));\n } else if (to < from) {\n // slither-disable-next-line divide-before-multiply\n x = x.div(10**(from - to));\n }\n return x;\n }\n\n /***************************************\n Precise Arithmetic\n ****************************************/\n\n /**\n * @dev Multiplies two precise units, and then truncates by the full scale\n * @param x Left hand input to multiplication\n * @param y Right hand input to multiplication\n * @return Result after multiplying the two inputs and then dividing by the shared\n * scale unit\n */\n function mulTruncate(uint256 x, uint256 y) internal pure returns (uint256) {\n return mulTruncateScale(x, y, FULL_SCALE);\n }\n\n /**\n * @dev Multiplies two precise units, and then truncates by the given scale. For example,\n * when calculating 90% of 10e18, (10e18 * 9e17) / 1e18 = (9e36) / 1e18 = 9e18\n * @param x Left hand input to multiplication\n * @param y Right hand input to multiplication\n * @param scale Scale unit\n * @return Result after multiplying the two inputs and then dividing by the shared\n * scale unit\n */\n function mulTruncateScale(\n uint256 x,\n uint256 y,\n uint256 scale\n ) internal pure returns (uint256) {\n // e.g. assume scale = fullScale\n // z = 10e18 * 9e17 = 9e36\n uint256 z = x.mul(y);\n // return 9e36 / 1e18 = 9e18\n return z.div(scale);\n }\n\n /**\n * @dev Multiplies two precise units, and then truncates by the full scale, rounding up the result\n * @param x Left hand input to multiplication\n * @param y Right hand input to multiplication\n * @return Result after multiplying the two inputs and then dividing by the shared\n * scale unit, rounded up to the closest base unit.\n */\n function mulTruncateCeil(uint256 x, uint256 y)\n internal\n pure\n returns (uint256)\n {\n // e.g. 8e17 * 17268172638 = 138145381104e17\n uint256 scaled = x.mul(y);\n // e.g. 138145381104e17 + 9.99...e17 = 138145381113.99...e17\n uint256 ceil = scaled.add(FULL_SCALE.sub(1));\n // e.g. 13814538111.399...e18 / 1e18 = 13814538111\n return ceil.div(FULL_SCALE);\n }\n\n /**\n * @dev Precisely divides two units, by first scaling the left hand operand. Useful\n * for finding percentage weightings, i.e. 8e18/10e18 = 80% (or 8e17)\n * @param x Left hand input to division\n * @param y Right hand input to division\n * @return Result after multiplying the left operand by the scale, and\n * executing the division on the right hand input.\n */\n function divPrecisely(uint256 x, uint256 y)\n internal\n pure\n returns (uint256)\n {\n // e.g. 8e18 * 1e18 = 8e36\n uint256 z = x.mul(FULL_SCALE);\n // e.g. 8e36 / 10e18 = 8e17\n return z.div(y);\n }\n}\n" + }, + "contracts/vault/VaultStorage.sol": { + "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\n/**\n * @title OToken VaultStorage contract\n * @notice The VaultStorage contract defines the storage for the Vault contracts\n * @author Origin Protocol Inc\n */\n\nimport { IERC20 } from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport { SafeERC20 } from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport { Address } from \"@openzeppelin/contracts/utils/Address.sol\";\n\nimport { IStrategy } from \"../interfaces/IStrategy.sol\";\nimport { Governable } from \"../governance/Governable.sol\";\nimport { OUSD } from \"../token/OUSD.sol\";\nimport { Initializable } from \"../utils/Initializable.sol\";\nimport \"../utils/Helpers.sol\";\n\ncontract VaultStorage is Initializable, Governable {\n using SafeERC20 for IERC20;\n\n event AssetSupported(address _asset);\n event AssetRemoved(address _asset);\n event AssetDefaultStrategyUpdated(address _asset, address _strategy);\n event AssetAllocated(address _asset, address _strategy, uint256 _amount);\n event StrategyApproved(address _addr);\n event StrategyRemoved(address _addr);\n event Mint(address _addr, uint256 _value);\n event Redeem(address _addr, uint256 _value);\n event CapitalPaused();\n event CapitalUnpaused();\n event RebasePaused();\n event RebaseUnpaused();\n event VaultBufferUpdated(uint256 _vaultBuffer);\n event OusdMetaStrategyUpdated(address _ousdMetaStrategy);\n event RedeemFeeUpdated(uint256 _redeemFeeBps);\n event PriceProviderUpdated(address _priceProvider);\n event AllocateThresholdUpdated(uint256 _threshold);\n event RebaseThresholdUpdated(uint256 _threshold);\n event StrategistUpdated(address _address);\n event MaxSupplyDiffChanged(uint256 maxSupplyDiff);\n event YieldDistribution(address _to, uint256 _yield, uint256 _fee);\n event TrusteeFeeBpsChanged(uint256 _basis);\n event TrusteeAddressChanged(address _address);\n event NetOusdMintForStrategyThresholdChanged(uint256 _threshold);\n event SwapperChanged(address _address);\n event SwapAllowedUndervalueChanged(uint256 _basis);\n event SwapSlippageChanged(address _asset, uint256 _basis);\n event Swapped(\n address indexed _fromAsset,\n address indexed _toAsset,\n uint256 _fromAssetAmount,\n uint256 _toAssetAmount\n );\n event StrategyAddedToMintWhitelist(address indexed strategy);\n event StrategyRemovedFromMintWhitelist(address indexed strategy);\n event DripperChanged(address indexed _dripper);\n event WithdrawalRequested(\n address indexed _withdrawer,\n uint256 indexed _requestId,\n uint256 _amount,\n uint256 _queued\n );\n event WithdrawalClaimed(\n address indexed _withdrawer,\n uint256 indexed _requestId,\n uint256 _amount\n );\n event WithdrawalClaimable(uint256 _claimable, uint256 _newClaimable);\n\n // Assets supported by the Vault, i.e. Stablecoins\n enum UnitConversion {\n DECIMALS,\n GETEXCHANGERATE\n }\n // Changed to fit into a single storage slot so the decimals needs to be recached\n struct Asset {\n // Note: OETHVaultCore doesn't use `isSupported` when minting,\n // redeeming or checking balance of assets.\n bool isSupported;\n UnitConversion unitConversion;\n uint8 decimals;\n // Max allowed slippage from the Oracle price when swapping collateral assets in basis points.\n // For example 40 == 0.4% slippage\n uint16 allowedOracleSlippageBps;\n }\n\n /// @dev mapping of supported vault assets to their configuration\n // slither-disable-next-line uninitialized-state\n mapping(address => Asset) internal assets;\n /// @dev list of all assets supported by the vault.\n // slither-disable-next-line uninitialized-state\n address[] internal allAssets;\n\n // Strategies approved for use by the Vault\n struct Strategy {\n bool isSupported;\n uint256 _deprecated; // Deprecated storage slot\n }\n /// @dev mapping of strategy contracts to their configuration\n // slither-disable-next-line uninitialized-state\n mapping(address => Strategy) internal strategies;\n /// @dev list of all vault strategies\n address[] internal allStrategies;\n\n /// @notice Address of the Oracle price provider contract\n // slither-disable-next-line uninitialized-state\n address public priceProvider;\n /// @notice pause rebasing if true\n bool public rebasePaused = false;\n /// @notice pause operations that change the OToken supply.\n /// eg mint, redeem, allocate, mint/burn for strategy\n bool public capitalPaused = true;\n /// @notice Redemption fee in basis points. eg 50 = 0.5%\n uint256 public redeemFeeBps;\n /// @notice Percentage of assets to keep in Vault to handle (most) withdrawals. 100% = 1e18.\n uint256 public vaultBuffer;\n /// @notice OToken mints over this amount automatically allocate funds. 18 decimals.\n uint256 public autoAllocateThreshold;\n /// @notice OToken mints over this amount automatically rebase. 18 decimals.\n uint256 public rebaseThreshold;\n\n /// @dev Address of the OToken token. eg OUSD or OETH.\n // slither-disable-next-line uninitialized-state\n OUSD internal oUSD;\n\n //keccak256(\"OUSD.vault.governor.admin.impl\");\n bytes32 constant adminImplPosition =\n 0xa2bd3d3cf188a41358c8b401076eb59066b09dec5775650c0de4c55187d17bd9;\n\n // Address of the contract responsible for post rebase syncs with AMMs\n address private _deprecated_rebaseHooksAddr = address(0);\n\n // Deprecated: Address of Uniswap\n // slither-disable-next-line constable-states\n address private _deprecated_uniswapAddr = address(0);\n\n /// @notice Address of the Strategist\n address public strategistAddr = address(0);\n\n /// @notice Mapping of asset address to the Strategy that they should automatically\n // be allocated to\n // slither-disable-next-line uninitialized-state\n mapping(address => address) public assetDefaultStrategies;\n\n /// @notice Max difference between total supply and total value of assets. 18 decimals.\n // slither-disable-next-line uninitialized-state\n uint256 public maxSupplyDiff;\n\n /// @notice Trustee contract that can collect a percentage of yield\n address public trusteeAddress;\n\n /// @notice Amount of yield collected in basis points. eg 2000 = 20%\n uint256 public trusteeFeeBps;\n\n /// @dev Deprecated: Tokens that should be swapped for stablecoins\n address[] private _deprecated_swapTokens;\n\n uint256 constant MINT_MINIMUM_UNIT_PRICE = 0.998e18;\n\n /// @notice Metapool strategy that is allowed to mint/burn OTokens without changing collateral\n\n // slither-disable-start constable-states\n // slither-disable-next-line uninitialized-state\n address public ousdMetaStrategy;\n\n /// @notice How much OTokens are currently minted by the strategy\n // slither-disable-next-line uninitialized-state\n int256 public netOusdMintedForStrategy;\n\n /// @notice How much net total OTokens are allowed to be minted by all strategies\n // slither-disable-next-line uninitialized-state\n uint256 public netOusdMintForStrategyThreshold;\n\n // slither-disable-end constable-states\n\n uint256 constant MIN_UNIT_PRICE_DRIFT = 0.7e18;\n uint256 constant MAX_UNIT_PRICE_DRIFT = 1.3e18;\n\n /// @notice Collateral swap configuration.\n /// @dev is packed into a single storage slot to save gas.\n struct SwapConfig {\n // Contract that swaps the vault's collateral assets\n address swapper;\n // Max allowed percentage the total value can drop below the total supply in basis points.\n // For example 100 == 1%\n uint16 allowedUndervalueBps;\n }\n SwapConfig internal swapConfig = SwapConfig(address(0), 0);\n\n // List of strategies that can mint oTokens directly\n // Used in OETHBaseVaultCore\n // slither-disable-next-line uninitialized-state\n mapping(address => bool) public isMintWhitelistedStrategy;\n\n /// @notice Address of the Dripper contract that streams harvested rewards to the Vault\n /// @dev The vault is proxied so needs to be set with setDripper against the proxy contract.\n // slither-disable-start constable-states\n // slither-disable-next-line uninitialized-state\n address public dripper;\n // slither-disable-end constable-states\n\n /// Withdrawal Queue Storage /////\n\n struct WithdrawalQueueMetadata {\n // cumulative total of all withdrawal requests included the ones that have already been claimed\n uint128 queued;\n // cumulative total of all the requests that can be claimed including the ones that have already been claimed\n uint128 claimable;\n // total of all the requests that have been claimed\n uint128 claimed;\n // index of the next withdrawal request starting at 0\n uint128 nextWithdrawalIndex;\n }\n\n /// @notice Global metadata for the withdrawal queue including:\n /// queued - cumulative total of all withdrawal requests included the ones that have already been claimed\n /// claimable - cumulative total of all the requests that can be claimed including the ones already claimed\n /// claimed - total of all the requests that have been claimed\n /// nextWithdrawalIndex - index of the next withdrawal request starting at 0\n // slither-disable-next-line uninitialized-state\n WithdrawalQueueMetadata public withdrawalQueueMetadata;\n\n struct WithdrawalRequest {\n address withdrawer;\n bool claimed;\n uint40 timestamp; // timestamp of the withdrawal request\n // Amount of oTokens to redeem. eg OETH\n uint128 amount;\n // cumulative total of all withdrawal requests including this one.\n // this request can be claimed when this queued amount is less than or equal to the queue's claimable amount.\n uint128 queued;\n }\n\n /// @notice Mapping of withdrawal request indices to the user withdrawal request data\n mapping(uint256 => WithdrawalRequest) public withdrawalRequests;\n\n // For future use\n uint256[45] private __gap;\n\n /**\n * @notice set the implementation for the admin, this needs to be in a base class else we cannot set it\n * @param newImpl address of the implementation\n */\n function setAdminImpl(address newImpl) external onlyGovernor {\n require(\n Address.isContract(newImpl),\n \"new implementation is not a contract\"\n );\n bytes32 position = adminImplPosition;\n // solhint-disable-next-line no-inline-assembly\n assembly {\n sstore(position, newImpl)\n }\n }\n}\n" + } + }, + "settings": { + "optimizer": { + "enabled": true, + "runs": 200 + }, + "outputSelection": { + "*": { + "*": [ + "abi", + "evm.bytecode", + "evm.deployedBytecode", + "evm.methodIdentifiers", + "metadata", + "devdoc", + "userdoc", + "storageLayout", + "evm.gasEstimates" + ], + "": [ + "ast" + ] + } + }, + "metadata": { + "useLiteralContent": true + } + } +} \ No newline at end of file diff --git a/contracts/slither.db.json b/contracts/slither.db.json index 4e7889e0a7..1b7a877615 100644 --- a/contracts/slither.db.json +++ b/contracts/slither.db.json @@ -1 +1 @@ -[{"elements": [{"type": "node", "name": "i < assetsMapped.length", "source_mapping": {"start": 2603, "length": 23, "filename_relative": "contracts/strategies/BaseCurveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/BaseCurveStrategy.sol", "filename_short": "contracts/strategies/BaseCurveStrategy.sol", "is_dependency": false, "lines": [71], "starting_column": 29, "ending_column": 52}, "type_specific_fields": {"parent": {"type": "function", "name": "depositAll", "source_mapping": {"start": 2273, "length": 1730, "filename_relative": "contracts/strategies/BaseCurveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/BaseCurveStrategy.sol", "filename_short": "contracts/strategies/BaseCurveStrategy.sol", "is_dependency": false, "lines": [65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseCurveStrategy", "source_mapping": {"start": 536, "length": 11069, "filename_relative": "contracts/strategies/BaseCurveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/BaseCurveStrategy.sol", "filename_short": "contracts/strategies/BaseCurveStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307], "starting_column": 1, "ending_column": 2}}, "signature": "depositAll()"}}}}], "description": "Loop condition i < assetsMapped.length (contracts/strategies/BaseCurveStrategy.sol#71) should use cached array length instead of referencing `length` member of the storage array.\n ", "markdown": "Loop condition [i < assetsMapped.length](contracts/strategies/BaseCurveStrategy.sol#L71) should use cached array length instead of referencing `length` member of the storage array.\n ", "first_markdown_element": "contracts/strategies/BaseCurveStrategy.sol#L71", "id": "00eb856d9eb41c76fa3893d6391c142ff67834587a7816db3ccfea5f906c7beb", "check": "cache-array-length", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "node", "name": "i < assetsMapped.length", "source_mapping": {"start": 3988, "length": 23, "filename_relative": "contracts/strategies/MorphoCompoundStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoCompoundStrategy.sol", "filename_short": "contracts/strategies/MorphoCompoundStrategy.sol", "is_dependency": false, "lines": [108], "starting_column": 29, "ending_column": 52}, "type_specific_fields": {"parent": {"type": "function", "name": "collectRewardTokens", "source_mapping": {"start": 2790, "length": 1954, "filename_relative": "contracts/strategies/MorphoCompoundStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoCompoundStrategy.sol", "filename_short": "contracts/strategies/MorphoCompoundStrategy.sol", "is_dependency": false, "lines": [82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "MorphoCompoundStrategy", "source_mapping": {"start": 608, "length": 7945, "filename_relative": "contracts/strategies/MorphoCompoundStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoCompoundStrategy.sol", "filename_short": "contracts/strategies/MorphoCompoundStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251], "starting_column": 1, "ending_column": 2}}, "signature": "collectRewardTokens()"}}}}], "description": "Loop condition i < assetsMapped.length (contracts/strategies/MorphoCompoundStrategy.sol#108) should use cached array length instead of referencing `length` member of the storage array.\n ", "markdown": "Loop condition [i < assetsMapped.length](contracts/strategies/MorphoCompoundStrategy.sol#L108) should use cached array length instead of referencing `length` member of the storage array.\n ", "first_markdown_element": "contracts/strategies/MorphoCompoundStrategy.sol#L108", "id": "0f668f7a9fbd8dd8cf5f256a648a89ede585af5a1bfb2890671cb61edeaee985", "check": "cache-array-length", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "node", "name": "i < assetsMapped.length", "source_mapping": {"start": 5019, "length": 23, "filename_relative": "contracts/strategies/MorphoCompoundStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoCompoundStrategy.sol", "filename_short": "contracts/strategies/MorphoCompoundStrategy.sol", "is_dependency": false, "lines": [134], "starting_column": 29, "ending_column": 52}, "type_specific_fields": {"parent": {"type": "function", "name": "getPendingRewards", "source_mapping": {"start": 4846, "length": 360, "filename_relative": "contracts/strategies/MorphoCompoundStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoCompoundStrategy.sol", "filename_short": "contracts/strategies/MorphoCompoundStrategy.sol", "is_dependency": false, "lines": [132, 133, 134, 135, 136, 137, 138, 139], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "MorphoCompoundStrategy", "source_mapping": {"start": 608, "length": 7945, "filename_relative": "contracts/strategies/MorphoCompoundStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoCompoundStrategy.sol", "filename_short": "contracts/strategies/MorphoCompoundStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251], "starting_column": 1, "ending_column": 2}}, "signature": "getPendingRewards()"}}}}], "description": "Loop condition i < assetsMapped.length (contracts/strategies/MorphoCompoundStrategy.sol#134) should use cached array length instead of referencing `length` member of the storage array.\n ", "markdown": "Loop condition [i < assetsMapped.length](contracts/strategies/MorphoCompoundStrategy.sol#L134) should use cached array length instead of referencing `length` member of the storage array.\n ", "first_markdown_element": "contracts/strategies/MorphoCompoundStrategy.sol#L134", "id": "125f9e1a415eb9e7fbdcb8c4e5b48f67d49102127bfb2dd609ed19d450e0621a", "check": "cache-array-length", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "node", "name": "i < durations.length", "source_mapping": {"start": 4163, "length": 20, "filename_relative": "contracts/staking/SingleAssetStaking.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/staking/SingleAssetStaking.sol", "filename_short": "contracts/staking/SingleAssetStaking.sol", "is_dependency": false, "lines": [136], "starting_column": 29, "ending_column": 49}, "type_specific_fields": {"parent": {"type": "function", "name": "_findDurationRate", "source_mapping": {"start": 4028, "length": 297, "filename_relative": "contracts/staking/SingleAssetStaking.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/staking/SingleAssetStaking.sol", "filename_short": "contracts/staking/SingleAssetStaking.sol", "is_dependency": false, "lines": [131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "SingleAssetStaking", "source_mapping": {"start": 466, "length": 18304, "filename_relative": "contracts/staking/SingleAssetStaking.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/staking/SingleAssetStaking.sol", "filename_short": "contracts/staking/SingleAssetStaking.sol", "is_dependency": false, "lines": [12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562], "starting_column": 1, "ending_column": 2}}, "signature": "_findDurationRate(uint256)"}}}}], "description": "Loop condition i < durations.length (contracts/staking/SingleAssetStaking.sol#136) should use cached array length instead of referencing `length` member of the storage array.\n ", "markdown": "Loop condition [i < durations.length](contracts/staking/SingleAssetStaking.sol#L136) should use cached array length instead of referencing `length` member of the storage array.\n ", "first_markdown_element": "contracts/staking/SingleAssetStaking.sol#L136", "id": "a5e81880592f41137e823b4f15ded88227b6508181f8767dee55d587fde3d611", "check": "cache-array-length", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "node", "name": "i < assetsMapped.length", "source_mapping": {"start": 9693, "length": 23, "filename_relative": "contracts/strategies/AaveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/AaveStrategy.sol", "filename_short": "contracts/strategies/AaveStrategy.sol", "is_dependency": false, "lines": [278], "starting_column": 33, "ending_column": 56}, "type_specific_fields": {"parent": {"type": "function", "name": "collectRewardTokens", "source_mapping": {"start": 8178, "length": 2692, "filename_relative": "contracts/strategies/AaveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/AaveStrategy.sol", "filename_short": "contracts/strategies/AaveStrategy.sol", "is_dependency": false, "lines": [239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "AaveStrategy", "source_mapping": {"start": 536, "length": 10336, "filename_relative": "contracts/strategies/AaveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/AaveStrategy.sol", "filename_short": "contracts/strategies/AaveStrategy.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308], "starting_column": 1, "ending_column": 2}}, "signature": "collectRewardTokens()"}}}}], "description": "Loop condition i < assetsMapped.length (contracts/strategies/AaveStrategy.sol#278) should use cached array length instead of referencing `length` member of the storage array.\n ", "markdown": "Loop condition [i < assetsMapped.length](contracts/strategies/AaveStrategy.sol#L278) should use cached array length instead of referencing `length` member of the storage array.\n ", "first_markdown_element": "contracts/strategies/AaveStrategy.sol#L278", "id": "e931b38970ae25097f584f7e7dd3e72186cff433764ed75bc1d83a29de89d4d1", "check": "cache-array-length", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3522, "length": 320, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [104, 105, 106, 107, 108, 109, 110, 111, 112, 113], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBuyback", "source_mapping": {"start": 546, "length": 7983, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}, {"type": "node", "name": "IERC20(oToken).approve(universalRouter,0)", "source_mapping": {"start": 3693, "length": 42, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [107], "starting_column": 13, "ending_column": 55}, "type_specific_fields": {"parent": {"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3522, "length": 320, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [104, 105, 106, 107, 108, 109, 110, 111, 112, 113], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBuyback", "source_mapping": {"start": 546, "length": 7983, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}}, "additional_fields": {"underlying_type": "external_calls"}}, {"type": "node", "name": "universalRouter = _router", "source_mapping": {"start": 3756, "length": 25, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [110], "starting_column": 9, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3522, "length": 320, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [104, 105, 106, 107, 108, 109, 110, 111, 112, 113], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBuyback", "source_mapping": {"start": 546, "length": 7983, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}}, "additional_fields": {"underlying_type": "variables_written", "variable_name": "universalRouter"}}], "description": "Reentrancy in BaseBuyback._setUniswapUniversalRouter(address) (contracts/buyback/BaseBuyback.sol#104-113):\n\tExternal calls:\n\t- IERC20(oToken).approve(universalRouter,0) (contracts/buyback/BaseBuyback.sol#107)\n\tState variables written after the call(s):\n\t- universalRouter = _router (contracts/buyback/BaseBuyback.sol#110)\n\tBaseBuyback.universalRouter (contracts/buyback/BaseBuyback.sol#30) can be used in cross function reentrancies:\n\t- BaseBuyback._setUniswapUniversalRouter(address) (contracts/buyback/BaseBuyback.sol#104-113)\n\t- BaseBuyback.universalRouter (contracts/buyback/BaseBuyback.sol#30)\n", "markdown": "Reentrancy in [BaseBuyback._setUniswapUniversalRouter(address)](contracts/buyback/BaseBuyback.sol#L104-L113):\n\tExternal calls:\n\t- [IERC20(oToken).approve(universalRouter,0)](contracts/buyback/BaseBuyback.sol#L107)\n\tState variables written after the call(s):\n\t- [universalRouter = _router](contracts/buyback/BaseBuyback.sol#L110)\n\t[BaseBuyback.universalRouter](contracts/buyback/BaseBuyback.sol#L30) can be used in cross function reentrancies:\n\t- [BaseBuyback._setUniswapUniversalRouter(address)](contracts/buyback/BaseBuyback.sol#L104-L113)\n\t- [BaseBuyback.universalRouter](contracts/buyback/BaseBuyback.sol#L30)\n", "first_markdown_element": "contracts/buyback/BaseBuyback.sol#L104-L113", "id": "bccc9acb8443b22ca1e841ba889cf8442ee7ce0439cfee68a23217bad2ff1e26", "check": "reentrancy-no-eth", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3522, "length": 320, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [104, 105, 106, 107, 108, 109, 110, 111, 112, 113], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBuyback", "source_mapping": {"start": 546, "length": 7983, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}, {"type": "node", "name": "IERC20(oToken).approve(universalRouter,0)", "source_mapping": {"start": 3693, "length": 42, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [107], "starting_column": 13, "ending_column": 55}, "type_specific_fields": {"parent": {"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3522, "length": 320, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [104, 105, 106, 107, 108, 109, 110, 111, 112, 113], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBuyback", "source_mapping": {"start": 546, "length": 7983, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}}}], "description": "BaseBuyback._setUniswapUniversalRouter(address) (contracts/buyback/BaseBuyback.sol#104-113) ignores return value by IERC20(oToken).approve(universalRouter,0) (contracts/buyback/BaseBuyback.sol#107)\n", "markdown": "[BaseBuyback._setUniswapUniversalRouter(address)](contracts/buyback/BaseBuyback.sol#L104-L113) ignores return value by [IERC20(oToken).approve(universalRouter,0)](contracts/buyback/BaseBuyback.sol#L107)\n", "first_markdown_element": "contracts/buyback/BaseBuyback.sol#L104-L113", "id": "0e6b4f58400d0468104b070528bea337ad354c8f15ffe9d80e1e192744d443fa", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3480, "length": 320, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [103, 104, 105, 106, 107, 108, 109, 110, 111, 112], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBuyback", "source_mapping": {"start": 546, "length": 7941, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}, {"type": "node", "name": "IERC20(oToken).approve(universalRouter,0)", "source_mapping": {"start": 3651, "length": 42, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [106], "starting_column": 13, "ending_column": 55}, "type_specific_fields": {"parent": {"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3480, "length": 320, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [103, 104, 105, 106, 107, 108, 109, 110, 111, 112], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBuyback", "source_mapping": {"start": 546, "length": 7941, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}}, "additional_fields": {"underlying_type": "external_calls"}}, {"type": "node", "name": "universalRouter = _router", "source_mapping": {"start": 3714, "length": 25, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [109], "starting_column": 9, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3480, "length": 320, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [103, 104, 105, 106, 107, 108, 109, 110, 111, 112], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBuyback", "source_mapping": {"start": 546, "length": 7941, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}}, "additional_fields": {"underlying_type": "variables_written", "variable_name": "universalRouter"}}], "description": "Reentrancy in BaseBuyback._setUniswapUniversalRouter(address) (contracts/buyback/BaseBuyback.sol#103-112):\n\tExternal calls:\n\t- IERC20(oToken).approve(universalRouter,0) (contracts/buyback/BaseBuyback.sol#106)\n\tState variables written after the call(s):\n\t- universalRouter = _router (contracts/buyback/BaseBuyback.sol#109)\n\tBaseBuyback.universalRouter (contracts/buyback/BaseBuyback.sol#30) can be used in cross function reentrancies:\n\t- BaseBuyback._setUniswapUniversalRouter(address) (contracts/buyback/BaseBuyback.sol#103-112)\n\t- BaseBuyback.universalRouter (contracts/buyback/BaseBuyback.sol#30)\n", "markdown": "Reentrancy in [BaseBuyback._setUniswapUniversalRouter(address)](contracts/buyback/BaseBuyback.sol#L103-L112):\n\tExternal calls:\n\t- [IERC20(oToken).approve(universalRouter,0)](contracts/buyback/BaseBuyback.sol#L106)\n\tState variables written after the call(s):\n\t- [universalRouter = _router](contracts/buyback/BaseBuyback.sol#L109)\n\t[BaseBuyback.universalRouter](contracts/buyback/BaseBuyback.sol#L30) can be used in cross function reentrancies:\n\t- [BaseBuyback._setUniswapUniversalRouter(address)](contracts/buyback/BaseBuyback.sol#L103-L112)\n\t- [BaseBuyback.universalRouter](contracts/buyback/BaseBuyback.sol#L30)\n", "first_markdown_element": "contracts/buyback/BaseBuyback.sol#L103-L112", "id": "4e2c66a5727d9f9cf6215dd14b959bcd5593727f47bde61f3fe06848cac85c35", "check": "reentrancy-no-eth", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3480, "length": 320, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [103, 104, 105, 106, 107, 108, 109, 110, 111, 112], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBuyback", "source_mapping": {"start": 546, "length": 7941, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}, {"type": "node", "name": "IERC20(oToken).approve(universalRouter,0)", "source_mapping": {"start": 3651, "length": 42, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [106], "starting_column": 13, "ending_column": 55}, "type_specific_fields": {"parent": {"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3480, "length": 320, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [103, 104, 105, 106, 107, 108, 109, 110, 111, 112], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBuyback", "source_mapping": {"start": 546, "length": 7941, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}}}], "description": "BaseBuyback._setUniswapUniversalRouter(address) (contracts/buyback/BaseBuyback.sol#103-112) ignores return value by IERC20(oToken).approve(universalRouter,0) (contracts/buyback/BaseBuyback.sol#106)\n", "markdown": "[BaseBuyback._setUniswapUniversalRouter(address)](contracts/buyback/BaseBuyback.sol#L103-L112) ignores return value by [IERC20(oToken).approve(universalRouter,0)](contracts/buyback/BaseBuyback.sol#L106)\n", "first_markdown_element": "contracts/buyback/BaseBuyback.sol#L103-L112", "id": "7a20874f6f861f199337da5b19ec4694217da101724d2cd37244d03f288e947f", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3767, "length": 372, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Buyback", "source_mapping": {"start": 546, "length": 11684, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}, {"type": "node", "name": "IERC20(ousd).approve(universalRouter,0)", "source_mapping": {"start": 3938, "length": 40, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [120], "starting_column": 13, "ending_column": 53}, "type_specific_fields": {"parent": {"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3767, "length": 372, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Buyback", "source_mapping": {"start": 546, "length": 11684, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}}, "additional_fields": {"underlying_type": "external_calls"}}, {"type": "node", "name": "IERC20(oeth).approve(universalRouter,0)", "source_mapping": {"start": 3992, "length": 40, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [121], "starting_column": 13, "ending_column": 53}, "type_specific_fields": {"parent": {"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3767, "length": 372, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Buyback", "source_mapping": {"start": 546, "length": 11684, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}}, "additional_fields": {"underlying_type": "external_calls"}}, {"type": "node", "name": "universalRouter = _router", "source_mapping": {"start": 4053, "length": 25, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [124], "starting_column": 9, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3767, "length": 372, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Buyback", "source_mapping": {"start": 546, "length": 11684, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}}, "additional_fields": {"underlying_type": "variables_written", "variable_name": "universalRouter"}}], "description": "Reentrancy in Buyback._setUniswapUniversalRouter(address) (contracts/buyback/Buyback.sol#117-127):\n\tExternal calls:\n\t- IERC20(ousd).approve(universalRouter,0) (contracts/buyback/Buyback.sol#120)\n\t- IERC20(oeth).approve(universalRouter,0) (contracts/buyback/Buyback.sol#121)\n\tState variables written after the call(s):\n\t- universalRouter = _router (contracts/buyback/Buyback.sol#124)\n\tBuyback.universalRouter (contracts/buyback/Buyback.sol#37) can be used in cross function reentrancies:\n\t- Buyback._setUniswapUniversalRouter(address) (contracts/buyback/Buyback.sol#117-127)\n\t- Buyback.universalRouter (contracts/buyback/Buyback.sol#37)\n", "markdown": "Reentrancy in [Buyback._setUniswapUniversalRouter(address)](contracts/buyback/Buyback.sol#L117-L127):\n\tExternal calls:\n\t- [IERC20(ousd).approve(universalRouter,0)](contracts/buyback/Buyback.sol#L120)\n\t- [IERC20(oeth).approve(universalRouter,0)](contracts/buyback/Buyback.sol#L121)\n\tState variables written after the call(s):\n\t- [universalRouter = _router](contracts/buyback/Buyback.sol#L124)\n\t[Buyback.universalRouter](contracts/buyback/Buyback.sol#L37) can be used in cross function reentrancies:\n\t- [Buyback._setUniswapUniversalRouter(address)](contracts/buyback/Buyback.sol#L117-L127)\n\t- [Buyback.universalRouter](contracts/buyback/Buyback.sol#L37)\n", "first_markdown_element": "contracts/buyback/Buyback.sol#L117-L127", "id": "b932a6b36d3ab0a8e79857c0b0c725c46b791263a4f87c7e06f1c76c3179f6f6", "check": "reentrancy-no-eth", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3767, "length": 372, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Buyback", "source_mapping": {"start": 546, "length": 11684, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}, {"type": "node", "name": "IERC20(ousd).approve(universalRouter,0)", "source_mapping": {"start": 3938, "length": 40, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [120], "starting_column": 13, "ending_column": 53}, "type_specific_fields": {"parent": {"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3767, "length": 372, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Buyback", "source_mapping": {"start": 546, "length": 11684, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}}}], "description": "Buyback._setUniswapUniversalRouter(address) (contracts/buyback/Buyback.sol#117-127) ignores return value by IERC20(ousd).approve(universalRouter,0) (contracts/buyback/Buyback.sol#120)\n", "markdown": "[Buyback._setUniswapUniversalRouter(address)](contracts/buyback/Buyback.sol#L117-L127) ignores return value by [IERC20(ousd).approve(universalRouter,0)](contracts/buyback/Buyback.sol#L120)\n", "first_markdown_element": "contracts/buyback/Buyback.sol#L117-L127", "id": "7daab5d45656d0cecde144179adfd717608cba4dd9fb6b953f5f14d96c146dd1", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3767, "length": 372, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Buyback", "source_mapping": {"start": 546, "length": 11684, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}, {"type": "node", "name": "IERC20(oeth).approve(universalRouter,0)", "source_mapping": {"start": 3992, "length": 40, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [121], "starting_column": 13, "ending_column": 53}, "type_specific_fields": {"parent": {"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3767, "length": 372, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Buyback", "source_mapping": {"start": 546, "length": 11684, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}}}], "description": "Buyback._setUniswapUniversalRouter(address) (contracts/buyback/Buyback.sol#117-127) ignores return value by IERC20(oeth).approve(universalRouter,0) (contracts/buyback/Buyback.sol#121)\n", "markdown": "[Buyback._setUniswapUniversalRouter(address)](contracts/buyback/Buyback.sol#L117-L127) ignores return value by [IERC20(oeth).approve(universalRouter,0)](contracts/buyback/Buyback.sol#L121)\n", "first_markdown_element": "contracts/buyback/Buyback.sol#L117-L127", "id": "f93fa4e05fd64289e99e04fe22132cd474fc8db7419d99a3e6a1adfa993b2193", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_deposit", "source_mapping": {"start": 6928, "length": 2553, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}, "signature": "_deposit(address,uint256)"}}, {"type": "node", "name": "lpDeposited = curvePool.add_liquidity{value: _wethAmount}(_amounts,minMintAmount)", "source_mapping": {"start": 9006, "length": 126, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [227, 228, 229, 230], "starting_column": 9, "ending_column": 10}, "type_specific_fields": {"parent": {"type": "function", "name": "_deposit", "source_mapping": {"start": 6928, "length": 2553, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}, "signature": "_deposit(address,uint256)"}}}}], "description": "ConvexEthMetaStrategy._deposit(address,uint256) (contracts/strategies/ConvexEthMetaStrategy.sol#178-241) sends eth to arbitrary user\n\tDangerous calls:\n\t- lpDeposited = curvePool.add_liquidity{value: _wethAmount}(_amounts,minMintAmount) (contracts/strategies/ConvexEthMetaStrategy.sol#227-230)\n", "markdown": "[ConvexEthMetaStrategy._deposit(address,uint256)](contracts/strategies/ConvexEthMetaStrategy.sol#L178-L241) sends eth to arbitrary user\n\tDangerous calls:\n\t- [lpDeposited = curvePool.add_liquidity{value: _wethAmount}(_amounts,minMintAmount)](contracts/strategies/ConvexEthMetaStrategy.sol#L227-L230)\n", "first_markdown_element": "contracts/strategies/ConvexEthMetaStrategy.sol#L178-L241", "id": "75ef502a2f513f385a2c424812fba1371a2945d29db42fd46795b68a3fb7ec9d", "check": "arbitrary-send-eth", "impact": "High", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "price", "source_mapping": {"start": 1593, "length": 894, "filename_relative": "contracts/oracle/OracleRouter.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/oracle/OracleRouter.sol", "filename_short": "contracts/oracle/OracleRouter.sol", "is_dependency": false, "lines": [41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OracleRouterBase", "source_mapping": {"start": 429, "length": 3340, "filename_relative": "contracts/oracle/OracleRouter.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/oracle/OracleRouter.sol", "filename_short": "contracts/oracle/OracleRouter.sol", "is_dependency": false, "lines": [11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100], "starting_column": 1, "ending_column": 2}}, "signature": "price(address)"}}, {"type": "node", "name": "(_iprice,updatedAt) = AggregatorV3Interface(_feed).latestRoundData()", "source_mapping": {"start": 1931, "length": 103, "filename_relative": "contracts/oracle/OracleRouter.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/oracle/OracleRouter.sol", "filename_short": "contracts/oracle/OracleRouter.sol", "is_dependency": false, "lines": [52, 53], "starting_column": 9, "ending_column": 31}, "type_specific_fields": {"parent": {"type": "function", "name": "price", "source_mapping": {"start": 1593, "length": 894, "filename_relative": "contracts/oracle/OracleRouter.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/oracle/OracleRouter.sol", "filename_short": "contracts/oracle/OracleRouter.sol", "is_dependency": false, "lines": [41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OracleRouterBase", "source_mapping": {"start": 429, "length": 3340, "filename_relative": "contracts/oracle/OracleRouter.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/oracle/OracleRouter.sol", "filename_short": "contracts/oracle/OracleRouter.sol", "is_dependency": false, "lines": [11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100], "starting_column": 1, "ending_column": 2}}, "signature": "price(address)"}}}}], "description": "OracleRouterBase.price(address) (contracts/oracle/OracleRouter.sol#41-68) ignores return value by (_iprice,updatedAt) = AggregatorV3Interface(_feed).latestRoundData() (contracts/oracle/OracleRouter.sol#52-53)\n", "markdown": "[OracleRouterBase.price(address)](contracts/oracle/OracleRouter.sol#L41-L68) ignores return value by [(_iprice,updatedAt) = AggregatorV3Interface(_feed).latestRoundData()](contracts/oracle/OracleRouter.sol#L52-L53)\n", "first_markdown_element": "contracts/oracle/OracleRouter.sol#L41-L68", "id": "6209af3b6f21e22017468756cdffc0905ff6a469cffe32a283d178692f200e96", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "price", "source_mapping": {"start": 7130, "length": 700, "filename_relative": "contracts/oracle/OracleRouter.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/oracle/OracleRouter.sol", "filename_short": "contracts/oracle/OracleRouter.sol", "is_dependency": false, "lines": [172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHOracleRouter", "source_mapping": {"start": 6730, "length": 3600, "filename_relative": "contracts/oracle/OracleRouter.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/oracle/OracleRouter.sol", "filename_short": "contracts/oracle/OracleRouter.sol", "is_dependency": false, "lines": [162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249], "starting_column": 1, "ending_column": 2}}, "signature": "price(address)"}}, {"type": "node", "name": "(_iprice,updatedAt) = AggregatorV3Interface(_feed).latestRoundData()", "source_mapping": {"start": 7465, "length": 103, "filename_relative": "contracts/oracle/OracleRouter.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/oracle/OracleRouter.sol", "filename_short": "contracts/oracle/OracleRouter.sol", "is_dependency": false, "lines": [185, 186], "starting_column": 9, "ending_column": 31}, "type_specific_fields": {"parent": {"type": "function", "name": "price", "source_mapping": {"start": 7130, "length": 700, "filename_relative": "contracts/oracle/OracleRouter.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/oracle/OracleRouter.sol", "filename_short": "contracts/oracle/OracleRouter.sol", "is_dependency": false, "lines": [172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHOracleRouter", "source_mapping": {"start": 6730, "length": 3600, "filename_relative": "contracts/oracle/OracleRouter.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/oracle/OracleRouter.sol", "filename_short": "contracts/oracle/OracleRouter.sol", "is_dependency": false, "lines": [162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249], "starting_column": 1, "ending_column": 2}}, "signature": "price(address)"}}}}], "description": "OETHOracleRouter.price(address) (contracts/oracle/OracleRouter.sol#172-196) ignores return value by (_iprice,updatedAt) = AggregatorV3Interface(_feed).latestRoundData() (contracts/oracle/OracleRouter.sol#185-186)\n", "markdown": "[OETHOracleRouter.price(address)](contracts/oracle/OracleRouter.sol#L172-L196) ignores return value by [(_iprice,updatedAt) = AggregatorV3Interface(_feed).latestRoundData()](contracts/oracle/OracleRouter.sol#L185-L186)\n", "first_markdown_element": "contracts/oracle/OracleRouter.sol#L172-L196", "id": "b3a9b1629bc0c0c5f2edbcecdd5b6cc290654923a39479541a280c9b6a7f477d", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_checkBalance", "source_mapping": {"start": 6528, "length": 369, "filename_relative": "contracts/strategies/MorphoAaveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoAaveStrategy.sol", "filename_short": "contracts/strategies/MorphoAaveStrategy.sol", "is_dependency": false, "lines": [202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "MorphoAaveStrategy", "source_mapping": {"start": 563, "length": 7125, "filename_relative": "contracts/strategies/MorphoAaveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoAaveStrategy.sol", "filename_short": "contracts/strategies/MorphoAaveStrategy.sol", "is_dependency": false, "lines": [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240], "starting_column": 1, "ending_column": 2}}, "signature": "_checkBalance(address)"}}, {"type": "node", "name": "(None,None,balance) = ILens(LENS).getCurrentSupplyBalanceInOf(pToken,address(this))", "source_mapping": {"start": 6778, "length": 112, "filename_relative": "contracts/strategies/MorphoAaveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoAaveStrategy.sol", "filename_short": "contracts/strategies/MorphoAaveStrategy.sol", "is_dependency": false, "lines": [210, 211, 212, 213], "starting_column": 9, "ending_column": 10}, "type_specific_fields": {"parent": {"type": "function", "name": "_checkBalance", "source_mapping": {"start": 6528, "length": 369, "filename_relative": "contracts/strategies/MorphoAaveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoAaveStrategy.sol", "filename_short": "contracts/strategies/MorphoAaveStrategy.sol", "is_dependency": false, "lines": [202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "MorphoAaveStrategy", "source_mapping": {"start": 563, "length": 7125, "filename_relative": "contracts/strategies/MorphoAaveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoAaveStrategy.sol", "filename_short": "contracts/strategies/MorphoAaveStrategy.sol", "is_dependency": false, "lines": [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240], "starting_column": 1, "ending_column": 2}}, "signature": "_checkBalance(address)"}}}}], "description": "MorphoAaveStrategy._checkBalance(address) (contracts/strategies/MorphoAaveStrategy.sol#202-214) ignores return value by (None,None,balance) = ILens(LENS).getCurrentSupplyBalanceInOf(pToken,address(this)) (contracts/strategies/MorphoAaveStrategy.sol#210-213)\n", "markdown": "[MorphoAaveStrategy._checkBalance(address)](contracts/strategies/MorphoAaveStrategy.sol#L202-L214) ignores return value by [(None,None,balance) = ILens(LENS).getCurrentSupplyBalanceInOf(pToken,address(this))](contracts/strategies/MorphoAaveStrategy.sol#L210-L213)\n", "first_markdown_element": "contracts/strategies/MorphoAaveStrategy.sol#L202-L214", "id": "4cf7355ba40b814d1901bb2d39a6f82a6123393dfb73c4b4ffde2185135ce437", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_checkBalance", "source_mapping": {"start": 8191, "length": 360, "filename_relative": "contracts/strategies/MorphoCompoundStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoCompoundStrategy.sol", "filename_short": "contracts/strategies/MorphoCompoundStrategy.sol", "is_dependency": false, "lines": [238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "MorphoCompoundStrategy", "source_mapping": {"start": 608, "length": 7945, "filename_relative": "contracts/strategies/MorphoCompoundStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoCompoundStrategy.sol", "filename_short": "contracts/strategies/MorphoCompoundStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251], "starting_column": 1, "ending_column": 2}}, "signature": "_checkBalance(address)"}}, {"type": "node", "name": "(None,None,balance) = ILens(LENS).getCurrentSupplyBalanceInOf(pToken,address(this))", "source_mapping": {"start": 8432, "length": 112, "filename_relative": "contracts/strategies/MorphoCompoundStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoCompoundStrategy.sol", "filename_short": "contracts/strategies/MorphoCompoundStrategy.sol", "is_dependency": false, "lines": [246, 247, 248, 249], "starting_column": 9, "ending_column": 10}, "type_specific_fields": {"parent": {"type": "function", "name": "_checkBalance", "source_mapping": {"start": 8191, "length": 360, "filename_relative": "contracts/strategies/MorphoCompoundStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoCompoundStrategy.sol", "filename_short": "contracts/strategies/MorphoCompoundStrategy.sol", "is_dependency": false, "lines": [238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "MorphoCompoundStrategy", "source_mapping": {"start": 608, "length": 7945, "filename_relative": "contracts/strategies/MorphoCompoundStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoCompoundStrategy.sol", "filename_short": "contracts/strategies/MorphoCompoundStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251], "starting_column": 1, "ending_column": 2}}, "signature": "_checkBalance(address)"}}}}], "description": "MorphoCompoundStrategy._checkBalance(address) (contracts/strategies/MorphoCompoundStrategy.sol#238-250) ignores return value by (None,None,balance) = ILens(LENS).getCurrentSupplyBalanceInOf(pToken,address(this)) (contracts/strategies/MorphoCompoundStrategy.sol#246-249)\n", "markdown": "[MorphoCompoundStrategy._checkBalance(address)](contracts/strategies/MorphoCompoundStrategy.sol#L238-L250) ignores return value by [(None,None,balance) = ILens(LENS).getCurrentSupplyBalanceInOf(pToken,address(this))](contracts/strategies/MorphoCompoundStrategy.sol#L246-L249)\n", "first_markdown_element": "contracts/strategies/MorphoCompoundStrategy.sol#L238-L250", "id": "aae8756dd4310146d8bb051edd3c3ab77f1a8d97181e0a98177aedc43a56e23d", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_getPoolAssets", "source_mapping": {"start": 12543, "length": 148, "filename_relative": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_short": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "is_dependency": false, "lines": [304, 305, 306], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBalancerStrategy", "source_mapping": {"start": 798, "length": 17926, "filename_relative": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_short": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493], "starting_column": 1, "ending_column": 2}}, "signature": "_getPoolAssets()"}}, {"type": "node", "name": "(assets,None,None) = balancerVault.getPoolTokens(balancerPoolId)", "source_mapping": {"start": 12626, "length": 58, "filename_relative": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_short": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "is_dependency": false, "lines": [305], "starting_column": 9, "ending_column": 67}, "type_specific_fields": {"parent": {"type": "function", "name": "_getPoolAssets", "source_mapping": {"start": 12543, "length": 148, "filename_relative": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_short": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "is_dependency": false, "lines": [304, 305, 306], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBalancerStrategy", "source_mapping": {"start": 798, "length": 17926, "filename_relative": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_short": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493], "starting_column": 1, "ending_column": 2}}, "signature": "_getPoolAssets()"}}}}], "description": "BaseBalancerStrategy._getPoolAssets() (contracts/strategies/balancer/BaseBalancerStrategy.sol#304-306) ignores return value by (assets,None,None) = balancerVault.getPoolTokens(balancerPoolId) (contracts/strategies/balancer/BaseBalancerStrategy.sol#305)\n", "markdown": "[BaseBalancerStrategy._getPoolAssets()](contracts/strategies/balancer/BaseBalancerStrategy.sol#L304-L306) ignores return value by [(assets,None,None) = balancerVault.getPoolTokens(balancerPoolId)](contracts/strategies/balancer/BaseBalancerStrategy.sol#L305)\n", "first_markdown_element": "contracts/strategies/balancer/BaseBalancerStrategy.sol#L304-L306", "id": "21c54e3d1ca39fd24d0f103cf5e24127d7744808ffa3864cfb51a5f86248ff5f", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_deposit", "source_mapping": {"start": 3095, "length": 3242, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "_deposit(address[],uint256[])"}}, {"type": "node", "name": "(tokens) = balancerVault.getPoolTokens(balancerPoolId)", "source_mapping": {"start": 3352, "length": 96, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [92, 93, 94], "starting_column": 9, "ending_column": 10}, "type_specific_fields": {"parent": {"type": "function", "name": "_deposit", "source_mapping": {"start": 3095, "length": 3242, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "_deposit(address[],uint256[])"}}}}], "description": "BalancerMetaPoolStrategy._deposit(address[],uint256[]) (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#83-173) ignores return value by (tokens) = balancerVault.getPoolTokens(balancerPoolId) (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#92-94)\n", "markdown": "[BalancerMetaPoolStrategy._deposit(address[],uint256[])](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L83-L173) ignores return value by [(tokens) = balancerVault.getPoolTokens(balancerPoolId)](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L92-L94)\n", "first_markdown_element": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L83-L173", "id": "c6f964aee4da3934e983a28493b99b37bfadfca9bd8718a64f3e4bc82580b751", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_withdraw", "source_mapping": {"start": 8546, "length": 6981, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "_withdraw(address,address[],uint256[])"}}, {"type": "node", "name": "(tokens) = balancerVault.getPoolTokens(balancerPoolId)", "source_mapping": {"start": 9196, "length": 96, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [240, 241, 242], "starting_column": 9, "ending_column": 10}, "type_specific_fields": {"parent": {"type": "function", "name": "_withdraw", "source_mapping": {"start": 8546, "length": 6981, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "_withdraw(address,address[],uint256[])"}}}}], "description": "BalancerMetaPoolStrategy._withdraw(address,address[],uint256[]) (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#220-384) ignores return value by (tokens) = balancerVault.getPoolTokens(balancerPoolId) (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#240-242)\n", "markdown": "[BalancerMetaPoolStrategy._withdraw(address,address[],uint256[])](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L220-L384) ignores return value by [(tokens) = balancerVault.getPoolTokens(balancerPoolId)](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L240-L242)\n", "first_markdown_element": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L220-L384", "id": "b6dfd0234a00fe7ec86440a81eff1c382ad27a77a030e172fa8ed3c20e62835f", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "withdrawAll", "source_mapping": {"start": 15746, "length": 3500, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "withdrawAll()"}}, {"type": "node", "name": "(tokens) = balancerVault.getPoolTokens(balancerPoolId)", "source_mapping": {"start": 16219, "length": 96, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [401, 402, 403], "starting_column": 9, "ending_column": 10}, "type_specific_fields": {"parent": {"type": "function", "name": "withdrawAll", "source_mapping": {"start": 15746, "length": 3500, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "withdrawAll()"}}}}], "description": "BalancerMetaPoolStrategy.withdrawAll() (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#392-473) ignores return value by (tokens) = balancerVault.getPoolTokens(balancerPoolId) (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#401-403)\n", "markdown": "[BalancerMetaPoolStrategy.withdrawAll()](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L392-L473) ignores return value by [(tokens) = balancerVault.getPoolTokens(balancerPoolId)](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L401-L403)\n", "first_markdown_element": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L392-L473", "id": "a7365da818ffe46e2f970cfb2adeba732b39671fb32ad6fc01b30eb86796d70a", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_getRateProviderRate", "source_mapping": {"start": 21512, "length": 909, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "_getRateProviderRate(address)"}}, {"type": "node", "name": "(tokens) = balancerVault.getPoolTokens(balancerPoolId)", "source_mapping": {"start": 21778, "length": 96, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [542, 543, 544], "starting_column": 9, "ending_column": 10}, "type_specific_fields": {"parent": {"type": "function", "name": "_getRateProviderRate", "source_mapping": {"start": 21512, "length": 909, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "_getRateProviderRate(address)"}}}}], "description": "BalancerMetaPoolStrategy._getRateProviderRate(address) (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#534-560) ignores return value by (tokens) = balancerVault.getPoolTokens(balancerPoolId) (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#542-544)\n", "markdown": "[BalancerMetaPoolStrategy._getRateProviderRate(address)](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L534-L560) ignores return value by [(tokens) = balancerVault.getPoolTokens(balancerPoolId)](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L542-L544)\n", "first_markdown_element": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L534-L560", "id": "36ed2fe9e73d5e1d882a0bd06ef1472869f8bdb8fe801c9015e95738edb9be60", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "swap", "source_mapping": {"start": 1921, "length": 2324, "filename_relative": "contracts/swapper/Swapper1InchV5.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/swapper/Swapper1InchV5.sol", "filename_short": "contracts/swapper/Swapper1InchV5.sol", "is_dependency": false, "lines": [40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Swapper1InchV5", "source_mapping": {"start": 756, "length": 3993, "filename_relative": "contracts/swapper/Swapper1InchV5.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/swapper/Swapper1InchV5.sol", "filename_short": "contracts/swapper/Swapper1InchV5.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107], "starting_column": 1, "ending_column": 2}}, "signature": "swap(address,address,uint256,uint256,bytes)"}}, {"type": "node", "name": "(toAssetAmount,None) = IOneInchRouter(SWAP_ROUTER).swap(IAggregationExecutor(executer),swapDesc,,executerData)", "source_mapping": {"start": 3028, "length": 193, "filename_relative": "contracts/swapper/Swapper1InchV5.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/swapper/Swapper1InchV5.sol", "filename_short": "contracts/swapper/Swapper1InchV5.sol", "is_dependency": false, "lines": [65, 66, 67, 68, 69, 70], "starting_column": 13, "ending_column": 14}, "type_specific_fields": {"parent": {"type": "function", "name": "swap", "source_mapping": {"start": 1921, "length": 2324, "filename_relative": "contracts/swapper/Swapper1InchV5.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/swapper/Swapper1InchV5.sol", "filename_short": "contracts/swapper/Swapper1InchV5.sol", "is_dependency": false, "lines": [40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Swapper1InchV5", "source_mapping": {"start": 756, "length": 3993, "filename_relative": "contracts/swapper/Swapper1InchV5.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/swapper/Swapper1InchV5.sol", "filename_short": "contracts/swapper/Swapper1InchV5.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107], "starting_column": 1, "ending_column": 2}}, "signature": "swap(address,address,uint256,uint256,bytes)"}}}}], "description": "Swapper1InchV5.swap(address,address,uint256,uint256,bytes) (contracts/swapper/Swapper1InchV5.sol#40-94) ignores return value by (toAssetAmount,None) = IOneInchRouter(SWAP_ROUTER).swap(IAggregationExecutor(executer),swapDesc,,executerData) (contracts/swapper/Swapper1InchV5.sol#65-70)\n", "markdown": "[Swapper1InchV5.swap(address,address,uint256,uint256,bytes)](contracts/swapper/Swapper1InchV5.sol#L40-L94) ignores return value by [(toAssetAmount,None) = IOneInchRouter(SWAP_ROUTER).swap(IAggregationExecutor(executer),swapDesc,,executerData)](contracts/swapper/Swapper1InchV5.sol#L65-L70)\n", "first_markdown_element": "contracts/swapper/Swapper1InchV5.sol#L40-L94", "id": "a20be31d0dee33859aaf12dbf3a9efdddb933083e9aaec46c76173e1e0576290", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "onlyUnlockedAdjuster", "source_mapping": {"start": 5015, "length": 184, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [159, 160, 161, 162, 163], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "CompensationClaims", "source_mapping": {"start": 1527, "length": 3674, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164], "starting_column": 1, "ending_column": 2}}, "signature": "onlyUnlockedAdjuster()"}}, {"type": "node", "name": "require(bool,string)(isAdjusterLocked == false,Adjuster must be unlocked)", "source_mapping": {"start": 5057, "length": 63, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [160], "starting_column": 9, "ending_column": 72}, "type_specific_fields": {"parent": {"type": "function", "name": "onlyUnlockedAdjuster", "source_mapping": {"start": 5015, "length": 184, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [159, 160, 161, 162, 163], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "CompensationClaims", "source_mapping": {"start": 1527, "length": 3674, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164], "starting_column": 1, "ending_column": 2}}, "signature": "onlyUnlockedAdjuster()"}}}}], "description": "CompensationClaims.onlyUnlockedAdjuster() (contracts/compensation/CompensationClaims.sol#159-163) compares to a boolean constant:\n\t-require(bool,string)(isAdjusterLocked == false,Adjuster must be unlocked) (contracts/compensation/CompensationClaims.sol#160)\n", "markdown": "[CompensationClaims.onlyUnlockedAdjuster()](contracts/compensation/CompensationClaims.sol#L159-L163) compares to a boolean constant:\n\t-[require(bool,string)(isAdjusterLocked == false,Adjuster must be unlocked)](contracts/compensation/CompensationClaims.sol#L160)\n", "first_markdown_element": "contracts/compensation/CompensationClaims.sol#L159-L163", "id": "c674328ac540cee46322710f4f2b564022817568b3de72c2f333499667897fb6", "check": "boolean-equal", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "function", "name": "setClaims", "source_mapping": {"start": 2859, "length": 679, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "CompensationClaims", "source_mapping": {"start": 1527, "length": 3674, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164], "starting_column": 1, "ending_column": 2}}, "signature": "setClaims(address[],uint256[])"}}, {"type": "node", "name": "totalClaims = totalClaims.add(newAmount).sub(oldAmount)", "source_mapping": {"start": 3417, "length": 55, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [100], "starting_column": 13, "ending_column": 68}, "type_specific_fields": {"parent": {"type": "function", "name": "setClaims", "source_mapping": {"start": 2859, "length": 679, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "CompensationClaims", "source_mapping": {"start": 1527, "length": 3674, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164], "starting_column": 1, "ending_column": 2}}, "signature": "setClaims(address[],uint256[])"}}}}], "description": "CompensationClaims.setClaims(address[],uint256[]) (contracts/compensation/CompensationClaims.sol#86-103) has costly operations inside a loop:\n\t- totalClaims = totalClaims.add(newAmount).sub(oldAmount) (contracts/compensation/CompensationClaims.sol#100)\n", "markdown": "[CompensationClaims.setClaims(address[],uint256[])](contracts/compensation/CompensationClaims.sol#L86-L103) has costly operations inside a loop:\n\t- [totalClaims = totalClaims.add(newAmount).sub(oldAmount)](contracts/compensation/CompensationClaims.sol#L100)\n", "first_markdown_element": "contracts/compensation/CompensationClaims.sol#L86-L103", "id": "ead4689fefe47be38b040394ae6995dc07b10079222841e5c24d8b378ff13658", "check": "costly-loop", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_fromPoolAsset", "source_mapping": {"start": 15639, "length": 615, "filename_relative": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_short": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "is_dependency": false, "lines": [400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBalancerStrategy", "source_mapping": {"start": 798, "length": 17926, "filename_relative": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_short": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493], "starting_column": 1, "ending_column": 2}}, "signature": "_fromPoolAsset(address,uint256)"}}], "description": "BaseBalancerStrategy._fromPoolAsset(address,uint256) (contracts/strategies/balancer/BaseBalancerStrategy.sol#400-419) is never used and should be removed\n", "markdown": "[BaseBalancerStrategy._fromPoolAsset(address,uint256)](contracts/strategies/balancer/BaseBalancerStrategy.sol#L400-L419) is never used and should be removed\n", "first_markdown_element": "contracts/strategies/balancer/BaseBalancerStrategy.sol#L400-L419", "id": "7172c3b3e3f4d4faa0d43c072a323390d348e93a94411aeffd451a0c8f12155e", "check": "dead-code", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_getBPTExpected", "source_mapping": {"start": 11209, "length": 363, "filename_relative": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_short": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "is_dependency": false, "lines": [266, 267, 268, 269, 270, 271, 272, 273, 274, 275], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBalancerStrategy", "source_mapping": {"start": 798, "length": 17926, "filename_relative": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_short": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493], "starting_column": 1, "ending_column": 2}}, "signature": "_getBPTExpected(address,uint256)"}}], "description": "BaseBalancerStrategy._getBPTExpected(address,uint256) (contracts/strategies/balancer/BaseBalancerStrategy.sol#266-275) is never used and should be removed\n", "markdown": "[BaseBalancerStrategy._getBPTExpected(address,uint256)](contracts/strategies/balancer/BaseBalancerStrategy.sol#L266-L275) is never used and should be removed\n", "first_markdown_element": "contracts/strategies/balancer/BaseBalancerStrategy.sol#L266-L275", "id": "414392a8237d7c299280870f69d60c9020effb6da887ce3329b46ad1a4b1a5c8", "check": "dead-code", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_getBalancerPoolTokens", "source_mapping": {"start": 8966, "length": 215, "filename_relative": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_short": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "is_dependency": false, "lines": [222, 223, 224, 225, 226, 227, 228, 229], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBalancerStrategy", "source_mapping": {"start": 798, "length": 17926, "filename_relative": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_short": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493], "starting_column": 1, "ending_column": 2}}, "signature": "_getBalancerPoolTokens()"}}], "description": "BaseBalancerStrategy._getBalancerPoolTokens() (contracts/strategies/balancer/BaseBalancerStrategy.sol#222-229) is never used and should be removed\n", "markdown": "[BaseBalancerStrategy._getBalancerPoolTokens()](contracts/strategies/balancer/BaseBalancerStrategy.sol#L222-L229) is never used and should be removed\n", "first_markdown_element": "contracts/strategies/balancer/BaseBalancerStrategy.sol#L222-L229", "id": "43bad484abb5503ba664b26eef9bf25d7ca8e3728ff4fd75e1beb9fc8335010b", "check": "dead-code", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_deposit", "source_mapping": {"start": 2484, "length": 386, "filename_relative": "contracts/strategies/Generalized4626Strategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/Generalized4626Strategy.sol", "filename_short": "contracts/strategies/Generalized4626Strategy.sol", "is_dependency": false, "lines": [75, 76, 77, 78, 79, 80, 81, 82], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Generalized4626Strategy", "source_mapping": {"start": 454, "length": 6746, "filename_relative": "contracts/strategies/Generalized4626Strategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/Generalized4626Strategy.sol", "filename_short": "contracts/strategies/Generalized4626Strategy.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211], "starting_column": 1, "ending_column": 2}}, "signature": "_deposit(address,uint256)"}}], "description": "Generalized4626Strategy._deposit(address,uint256) (contracts/strategies/Generalized4626Strategy.sol#75-82) is never used and should be removed\n", "markdown": "[Generalized4626Strategy._deposit(address,uint256)](contracts/strategies/Generalized4626Strategy.sol#L75-L82) is never used and should be removed\n", "first_markdown_element": "contracts/strategies/Generalized4626Strategy.sol#L75-L82", "id": "36721a3f5c9b22c9bd57a3041f3b07fcc21c57f456cc144dfe21fbfc82b777dd", "check": "dead-code", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_initialize", "source_mapping": {"start": 321, "length": 98, "filename_relative": "contracts/governance/InitializableGovernable.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/governance/InitializableGovernable.sol", "filename_short": "contracts/governance/InitializableGovernable.sol", "is_dependency": false, "lines": [13, 14, 15], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "InitializableGovernable", "source_mapping": {"start": 253, "length": 168, "filename_relative": "contracts/governance/InitializableGovernable.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/governance/InitializableGovernable.sol", "filename_short": "contracts/governance/InitializableGovernable.sol", "is_dependency": false, "lines": [12, 13, 14, 15, 16], "starting_column": 1, "ending_column": 2}}, "signature": "_initialize(address)"}}], "description": "InitializableGovernable._initialize(address) (contracts/governance/InitializableGovernable.sol#13-15) is never used and should be removed\n", "markdown": "[InitializableGovernable._initialize(address)](contracts/governance/InitializableGovernable.sol#L13-L15) is never used and should be removed\n", "first_markdown_element": "contracts/governance/InitializableGovernable.sol#L13-L15", "id": "3f2ac1fe30d5e500e79d00d7cdcee650008e5473ee804bcc3ba92d1969ece075", "check": "dead-code", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_require", "source_mapping": {"start": 1162, "length": 138, "filename_relative": "contracts/utils/BalancerErrors.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/BalancerErrors.sol", "filename_short": "contracts/utils/BalancerErrors.sol", "is_dependency": false, "lines": [32, 33, 34, 35, 36, 37, 38], "starting_column": 1, "ending_column": 2}, "type_specific_fields": {"parent": null, "signature": "_require(bool,uint256,bytes3)"}}], "description": "_require(bool,uint256,bytes3) (contracts/utils/BalancerErrors.sol#32-38) is never used and should be removed\n", "markdown": "[_require(bool,uint256,bytes3)](contracts/utils/BalancerErrors.sol#L32-L38) is never used and should be removed\n", "first_markdown_element": "contracts/utils/BalancerErrors.sol#L32-L38", "id": "34a9a1f0d261723592d808bbe846d790121d01f33f11a357647ffba1718d4da8", "check": "dead-code", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/buyback/Buyback.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/buyback/Buyback.sol#L2) allows old versions\n", "first_markdown_element": "contracts/buyback/Buyback.sol#L2", "id": "82f7aa39285a2aa0a0aeb4cba71ff4484e8d7d769c5cfd578256f37620cd4b1c", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/compensation/CompensationClaims.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/compensation/CompensationClaims.sol#L2) allows old versions\n", "first_markdown_element": "contracts/compensation/CompensationClaims.sol#L2", "id": "c02ba4c4226a7a9670dc4b7bab2bebca3a519f6c5a51add1ba22600ea05e24f7", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/flipper/Flipper.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/flipper/Flipper.sol", "filename_short": "contracts/flipper/Flipper.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/flipper/Flipper.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/flipper/Flipper.sol#L2) allows old versions\n", "first_markdown_element": "contracts/flipper/Flipper.sol#L2", "id": "281c63a535d0389950d5b075401c81b9c18da3629810d6f94c96e0e9348d77cf", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/governance/Governable.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/governance/Governable.sol", "filename_short": "contracts/governance/Governable.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/governance/Governable.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/governance/Governable.sol#L2) allows old versions\n", "first_markdown_element": "contracts/governance/Governable.sol#L2", "id": "a9f16bb10340d2d12d80ed061384a2ffef346969793204e4fbedca1c24145ed8", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/governance/Governor.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/governance/Governor.sol", "filename_short": "contracts/governance/Governor.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/governance/Governor.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/governance/Governor.sol#L2) allows old versions\n", "first_markdown_element": "contracts/governance/Governor.sol#L2", "id": "cacf63d5a01c6cc2a8853d12121bf90c8f7bc7c278244272b10503aeb7f0d558", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/governance/InitializableGovernable.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/governance/InitializableGovernable.sol", "filename_short": "contracts/governance/InitializableGovernable.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/governance/InitializableGovernable.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/governance/InitializableGovernable.sol#L2) allows old versions\n", "first_markdown_element": "contracts/governance/InitializableGovernable.sol#L2", "id": "79d0ce734dc0dff71f45eec4127b00b9a96f302b448bccb8e53eac5491a7dea4", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/governance/Strategizable.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/governance/Strategizable.sol", "filename_short": "contracts/governance/Strategizable.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/governance/Strategizable.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/governance/Strategizable.sol#L2) allows old versions\n", "first_markdown_element": "contracts/governance/Strategizable.sol#L2", "id": "6704e69d816d659695f9dff4ba63d12478df83cf402a95906fe4d0a8e3030a3f", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/harvest/BaseHarvester.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/harvest/BaseHarvester.sol", "filename_short": "contracts/harvest/BaseHarvester.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/harvest/BaseHarvester.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/harvest/BaseHarvester.sol#L2) allows old versions\n", "first_markdown_element": "contracts/harvest/BaseHarvester.sol#L2", "id": "a5124e066b2fbb7dd1e955b4fcd2beacad6be21123061eceed403b4726a7cd41", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/harvest/Dripper.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/harvest/Dripper.sol", "filename_short": "contracts/harvest/Dripper.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/harvest/Dripper.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/harvest/Dripper.sol#L2) allows old versions\n", "first_markdown_element": "contracts/harvest/Dripper.sol#L2", "id": "1140b3378dbcf85f848dd3593f6db455b81de599993575647a78a8e9e16d7e86", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/harvest/Harvester.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/harvest/Harvester.sol", "filename_short": "contracts/harvest/Harvester.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/harvest/Harvester.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/harvest/Harvester.sol#L2) allows old versions\n", "first_markdown_element": "contracts/harvest/Harvester.sol#L2", "id": "9da9505bab8b0fd00e20e6db4a6fead1534b69d28987dc31631a69876e522cbc", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/harvest/OETHDripper.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/harvest/OETHDripper.sol", "filename_short": "contracts/harvest/OETHDripper.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/harvest/OETHDripper.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/harvest/OETHDripper.sol#L2) allows old versions\n", "first_markdown_element": "contracts/harvest/OETHDripper.sol#L2", "id": "9868f31eabf1e720593a50a20e5bb824dd11b311d005285c616a0002edba9f6e", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/harvest/OETHHarvester.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/harvest/OETHHarvester.sol", "filename_short": "contracts/harvest/OETHHarvester.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/harvest/OETHHarvester.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/harvest/OETHHarvester.sol#L2) allows old versions\n", "first_markdown_element": "contracts/harvest/OETHHarvester.sol#L2", "id": "3a3adb7c5e90ad98fb80214a4f7844cffc76e3b15d6c0af1a826625357bb071a", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IBasicToken.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IBasicToken.sol", "filename_short": "contracts/interfaces/IBasicToken.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IBasicToken.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IBasicToken.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IBasicToken.sol#L2", "id": "94bff6382b90ad3924c0066cfd097d81ac291208d0369684cb54afe8658dabba", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IBuyback.sol", "filename_short": "contracts/interfaces/IBuyback.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IBuyback.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IBuyback.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IBuyback.sol#L2", "id": "185bc9860851ec47e3d7ad04b7f00dca9776de2b9dd4d9fe036240034b795bfd", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IComptroller.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IComptroller.sol", "filename_short": "contracts/interfaces/IComptroller.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IComptroller.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IComptroller.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IComptroller.sol#L2", "id": "a0c1bfd5ca31ee3e23316e502e3ef04bf450325444d5445aff16c409cb4fc156", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IEthUsdOracle.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IEthUsdOracle.sol", "filename_short": "contracts/interfaces/IEthUsdOracle.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IEthUsdOracle.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IEthUsdOracle.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IEthUsdOracle.sol#L2", "id": "272e660a7ba45f6a97e0c83762294ab6e2cf4d00cbceda6120b5d8672a34489e", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IFraxETHMinter.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IFraxETHMinter.sol", "filename_short": "contracts/interfaces/IFraxETHMinter.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IFraxETHMinter.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IFraxETHMinter.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IFraxETHMinter.sol#L2", "id": "9a001f820d4bcc8f8cc237c99569448b23551b10274194dc40cdf0fb6dc674ff", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 0, "length": 23, "filename_relative": "contracts/interfaces/IGetExchangeRateToken.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IGetExchangeRateToken.sol", "filename_short": "contracts/interfaces/IGetExchangeRateToken.sol", "is_dependency": false, "lines": [1], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IGetExchangeRateToken.sol#1) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IGetExchangeRateToken.sol#L1) allows old versions\n", "first_markdown_element": "contracts/interfaces/IGetExchangeRateToken.sol#L1", "id": "d40ef5adf85becbae2a11790f9e20e51d1a263c96199ebf02bb2f573909a129e", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IHarvester.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IHarvester.sol", "filename_short": "contracts/interfaces/IHarvester.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IHarvester.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IHarvester.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IHarvester.sol#L2", "id": "03c1e790b44ea5d7724d4ef7f0f2a546854105ff2368688bcefa16d3acacfddf", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IMinMaxOracle.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IMinMaxOracle.sol", "filename_short": "contracts/interfaces/IMinMaxOracle.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IMinMaxOracle.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IMinMaxOracle.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IMinMaxOracle.sol#L2", "id": "c2690b6bd4695286c86c5a3bd76986a663dca50c509ccf6ee859eccca2c7dc4d", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 0, "length": 23, "filename_relative": "contracts/interfaces/IOUSD.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IOUSD.sol", "filename_short": "contracts/interfaces/IOUSD.sol", "is_dependency": false, "lines": [1], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IOUSD.sol#1) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IOUSD.sol#L1) allows old versions\n", "first_markdown_element": "contracts/interfaces/IOUSD.sol#L1", "id": "3853d01e8691288aa7cdbaa59886ee68e2413ccd489d898d83b2e49b4a1ddc23", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IOneInch.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IOneInch.sol", "filename_short": "contracts/interfaces/IOneInch.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IOneInch.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IOneInch.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IOneInch.sol#L2", "id": "e352c191d5ada9b352c135cde4fc6e19e45f1570610a939fe8633c71effdd36c", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IOracle.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IOracle.sol", "filename_short": "contracts/interfaces/IOracle.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IOracle.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IOracle.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IOracle.sol#L2", "id": "a4d7c9eafef08e42e6544dd4019cf9efe7f51c00050c35eb8c7cc462a5834952", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IPriceOracle.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IPriceOracle.sol", "filename_short": "contracts/interfaces/IPriceOracle.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IPriceOracle.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IPriceOracle.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IPriceOracle.sol#L2", "id": "ee7fa68441e218913764ed19aac4e5f2cf7278f785e7b33a65296ad6480202c1", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IRETH.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IRETH.sol", "filename_short": "contracts/interfaces/IRETH.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IRETH.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IRETH.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IRETH.sol#L2", "id": "5b1c6810abf706d2048174e3575be705a290708609ae849578f62744b17fd4f8", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/ISfrxETH.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/ISfrxETH.sol", "filename_short": "contracts/interfaces/ISfrxETH.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/ISfrxETH.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/ISfrxETH.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/ISfrxETH.sol#L2", "id": "13e6b32cc8e9a01dc045d8cb5e1aee7fa29068785bd03dfbb1d63b0587431ec1", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IStrategy.sol", "filename_short": "contracts/interfaces/IStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IStrategy.sol#L2", "id": "525cec582bcb9c733e3300d58ff77ebd629cf4d89a52fa0fe61d13f65c353a26", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 0, "length": 23, "filename_relative": "contracts/interfaces/ISwapper.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/ISwapper.sol", "filename_short": "contracts/interfaces/ISwapper.sol", "is_dependency": false, "lines": [1], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/ISwapper.sol#1) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/ISwapper.sol#L1) allows old versions\n", "first_markdown_element": "contracts/interfaces/ISwapper.sol#L1", "id": "0fec87f800d6723dd3d7de1770cc3be977e891e5b5fc4addf73063ff67c89925", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 0, "length": 23, "filename_relative": "contracts/interfaces/ITimelock.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/ITimelock.sol", "filename_short": "contracts/interfaces/ITimelock.sol", "is_dependency": false, "lines": [1], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/ITimelock.sol#1) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/ITimelock.sol#L1) allows old versions\n", "first_markdown_element": "contracts/interfaces/ITimelock.sol#L1", "id": "4475b124b600f3a464049046512f274d7d487f5569d04b0d0c8896a5148bc47f", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IVault.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IVault.sol", "filename_short": "contracts/interfaces/IVault.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IVault.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IVault.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IVault.sol#L2", "id": "17d8cdfc74b00a04ec29c0f955fcb435e6cea0762362480e26698d7dade395b8", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IWETH9.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IWETH9.sol", "filename_short": "contracts/interfaces/IWETH9.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IWETH9.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IWETH9.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IWETH9.sol#L2", "id": "fe92400d6c1a3a9d73cdad69563291319f87d651a109ea6ae2beabb7ce0257df", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IWstETH.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IWstETH.sol", "filename_short": "contracts/interfaces/IWstETH.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IWstETH.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IWstETH.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IWstETH.sol#L2", "id": "c5904f6311ae3dc0bc00d39c836d70c764336a6ee29b70c304c77c88bc0a33c2", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/Tether.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/Tether.sol", "filename_short": "contracts/interfaces/Tether.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/Tether.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/Tether.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/Tether.sol#L2", "id": "a844a7c861e5d4669cae48ad216d93b53f055ecb38cb7e03df7bbebe4807598f", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/UniswapV3Router.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/UniswapV3Router.sol", "filename_short": "contracts/interfaces/UniswapV3Router.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/UniswapV3Router.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/UniswapV3Router.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/UniswapV3Router.sol#L2", "id": "d998828992bf95d52edab99b51a8815ddfe7f3162d2f9d1803480d10c4d7ec75", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/balancer/IBalancerVault.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/balancer/IBalancerVault.sol", "filename_short": "contracts/interfaces/balancer/IBalancerVault.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/balancer/IBalancerVault.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/balancer/IBalancerVault.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/balancer/IBalancerVault.sol#L2", "id": "cdc4df825083a60dad418af5da34b0a1ec66633977db1a83c207f24c4bd63695", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/balancer/IMetaStablePool.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/balancer/IMetaStablePool.sol", "filename_short": "contracts/interfaces/balancer/IMetaStablePool.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/balancer/IMetaStablePool.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/balancer/IMetaStablePool.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/balancer/IMetaStablePool.sol#L2", "id": "21c15fd4f5fde0afd4976aeba6c1deac5c4fbd35dc65d80072398480ac362567", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 688, "length": 23, "filename_relative": "contracts/interfaces/balancer/IRateProvider.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/balancer/IRateProvider.sol", "filename_short": "contracts/interfaces/balancer/IRateProvider.sol", "is_dependency": false, "lines": [15], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/balancer/IRateProvider.sol#15) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/balancer/IRateProvider.sol#L15) allows old versions\n", "first_markdown_element": "contracts/interfaces/balancer/IRateProvider.sol#L15", "id": "a0200a0094ccd65b05e62909b5fb57759e74fd67119ad883a12d88b5d212a337", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/chainlink/AggregatorV3Interface.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/chainlink/AggregatorV3Interface.sol", "filename_short": "contracts/interfaces/chainlink/AggregatorV3Interface.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/chainlink/AggregatorV3Interface.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/chainlink/AggregatorV3Interface.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/chainlink/AggregatorV3Interface.sol#L2", "id": "bc2ed3a6e692a07531fedf75dcd82f2e3779a5b53516d2e1624c85b32b4e820a", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 39, "length": 23, "filename_relative": "contracts/interfaces/morpho/ILens.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/morpho/ILens.sol", "filename_short": "contracts/interfaces/morpho/ILens.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/morpho/ILens.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/morpho/ILens.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/morpho/ILens.sol#L2", "id": "788b8c236da191737cf5aa9e818a9211e81393c2f3d1e9ff13f3f1212474ce4c", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 39, "length": 23, "filename_relative": "contracts/interfaces/morpho/IMorpho.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/morpho/IMorpho.sol", "filename_short": "contracts/interfaces/morpho/IMorpho.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/morpho/IMorpho.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/morpho/IMorpho.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/morpho/IMorpho.sol#L2", "id": "45909fd8b83fa9fe6a683644183358818f916d3da4ca7fe7118156a2eea13da1", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 39, "length": 23, "filename_relative": "contracts/interfaces/morpho/Types.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/morpho/Types.sol", "filename_short": "contracts/interfaces/morpho/Types.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/morpho/Types.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/morpho/Types.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/morpho/Types.sol#L2", "id": "87f2050fdffd7c5fcf5d0654ad19df383bf596df78181862f3ce6f9b683fc560", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 39, "length": 23, "filename_relative": "contracts/interfaces/morpho/compound/ICompoundOracle.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/morpho/compound/ICompoundOracle.sol", "filename_short": "contracts/interfaces/morpho/compound/ICompoundOracle.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/morpho/compound/ICompoundOracle.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/morpho/compound/ICompoundOracle.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/morpho/compound/ICompoundOracle.sol#L2", "id": "76d014d0be4fa6cf1f9a4b64ad201ec259fbf01a6eefb98db5f61fb514c224c5", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/uniswap/IUniswapV2Pair.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/uniswap/IUniswapV2Pair.sol", "filename_short": "contracts/interfaces/uniswap/IUniswapV2Pair.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/uniswap/IUniswapV2Pair.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/uniswap/IUniswapV2Pair.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/uniswap/IUniswapV2Pair.sol#L2", "id": "b1c5a3bbf566b0e621c50e7ba4220664bd1e54da43fad71dbc938a5eded7f2c2", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/uniswap/IUniswapV2Router02.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/uniswap/IUniswapV2Router02.sol", "filename_short": "contracts/interfaces/uniswap/IUniswapV2Router02.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/uniswap/IUniswapV2Router02.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/uniswap/IUniswapV2Router02.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/uniswap/IUniswapV2Router02.sol#L2", "id": "ad47007ddc5c67344d81dc344b49bf500ecc26e3135bd77a62fde43bd7c7b7dd", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/liquidity/LiquidityReward.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/liquidity/LiquidityReward.sol", "filename_short": "contracts/liquidity/LiquidityReward.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/liquidity/LiquidityReward.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/liquidity/LiquidityReward.sol#L2) allows old versions\n", "first_markdown_element": "contracts/liquidity/LiquidityReward.sol#L2", "id": "af43855351ffe0839a4022c9ace8a3c16d22dc86d07d1d2757ecf6f7dbee0bd7", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/oracle/OracleRouter.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/oracle/OracleRouter.sol", "filename_short": "contracts/oracle/OracleRouter.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/oracle/OracleRouter.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/oracle/OracleRouter.sol#L2) allows old versions\n", "first_markdown_element": "contracts/oracle/OracleRouter.sol#L2", "id": "51334591a78dd22a137807b4acc53389925f973033124c5930c642a302ba29b0", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_short": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol#L2", "id": "4c766eb1c2e89d40beed9275537ff433a6045d434cdfc1b437e6fc4acc2856b9", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/proxies/Proxies.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/proxies/Proxies.sol", "filename_short": "contracts/proxies/Proxies.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/proxies/Proxies.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/proxies/Proxies.sol#L2) allows old versions\n", "first_markdown_element": "contracts/proxies/Proxies.sol#L2", "id": "54449952b8d4d7f912b7edd63a4d5f250415aca230353b6f0c2436fd08bab7c4", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/staking/SingleAssetStaking.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/staking/SingleAssetStaking.sol", "filename_short": "contracts/staking/SingleAssetStaking.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/staking/SingleAssetStaking.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/staking/SingleAssetStaking.sol#L2) allows old versions\n", "first_markdown_element": "contracts/staking/SingleAssetStaking.sol#L2", "id": "0d9b9be73b171a1f5847e5df0adf23a9896dd80d43e0f466a74a13d345d8a91e", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/AaveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/AaveStrategy.sol", "filename_short": "contracts/strategies/AaveStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/AaveStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/AaveStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/AaveStrategy.sol#L2", "id": "4b6bd9fd37caf2805f5c155743471e5190c0d3c67a058c887282f845b01fbd3c", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/BaseCompoundStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/BaseCompoundStrategy.sol", "filename_short": "contracts/strategies/BaseCompoundStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/BaseCompoundStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/BaseCompoundStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/BaseCompoundStrategy.sol#L2", "id": "ffb011aa0e9b47c467913e4c84522cce51b070125b4d896dd3573a9a7ef2d180", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/BaseConvexMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/BaseConvexMetaStrategy.sol", "filename_short": "contracts/strategies/BaseConvexMetaStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/BaseConvexMetaStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/BaseConvexMetaStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/BaseConvexMetaStrategy.sol#L2", "id": "83428776089a6ca8806eb19a4738ab918e43169a57b4e961f748db3bd1950a43", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/BaseCurveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/BaseCurveStrategy.sol", "filename_short": "contracts/strategies/BaseCurveStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/BaseCurveStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/BaseCurveStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/BaseCurveStrategy.sol#L2", "id": "d2a54684ab02a9305bab0d6c3424e84d8370c96874128ca7e5a41660bc8f06fc", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/CompoundStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/CompoundStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/CompoundStrategy.sol#L2", "id": "92a7098362a42f7f87c42e9d955c08eb71aa98a0d92611ed508d73c3118fa022", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/ConvexEthMetaStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/ConvexEthMetaStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/ConvexEthMetaStrategy.sol#L2", "id": "7edb20db5c0200c2bd05a4366895fdf37f10cd1d2bb0d695908c07e9c837b848", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/ConvexGeneralizedMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexGeneralizedMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexGeneralizedMetaStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/ConvexGeneralizedMetaStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/ConvexGeneralizedMetaStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/ConvexGeneralizedMetaStrategy.sol#L2", "id": "5fa480122d27055b8ec676e247738324933e9773ab3abda6f51098e1daeeec04", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/ConvexOUSDMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexOUSDMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexOUSDMetaStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/ConvexOUSDMetaStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/ConvexOUSDMetaStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/ConvexOUSDMetaStrategy.sol#L2", "id": "ac6a57a349bf50561c41daec54512d189e8ce8f2e71080e3bc8ffe87dd163260", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/ConvexStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexStrategy.sol", "filename_short": "contracts/strategies/ConvexStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/ConvexStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/ConvexStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/ConvexStrategy.sol#L2", "id": "897cc29611993f610e5dc9875acb6ad1998d16d5db80ef87cb24be58fe75fed6", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/FluxStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/FluxStrategy.sol", "filename_short": "contracts/strategies/FluxStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/FluxStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/FluxStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/FluxStrategy.sol#L2", "id": "393fbd06405ca3131afb6417a96cbe43833001f958740775dec3a1592922d214", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/FraxETHStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/FraxETHStrategy.sol", "filename_short": "contracts/strategies/FraxETHStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/FraxETHStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/FraxETHStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/FraxETHStrategy.sol#L2", "id": "8ef2be5e3d56be6f3c3457596407a8fe5c07c5950a462c145e1ebed8a11c9994", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/Generalized4626Strategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/Generalized4626Strategy.sol", "filename_short": "contracts/strategies/Generalized4626Strategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/Generalized4626Strategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/Generalized4626Strategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/Generalized4626Strategy.sol#L2", "id": "2a08a0f02b99768b50a70e61fa311b9a27abdbe4d3123dac80ce0a92a573621e", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/IAave.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/IAave.sol", "filename_short": "contracts/strategies/IAave.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/IAave.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/IAave.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/IAave.sol#L2", "id": "03d09f76f6327ec3e00462e72f330bc5b7b74c4c76dd86178740bae9b58213df", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/IAaveIncentivesController.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/IAaveIncentivesController.sol", "filename_short": "contracts/strategies/IAaveIncentivesController.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/IAaveIncentivesController.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/IAaveIncentivesController.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/IAaveIncentivesController.sol#L2", "id": "021193b4603c0ed5ac062858b53e3888ceb0c79df1cc0b782fafd97a6197c153", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/IAaveStakeToken.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/IAaveStakeToken.sol", "filename_short": "contracts/strategies/IAaveStakeToken.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/IAaveStakeToken.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/IAaveStakeToken.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/IAaveStakeToken.sol#L2", "id": "51aed3d5dcdcf77b6106f36ac622c82acef7e0d7ff7892b311e1adc4bbb0edc7", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/ICRVMinter.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ICRVMinter.sol", "filename_short": "contracts/strategies/ICRVMinter.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/ICRVMinter.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/ICRVMinter.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/ICRVMinter.sol#L2", "id": "c1e0e830ba7445a95b4c566d6ec67217c2d6b9749ead120e45b1ebf8015c8bc4", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/ICompound.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ICompound.sol", "filename_short": "contracts/strategies/ICompound.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/ICompound.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/ICompound.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/ICompound.sol#L2", "id": "ddba7df5322db75d195376ffb9e85ab8e56d1c7c52815188d440127a56fd9745", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/IConvexDeposits.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/IConvexDeposits.sol", "filename_short": "contracts/strategies/IConvexDeposits.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/IConvexDeposits.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/IConvexDeposits.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/IConvexDeposits.sol#L2", "id": "bd18c560914c2915ea918e64268f9d1d198f7ccf10dd56022daaac37648414e1", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/ICurveETHPoolV1.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ICurveETHPoolV1.sol", "filename_short": "contracts/strategies/ICurveETHPoolV1.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/ICurveETHPoolV1.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/ICurveETHPoolV1.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/ICurveETHPoolV1.sol#L2", "id": "87f73a3e8426ca53be7f43f25aef20229cd70ff8b3959b7f179297693c5de12f", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/ICurveGauge.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ICurveGauge.sol", "filename_short": "contracts/strategies/ICurveGauge.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/ICurveGauge.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/ICurveGauge.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/ICurveGauge.sol#L2", "id": "238b46b151a29be97e64f11d9fe1618d42b47fe81401a8cdcc641adba9ebc20e", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.4", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/ICurveMetaPool.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ICurveMetaPool.sol", "filename_short": "contracts/strategies/ICurveMetaPool.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".4"]}}], "description": "Pragma version^0.8.4 (contracts/strategies/ICurveMetaPool.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.4](contracts/strategies/ICurveMetaPool.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/ICurveMetaPool.sol#L2", "id": "7c55a7fd5852f4820ced907ab1a5d0cd97dfe970237e22a8ce7d08c37f23bd74", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/ICurvePool.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ICurvePool.sol", "filename_short": "contracts/strategies/ICurvePool.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/ICurvePool.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/ICurvePool.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/ICurvePool.sol#L2", "id": "f757494eaef356ad0c81503b9251f6301b88a90c82132045d49aaad9905f3f93", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/IRewardStaking.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/IRewardStaking.sol", "filename_short": "contracts/strategies/IRewardStaking.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/IRewardStaking.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/IRewardStaking.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/IRewardStaking.sol#L2", "id": "9f4345a2ad09e15353a5110b5f623427acaef0955ffa86e0566554f27c6888fe", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/MorphoAaveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoAaveStrategy.sol", "filename_short": "contracts/strategies/MorphoAaveStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/MorphoAaveStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/MorphoAaveStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/MorphoAaveStrategy.sol#L2", "id": "093a7824790924e30487939ec460262253829141fddcf00da32cf96c270de1e1", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/MorphoCompoundStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoCompoundStrategy.sol", "filename_short": "contracts/strategies/MorphoCompoundStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/MorphoCompoundStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/MorphoCompoundStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/MorphoCompoundStrategy.sol#L2", "id": "8db8fc20ef33347d2f01428f1313b44970fa01ceb2a5b5077ee12535f3cc74cd", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/ThreePoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ThreePoolStrategy.sol", "filename_short": "contracts/strategies/ThreePoolStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/ThreePoolStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/ThreePoolStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/ThreePoolStrategy.sol#L2", "id": "2c01ceb3c023f424da1ce7aad8d10035e4e03ef67f4043df9a0756dee97d0ae5", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/VaultValueChecker.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/VaultValueChecker.sol", "filename_short": "contracts/strategies/VaultValueChecker.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/VaultValueChecker.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/VaultValueChecker.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/VaultValueChecker.sol#L2", "id": "f0e49630796934edda0580f937847757b9f78dfd24164ef52ff32d0624f92cbf", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L2", "id": "96a4f714939f6ce445a212a2c1e8cf2337907993803525b501c6e4c568b2290a", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/balancer/BaseAuraStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BaseAuraStrategy.sol", "filename_short": "contracts/strategies/balancer/BaseAuraStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/balancer/BaseAuraStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/balancer/BaseAuraStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/balancer/BaseAuraStrategy.sol#L2", "id": "f74abab019eaf77a854245706492d983f7f3b8c74afb17987914e021ce4e7857", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_short": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/balancer/BaseBalancerStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/balancer/BaseBalancerStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/balancer/BaseBalancerStrategy.sol#L2", "id": "35dd7da8ef2b42cd69590a715e37e95b1d6264518801e2b112e605aaaf0e0dc1", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": ">=0.7.0<0.9.0", "source_mapping": {"start": 688, "length": 31, "filename_relative": "contracts/strategies/balancer/VaultReentrancyLib.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/VaultReentrancyLib.sol", "filename_short": "contracts/strategies/balancer/VaultReentrancyLib.sol", "is_dependency": false, "lines": [15], "starting_column": 1, "ending_column": 32}, "type_specific_fields": {"directive": ["solidity", ">=", "0.7", ".0", "<", "0.9", ".0"]}}], "description": "Pragma version>=0.7.0<0.9.0 (contracts/strategies/balancer/VaultReentrancyLib.sol#15) is too complex\n", "markdown": "Pragma version[>=0.7.0<0.9.0](contracts/strategies/balancer/VaultReentrancyLib.sol#L15) is too complex\n", "first_markdown_element": "contracts/strategies/balancer/VaultReentrancyLib.sol#L15", "id": "6580f38da1aa240fb5b3862439e748ea499bd72ee055940f18478a7c52715b0e", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/swapper/Swapper1InchV5.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/swapper/Swapper1InchV5.sol", "filename_short": "contracts/swapper/Swapper1InchV5.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/swapper/Swapper1InchV5.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/swapper/Swapper1InchV5.sol#L2) allows old versions\n", "first_markdown_element": "contracts/swapper/Swapper1InchV5.sol#L2", "id": "a4c33b5af6d7e7fe16f2ced5aa2b62c83a02c59f7473bf8ed321f7a47673c1ff", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/timelock/Timelock.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/timelock/Timelock.sol", "filename_short": "contracts/timelock/Timelock.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/timelock/Timelock.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/timelock/Timelock.sol#L2) allows old versions\n", "first_markdown_element": "contracts/timelock/Timelock.sol#L2", "id": "d28fc27cadb50f2a9adcbf2679eefb86dc31b472d1f1f52197fd3b627cfe9009", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/token/OETH.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/token/OETH.sol", "filename_short": "contracts/token/OETH.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/token/OETH.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/token/OETH.sol#L2) allows old versions\n", "first_markdown_element": "contracts/token/OETH.sol#L2", "id": "0c536785d47453c3e04de56ec0b68c6a1615dccdc19a62e2c85682e2a8f7c7d5", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/token/OUSD.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/token/OUSD.sol#L2) allows old versions\n", "first_markdown_element": "contracts/token/OUSD.sol#L2", "id": "4c28a6c60c940b0c929b0752f10fc43d2c0da77f4294e3d9a3a7284d9d82299a", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/token/WOETH.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/token/WOETH.sol", "filename_short": "contracts/token/WOETH.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/token/WOETH.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/token/WOETH.sol#L2) allows old versions\n", "first_markdown_element": "contracts/token/WOETH.sol#L2", "id": "17861c958de8b62ca693a620b8acfdfa2d1bd58c2f5784a862e1b7547303e94d", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/token/WrappedOusd.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/token/WrappedOusd.sol", "filename_short": "contracts/token/WrappedOusd.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/token/WrappedOusd.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/token/WrappedOusd.sol#L2) allows old versions\n", "first_markdown_element": "contracts/token/WrappedOusd.sol#L2", "id": "3e4418ef1bc9e338a5aeb1cfa883886f37ab4e0da2435bd3b234ba49d317e730", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": ">=0.7.4<0.9.0", "source_mapping": {"start": 688, "length": 31, "filename_relative": "contracts/utils/BalancerErrors.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/BalancerErrors.sol", "filename_short": "contracts/utils/BalancerErrors.sol", "is_dependency": false, "lines": [15], "starting_column": 1, "ending_column": 32}, "type_specific_fields": {"directive": ["solidity", ">=", "0.7", ".4", "<", "0.9", ".0"]}}], "description": "Pragma version>=0.7.4<0.9.0 (contracts/utils/BalancerErrors.sol#15) is too complex\n", "markdown": "Pragma version[>=0.7.4<0.9.0](contracts/utils/BalancerErrors.sol#L15) is too complex\n", "first_markdown_element": "contracts/utils/BalancerErrors.sol#L15", "id": "70df7857ac9891aa8cf53e027c04023696b0ad1f76d554b9977078967ae979a3", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/utils/Helpers.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/Helpers.sol", "filename_short": "contracts/utils/Helpers.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/utils/Helpers.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/utils/Helpers.sol#L2) allows old versions\n", "first_markdown_element": "contracts/utils/Helpers.sol#L2", "id": "86623102155b1f075f6ea2dd0ddac7ed6b2d3b622cb613deefb6c97e2a0be030", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/utils/Initializable.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/Initializable.sol", "filename_short": "contracts/utils/Initializable.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/utils/Initializable.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/utils/Initializable.sol#L2) allows old versions\n", "first_markdown_element": "contracts/utils/Initializable.sol#L2", "id": "1b5144dca22360d396579ab156ffa691cbf0ed4e22bf3c00ee10fabf9703e062", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/utils/InitializableAbstractStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/utils/InitializableAbstractStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/utils/InitializableAbstractStrategy.sol#L2", "id": "e4ba9f8308fcf868334ea35ea0011b4dc5065ea98e8e2f866b6663636a34133c", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/utils/InitializableERC20Detailed.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/InitializableERC20Detailed.sol", "filename_short": "contracts/utils/InitializableERC20Detailed.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/utils/InitializableERC20Detailed.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/utils/InitializableERC20Detailed.sol#L2) allows old versions\n", "first_markdown_element": "contracts/utils/InitializableERC20Detailed.sol#L2", "id": "cc3087c4f9d79aeb7b09b5af0de7a2c21f568639180749dfae8282cc230769ac", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/vault/OETHVault.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/OETHVault.sol", "filename_short": "contracts/vault/OETHVault.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/vault/OETHVault.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/vault/OETHVault.sol#L2) allows old versions\n", "first_markdown_element": "contracts/vault/OETHVault.sol#L2", "id": "604949a689d5c3b2ab20fb9cd6b7310f14ac7bd713bc96e0db26d320a9eb864d", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/vault/OETHVaultAdmin.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/OETHVaultAdmin.sol", "filename_short": "contracts/vault/OETHVaultAdmin.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/vault/OETHVaultAdmin.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/vault/OETHVaultAdmin.sol#L2) allows old versions\n", "first_markdown_element": "contracts/vault/OETHVaultAdmin.sol#L2", "id": "52063d9c11ce856aae9c6be5a5bac5eb2aa90d6adb13982fc7a8eba2ebae9a76", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/vault/OETHVaultCore.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/OETHVaultCore.sol", "filename_short": "contracts/vault/OETHVaultCore.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/vault/OETHVaultCore.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/vault/OETHVaultCore.sol#L2) allows old versions\n", "first_markdown_element": "contracts/vault/OETHVaultCore.sol#L2", "id": "61a2f9dd5eda9e2116a60248dcfec34b77e86aa3f21e921ac302464213dee3b3", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/vault/OETHZapper.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/vault/OETHZapper.sol#L2) allows old versions\n", "first_markdown_element": "contracts/vault/OETHZapper.sol#L2", "id": "147adfb2889187ec2a27af28deae1179c4fbdbdcf42e2d98832947d7a6daa618", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/vault/Vault.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/Vault.sol", "filename_short": "contracts/vault/Vault.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/vault/Vault.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/vault/Vault.sol#L2) allows old versions\n", "first_markdown_element": "contracts/vault/Vault.sol#L2", "id": "9a51591a30b72d5cd9296be4fbbb7b829de2b26331556dd05fb210fce4ce90d8", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/vault/VaultAdmin.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_short": "contracts/vault/VaultAdmin.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/vault/VaultAdmin.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/vault/VaultAdmin.sol#L2) allows old versions\n", "first_markdown_element": "contracts/vault/VaultAdmin.sol#L2", "id": "af09cf9a6cd593314e07a4a02c9fda9d86de52506100b576110e312776e508d3", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/vault/VaultCore.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/vault/VaultCore.sol#L2) allows old versions\n", "first_markdown_element": "contracts/vault/VaultCore.sol#L2", "id": "c6f1fe952b98499175623c21fa73863d0e52ede9adcdb9a0840b62c0ba0f4636", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/vault/VaultStorage.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/vault/VaultStorage.sol#L2) allows old versions\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L2", "id": "8f3edef86568cc9c580189310994269662f4ded56367af9f91567362f996681f", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": ">=0.4.22<0.9.0", "source_mapping": {"start": 32, "length": 33, "filename_relative": "node_modules/hardhat/console.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/node_modules/hardhat/console.sol", "filename_short": "node_modules/hardhat/console.sol", "is_dependency": true, "lines": [2], "starting_column": 1, "ending_column": 34}, "type_specific_fields": {"directive": ["solidity", ">=", "0.4", ".22", "<", "0.9", ".0"]}}], "description": "Pragma version>=0.4.22<0.9.0 (node_modules/hardhat/console.sol#2) is too complex\n", "markdown": "Pragma version[>=0.4.22<0.9.0](node_modules/hardhat/console.sol#L2) is too complex\n", "first_markdown_element": "node_modules/hardhat/console.sol#L2", "id": "f30cc00866ad4644a058066a785a40fc85920295b639d57c66467131996ae1a5", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [], "description": "solc-0.8.7 is not recommended for deployment\n", "markdown": "solc-0.8.7 is not recommended for deployment\n", "first_markdown_element": "", "id": "7625fc0b76e6d47f90acb00bf7e2271fd51795d3b2a30f085edbbc0db8832c0c", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "function", "name": "initialize", "source_mapping": {"start": 1352, "length": 545, "filename_relative": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_short": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "is_dependency": false, "lines": [34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "InitializeGovernedUpgradeabilityProxy", "source_mapping": {"start": 450, "length": 6294, "filename_relative": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_short": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "is_dependency": false, "lines": [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196], "starting_column": 1, "ending_column": 2}}, "signature": "initialize(address,address,bytes)"}}, {"type": "node", "name": "(success) = _logic.delegatecall(_data)", "source_mapping": {"start": 1765, "length": 45, "filename_relative": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_short": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "is_dependency": false, "lines": [46], "starting_column": 13, "ending_column": 58}, "type_specific_fields": {"parent": {"type": "function", "name": "initialize", "source_mapping": {"start": 1352, "length": 545, "filename_relative": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_short": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "is_dependency": false, "lines": [34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "InitializeGovernedUpgradeabilityProxy", "source_mapping": {"start": 450, "length": 6294, "filename_relative": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_short": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "is_dependency": false, "lines": [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196], "starting_column": 1, "ending_column": 2}}, "signature": "initialize(address,address,bytes)"}}}}], "description": "Low level call in InitializeGovernedUpgradeabilityProxy.initialize(address,address,bytes) (contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol#34-50):\n\t- (success) = _logic.delegatecall(_data) (contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol#46)\n", "markdown": "Low level call in [InitializeGovernedUpgradeabilityProxy.initialize(address,address,bytes)](contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol#L34-L50):\n\t- [(success) = _logic.delegatecall(_data)](contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol#L46)\n", "first_markdown_element": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol#L34-L50", "id": "6c5c3cf16cf2b84b5eb1ddd1ec60c27b5513ecedd039521383bf5b583573950a", "check": "low-level-calls", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "function", "name": "upgradeToAndCall", "source_mapping": {"start": 3091, "length": 269, "filename_relative": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_short": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "is_dependency": false, "lines": [84, 85, 86, 87, 88, 89, 90, 91, 92], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "InitializeGovernedUpgradeabilityProxy", "source_mapping": {"start": 450, "length": 6294, "filename_relative": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_short": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "is_dependency": false, "lines": [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196], "starting_column": 1, "ending_column": 2}}, "signature": "upgradeToAndCall(address,bytes)"}}, {"type": "node", "name": "(success) = newImplementation.delegatecall(data)", "source_mapping": {"start": 3272, "length": 55, "filename_relative": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_short": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "is_dependency": false, "lines": [90], "starting_column": 9, "ending_column": 64}, "type_specific_fields": {"parent": {"type": "function", "name": "upgradeToAndCall", "source_mapping": {"start": 3091, "length": 269, "filename_relative": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_short": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "is_dependency": false, "lines": [84, 85, 86, 87, 88, 89, 90, 91, 92], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "InitializeGovernedUpgradeabilityProxy", "source_mapping": {"start": 450, "length": 6294, "filename_relative": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_short": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "is_dependency": false, "lines": [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196], "starting_column": 1, "ending_column": 2}}, "signature": "upgradeToAndCall(address,bytes)"}}}}], "description": "Low level call in InitializeGovernedUpgradeabilityProxy.upgradeToAndCall(address,bytes) (contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol#84-92):\n\t- (success) = newImplementation.delegatecall(data) (contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol#90)\n", "markdown": "Low level call in [InitializeGovernedUpgradeabilityProxy.upgradeToAndCall(address,bytes)](contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol#L84-L92):\n\t- [(success) = newImplementation.delegatecall(data)](contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol#L90)\n", "first_markdown_element": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol#L84-L92", "id": "7f2660b6c4c8a8a08bd4c88bece7832ccd9c9463eef8e34dabd5f732b86d6d47", "check": "low-level-calls", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "function", "name": "ensureNotInVaultContext", "source_mapping": {"start": 2014, "length": 2926, "filename_relative": "contracts/strategies/balancer/VaultReentrancyLib.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/VaultReentrancyLib.sol", "filename_short": "contracts/strategies/balancer/VaultReentrancyLib.sol", "is_dependency": false, "lines": [37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultReentrancyLib", "source_mapping": {"start": 842, "length": 4100, "filename_relative": "contracts/strategies/balancer/VaultReentrancyLib.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/VaultReentrancyLib.sol", "filename_short": "contracts/strategies/balancer/VaultReentrancyLib.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84], "starting_column": 1, "ending_column": 2}}, "signature": "ensureNotInVaultContext(IBalancerVault)"}}, {"type": "node", "name": "(revertData) = address(vault).staticcall{gas: 10_000}(abi.encodeWithSelector(vault.manageUserBalance.selector,0))", "source_mapping": {"start": 4718, "length": 153, "filename_relative": "contracts/strategies/balancer/VaultReentrancyLib.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/VaultReentrancyLib.sol", "filename_short": "contracts/strategies/balancer/VaultReentrancyLib.sol", "is_dependency": false, "lines": [78, 79, 80], "starting_column": 9, "ending_column": 10}, "type_specific_fields": {"parent": {"type": "function", "name": "ensureNotInVaultContext", "source_mapping": {"start": 2014, "length": 2926, "filename_relative": "contracts/strategies/balancer/VaultReentrancyLib.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/VaultReentrancyLib.sol", "filename_short": "contracts/strategies/balancer/VaultReentrancyLib.sol", "is_dependency": false, "lines": [37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultReentrancyLib", "source_mapping": {"start": 842, "length": 4100, "filename_relative": "contracts/strategies/balancer/VaultReentrancyLib.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/VaultReentrancyLib.sol", "filename_short": "contracts/strategies/balancer/VaultReentrancyLib.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84], "starting_column": 1, "ending_column": 2}}, "signature": "ensureNotInVaultContext(IBalancerVault)"}}}}], "description": "Low level call in VaultReentrancyLib.ensureNotInVaultContext(IBalancerVault) (contracts/strategies/balancer/VaultReentrancyLib.sol#37-83):\n\t- (revertData) = address(vault).staticcall{gas: 10_000}(abi.encodeWithSelector(vault.manageUserBalance.selector,0)) (contracts/strategies/balancer/VaultReentrancyLib.sol#78-80)\n", "markdown": "Low level call in [VaultReentrancyLib.ensureNotInVaultContext(IBalancerVault)](contracts/strategies/balancer/VaultReentrancyLib.sol#L37-L83):\n\t- [(revertData) = address(vault).staticcall{gas: 10_000}(abi.encodeWithSelector(vault.manageUserBalance.selector,0))](contracts/strategies/balancer/VaultReentrancyLib.sol#L78-L80)\n", "first_markdown_element": "contracts/strategies/balancer/VaultReentrancyLib.sol#L37-L83", "id": "98316229491915cc66c956087ac79402c560c3f206de5f6cd847957cb34b9835", "check": "low-level-calls", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "function", "name": "executeTransaction", "source_mapping": {"start": 4611, "length": 1434, "filename_relative": "contracts/timelock/Timelock.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/timelock/Timelock.sol", "filename_short": "contracts/timelock/Timelock.sol", "is_dependency": false, "lines": [171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Timelock", "source_mapping": {"start": 298, "length": 6391, "filename_relative": "contracts/timelock/Timelock.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/timelock/Timelock.sol", "filename_short": "contracts/timelock/Timelock.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242], "starting_column": 1, "ending_column": 2}}, "signature": "executeTransaction(address,string,bytes,uint256)"}}, {"type": "node", "name": "(success,returnData) = target.call(callData)", "source_mapping": {"start": 5793, "length": 63, "filename_relative": "contracts/timelock/Timelock.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/timelock/Timelock.sol", "filename_short": "contracts/timelock/Timelock.sol", "is_dependency": false, "lines": [211], "starting_column": 9, "ending_column": 72}, "type_specific_fields": {"parent": {"type": "function", "name": "executeTransaction", "source_mapping": {"start": 4611, "length": 1434, "filename_relative": "contracts/timelock/Timelock.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/timelock/Timelock.sol", "filename_short": "contracts/timelock/Timelock.sol", "is_dependency": false, "lines": [171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Timelock", "source_mapping": {"start": 298, "length": 6391, "filename_relative": "contracts/timelock/Timelock.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/timelock/Timelock.sol", "filename_short": "contracts/timelock/Timelock.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242], "starting_column": 1, "ending_column": 2}}, "signature": "executeTransaction(address,string,bytes,uint256)"}}}}], "description": "Low level call in Timelock.executeTransaction(address,string,bytes,uint256) (contracts/timelock/Timelock.sol#171-220):\n\t- (success,returnData) = target.call(callData) (contracts/timelock/Timelock.sol#211)\n", "markdown": "Low level call in [Timelock.executeTransaction(address,string,bytes,uint256)](contracts/timelock/Timelock.sol#L171-L220):\n\t- [(success,returnData) = target.call(callData)](contracts/timelock/Timelock.sol#L211)\n", "first_markdown_element": "contracts/timelock/Timelock.sol#L171-L220", "id": "fc264625329d03fc92609ac851cf350acd7395286be85f37aa67182242c97b4c", "check": "low-level-calls", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "contract", "name": "Buyback", "source_mapping": {"start": 471, "length": 6795, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224], "starting_column": 1, "ending_column": 2}}, {"type": "contract", "name": "IBuyback", "source_mapping": {"start": 57, "length": 52, "filename_relative": "contracts/interfaces/IBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IBuyback.sol", "filename_short": "contracts/interfaces/IBuyback.sol", "is_dependency": false, "lines": [4, 5, 6], "starting_column": 1, "ending_column": 2}}], "description": "Buyback (contracts/buyback/Buyback.sol#12-224) should inherit from IBuyback (contracts/interfaces/IBuyback.sol#4-6)\n", "markdown": "[Buyback](contracts/buyback/Buyback.sol#L12-L224) should inherit from [IBuyback](contracts/interfaces/IBuyback.sol#L4-L6)\n", "first_markdown_element": "contracts/buyback/Buyback.sol#L12-L224", "id": "888f95b000b702e7d04774c76c9794a92c1e80600b6b7a97ce73c55bcee78fe5", "check": "missing-inheritance", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "contract", "name": "CompensationClaims", "source_mapping": {"start": 1527, "length": 3674, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164], "starting_column": 1, "ending_column": 2}}, {"type": "contract", "name": "IERC20Decimals", "source_mapping": {"start": 5203, "length": 83, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [166, 167, 168], "starting_column": 1, "ending_column": 2}}], "description": "CompensationClaims (contracts/compensation/CompensationClaims.sol#42-164) should inherit from IERC20Decimals (contracts/compensation/CompensationClaims.sol#166-168)\n", "markdown": "[CompensationClaims](contracts/compensation/CompensationClaims.sol#L42-L164) should inherit from [IERC20Decimals](contracts/compensation/CompensationClaims.sol#L166-L168)\n", "first_markdown_element": "contracts/compensation/CompensationClaims.sol#L42-L164", "id": "bb54307d75b10bfbf4bd0c5601ff99f3589c5042d9ed260e9d972572a851db43", "check": "missing-inheritance", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "amountADesired", "source_mapping": {"start": 448, "length": 22, "filename_relative": "contracts/interfaces/uniswap/IUniswapV2Router02.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/uniswap/IUniswapV2Router02.sol", "filename_short": "contracts/interfaces/uniswap/IUniswapV2Router02.sol", "is_dependency": false, "lines": [18], "starting_column": 9, "ending_column": 31}, "type_specific_fields": {"parent": {"type": "function", "name": "addLiquidity", "source_mapping": {"start": 369, "length": 375, "filename_relative": "contracts/interfaces/uniswap/IUniswapV2Router02.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/uniswap/IUniswapV2Router02.sol", "filename_short": "contracts/interfaces/uniswap/IUniswapV2Router02.sol", "is_dependency": false, "lines": [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], "starting_column": 5, "ending_column": 11}, "type_specific_fields": {"parent": {"type": "contract", "name": "IUniswapV2Router", "source_mapping": {"start": 57, "length": 689, "filename_relative": "contracts/interfaces/uniswap/IUniswapV2Router02.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/uniswap/IUniswapV2Router02.sol", "filename_short": "contracts/interfaces/uniswap/IUniswapV2Router02.sol", "is_dependency": false, "lines": [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31], "starting_column": 1, "ending_column": 2}}, "signature": "addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256)"}}}}, {"type": "variable", "name": "amountBDesired", "source_mapping": {"start": 480, "length": 22, "filename_relative": "contracts/interfaces/uniswap/IUniswapV2Router02.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/uniswap/IUniswapV2Router02.sol", "filename_short": "contracts/interfaces/uniswap/IUniswapV2Router02.sol", "is_dependency": false, "lines": [19], "starting_column": 9, "ending_column": 31}, "type_specific_fields": {"parent": {"type": "function", "name": "addLiquidity", "source_mapping": {"start": 369, "length": 375, "filename_relative": "contracts/interfaces/uniswap/IUniswapV2Router02.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/uniswap/IUniswapV2Router02.sol", "filename_short": "contracts/interfaces/uniswap/IUniswapV2Router02.sol", "is_dependency": false, "lines": [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], "starting_column": 5, "ending_column": 11}, "type_specific_fields": {"parent": {"type": "contract", "name": "IUniswapV2Router", "source_mapping": {"start": 57, "length": 689, "filename_relative": "contracts/interfaces/uniswap/IUniswapV2Router02.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/uniswap/IUniswapV2Router02.sol", "filename_short": "contracts/interfaces/uniswap/IUniswapV2Router02.sol", "is_dependency": false, "lines": [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31], "starting_column": 1, "ending_column": 2}}, "signature": "addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256)"}}}}], "description": "Variable IUniswapV2Router.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/interfaces/uniswap/IUniswapV2Router02.sol#18) is too similar to IUniswapV2Router.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/interfaces/uniswap/IUniswapV2Router02.sol#19)\n", "markdown": "Variable [IUniswapV2Router.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired](contracts/interfaces/uniswap/IUniswapV2Router02.sol#L18) is too similar to [IUniswapV2Router.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired](contracts/interfaces/uniswap/IUniswapV2Router02.sol#L19)\n", "first_markdown_element": "contracts/interfaces/uniswap/IUniswapV2Router02.sol#L18", "id": "ebfb97f25d979455759836fd8e6dfb5873e5f0066fe15708bfbea958a6c97d6c", "check": "similar-names", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "variable", "name": "_deprecated_oeth", "source_mapping": {"start": 1691, "length": 32, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [40], "starting_column": 5, "ending_column": 37}, "type_specific_fields": {"parent": {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}}}, {"type": "variable", "name": "_deprecated_weth", "source_mapping": {"start": 1779, "length": 32, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [42], "starting_column": 5, "ending_column": 37}, "type_specific_fields": {"parent": {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}}}], "description": "Variable ConvexEthMetaStrategy._deprecated_oeth (contracts/strategies/ConvexEthMetaStrategy.sol#40) is too similar to ConvexEthMetaStrategy._deprecated_weth (contracts/strategies/ConvexEthMetaStrategy.sol#42)\n", "markdown": "Variable [ConvexEthMetaStrategy._deprecated_oeth](contracts/strategies/ConvexEthMetaStrategy.sol#L40) is too similar to [ConvexEthMetaStrategy._deprecated_weth](contracts/strategies/ConvexEthMetaStrategy.sol#L42)\n", "first_markdown_element": "contracts/strategies/ConvexEthMetaStrategy.sol#L40", "id": "5b6051eceb5b7aaf0e9cc0f0842f0f90d06cf9f7a22bf02559f4e9e2f3357a34", "check": "similar-names", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "variable", "name": "_strategyAmount", "source_mapping": {"start": 6763, "length": 23, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [184], "starting_column": 9, "ending_column": 32}, "type_specific_fields": {"parent": {"type": "function", "name": "withdraw", "source_mapping": {"start": 6676, "length": 441, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "withdraw(address,address,uint256)"}}}}, {"type": "variable", "name": "strategyAmounts", "source_mapping": {"start": 6904, "length": 51, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [187], "starting_column": 9, "ending_column": 60}, "type_specific_fields": {"parent": {"type": "function", "name": "withdraw", "source_mapping": {"start": 6676, "length": 441, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "withdraw(address,address,uint256)"}}}}], "description": "Variable BalancerMetaPoolStrategy.withdraw(address,address,uint256)._strategyAmount (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#184) is too similar to BalancerMetaPoolStrategy.withdraw(address,address,uint256).strategyAmounts (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#187)\n", "markdown": "Variable [BalancerMetaPoolStrategy.withdraw(address,address,uint256)._strategyAmount](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L184) is too similar to [BalancerMetaPoolStrategy.withdraw(address,address,uint256).strategyAmounts](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L187)\n", "first_markdown_element": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L184", "id": "1aed6ded618c44ade473c821a6b9bf134ffc84045f4500d4abe47e6f4fa3b246", "check": "similar-names", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "variable", "name": "_strategyAsset", "source_mapping": {"start": 6731, "length": 22, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [183], "starting_column": 9, "ending_column": 31}, "type_specific_fields": {"parent": {"type": "function", "name": "withdraw", "source_mapping": {"start": 6676, "length": 441, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "withdraw(address,address,uint256)"}}}}, {"type": "variable", "name": "strategyAssets", "source_mapping": {"start": 6844, "length": 50, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [186], "starting_column": 9, "ending_column": 59}, "type_specific_fields": {"parent": {"type": "function", "name": "withdraw", "source_mapping": {"start": 6676, "length": 441, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "withdraw(address,address,uint256)"}}}}], "description": "Variable BalancerMetaPoolStrategy.withdraw(address,address,uint256)._strategyAsset (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#183) is too similar to BalancerMetaPoolStrategy.withdraw(address,address,uint256).strategyAssets (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#186)\n", "markdown": "Variable [BalancerMetaPoolStrategy.withdraw(address,address,uint256)._strategyAsset](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L183) is too similar to [BalancerMetaPoolStrategy.withdraw(address,address,uint256).strategyAssets](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L186)\n", "first_markdown_element": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L183", "id": "66361a04820f0b284c38b75c42ab3a0d624fca7ff422827061628fe33a32284a", "check": "similar-names", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "variable", "name": "_strategyAmount", "source_mapping": {"start": 6763, "length": 23, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [184], "starting_column": 9, "ending_column": 32}, "type_specific_fields": {"parent": {"type": "function", "name": "withdraw", "source_mapping": {"start": 6676, "length": 441, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "withdraw(address,address,uint256)"}}}}, {"type": "variable", "name": "strategyAmounts", "source_mapping": {"start": 2151, "length": 62, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [63], "starting_column": 9, "ending_column": 71}, "type_specific_fields": {"parent": {"type": "function", "name": "depositAll", "source_mapping": {"start": 1955, "length": 650, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "depositAll()"}}}}], "description": "Variable BalancerMetaPoolStrategy.withdraw(address,address,uint256)._strategyAmount (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#184) is too similar to BalancerMetaPoolStrategy.depositAll().strategyAmounts (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#63)\n", "markdown": "Variable [BalancerMetaPoolStrategy.withdraw(address,address,uint256)._strategyAmount](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L184) is too similar to [BalancerMetaPoolStrategy.depositAll().strategyAmounts](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L63)\n", "first_markdown_element": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L184", "id": "a7546e7a5e19fa58d409f225c94fc62708482c38af8128c515f32d6ba8df35fe", "check": "similar-names", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "variable", "name": "_strategyAsset", "source_mapping": {"start": 6731, "length": 22, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [183], "starting_column": 9, "ending_column": 31}, "type_specific_fields": {"parent": {"type": "function", "name": "withdraw", "source_mapping": {"start": 6676, "length": 441, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "withdraw(address,address,uint256)"}}}}, {"type": "variable", "name": "strategyAssets", "source_mapping": {"start": 2080, "length": 61, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [62], "starting_column": 9, "ending_column": 70}, "type_specific_fields": {"parent": {"type": "function", "name": "depositAll", "source_mapping": {"start": 1955, "length": 650, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "depositAll()"}}}}], "description": "Variable BalancerMetaPoolStrategy.withdraw(address,address,uint256)._strategyAsset (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#183) is too similar to BalancerMetaPoolStrategy.depositAll().strategyAssets (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#62)\n", "markdown": "Variable [BalancerMetaPoolStrategy.withdraw(address,address,uint256)._strategyAsset](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L183) is too similar to [BalancerMetaPoolStrategy.depositAll().strategyAssets](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L62)\n", "first_markdown_element": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L183", "id": "8d413dbcd056feff7dc7e0cdab6461754f794759a0763231778a50085c6d7beb", "check": "similar-names", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "variable", "name": "_minToAssetAmount", "source_mapping": {"start": 2032, "length": 25, "filename_relative": "contracts/swapper/Swapper1InchV5.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/swapper/Swapper1InchV5.sol", "filename_short": "contracts/swapper/Swapper1InchV5.sol", "is_dependency": false, "lines": [44], "starting_column": 9, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "function", "name": "swap", "source_mapping": {"start": 1921, "length": 2324, "filename_relative": "contracts/swapper/Swapper1InchV5.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/swapper/Swapper1InchV5.sol", "filename_short": "contracts/swapper/Swapper1InchV5.sol", "is_dependency": false, "lines": [40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Swapper1InchV5", "source_mapping": {"start": 756, "length": 3993, "filename_relative": "contracts/swapper/Swapper1InchV5.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/swapper/Swapper1InchV5.sol", "filename_short": "contracts/swapper/Swapper1InchV5.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107], "starting_column": 1, "ending_column": 2}}, "signature": "swap(address,address,uint256,uint256,bytes)"}}}}, {"type": "variable", "name": "minToAssetAmmount", "source_mapping": {"start": 518, "length": 25, "filename_relative": "contracts/interfaces/ISwapper.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/ISwapper.sol", "filename_short": "contracts/interfaces/ISwapper.sol", "is_dependency": false, "lines": [15], "starting_column": 9, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "function", "name": "swap", "source_mapping": {"start": 410, "length": 210, "filename_relative": "contracts/interfaces/ISwapper.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/ISwapper.sol", "filename_short": "contracts/interfaces/ISwapper.sol", "is_dependency": false, "lines": [11, 12, 13, 14, 15, 16, 17], "starting_column": 5, "ending_column": 48}, "type_specific_fields": {"parent": {"type": "contract", "name": "ISwapper", "source_mapping": {"start": 25, "length": 597, "filename_relative": "contracts/interfaces/ISwapper.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/ISwapper.sol", "filename_short": "contracts/interfaces/ISwapper.sol", "is_dependency": false, "lines": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "starting_column": 1, "ending_column": 2}}, "signature": "swap(address,address,uint256,uint256,bytes)"}}}}], "description": "Variable Swapper1InchV5.swap(address,address,uint256,uint256,bytes)._minToAssetAmount (contracts/swapper/Swapper1InchV5.sol#44) is too similar to ISwapper.swap(address,address,uint256,uint256,bytes).minToAssetAmmount (contracts/interfaces/ISwapper.sol#15)\n", "markdown": "Variable [Swapper1InchV5.swap(address,address,uint256,uint256,bytes)._minToAssetAmount](contracts/swapper/Swapper1InchV5.sol#L44) is too similar to [ISwapper.swap(address,address,uint256,uint256,bytes).minToAssetAmmount](contracts/interfaces/ISwapper.sol#L15)\n", "first_markdown_element": "contracts/swapper/Swapper1InchV5.sol#L44", "id": "eae2949d0e59530d2f242dae886ff3fea97e94f94d3823b068602062a05a241e", "check": "similar-names", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "variable", "name": "MAX_SWAP_FEE_PERCENTAGE", "source_mapping": {"start": 6203, "length": 55, "filename_relative": "contracts/utils/BalancerErrors.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/BalancerErrors.sol", "filename_short": "contracts/utils/BalancerErrors.sol", "is_dependency": false, "lines": [143], "starting_column": 5, "ending_column": 60}, "type_specific_fields": {"parent": {"type": "contract", "name": "Errors", "source_mapping": {"start": 5220, "length": 10023, "filename_relative": "contracts/utils/BalancerErrors.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/BalancerErrors.sol", "filename_short": "contracts/utils/BalancerErrors.sol", "is_dependency": false, "lines": [119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305], "starting_column": 1, "ending_column": 2}}}}, {"type": "variable", "name": "MIN_SWAP_FEE_PERCENTAGE", "source_mapping": {"start": 6264, "length": 55, "filename_relative": "contracts/utils/BalancerErrors.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/BalancerErrors.sol", "filename_short": "contracts/utils/BalancerErrors.sol", "is_dependency": false, "lines": [144], "starting_column": 5, "ending_column": 60}, "type_specific_fields": {"parent": {"type": "contract", "name": "Errors", "source_mapping": {"start": 5220, "length": 10023, "filename_relative": "contracts/utils/BalancerErrors.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/BalancerErrors.sol", "filename_short": "contracts/utils/BalancerErrors.sol", "is_dependency": false, "lines": [119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305], "starting_column": 1, "ending_column": 2}}}}], "description": "Variable Errors.MAX_SWAP_FEE_PERCENTAGE (contracts/utils/BalancerErrors.sol#143) is too similar to Errors.MIN_SWAP_FEE_PERCENTAGE (contracts/utils/BalancerErrors.sol#144)\n", "markdown": "Variable [Errors.MAX_SWAP_FEE_PERCENTAGE](contracts/utils/BalancerErrors.sol#L143) is too similar to [Errors.MIN_SWAP_FEE_PERCENTAGE](contracts/utils/BalancerErrors.sol#L144)\n", "first_markdown_element": "contracts/utils/BalancerErrors.sol#L143", "id": "1945ab1040eae7c5129c9ca51251cc5945d27f9feeef4fe3fa3ba6ace5018424", "check": "similar-names", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "variable", "name": "SAFE_CAST_VALUE_CANT_FIT_INT256", "source_mapping": {"start": 11645, "length": 63, "filename_relative": "contracts/utils/BalancerErrors.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/BalancerErrors.sol", "filename_short": "contracts/utils/BalancerErrors.sol", "is_dependency": false, "lines": [237], "starting_column": 5, "ending_column": 68}, "type_specific_fields": {"parent": {"type": "contract", "name": "Errors", "source_mapping": {"start": 5220, "length": 10023, "filename_relative": "contracts/utils/BalancerErrors.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/BalancerErrors.sol", "filename_short": "contracts/utils/BalancerErrors.sol", "is_dependency": false, "lines": [119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305], "starting_column": 1, "ending_column": 2}}}}, {"type": "variable", "name": "SAFE_CAST_VALUE_CANT_FIT_UINT64", "source_mapping": {"start": 12870, "length": 63, "filename_relative": "contracts/utils/BalancerErrors.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/BalancerErrors.sol", "filename_short": "contracts/utils/BalancerErrors.sol", "is_dependency": false, "lines": [258], "starting_column": 5, "ending_column": 68}, "type_specific_fields": {"parent": {"type": "contract", "name": "Errors", "source_mapping": {"start": 5220, "length": 10023, "filename_relative": "contracts/utils/BalancerErrors.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/BalancerErrors.sol", "filename_short": "contracts/utils/BalancerErrors.sol", "is_dependency": false, "lines": [119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305], "starting_column": 1, "ending_column": 2}}}}], "description": "Variable Errors.SAFE_CAST_VALUE_CANT_FIT_INT256 (contracts/utils/BalancerErrors.sol#237) is too similar to Errors.SAFE_CAST_VALUE_CANT_FIT_UINT64 (contracts/utils/BalancerErrors.sol#258)\n", "markdown": "Variable [Errors.SAFE_CAST_VALUE_CANT_FIT_INT256](contracts/utils/BalancerErrors.sol#L237) is too similar to [Errors.SAFE_CAST_VALUE_CANT_FIT_UINT64](contracts/utils/BalancerErrors.sol#L258)\n", "first_markdown_element": "contracts/utils/BalancerErrors.sol#L237", "id": "88ac8f4e5576fb97b495077a9436555edd1c567779549108bc61db44fa8fbc76", "check": "similar-names", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "variable", "name": "X_OUT_OF_BOUNDS", "source_mapping": {"start": 5543, "length": 45, "filename_relative": "contracts/utils/BalancerErrors.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/BalancerErrors.sol", "filename_short": "contracts/utils/BalancerErrors.sol", "is_dependency": false, "lines": [127], "starting_column": 5, "ending_column": 50}, "type_specific_fields": {"parent": {"type": "contract", "name": "Errors", "source_mapping": {"start": 5220, "length": 10023, "filename_relative": "contracts/utils/BalancerErrors.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/BalancerErrors.sol", "filename_short": "contracts/utils/BalancerErrors.sol", "is_dependency": false, "lines": [119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305], "starting_column": 1, "ending_column": 2}}}}, {"type": "variable", "name": "Y_OUT_OF_BOUNDS", "source_mapping": {"start": 5594, "length": 45, "filename_relative": "contracts/utils/BalancerErrors.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/BalancerErrors.sol", "filename_short": "contracts/utils/BalancerErrors.sol", "is_dependency": false, "lines": [128], "starting_column": 5, "ending_column": 50}, "type_specific_fields": {"parent": {"type": "contract", "name": "Errors", "source_mapping": {"start": 5220, "length": 10023, "filename_relative": "contracts/utils/BalancerErrors.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/BalancerErrors.sol", "filename_short": "contracts/utils/BalancerErrors.sol", "is_dependency": false, "lines": [119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305], "starting_column": 1, "ending_column": 2}}}}], "description": "Variable Errors.X_OUT_OF_BOUNDS (contracts/utils/BalancerErrors.sol#127) is too similar to Errors.Y_OUT_OF_BOUNDS (contracts/utils/BalancerErrors.sol#128)\n", "markdown": "Variable [Errors.X_OUT_OF_BOUNDS](contracts/utils/BalancerErrors.sol#L127) is too similar to [Errors.Y_OUT_OF_BOUNDS](contracts/utils/BalancerErrors.sol#L128)\n", "first_markdown_element": "contracts/utils/BalancerErrors.sol#L127", "id": "f712601ceb4ec174a5c45eca90ac3878faf40c5dc35b8bac76ab1386bc61f748", "check": "similar-names", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "variable", "name": "_deprecated_cvxDepositorAddress", "source_mapping": {"start": 1201, "length": 47, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [30], "starting_column": 5, "ending_column": 52}, "type_specific_fields": {"parent": {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}], "description": "ConvexEthMetaStrategy._deprecated_cvxDepositorAddress (contracts/strategies/ConvexEthMetaStrategy.sol#30) is never used in ConvexEthMetaStrategy (contracts/strategies/ConvexEthMetaStrategy.sol#20-622)\n", "markdown": "[ConvexEthMetaStrategy._deprecated_cvxDepositorAddress](contracts/strategies/ConvexEthMetaStrategy.sol#L30) is never used in [ConvexEthMetaStrategy](contracts/strategies/ConvexEthMetaStrategy.sol#L20-L622)\n", "first_markdown_element": "contracts/strategies/ConvexEthMetaStrategy.sol#L30", "id": "0327ed03b6138255e7d3ed2dec91360718b9225fdec894e5e2565e2b9dedbd97", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_deprecated_cvxRewardStaker", "source_mapping": {"start": 1304, "length": 43, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [32], "starting_column": 5, "ending_column": 48}, "type_specific_fields": {"parent": {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}], "description": "ConvexEthMetaStrategy._deprecated_cvxRewardStaker (contracts/strategies/ConvexEthMetaStrategy.sol#32) is never used in ConvexEthMetaStrategy (contracts/strategies/ConvexEthMetaStrategy.sol#20-622)\n", "markdown": "[ConvexEthMetaStrategy._deprecated_cvxRewardStaker](contracts/strategies/ConvexEthMetaStrategy.sol#L32) is never used in [ConvexEthMetaStrategy](contracts/strategies/ConvexEthMetaStrategy.sol#L20-L622)\n", "first_markdown_element": "contracts/strategies/ConvexEthMetaStrategy.sol#L32", "id": "30cc5ee3de309a7891c1e195b89e0be4c974dabc6853688a419fd61fe368b561", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_deprecated_cvxDepositorPTokenId", "source_mapping": {"start": 1403, "length": 48, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [34], "starting_column": 5, "ending_column": 53}, "type_specific_fields": {"parent": {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}], "description": "ConvexEthMetaStrategy._deprecated_cvxDepositorPTokenId (contracts/strategies/ConvexEthMetaStrategy.sol#34) is never used in ConvexEthMetaStrategy (contracts/strategies/ConvexEthMetaStrategy.sol#20-622)\n", "markdown": "[ConvexEthMetaStrategy._deprecated_cvxDepositorPTokenId](contracts/strategies/ConvexEthMetaStrategy.sol#L34) is never used in [ConvexEthMetaStrategy](contracts/strategies/ConvexEthMetaStrategy.sol#L20-L622)\n", "first_markdown_element": "contracts/strategies/ConvexEthMetaStrategy.sol#L34", "id": "0c159fca431d4d02642f66812fd31a3a4f1ca96f1d99b70af66c53e29b40adb6", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_deprecated_curvePool", "source_mapping": {"start": 1507, "length": 37, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [36], "starting_column": 5, "ending_column": 42}, "type_specific_fields": {"parent": {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}], "description": "ConvexEthMetaStrategy._deprecated_curvePool (contracts/strategies/ConvexEthMetaStrategy.sol#36) is never used in ConvexEthMetaStrategy (contracts/strategies/ConvexEthMetaStrategy.sol#20-622)\n", "markdown": "[ConvexEthMetaStrategy._deprecated_curvePool](contracts/strategies/ConvexEthMetaStrategy.sol#L36) is never used in [ConvexEthMetaStrategy](contracts/strategies/ConvexEthMetaStrategy.sol#L20-L622)\n", "first_markdown_element": "contracts/strategies/ConvexEthMetaStrategy.sol#L36", "id": "a3c3fabcdade68568928e21ca48dbc4d59ea977485e567e43b5d5eed1a7dc704", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_deprecated_lpToken", "source_mapping": {"start": 1600, "length": 35, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [38], "starting_column": 5, "ending_column": 40}, "type_specific_fields": {"parent": {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}], "description": "ConvexEthMetaStrategy._deprecated_lpToken (contracts/strategies/ConvexEthMetaStrategy.sol#38) is never used in ConvexEthMetaStrategy (contracts/strategies/ConvexEthMetaStrategy.sol#20-622)\n", "markdown": "[ConvexEthMetaStrategy._deprecated_lpToken](contracts/strategies/ConvexEthMetaStrategy.sol#L38) is never used in [ConvexEthMetaStrategy](contracts/strategies/ConvexEthMetaStrategy.sol#L20-L622)\n", "first_markdown_element": "contracts/strategies/ConvexEthMetaStrategy.sol#L38", "id": "39e2a5642a5a27d124c6d45161ab1443b9dd5cd4895ed05e9e4802b61e11ea7d", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_deprecated_oeth", "source_mapping": {"start": 1691, "length": 32, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [40], "starting_column": 5, "ending_column": 37}, "type_specific_fields": {"parent": {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}], "description": "ConvexEthMetaStrategy._deprecated_oeth (contracts/strategies/ConvexEthMetaStrategy.sol#40) is never used in ConvexEthMetaStrategy (contracts/strategies/ConvexEthMetaStrategy.sol#20-622)\n", "markdown": "[ConvexEthMetaStrategy._deprecated_oeth](contracts/strategies/ConvexEthMetaStrategy.sol#L40) is never used in [ConvexEthMetaStrategy](contracts/strategies/ConvexEthMetaStrategy.sol#L20-L622)\n", "first_markdown_element": "contracts/strategies/ConvexEthMetaStrategy.sol#L40", "id": "946c8098661a7ea28eaebc3ab1f95fc3943e3cb7ae3fb7136c2aec3a2d8122b6", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_deprecated_weth", "source_mapping": {"start": 1779, "length": 32, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [42], "starting_column": 5, "ending_column": 37}, "type_specific_fields": {"parent": {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}], "description": "ConvexEthMetaStrategy._deprecated_weth (contracts/strategies/ConvexEthMetaStrategy.sol#42) is never used in ConvexEthMetaStrategy (contracts/strategies/ConvexEthMetaStrategy.sol#20-622)\n", "markdown": "[ConvexEthMetaStrategy._deprecated_weth](contracts/strategies/ConvexEthMetaStrategy.sol#L42) is never used in [ConvexEthMetaStrategy](contracts/strategies/ConvexEthMetaStrategy.sol#L20-L622)\n", "first_markdown_element": "contracts/strategies/ConvexEthMetaStrategy.sol#L42", "id": "40728e6263aa0c4e1c42152dbe790c492f8d3f371e7899ae56f366d06cff33c7", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_deprecated_oethCoinIndex", "source_mapping": {"start": 1903, "length": 41, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [46], "starting_column": 5, "ending_column": 46}, "type_specific_fields": {"parent": {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}], "description": "ConvexEthMetaStrategy._deprecated_oethCoinIndex (contracts/strategies/ConvexEthMetaStrategy.sol#46) is never used in ConvexEthMetaStrategy (contracts/strategies/ConvexEthMetaStrategy.sol#20-622)\n", "markdown": "[ConvexEthMetaStrategy._deprecated_oethCoinIndex](contracts/strategies/ConvexEthMetaStrategy.sol#L46) is never used in [ConvexEthMetaStrategy](contracts/strategies/ConvexEthMetaStrategy.sol#L20-L622)\n", "first_markdown_element": "contracts/strategies/ConvexEthMetaStrategy.sol#L46", "id": "c73b3d49a3ad1c2a19c81105bed96c8756ef324b24a165b13b1dfe5c2ca4917d", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_deprecated_ethCoinIndex", "source_mapping": {"start": 2000, "length": 40, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [48], "starting_column": 5, "ending_column": 45}, "type_specific_fields": {"parent": {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}], "description": "ConvexEthMetaStrategy._deprecated_ethCoinIndex (contracts/strategies/ConvexEthMetaStrategy.sol#48) is never used in ConvexEthMetaStrategy (contracts/strategies/ConvexEthMetaStrategy.sol#20-622)\n", "markdown": "[ConvexEthMetaStrategy._deprecated_ethCoinIndex](contracts/strategies/ConvexEthMetaStrategy.sol#L48) is never used in [ConvexEthMetaStrategy](contracts/strategies/ConvexEthMetaStrategy.sol#L20-L622)\n", "first_markdown_element": "contracts/strategies/ConvexEthMetaStrategy.sol#L48", "id": "116e62b88711a6bb923cb4eef4fbea98c9c7ddd45bc201a6f569d6f9b150fe60", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "THREEPOOL_ASSET_COUNT", "source_mapping": {"start": 814, "length": 51, "filename_relative": "contracts/strategies/BaseCurveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/BaseCurveStrategy.sol", "filename_short": "contracts/strategies/BaseCurveStrategy.sol", "is_dependency": false, "lines": [22], "starting_column": 5, "ending_column": 56}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseCurveStrategy", "source_mapping": {"start": 536, "length": 11069, "filename_relative": "contracts/strategies/BaseCurveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/BaseCurveStrategy.sol", "filename_short": "contracts/strategies/BaseCurveStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "ConvexStrategy", "source_mapping": {"start": 918, "length": 5358, "filename_relative": "contracts/strategies/ConvexStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexStrategy.sol", "filename_short": "contracts/strategies/ConvexStrategy.sol", "is_dependency": false, "lines": [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165], "starting_column": 1, "ending_column": 2}}], "description": "BaseCurveStrategy.THREEPOOL_ASSET_COUNT (contracts/strategies/BaseCurveStrategy.sol#22) is never used in ConvexStrategy (contracts/strategies/ConvexStrategy.sol#25-165)\n", "markdown": "[BaseCurveStrategy.THREEPOOL_ASSET_COUNT](contracts/strategies/BaseCurveStrategy.sol#L22) is never used in [ConvexStrategy](contracts/strategies/ConvexStrategy.sol#L25-L165)\n", "first_markdown_element": "contracts/strategies/BaseCurveStrategy.sol#L22", "id": "6c2bd4b15055d852aa12dfd95a8d1740df4b29e0b198ce384c4d685dbc2205d4", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_deprecated_cvxRewardTokenAddress", "source_mapping": {"start": 1173, "length": 49, "filename_relative": "contracts/strategies/ConvexStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexStrategy.sol", "filename_short": "contracts/strategies/ConvexStrategy.sol", "is_dependency": false, "lines": [32], "starting_column": 5, "ending_column": 54}, "type_specific_fields": {"parent": {"type": "contract", "name": "ConvexStrategy", "source_mapping": {"start": 918, "length": 5358, "filename_relative": "contracts/strategies/ConvexStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexStrategy.sol", "filename_short": "contracts/strategies/ConvexStrategy.sol", "is_dependency": false, "lines": [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "ConvexStrategy", "source_mapping": {"start": 918, "length": 5358, "filename_relative": "contracts/strategies/ConvexStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexStrategy.sol", "filename_short": "contracts/strategies/ConvexStrategy.sol", "is_dependency": false, "lines": [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165], "starting_column": 1, "ending_column": 2}}], "description": "ConvexStrategy._deprecated_cvxRewardTokenAddress (contracts/strategies/ConvexStrategy.sol#32) is never used in ConvexStrategy (contracts/strategies/ConvexStrategy.sol#25-165)\n", "markdown": "[ConvexStrategy._deprecated_cvxRewardTokenAddress](contracts/strategies/ConvexStrategy.sol#L32) is never used in [ConvexStrategy](contracts/strategies/ConvexStrategy.sol#L25-L165)\n", "first_markdown_element": "contracts/strategies/ConvexStrategy.sol#L32", "id": "583ffe934d527c68c0da4bbaa6770a227f6b95cf94f97d7d26275d10736106c2", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "THREEPOOL_ASSET_COUNT", "source_mapping": {"start": 814, "length": 51, "filename_relative": "contracts/strategies/BaseCurveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/BaseCurveStrategy.sol", "filename_short": "contracts/strategies/BaseCurveStrategy.sol", "is_dependency": false, "lines": [22], "starting_column": 5, "ending_column": 56}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseCurveStrategy", "source_mapping": {"start": 536, "length": 11069, "filename_relative": "contracts/strategies/BaseCurveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/BaseCurveStrategy.sol", "filename_short": "contracts/strategies/BaseCurveStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "ThreePoolStrategy", "source_mapping": {"start": 907, "length": 4607, "filename_relative": "contracts/strategies/ThreePoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ThreePoolStrategy.sol", "filename_short": "contracts/strategies/ThreePoolStrategy.sol", "is_dependency": false, "lines": [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147], "starting_column": 1, "ending_column": 2}}], "description": "BaseCurveStrategy.THREEPOOL_ASSET_COUNT (contracts/strategies/BaseCurveStrategy.sol#22) is never used in ThreePoolStrategy (contracts/strategies/ThreePoolStrategy.sol#25-147)\n", "markdown": "[BaseCurveStrategy.THREEPOOL_ASSET_COUNT](contracts/strategies/BaseCurveStrategy.sol#L22) is never used in [ThreePoolStrategy](contracts/strategies/ThreePoolStrategy.sol#L25-L147)\n", "first_markdown_element": "contracts/strategies/BaseCurveStrategy.sol#L22", "id": "8fcb03501694d5d1c66767faeed19b98cf845ca0db7f3b4272ddf86d1285c47d", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "MINT_MINIMUM_UNIT_PRICE", "source_mapping": {"start": 5582, "length": 51, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [138], "starting_column": 5, "ending_column": 56}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "OETHVault", "source_mapping": {"start": 164, "length": 32, "filename_relative": "contracts/vault/OETHVault.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/OETHVault.sol", "filename_short": "contracts/vault/OETHVault.sol", "is_dependency": false, "lines": [10, 11, 12], "starting_column": 1, "ending_column": 2}}], "description": "VaultStorage.MINT_MINIMUM_UNIT_PRICE (contracts/vault/VaultStorage.sol#138) is never used in OETHVault (contracts/vault/OETHVault.sol#10-12)\n", "markdown": "[VaultStorage.MINT_MINIMUM_UNIT_PRICE](contracts/vault/VaultStorage.sol#L138) is never used in [OETHVault](contracts/vault/OETHVault.sol#L10-L12)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L138", "id": "149a5dd32dc4281e6676bc6235d5b98438630b9dd44b947183da6f2539763ef9", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "MIN_UNIT_PRICE_DRIFT", "source_mapping": {"start": 6052, "length": 46, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [149], "starting_column": 5, "ending_column": 51}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "OETHVault", "source_mapping": {"start": 164, "length": 32, "filename_relative": "contracts/vault/OETHVault.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/OETHVault.sol", "filename_short": "contracts/vault/OETHVault.sol", "is_dependency": false, "lines": [10, 11, 12], "starting_column": 1, "ending_column": 2}}], "description": "VaultStorage.MIN_UNIT_PRICE_DRIFT (contracts/vault/VaultStorage.sol#149) is never used in OETHVault (contracts/vault/OETHVault.sol#10-12)\n", "markdown": "[VaultStorage.MIN_UNIT_PRICE_DRIFT](contracts/vault/VaultStorage.sol#L149) is never used in [OETHVault](contracts/vault/OETHVault.sol#L10-L12)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L149", "id": "7f19bc3e2fb9a9561aee099dc073232975619a6c5032b3a61c1645bf58315f67", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "MAX_UNIT_PRICE_DRIFT", "source_mapping": {"start": 6104, "length": 46, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [150], "starting_column": 5, "ending_column": 51}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "OETHVault", "source_mapping": {"start": 164, "length": 32, "filename_relative": "contracts/vault/OETHVault.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/OETHVault.sol", "filename_short": "contracts/vault/OETHVault.sol", "is_dependency": false, "lines": [10, 11, 12], "starting_column": 1, "ending_column": 2}}], "description": "VaultStorage.MAX_UNIT_PRICE_DRIFT (contracts/vault/VaultStorage.sol#150) is never used in OETHVault (contracts/vault/OETHVault.sol#10-12)\n", "markdown": "[VaultStorage.MAX_UNIT_PRICE_DRIFT](contracts/vault/VaultStorage.sol#L150) is never used in [OETHVault](contracts/vault/OETHVault.sol#L10-L12)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L150", "id": "e5390a7816c93ca32a85f9b57349d42579c55c04a3a4ef2b4769d2575a1905bb", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "MINT_MINIMUM_UNIT_PRICE", "source_mapping": {"start": 5582, "length": 51, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [138], "starting_column": 5, "ending_column": 56}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "OETHVaultAdmin", "source_mapping": {"start": 179, "length": 42, "filename_relative": "contracts/vault/OETHVaultAdmin.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/OETHVaultAdmin.sol", "filename_short": "contracts/vault/OETHVaultAdmin.sol", "is_dependency": false, "lines": [10, 11, 12], "starting_column": 1, "ending_column": 2}}], "description": "VaultStorage.MINT_MINIMUM_UNIT_PRICE (contracts/vault/VaultStorage.sol#138) is never used in OETHVaultAdmin (contracts/vault/OETHVaultAdmin.sol#10-12)\n", "markdown": "[VaultStorage.MINT_MINIMUM_UNIT_PRICE](contracts/vault/VaultStorage.sol#L138) is never used in [OETHVaultAdmin](contracts/vault/OETHVaultAdmin.sol#L10-L12)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L138", "id": "bbab6f2a0b738f60095768009071f55614b28ba6b6e5e6a71f67f94ee08c8e4d", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "MIN_UNIT_PRICE_DRIFT", "source_mapping": {"start": 6052, "length": 46, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [149], "starting_column": 5, "ending_column": 51}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "OETHVaultAdmin", "source_mapping": {"start": 179, "length": 42, "filename_relative": "contracts/vault/OETHVaultAdmin.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/OETHVaultAdmin.sol", "filename_short": "contracts/vault/OETHVaultAdmin.sol", "is_dependency": false, "lines": [10, 11, 12], "starting_column": 1, "ending_column": 2}}], "description": "VaultStorage.MIN_UNIT_PRICE_DRIFT (contracts/vault/VaultStorage.sol#149) is never used in OETHVaultAdmin (contracts/vault/OETHVaultAdmin.sol#10-12)\n", "markdown": "[VaultStorage.MIN_UNIT_PRICE_DRIFT](contracts/vault/VaultStorage.sol#L149) is never used in [OETHVaultAdmin](contracts/vault/OETHVaultAdmin.sol#L10-L12)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L149", "id": "94393d439aab1bc281bb45a54cf564b95035d6a7bd2911a0c2ab82805660cbdc", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "MAX_UNIT_PRICE_DRIFT", "source_mapping": {"start": 6104, "length": 46, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [150], "starting_column": 5, "ending_column": 51}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "OETHVaultAdmin", "source_mapping": {"start": 179, "length": 42, "filename_relative": "contracts/vault/OETHVaultAdmin.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/OETHVaultAdmin.sol", "filename_short": "contracts/vault/OETHVaultAdmin.sol", "is_dependency": false, "lines": [10, 11, 12], "starting_column": 1, "ending_column": 2}}], "description": "VaultStorage.MAX_UNIT_PRICE_DRIFT (contracts/vault/VaultStorage.sol#150) is never used in OETHVaultAdmin (contracts/vault/OETHVaultAdmin.sol#10-12)\n", "markdown": "[VaultStorage.MAX_UNIT_PRICE_DRIFT](contracts/vault/VaultStorage.sol#L150) is never used in [OETHVaultAdmin](contracts/vault/OETHVaultAdmin.sol#L10-L12)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L150", "id": "0c56f807a05d376afb6eb2e3300f124c71164a80c1bb85eb40f65da6f9f8a1d2", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "strategies", "source_mapping": {"start": 3271, "length": 48, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [83], "starting_column": 5, "ending_column": 53}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "OETHVaultCore", "source_mapping": {"start": 176, "length": 40, "filename_relative": "contracts/vault/OETHVaultCore.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/OETHVaultCore.sol", "filename_short": "contracts/vault/OETHVaultCore.sol", "is_dependency": false, "lines": [10, 11, 12], "starting_column": 1, "ending_column": 2}}], "description": "VaultStorage.strategies (contracts/vault/VaultStorage.sol#83) is never used in OETHVaultCore (contracts/vault/OETHVaultCore.sol#10-12)\n", "markdown": "[VaultStorage.strategies](contracts/vault/VaultStorage.sol#L83) is never used in [OETHVaultCore](contracts/vault/OETHVaultCore.sol#L10-L12)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L83", "id": "e1cb59e398429820cba9c8fa98f9b6f9bb5766b0248f0efc2355d8a1028187de", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "swapConfig", "source_mapping": {"start": 6552, "length": 58, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [161], "starting_column": 5, "ending_column": 63}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "OETHVaultCore", "source_mapping": {"start": 176, "length": 40, "filename_relative": "contracts/vault/OETHVaultCore.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/OETHVaultCore.sol", "filename_short": "contracts/vault/OETHVaultCore.sol", "is_dependency": false, "lines": [10, 11, 12], "starting_column": 1, "ending_column": 2}}], "description": "VaultStorage.swapConfig (contracts/vault/VaultStorage.sol#161) is never used in OETHVaultCore (contracts/vault/OETHVaultCore.sol#10-12)\n", "markdown": "[VaultStorage.swapConfig](contracts/vault/VaultStorage.sol#L161) is never used in [OETHVaultCore](contracts/vault/OETHVaultCore.sol#L10-L12)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L161", "id": "2f693fe1c1b55189b244c3d2836962822084ed42ba961b3b1a724748878d58d8", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "MAX_UINT", "source_mapping": {"start": 998, "length": 111, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [28, 29], "starting_column": 5, "ending_column": 75}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 788, "length": 27831, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729, 730, 731, 732, 733, 734, 735, 736, 737, 738, 739, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 750, 751, 752, 753, 754, 755, 756, 757, 758, 759, 760, 761, 762, 763, 764, 765, 766, 767, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, 778, 779, 780, 781, 782, 783, 784, 785, 786, 787, 788, 789, 790, 791, 792, 793, 794, 795, 796, 797, 798, 799, 800, 801, 802, 803], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "OETHVaultCore", "source_mapping": {"start": 176, "length": 40, "filename_relative": "contracts/vault/OETHVaultCore.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/OETHVaultCore.sol", "filename_short": "contracts/vault/OETHVaultCore.sol", "is_dependency": false, "lines": [10, 11, 12], "starting_column": 1, "ending_column": 2}}], "description": "VaultCore.MAX_UINT (contracts/vault/VaultCore.sol#28-29) is never used in OETHVaultCore (contracts/vault/OETHVaultCore.sol#10-12)\n", "markdown": "[VaultCore.MAX_UINT](contracts/vault/VaultCore.sol#L28-L29) is never used in [OETHVaultCore](contracts/vault/OETHVaultCore.sol#L10-L12)\n", "first_markdown_element": "contracts/vault/VaultCore.sol#L28-L29", "id": "95344e00c1decfbff4303679bb74ce8912b6e6ff165ec7001fd0c3e38aa363c5", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [], "description": "Loop condition `i < durations.length` (contracts/staking/SingleAssetStaking.sol#136) should use cached array length instead of referencing `length` member of the storage array.\n ", "markdown": "Loop condition `i < durations.length` (contracts/staking/SingleAssetStaking.sol#136) should use cached array length instead of referencing `length` member of the storage array.\n ", "first_markdown_element": "", "id": "7834824c1cc045ca55ed538b20a5b1d54aa02ad5c6b8b0f8d532f4f64b866017", "check": "cache-array-length", "impact": "Optimization", "confidence": "High"}, {"elements": [], "description": "Loop condition `i < assetsMapped.length` (contracts/strategies/MorphoCompoundStrategy.sol#108) should use cached array length instead of referencing `length` member of the storage array.\n ", "markdown": "Loop condition `i < assetsMapped.length` (contracts/strategies/MorphoCompoundStrategy.sol#108) should use cached array length instead of referencing `length` member of the storage array.\n ", "first_markdown_element": "", "id": "df0279ca5188021414afb9690dcb7a7412b2bbe0fd00a66b25dae68ab562441c", "check": "cache-array-length", "impact": "Optimization", "confidence": "High"}, {"elements": [], "description": "Loop condition `i < assetsMapped.length` (contracts/strategies/MorphoCompoundStrategy.sol#134) should use cached array length instead of referencing `length` member of the storage array.\n ", "markdown": "Loop condition `i < assetsMapped.length` (contracts/strategies/MorphoCompoundStrategy.sol#134) should use cached array length instead of referencing `length` member of the storage array.\n ", "first_markdown_element": "", "id": "e9c46c47b40bf46f415e79c57b6a041e06ef1d603c2581d05607e3f18c833d63", "check": "cache-array-length", "impact": "Optimization", "confidence": "High"}, {"elements": [], "description": "Loop condition `i < assetsMapped.length` (contracts/strategies/BaseCurveStrategy.sol#71) should use cached array length instead of referencing `length` member of the storage array.\n ", "markdown": "Loop condition `i < assetsMapped.length` (contracts/strategies/BaseCurveStrategy.sol#71) should use cached array length instead of referencing `length` member of the storage array.\n ", "first_markdown_element": "", "id": "87dae9f2e8793b2c6216035d1184808cefbc03b8b7770cd5fdcab32f5c88930e", "check": "cache-array-length", "impact": "Optimization", "confidence": "High"}, {"elements": [], "description": "Loop condition `i < assetsMapped.length` (contracts/strategies/AaveStrategy.sol#278) should use cached array length instead of referencing `length` member of the storage array.\n ", "markdown": "Loop condition `i < assetsMapped.length` (contracts/strategies/AaveStrategy.sol#278) should use cached array length instead of referencing `length` member of the storage array.\n ", "first_markdown_element": "", "id": "2a56e903b91517926f149ebe2a16a1f78062b796410716df17fd43d2200685a6", "check": "cache-array-length", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "maxSupplyDiff", "source_mapping": {"start": 5213, "length": 28, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [127], "starting_column": 5, "ending_column": 33}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}], "description": "VaultStorage.maxSupplyDiff (contracts/vault/VaultStorage.sol#127) should be constant \n", "markdown": "[VaultStorage.maxSupplyDiff](contracts/vault/VaultStorage.sol#L127) should be constant \n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L127", "id": "09fd4446efe571b7801efb7877d22557574ea45e2982bf4d5366e0bdf1142249", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "netOusdMintForStrategyThreshold", "source_mapping": {"start": 5995, "length": 50, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [147], "starting_column": 5, "ending_column": 55}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}], "description": "VaultStorage.netOusdMintForStrategyThreshold (contracts/vault/VaultStorage.sol#147) should be constant \n", "markdown": "[VaultStorage.netOusdMintForStrategyThreshold](contracts/vault/VaultStorage.sol#L147) should be constant \n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L147", "id": "bd0e4f67d5f6fb2a9810eb8385684dfcfa6d5febceacff6a21756e0514dc7dd7", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "oUSD", "source_mapping": {"start": 4376, "length": 18, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [106], "starting_column": 5, "ending_column": 23}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}], "description": "VaultStorage.oUSD (contracts/vault/VaultStorage.sol#106) should be constant \n", "markdown": "[VaultStorage.oUSD](contracts/vault/VaultStorage.sol#L106) should be constant \n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L106", "id": "500e8adb38d72426b5e12a19f032430bae7fe79fc3b9039de8e1d2b8043c9f27", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "ousdMetaStrategy", "source_mapping": {"start": 5739, "length": 44, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [141], "starting_column": 5, "ending_column": 49}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}], "description": "VaultStorage.ousdMetaStrategy (contracts/vault/VaultStorage.sol#141) should be constant \n", "markdown": "[VaultStorage.ousdMetaStrategy](contracts/vault/VaultStorage.sol#L141) should be constant \n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L141", "id": "79f67b513634062fa94cfd8c1f0eaac89d45211dbbaf7e930609371ec6e8a4a1", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "strategistAddr", "source_mapping": {"start": 4897, "length": 42, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [120], "starting_column": 5, "ending_column": 47}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}], "description": "VaultStorage.strategistAddr (contracts/vault/VaultStorage.sol#120) should be constant \n", "markdown": "[VaultStorage.strategistAddr](contracts/vault/VaultStorage.sol#L120) should be constant \n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L120", "id": "3040efebbb4c164522cb91db7f6c9c1d2aff4f8ca7753b542e75df9130cdb792", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "trusteeAddress", "source_mapping": {"start": 5320, "length": 29, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [130], "starting_column": 5, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}], "description": "VaultStorage.trusteeAddress (contracts/vault/VaultStorage.sol#130) should be constant \n", "markdown": "[VaultStorage.trusteeAddress](contracts/vault/VaultStorage.sol#L130) should be constant \n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L130", "id": "1694f1d2905ea29eda65443d05da440b7e71abfa3cbf6cfa6a42f6a9ff44e094", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "trusteeFeeBps", "source_mapping": {"start": 5429, "length": 28, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [133], "starting_column": 5, "ending_column": 33}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}], "description": "VaultStorage.trusteeFeeBps (contracts/vault/VaultStorage.sol#133) should be constant \n", "markdown": "[VaultStorage.trusteeFeeBps](contracts/vault/VaultStorage.sol#L133) should be constant \n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L133", "id": "684276aeea9e321f463f752fc69838fd6f7e79e627cb01fe42aff0ff1706283a", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "adjuster", "source_mapping": {"start": 1575, "length": 23, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [43], "starting_column": 5, "ending_column": 28}, "type_specific_fields": {"parent": {"type": "contract", "name": "CompensationClaims", "source_mapping": {"start": 1527, "length": 3674, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164], "starting_column": 1, "ending_column": 2}}}}], "description": "CompensationClaims.adjuster (contracts/compensation/CompensationClaims.sol#43) should be immutable \n", "markdown": "[CompensationClaims.adjuster](contracts/compensation/CompensationClaims.sol#L43) should be immutable \n", "first_markdown_element": "contracts/compensation/CompensationClaims.sol#L43", "id": "6096d2df64fc09f12045506f6c33f0ab738f89c635ce3f9bca28d2993054310f", "check": "immutable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "token", "source_mapping": {"start": 1604, "length": 20, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [44], "starting_column": 5, "ending_column": 25}, "type_specific_fields": {"parent": {"type": "contract", "name": "CompensationClaims", "source_mapping": {"start": 1527, "length": 3674, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164], "starting_column": 1, "ending_column": 2}}}}], "description": "CompensationClaims.token (contracts/compensation/CompensationClaims.sol#44) should be immutable \n", "markdown": "[CompensationClaims.token](contracts/compensation/CompensationClaims.sol#L44) should be immutable \n", "first_markdown_element": "contracts/compensation/CompensationClaims.sol#L44", "id": "8fa24775e2dccefd658d6fc197c9fc4dc75a17bae8289f947b6be9dc53595881", "check": "immutable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "function", "name": "constructor", "source_mapping": {"start": 849, "length": 231, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [24, 25, 26, 27, 28, 29, 30], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHZapper", "source_mapping": {"start": 288, "length": 2569, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81], "starting_column": 1, "ending_column": 2}}, "signature": "constructor(address,address)"}}, {"type": "node", "name": "weth.approve(address(_vault),type()(uint256).max)", "source_mapping": {"start": 965, "length": 48, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [28], "starting_column": 9, "ending_column": 57}, "type_specific_fields": {"parent": {"type": "function", "name": "constructor", "source_mapping": {"start": 849, "length": 231, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [24, 25, 26, 27, 28, 29, 30], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHZapper", "source_mapping": {"start": 288, "length": 2569, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81], "starting_column": 1, "ending_column": 2}}, "signature": "constructor(address,address)"}}}}], "description": "OETHZapper.constructor(address,address) (contracts/vault/OETHZapper.sol#24-30) ignores return value by weth.approve(address(_vault),type()(uint256).max) (contracts/vault/OETHZapper.sol#28)\n", "markdown": "[OETHZapper.constructor(address,address)](contracts/vault/OETHZapper.sol#L24-L30) ignores return value by [weth.approve(address(_vault),type()(uint256).max)](contracts/vault/OETHZapper.sol#L28)\n", "first_markdown_element": "contracts/vault/OETHZapper.sol#L24-L30", "id": "460275d8e7852760f596536253db6ec4738ca77745d9b5a38a289cbde2d9384c", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "constructor", "source_mapping": {"start": 849, "length": 231, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [24, 25, 26, 27, 28, 29, 30], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHZapper", "source_mapping": {"start": 288, "length": 2569, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81], "starting_column": 1, "ending_column": 2}}, "signature": "constructor(address,address)"}}, {"type": "node", "name": "frxeth.approve(address(_vault),type()(uint256).max)", "source_mapping": {"start": 1023, "length": 50, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [29], "starting_column": 9, "ending_column": 59}, "type_specific_fields": {"parent": {"type": "function", "name": "constructor", "source_mapping": {"start": 849, "length": 231, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [24, 25, 26, 27, 28, 29, 30], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHZapper", "source_mapping": {"start": 288, "length": 2569, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81], "starting_column": 1, "ending_column": 2}}, "signature": "constructor(address,address)"}}}}], "description": "OETHZapper.constructor(address,address) (contracts/vault/OETHZapper.sol#24-30) ignores return value by frxeth.approve(address(_vault),type()(uint256).max) (contracts/vault/OETHZapper.sol#29)\n", "markdown": "[OETHZapper.constructor(address,address)](contracts/vault/OETHZapper.sol#L24-L30) ignores return value by [frxeth.approve(address(_vault),type()(uint256).max)](contracts/vault/OETHZapper.sol#L29)\n", "first_markdown_element": "contracts/vault/OETHZapper.sol#L24-L30", "id": "602e23c82c5e4d9f8dc3e9ee61327d4e9d8fb09d886a291dc7f89562e7ac7586", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "depositSFRXETH", "source_mapping": {"start": 1917, "length": 274, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [58, 59, 60, 61, 62, 63, 64, 65], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHZapper", "source_mapping": {"start": 288, "length": 2569, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81], "starting_column": 1, "ending_column": 2}}, "signature": "depositSFRXETH(uint256,uint256)"}}, {"type": "node", "name": "sfrxeth.redeem(amount,address(this),msg.sender)", "source_mapping": {"start": 2031, "length": 49, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [62], "starting_column": 9, "ending_column": 58}, "type_specific_fields": {"parent": {"type": "function", "name": "depositSFRXETH", "source_mapping": {"start": 1917, "length": 274, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [58, 59, 60, 61, 62, 63, 64, 65], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHZapper", "source_mapping": {"start": 288, "length": 2569, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81], "starting_column": 1, "ending_column": 2}}, "signature": "depositSFRXETH(uint256,uint256)"}}}}], "description": "OETHZapper.depositSFRXETH(uint256,uint256) (contracts/vault/OETHZapper.sol#58-65) ignores return value by sfrxeth.redeem(amount,address(this),msg.sender) (contracts/vault/OETHZapper.sol#62)\n", "markdown": "[OETHZapper.depositSFRXETH(uint256,uint256)](contracts/vault/OETHZapper.sol#L58-L65) ignores return value by [sfrxeth.redeem(amount,address(this),msg.sender)](contracts/vault/OETHZapper.sol#L62)\n", "first_markdown_element": "contracts/vault/OETHZapper.sol#L58-L65", "id": "ad9cb44f03282639ae56103acb1e9e5014d0d451f5dcb7d2184c1b6c13d855f2", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "constructor", "source_mapping": {"start": 782, "length": 231, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [21, 22, 23, 24, 25, 26, 27], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHZapper", "source_mapping": {"start": 288, "length": 1735, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57], "starting_column": 1, "ending_column": 2}}, "signature": "constructor(address,address)"}}, {"type": "node", "name": "weth.approve(address(_vault),type()(uint256).max)", "source_mapping": {"start": 898, "length": 48, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [25], "starting_column": 9, "ending_column": 57}, "type_specific_fields": {"parent": {"type": "function", "name": "constructor", "source_mapping": {"start": 782, "length": 231, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [21, 22, 23, 24, 25, 26, 27], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHZapper", "source_mapping": {"start": 288, "length": 1735, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57], "starting_column": 1, "ending_column": 2}}, "signature": "constructor(address,address)"}}}}], "description": "OETHZapper.constructor(address,address) (contracts/vault/OETHZapper.sol#21-27) ignores return value by weth.approve(address(_vault),type()(uint256).max) (contracts/vault/OETHZapper.sol#25)\n", "markdown": "[OETHZapper.constructor(address,address)](contracts/vault/OETHZapper.sol#L21-L27) ignores return value by [weth.approve(address(_vault),type()(uint256).max)](contracts/vault/OETHZapper.sol#L25)\n", "first_markdown_element": "contracts/vault/OETHZapper.sol#L21-L27", "id": "2904e03fb2afa9650ab71131640fe730dd3c271bfbb0fd4e11b13f0169ac5cdd", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "constructor", "source_mapping": {"start": 782, "length": 231, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [21, 22, 23, 24, 25, 26, 27], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHZapper", "source_mapping": {"start": 288, "length": 1735, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57], "starting_column": 1, "ending_column": 2}}, "signature": "constructor(address,address)"}}, {"type": "node", "name": "frxeth.approve(address(_vault),type()(uint256).max)", "source_mapping": {"start": 956, "length": 50, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [26], "starting_column": 9, "ending_column": 59}, "type_specific_fields": {"parent": {"type": "function", "name": "constructor", "source_mapping": {"start": 782, "length": 231, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [21, 22, 23, 24, 25, 26, 27], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHZapper", "source_mapping": {"start": 288, "length": 1735, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57], "starting_column": 1, "ending_column": 2}}, "signature": "constructor(address,address)"}}}}], "description": "OETHZapper.constructor(address,address) (contracts/vault/OETHZapper.sol#21-27) ignores return value by frxeth.approve(address(_vault),type()(uint256).max) (contracts/vault/OETHZapper.sol#26)\n", "markdown": "[OETHZapper.constructor(address,address)](contracts/vault/OETHZapper.sol#L21-L27) ignores return value by [frxeth.approve(address(_vault),type()(uint256).max)](contracts/vault/OETHZapper.sol#L26)\n", "first_markdown_element": "contracts/vault/OETHZapper.sol#L21-L27", "id": "15b258e120fd421efd1ea15d8572ec122239b4431c578c7cc72318a969319597", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "depositSFRXETH", "source_mapping": {"start": 1331, "length": 274, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [40, 41, 42, 43, 44, 45, 46, 47], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHZapper", "source_mapping": {"start": 288, "length": 1735, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57], "starting_column": 1, "ending_column": 2}}, "signature": "depositSFRXETH(uint256,uint256)"}}, {"type": "node", "name": "sfrxeth.redeem(amount,address(this),msg.sender)", "source_mapping": {"start": 1445, "length": 49, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [44], "starting_column": 9, "ending_column": 58}, "type_specific_fields": {"parent": {"type": "function", "name": "depositSFRXETH", "source_mapping": {"start": 1331, "length": 274, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [40, 41, 42, 43, 44, 45, 46, 47], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHZapper", "source_mapping": {"start": 288, "length": 1735, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57], "starting_column": 1, "ending_column": 2}}, "signature": "depositSFRXETH(uint256,uint256)"}}}}], "description": "OETHZapper.depositSFRXETH(uint256,uint256) (contracts/vault/OETHZapper.sol#40-47) ignores return value by sfrxeth.redeem(amount,address(this),msg.sender) (contracts/vault/OETHZapper.sol#44)\n", "markdown": "[OETHZapper.depositSFRXETH(uint256,uint256)](contracts/vault/OETHZapper.sol#L40-L47) ignores return value by [sfrxeth.redeem(amount,address(this),msg.sender)](contracts/vault/OETHZapper.sol#L44)\n", "first_markdown_element": "contracts/vault/OETHZapper.sol#L40-L47", "id": "3246dfb4384082977afe4b276459e86813a51a7fe4df6333e08dee5ee1b03c0c", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "variable", "name": "assets", "source_mapping": {"start": 2394, "length": 41, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [61], "starting_column": 5, "ending_column": 46}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 828, "length": 4640, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "mint", "source_mapping": {"start": 2178, "length": 1436, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "mint(address,uint256,uint256)"}}, {"type": "function", "name": "isSupportedAsset", "source_mapping": {"start": 22648, "length": 121, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [627, 628, 629], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "isSupportedAsset(address)"}}, {"type": "function", "name": "_toUnits", "source_mapping": {"start": 23346, "length": 597, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_toUnits(uint256,address)"}}, {"type": "function", "name": "_toUnitPrice", "source_mapping": {"start": 23949, "length": 573, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_toUnitPrice(uint256,address)"}}], "description": "VaultStorage.assets (contracts/vault/VaultStorage.sol#61) is never initialized. It is used in:\n\t- VaultCore.mint(address,uint256,uint256) (contracts/vault/VaultCore.sol#66-107)\n\t- VaultCore.isSupportedAsset(address) (contracts/vault/VaultCore.sol#627-629)\n\t- VaultCore._toUnits(uint256,address) (contracts/vault/VaultCore.sol#646-661)\n\t- VaultCore._toUnitPrice(uint256,address) (contracts/vault/VaultCore.sol#663-678)\n", "markdown": "[VaultStorage.assets](contracts/vault/VaultStorage.sol#L61) is never initialized. It is used in:\n\t- [VaultCore.mint(address,uint256,uint256)](contracts/vault/VaultCore.sol#L66-L107)\n\t- [VaultCore.isSupportedAsset(address)](contracts/vault/VaultCore.sol#L627-L629)\n\t- [VaultCore._toUnits(uint256,address)](contracts/vault/VaultCore.sol#L646-L661)\n\t- [VaultCore._toUnitPrice(uint256,address)](contracts/vault/VaultCore.sol#L663-L678)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L61", "id": "c860938e159ea26b593c250740cbaa2024ab5c9ac0d6205f97e9af6dac87675f", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "allAssets", "source_mapping": {"start": 2441, "length": 28, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [62], "starting_column": 5, "ending_column": 33}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 828, "length": 4640, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "_redeem", "source_mapping": {"start": 5763, "length": 2485, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_redeem(uint256,uint256)"}}, {"type": "function", "name": "_allocate", "source_mapping": {"start": 10672, "length": 2860, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}, {"type": "function", "name": "_totalValueInVault", "source_mapping": {"start": 15676, "length": 356, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [432, 433, 434, 435, 436, 437, 438, 439, 440], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_totalValueInVault()"}}, {"type": "function", "name": "_totalValueInStrategy", "source_mapping": {"start": 16603, "length": 505, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_totalValueInStrategy(address)"}}, {"type": "function", "name": "_calculateRedeemOutputs", "source_mapping": {"start": 18727, "length": 3082, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_calculateRedeemOutputs(uint256)"}}, {"type": "function", "name": "getAssetCount", "source_mapping": {"start": 22013, "length": 95, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [602, 603, 604], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "getAssetCount()"}}, {"type": "function", "name": "getAllAssets", "source_mapping": {"start": 22178, "length": 98, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [609, 610, 611], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "getAllAssets()"}}], "description": "VaultStorage.allAssets (contracts/vault/VaultStorage.sol#62) is never initialized. It is used in:\n\t- VaultCore._redeem(uint256,uint256) (contracts/vault/VaultCore.sol#169-233)\n\t- VaultCore._allocate() (contracts/vault/VaultCore.sol#301-369)\n\t- VaultCore._totalValueInVault() (contracts/vault/VaultCore.sol#432-440)\n\t- VaultCore._totalValueInStrategy(address) (contracts/vault/VaultCore.sol#457-471)\n\t- VaultCore._calculateRedeemOutputs(uint256) (contracts/vault/VaultCore.sol#522-593)\n\t- VaultCore.getAssetCount() (contracts/vault/VaultCore.sol#602-604)\n\t- VaultCore.getAllAssets() (contracts/vault/VaultCore.sol#609-611)\n", "markdown": "[VaultStorage.allAssets](contracts/vault/VaultStorage.sol#L62) is never initialized. It is used in:\n\t- [VaultCore._redeem(uint256,uint256)](contracts/vault/VaultCore.sol#L169-L233)\n\t- [VaultCore._allocate()](contracts/vault/VaultCore.sol#L301-L369)\n\t- [VaultCore._totalValueInVault()](contracts/vault/VaultCore.sol#L432-L440)\n\t- [VaultCore._totalValueInStrategy(address)](contracts/vault/VaultCore.sol#L457-L471)\n\t- [VaultCore._calculateRedeemOutputs(uint256)](contracts/vault/VaultCore.sol#L522-L593)\n\t- [VaultCore.getAssetCount()](contracts/vault/VaultCore.sol#L602-L604)\n\t- [VaultCore.getAllAssets()](contracts/vault/VaultCore.sol#L609-L611)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L62", "id": "e730fe429679f7811e61698e718568e8a56bd48136d661a5573f979234e6996c", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "allStrategies", "source_mapping": {"start": 2688, "length": 32, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [70], "starting_column": 5, "ending_column": 37}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 828, "length": 4640, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "_totalValueInStrategies", "source_mapping": {"start": 16181, "length": 223, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [446, 447, 448, 449, 450], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_totalValueInStrategies()"}}, {"type": "function", "name": "_checkBalance", "source_mapping": {"start": 17619, "length": 486, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_checkBalance(address)"}}, {"type": "function", "name": "getStrategyCount", "source_mapping": {"start": 22363, "length": 104, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [616, 617, 618], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "getStrategyCount()"}}, {"type": "function", "name": "getAllStrategies", "source_mapping": {"start": 22536, "length": 106, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [623, 624, 625], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "getAllStrategies()"}}], "description": "VaultStorage.allStrategies (contracts/vault/VaultStorage.sol#70) is never initialized. It is used in:\n\t- VaultCore._totalValueInStrategies() (contracts/vault/VaultCore.sol#446-450)\n\t- VaultCore._checkBalance(address) (contracts/vault/VaultCore.sol#487-501)\n\t- VaultCore.getStrategyCount() (contracts/vault/VaultCore.sol#616-618)\n\t- VaultCore.getAllStrategies() (contracts/vault/VaultCore.sol#623-625)\n", "markdown": "[VaultStorage.allStrategies](contracts/vault/VaultStorage.sol#L70) is never initialized. It is used in:\n\t- [VaultCore._totalValueInStrategies()](contracts/vault/VaultCore.sol#L446-L450)\n\t- [VaultCore._checkBalance(address)](contracts/vault/VaultCore.sol#L487-L501)\n\t- [VaultCore.getStrategyCount()](contracts/vault/VaultCore.sol#L616-L618)\n\t- [VaultCore.getAllStrategies()](contracts/vault/VaultCore.sol#L623-L625)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L70", "id": "777cbcb013e313a3fd0021436d35e92824a94e210c1611ee051fc5d399d6661c", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "priceProvider", "source_mapping": {"start": 2780, "length": 28, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [73], "starting_column": 5, "ending_column": 33}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 828, "length": 4640, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "mint", "source_mapping": {"start": 2178, "length": 1436, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "mint(address,uint256,uint256)"}}, {"type": "function", "name": "_calculateRedeemOutputs", "source_mapping": {"start": 18727, "length": 3082, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_calculateRedeemOutputs(uint256)"}}], "description": "VaultStorage.priceProvider (contracts/vault/VaultStorage.sol#73) is never initialized. It is used in:\n\t- VaultCore.mint(address,uint256,uint256) (contracts/vault/VaultCore.sol#66-107)\n\t- VaultCore._calculateRedeemOutputs(uint256) (contracts/vault/VaultCore.sol#522-593)\n", "markdown": "[VaultStorage.priceProvider](contracts/vault/VaultStorage.sol#L73) is never initialized. It is used in:\n\t- [VaultCore.mint(address,uint256,uint256)](contracts/vault/VaultCore.sol#L66-L107)\n\t- [VaultCore._calculateRedeemOutputs(uint256)](contracts/vault/VaultCore.sol#L522-L593)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L73", "id": "eb7c2db1064787af6f239823c6b9223ba83a523396f8c7dc61c479282af97886", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "redeemFeeBps", "source_mapping": {"start": 2949, "length": 27, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [78], "starting_column": 5, "ending_column": 32}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 828, "length": 4640, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "_calculateRedeemOutputs", "source_mapping": {"start": 18727, "length": 3082, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_calculateRedeemOutputs(uint256)"}}], "description": "VaultStorage.redeemFeeBps (contracts/vault/VaultStorage.sol#78) is never initialized. It is used in:\n\t- VaultCore._calculateRedeemOutputs(uint256) (contracts/vault/VaultCore.sol#522-593)\n", "markdown": "[VaultStorage.redeemFeeBps](contracts/vault/VaultStorage.sol#L78) is never initialized. It is used in:\n\t- [VaultCore._calculateRedeemOutputs(uint256)](contracts/vault/VaultCore.sol#L522-L593)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L78", "id": "c4819c8bb26576b24a1992a0ece73900c1b258ae9f166389ef2521f675df5cb1", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "vaultBuffer", "source_mapping": {"start": 3052, "length": 26, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [80], "starting_column": 5, "ending_column": 31}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 828, "length": 4640, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "_allocate", "source_mapping": {"start": 10672, "length": 2860, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}], "description": "VaultStorage.vaultBuffer (contracts/vault/VaultStorage.sol#80) is never initialized. It is used in:\n\t- VaultCore._allocate() (contracts/vault/VaultCore.sol#301-369)\n", "markdown": "[VaultStorage.vaultBuffer](contracts/vault/VaultStorage.sol#L80) is never initialized. It is used in:\n\t- [VaultCore._allocate()](contracts/vault/VaultCore.sol#L301-L369)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L80", "id": "7147ba0fbcdb532f72f8a1425c5779a2caf2d432ef22a51a9c541b90d6da121c", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "autoAllocateThreshold", "source_mapping": {"start": 3157, "length": 36, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [82], "starting_column": 5, "ending_column": 41}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 828, "length": 4640, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "mint", "source_mapping": {"start": 2178, "length": 1436, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "mint(address,uint256,uint256)"}}], "description": "VaultStorage.autoAllocateThreshold (contracts/vault/VaultStorage.sol#82) is never initialized. It is used in:\n\t- VaultCore.mint(address,uint256,uint256) (contracts/vault/VaultCore.sol#66-107)\n", "markdown": "[VaultStorage.autoAllocateThreshold](contracts/vault/VaultStorage.sol#L82) is never initialized. It is used in:\n\t- [VaultCore.mint(address,uint256,uint256)](contracts/vault/VaultCore.sol#L66-L107)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L82", "id": "3d9c26c30d04bc19d1bc2436186d32a82dbdee2c98be4833dff1f7fefa80858d", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "rebaseThreshold", "source_mapping": {"start": 3264, "length": 30, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [84], "starting_column": 5, "ending_column": 35}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 828, "length": 4640, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "mint", "source_mapping": {"start": 2178, "length": 1436, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "mint(address,uint256,uint256)"}}, {"type": "function", "name": "mintForStrategy", "source_mapping": {"start": 4345, "length": 813, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "mintForStrategy(uint256)"}}, {"type": "function", "name": "_redeem", "source_mapping": {"start": 5763, "length": 2485, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_redeem(uint256,uint256)"}}, {"type": "function", "name": "burnForStrategy", "source_mapping": {"start": 8974, "length": 951, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "burnForStrategy(uint256)"}}], "description": "VaultStorage.rebaseThreshold (contracts/vault/VaultStorage.sol#84) is never initialized. It is used in:\n\t- VaultCore.mint(address,uint256,uint256) (contracts/vault/VaultCore.sol#66-107)\n\t- VaultCore.mintForStrategy(uint256) (contracts/vault/VaultCore.sol#122-147)\n\t- VaultCore._redeem(uint256,uint256) (contracts/vault/VaultCore.sol#169-233)\n\t- VaultCore.burnForStrategy(uint256) (contracts/vault/VaultCore.sol#248-275)\n", "markdown": "[VaultStorage.rebaseThreshold](contracts/vault/VaultStorage.sol#L84) is never initialized. It is used in:\n\t- [VaultCore.mint(address,uint256,uint256)](contracts/vault/VaultCore.sol#L66-L107)\n\t- [VaultCore.mintForStrategy(uint256)](contracts/vault/VaultCore.sol#L122-L147)\n\t- [VaultCore._redeem(uint256,uint256)](contracts/vault/VaultCore.sol#L169-L233)\n\t- [VaultCore.burnForStrategy(uint256)](contracts/vault/VaultCore.sol#L248-L275)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L84", "id": "b8efcc08277c777ff50a11fc931031018cad1a54978f03183217cd13dd183093", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "oUSD", "source_mapping": {"start": 3301, "length": 18, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [86], "starting_column": 5, "ending_column": 23}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 828, "length": 4640, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "mint", "source_mapping": {"start": 2178, "length": 1436, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "mint(address,uint256,uint256)"}}, {"type": "function", "name": "mintForStrategy", "source_mapping": {"start": 4345, "length": 813, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "mintForStrategy(uint256)"}}, {"type": "function", "name": "_redeem", "source_mapping": {"start": 5763, "length": 2485, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_redeem(uint256,uint256)"}}, {"type": "function", "name": "burnForStrategy", "source_mapping": {"start": 8974, "length": 951, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "burnForStrategy(uint256)"}}, {"type": "function", "name": "redeemAll", "source_mapping": {"start": 10087, "length": 190, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [281, 282, 283, 284, 285, 286, 287], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "redeemAll(uint256)"}}, {"type": "function", "name": "_rebase", "source_mapping": {"start": 13976, "length": 953, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_rebase()"}}], "description": "VaultStorage.oUSD (contracts/vault/VaultStorage.sol#86) is never initialized. It is used in:\n\t- VaultCore.mint(address,uint256,uint256) (contracts/vault/VaultCore.sol#66-107)\n\t- VaultCore.mintForStrategy(uint256) (contracts/vault/VaultCore.sol#122-147)\n\t- VaultCore._redeem(uint256,uint256) (contracts/vault/VaultCore.sol#169-233)\n\t- VaultCore.burnForStrategy(uint256) (contracts/vault/VaultCore.sol#248-275)\n\t- VaultCore.redeemAll(uint256) (contracts/vault/VaultCore.sol#281-287)\n\t- VaultCore._rebase() (contracts/vault/VaultCore.sol#384-408)\n", "markdown": "[VaultStorage.oUSD](contracts/vault/VaultStorage.sol#L86) is never initialized. It is used in:\n\t- [VaultCore.mint(address,uint256,uint256)](contracts/vault/VaultCore.sol#L66-L107)\n\t- [VaultCore.mintForStrategy(uint256)](contracts/vault/VaultCore.sol#L122-L147)\n\t- [VaultCore._redeem(uint256,uint256)](contracts/vault/VaultCore.sol#L169-L233)\n\t- [VaultCore.burnForStrategy(uint256)](contracts/vault/VaultCore.sol#L248-L275)\n\t- [VaultCore.redeemAll(uint256)](contracts/vault/VaultCore.sol#L281-L287)\n\t- [VaultCore._rebase()](contracts/vault/VaultCore.sol#L384-L408)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L86", "id": "df26918b8bdd621ec118d2015bb8578817d734b6d3c33937967b164cadc2ace0", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "maxSupplyDiff", "source_mapping": {"start": 4028, "length": 28, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [106], "starting_column": 5, "ending_column": 33}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 828, "length": 4640, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "_redeem", "source_mapping": {"start": 5763, "length": 2485, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_redeem(uint256,uint256)"}}], "description": "VaultStorage.maxSupplyDiff (contracts/vault/VaultStorage.sol#106) is never initialized. It is used in:\n\t- VaultCore._redeem(uint256,uint256) (contracts/vault/VaultCore.sol#169-233)\n", "markdown": "[VaultStorage.maxSupplyDiff](contracts/vault/VaultStorage.sol#L106) is never initialized. It is used in:\n\t- [VaultCore._redeem(uint256,uint256)](contracts/vault/VaultCore.sol#L169-L233)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L106", "id": "6a3430804bec9d029a57ae03c02e8a40c310203865799000bf50016777b36f8f", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "decimalsCache", "source_mapping": {"start": 4736, "length": 50, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [124], "starting_column": 5, "ending_column": 55}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 828, "length": 4497, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "_getDecimals", "source_mapping": {"start": 23780, "length": 204, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [668, 669, 670, 671, 672], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 987, "length": 24439, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717], "starting_column": 1, "ending_column": 2}}, "signature": "_getDecimals(address)"}}], "description": "VaultStorage.decimalsCache (contracts/vault/VaultStorage.sol#124) is never initialized. It is used in:\n\t- VaultCore._getDecimals(address) (contracts/vault/VaultCore.sol#668-672)\n", "markdown": "[VaultStorage.decimalsCache](contracts/vault/VaultStorage.sol#L124) is never initialized. It is used in:\n\t- [VaultCore._getDecimals(address)](contracts/vault/VaultCore.sol#L668-L672)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L124", "id": "ae957b4f96eb11ddea5ee4d030d41472ceee6954f34cde52618144ab869fa8c3", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "assets", "source_mapping": {"start": 2283, "length": 41, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [57], "starting_column": 5, "ending_column": 46}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 828, "length": 3795, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "mint", "source_mapping": {"start": 1716, "length": 1511, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 874, "length": 22316, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639], "starting_column": 1, "ending_column": 2}}, "signature": "mint(address,uint256,uint256)"}}, {"type": "function", "name": "isSupportedAsset", "source_mapping": {"start": 21910, "length": 121, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [599, 600, 601], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 874, "length": 22316, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639], "starting_column": 1, "ending_column": 2}}, "signature": "isSupportedAsset(address)"}}], "description": "VaultStorage.assets (contracts/vault/VaultStorage.sol#57) is never initialized. It is used in:\n\t- VaultCore.mint(address,uint256,uint256) (contracts/vault/VaultCore.sol#53-97)\n\t- VaultCore.isSupportedAsset(address) (contracts/vault/VaultCore.sol#599-601)\n", "markdown": "[VaultStorage.assets](contracts/vault/VaultStorage.sol#L57) is never initialized. It is used in:\n\t- [VaultCore.mint(address,uint256,uint256)](contracts/vault/VaultCore.sol#L53-L97)\n\t- [VaultCore.isSupportedAsset(address)](contracts/vault/VaultCore.sol#L599-L601)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L57", "id": "6a182c24e91d1dd53b0b1ef0dab5f77981ebaf050bd25c19b9cca70afaf18e67", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_decimals", "source_mapping": {"start": 393, "length": 23, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [19], "starting_column": 5, "ending_column": 28}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSDResolutionUpgrade", "source_mapping": {"start": 25, "length": 4062, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130], "starting_column": 1, "ending_column": 2}}}}], "description": "OUSDResolutionUpgrade._decimals (contracts/token/OUSDResolutionUpgrade.sol#19) should be constant\n", "markdown": "[OUSDResolutionUpgrade._decimals](contracts/token/OUSDResolutionUpgrade.sol#L19) should be constant\n", "first_markdown_element": "contracts/token/OUSDResolutionUpgrade.sol#L19", "id": "c6b2c8888913a809e3344ed0dee21191412ae3601896db9c573f735f6c3d7a8a", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_name", "source_mapping": {"start": 339, "length": 20, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [17], "starting_column": 5, "ending_column": 25}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSDResolutionUpgrade", "source_mapping": {"start": 25, "length": 4062, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130], "starting_column": 1, "ending_column": 2}}}}], "description": "OUSDResolutionUpgrade._name (contracts/token/OUSDResolutionUpgrade.sol#17) should be constant\n", "markdown": "[OUSDResolutionUpgrade._name](contracts/token/OUSDResolutionUpgrade.sol#L17) should be constant\n", "first_markdown_element": "contracts/token/OUSDResolutionUpgrade.sol#L17", "id": "6956191c111bc7668de81941132c1a31576d2af9cfae5034646c97388cdec653", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_symbol", "source_mapping": {"start": 365, "length": 22, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [18], "starting_column": 5, "ending_column": 27}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSDResolutionUpgrade", "source_mapping": {"start": 25, "length": 4062, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130], "starting_column": 1, "ending_column": 2}}}}], "description": "OUSDResolutionUpgrade._symbol (contracts/token/OUSDResolutionUpgrade.sol#18) should be constant\n", "markdown": "[OUSDResolutionUpgrade._symbol](contracts/token/OUSDResolutionUpgrade.sol#L18) should be constant\n", "first_markdown_element": "contracts/token/OUSDResolutionUpgrade.sol#L18", "id": "4a6b27b5189d0409bd8717ec6416071376f25ba75d9a3fcb2c617036aa554257", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_totalSupply", "source_mapping": {"start": 510, "length": 27, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [23], "starting_column": 5, "ending_column": 32}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSDResolutionUpgrade", "source_mapping": {"start": 25, "length": 4062, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130], "starting_column": 1, "ending_column": 2}}}}], "description": "OUSDResolutionUpgrade._totalSupply (contracts/token/OUSDResolutionUpgrade.sol#23) should be constant\n", "markdown": "[OUSDResolutionUpgrade._totalSupply](contracts/token/OUSDResolutionUpgrade.sol#L23) should be constant\n", "first_markdown_element": "contracts/token/OUSDResolutionUpgrade.sol#L23", "id": "1658e506f1e0828cb824d099c91bb2a569de15dbd05bdc7f11b98a69a98f8638", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "initialized", "source_mapping": {"start": 166, "length": 24, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [11], "starting_column": 5, "ending_column": 29}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSDResolutionUpgrade", "source_mapping": {"start": 25, "length": 4062, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130], "starting_column": 1, "ending_column": 2}}}}], "description": "OUSDResolutionUpgrade.initialized (contracts/token/OUSDResolutionUpgrade.sol#11) should be constant\n", "markdown": "[OUSDResolutionUpgrade.initialized](contracts/token/OUSDResolutionUpgrade.sol#L11) should be constant\n", "first_markdown_element": "contracts/token/OUSDResolutionUpgrade.sol#L11", "id": "fefc27aa7f63a8fb938914b29bdf6913ea43894d2297e65bc64c63cf5cf82af9", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "initializing", "source_mapping": {"start": 196, "length": 25, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [12], "starting_column": 5, "ending_column": 30}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSDResolutionUpgrade", "source_mapping": {"start": 25, "length": 4062, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130], "starting_column": 1, "ending_column": 2}}}}], "description": "OUSDResolutionUpgrade.initializing (contracts/token/OUSDResolutionUpgrade.sol#12) should be constant\n", "markdown": "[OUSDResolutionUpgrade.initializing](contracts/token/OUSDResolutionUpgrade.sol#L12) should be constant\n", "first_markdown_element": "contracts/token/OUSDResolutionUpgrade.sol#L12", "id": "c69133d357c924089ed02bb4dde070a42b4bf6de4c0b65d348e468864973316a", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "nonRebasingSupply", "source_mapping": {"start": 803, "length": 32, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [29], "starting_column": 5, "ending_column": 37}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSDResolutionUpgrade", "source_mapping": {"start": 25, "length": 4062, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130], "starting_column": 1, "ending_column": 2}}}}], "description": "OUSDResolutionUpgrade.nonRebasingSupply (contracts/token/OUSDResolutionUpgrade.sol#29) should be constant\n", "markdown": "[OUSDResolutionUpgrade.nonRebasingSupply](contracts/token/OUSDResolutionUpgrade.sol#L29) should be constant\n", "first_markdown_element": "contracts/token/OUSDResolutionUpgrade.sol#L29", "id": "e17fd436e0a604cb7be2d272cdd362338280663a1a0aa613116ea1b3fbe6ebc9", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "vaultAddress", "source_mapping": {"start": 616, "length": 40, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [25], "starting_column": 5, "ending_column": 45}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSDResolutionUpgrade", "source_mapping": {"start": 25, "length": 4062, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130], "starting_column": 1, "ending_column": 2}}}}], "description": "OUSDResolutionUpgrade.vaultAddress (contracts/token/OUSDResolutionUpgrade.sol#25) should be constant\n", "markdown": "[OUSDResolutionUpgrade.vaultAddress](contracts/token/OUSDResolutionUpgrade.sol#L25) should be constant\n", "first_markdown_element": "contracts/token/OUSDResolutionUpgrade.sol#L25", "id": "d17c40d13f23171f24f257c05a906ba4f825e300c024fcec7986d2bf6ed00657", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "isUpgraded", "source_mapping": {"start": 1875, "length": 45, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [52], "starting_column": 5, "ending_column": 50}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSD", "source_mapping": {"start": 840, "length": 19113, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "creditsBalanceOfHighres", "source_mapping": {"start": 5205, "length": 322, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSD", "source_mapping": {"start": 840, "length": 19113, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578], "starting_column": 1, "ending_column": 2}}, "signature": "creditsBalanceOfHighres(address)"}}], "description": "OUSD.isUpgraded (contracts/token/OUSD.sol#52) is never initialized. It is used in:\n\t- OUSD.creditsBalanceOfHighres(address) (contracts/token/OUSD.sol#158-172)\n", "markdown": "[OUSD.isUpgraded](contracts/token/OUSD.sol#L52) is never initialized. It is used in:\n\t- [OUSD.creditsBalanceOfHighres(address)](contracts/token/OUSD.sol#L158-L172)\n", "first_markdown_element": "contracts/token/OUSD.sol#L52", "id": "1a9fd10ae49fbf202e5333c123ca53e5ea8614f3f7a5ace5a8e001758b5be263", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "function", "name": "scaleBy", "source_mapping": {"start": 781, "length": 288, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "StableMath", "source_mapping": {"start": 285, "length": 3569, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114], "starting_column": 1, "ending_column": 2}}, "signature": "scaleBy(uint256,uint256,uint256)"}}, {"type": "node", "name": "x = x.mul(10 ** (to - from))", "source_mapping": {"start": 936, "length": 26, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [33], "starting_column": 13, "ending_column": 39}, "type_specific_fields": {"parent": {"type": "function", "name": "scaleBy", "source_mapping": {"start": 781, "length": 288, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "StableMath", "source_mapping": {"start": 285, "length": 3569, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114], "starting_column": 1, "ending_column": 2}}, "signature": "scaleBy(uint256,uint256,uint256)"}}}}, {"type": "node", "name": "x = x.div(10 ** (from - to))", "source_mapping": {"start": 1008, "length": 26, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [35], "starting_column": 13, "ending_column": 39}, "type_specific_fields": {"parent": {"type": "function", "name": "scaleBy", "source_mapping": {"start": 781, "length": 288, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "StableMath", "source_mapping": {"start": 285, "length": 3569, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114], "starting_column": 1, "ending_column": 2}}, "signature": "scaleBy(uint256,uint256,uint256)"}}}}], "description": "StableMath.scaleBy(uint256,uint256,uint256) (contracts/utils/StableMath.sol#27-38) performs a multiplication on the result of a division:\n\t-x = x.mul(10 ** (to - from)) (contracts/utils/StableMath.sol#33)\n\t-x = x.div(10 ** (from - to)) (contracts/utils/StableMath.sol#35)\n", "markdown": "[StableMath.scaleBy(uint256,uint256,uint256)](contracts/utils/StableMath.sol#L27-L38) performs a multiplication on the result of a division:\n\t-[x = x.mul(10 ** (to - from))](contracts/utils/StableMath.sol#L33)\n\t-[x = x.div(10 ** (from - to))](contracts/utils/StableMath.sol#L35)\n", "first_markdown_element": "contracts/utils/StableMath.sol#L27-L38", "id": "b1500b45d44a127aa3729dda962b0f1fad4c4141dfa4fb20f46e1148cf288944", "check": "divide-before-multiply", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "addSwapToken", "source_mapping": {"start": 7974, "length": 644, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_relative": "contracts/vault/VaultAdmin.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_short": "contracts/vault/VaultAdmin.sol", "is_dependency": false, "lines": [235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultAdmin", "source_mapping": {"start": 527, "length": 18940, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_relative": "contracts/vault/VaultAdmin.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_short": "contracts/vault/VaultAdmin.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577], "starting_column": 1, "ending_column": 2}}, "signature": "addSwapToken(address)"}}, {"type": "node", "name": "IOracle(priceProvider).price(_addr)", "source_mapping": {"start": 8261, "length": 35, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_relative": "contracts/vault/VaultAdmin.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_short": "contracts/vault/VaultAdmin.sol", "is_dependency": false, "lines": [243], "starting_column": 9, "ending_column": 44}, "type_specific_fields": {"parent": {"type": "function", "name": "addSwapToken", "source_mapping": {"start": 7974, "length": 644, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_relative": "contracts/vault/VaultAdmin.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_short": "contracts/vault/VaultAdmin.sol", "is_dependency": false, "lines": [235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultAdmin", "source_mapping": {"start": 527, "length": 18940, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_relative": "contracts/vault/VaultAdmin.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_short": "contracts/vault/VaultAdmin.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577], "starting_column": 1, "ending_column": 2}}, "signature": "addSwapToken(address)"}}}}], "description": "VaultAdmin.addSwapToken(address) (contracts/vault/VaultAdmin.sol#235-255) ignores return value by IOracle(priceProvider).price(_addr) (contracts/vault/VaultAdmin.sol#243)\n", "markdown": "[VaultAdmin.addSwapToken(address)](contracts/vault/VaultAdmin.sol#L235-L255) ignores return value by [IOracle(priceProvider).price(_addr)](contracts/vault/VaultAdmin.sol#L243)\n", "first_markdown_element": "contracts/vault/VaultAdmin.sol#L235-L255", "id": "62ac1769a2c1d54d7ea6660de35020316e5057588e99010c778d43e01aacf3e2", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "addSwapToken", "source_mapping": {"start": 7510, "length": 644, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_relative": "contracts/vault/VaultAdmin.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_short": "contracts/vault/VaultAdmin.sol", "is_dependency": false, "lines": [223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultAdmin", "source_mapping": {"start": 527, "length": 18435, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_relative": "contracts/vault/VaultAdmin.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_short": "contracts/vault/VaultAdmin.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "addSwapToken(address)"}}, {"type": "node", "name": "IOracle(priceProvider).price(_addr)", "source_mapping": {"start": 7797, "length": 35, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_relative": "contracts/vault/VaultAdmin.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_short": "contracts/vault/VaultAdmin.sol", "is_dependency": false, "lines": [231], "starting_column": 9, "ending_column": 44}, "type_specific_fields": {"parent": {"type": "function", "name": "addSwapToken", "source_mapping": {"start": 7510, "length": 644, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_relative": "contracts/vault/VaultAdmin.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_short": "contracts/vault/VaultAdmin.sol", "is_dependency": false, "lines": [223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultAdmin", "source_mapping": {"start": 527, "length": 18435, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_relative": "contracts/vault/VaultAdmin.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_short": "contracts/vault/VaultAdmin.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "addSwapToken(address)"}}}}], "description": "VaultAdmin.addSwapToken(address) (contracts/vault/VaultAdmin.sol#223-243) ignores return value by IOracle(priceProvider).price(_addr) (contracts/vault/VaultAdmin.sol#231)\n", "markdown": "[VaultAdmin.addSwapToken(address)](contracts/vault/VaultAdmin.sol#L223-L243) ignores return value by [IOracle(priceProvider).price(_addr)](contracts/vault/VaultAdmin.sol#L231)\n", "first_markdown_element": "contracts/vault/VaultAdmin.sol#L223-L243", "id": "9c71d10f9809eae2cbece0fe66259b93d8a7423a5a0e5362b2e132b55970c1a9", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_allocate", "source_mapping": {"start": 9273, "length": 4326, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 621, "length": 24503, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}, {"type": "node", "name": "IVault(address(this)).harvest(allStrategies[i])", "source_mapping": {"start": 10657, "length": 47, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [289], "starting_column": 25, "ending_column": 72}, "type_specific_fields": {"parent": {"type": "function", "name": "_allocate", "source_mapping": {"start": 9273, "length": 4326, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 621, "length": 24503, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}}}], "description": "VaultCore._allocate() (contracts/vault/VaultCore.sol#266-362) ignores return value by IVault(address(this)).harvest(allStrategies[i]) (contracts/vault/VaultCore.sol#289)\n", "markdown": "[VaultCore._allocate()](contracts/vault/VaultCore.sol#L266-L362) ignores return value by [IVault(address(this)).harvest(allStrategies[i])](contracts/vault/VaultCore.sol#L289)\n", "id": "14738114fda112fc8f37877cd29cc70a2cd815ef7bd1c03a5a0774ec1e219673", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "contract", "name": "InitializableAbstractStrategy", "source_mapping": {"start": 449, "length": 8364, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263], "starting_column": 1, "ending_column": 2}}, {"type": "node", "name": "assetsMapped.push(_asset)", "source_mapping": {"start": 6547, "length": 25, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [189], "starting_column": 9, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "function", "name": "_setPTokenAddress", "source_mapping": {"start": 6231, "length": 438, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "InitializableAbstractStrategy", "source_mapping": {"start": 449, "length": 8364, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263], "starting_column": 1, "ending_column": 2}}, "signature": "_setPTokenAddress(address,address)"}}}}], "description": "InitializableAbstractStrategy (contracts/utils/InitializableAbstractStrategy.sol#11-263) contract sets array length with a user-controlled value:\n\t- assetsMapped.push(_asset) (contracts/utils/InitializableAbstractStrategy.sol#189)\n", "markdown": "[InitializableAbstractStrategy](contracts/utils/InitializableAbstractStrategy.sol#L11-L263) contract sets array length with a user-controlled value:\n\t- [assetsMapped.push(_asset)](contracts/utils/InitializableAbstractStrategy.sol#L189)\n", "id": "381ac16a09532b8a5dfd39a5d7c89b8a098eed32925b60281cbd3b0fcad4f990", "check": "controlled-array-length", "impact": "High", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_allocate", "source_mapping": {"start": 9273, "length": 4326, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 621, "length": 24503, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}, {"type": "node", "name": "IVault(address(this)).harvest(allStrategies[i])", "source_mapping": {"start": 10027, "length": 47, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [278], "starting_column": 21, "ending_column": 68}, "type_specific_fields": {"parent": {"type": "function", "name": "_allocate", "source_mapping": {"start": 9273, "length": 4326, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 621, "length": 24503, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}}}], "description": "VaultCore._allocate() (contracts/vault/VaultCore.sol#266-362) ignores return value by IVault(address(this)).harvest(allStrategies[i]) (contracts/vault/VaultCore.sol#278)\n", "markdown": "[VaultCore._allocate()](contracts/vault/VaultCore.sol#L266-L362) ignores return value by [IVault(address(this)).harvest(allStrategies[i])](contracts/vault/VaultCore.sol#L278)\n", "id": "7e2dac8db9a46c3c11c5d4b3e04cb5233cb9693607e01c54045f05b7dae4fc76", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "contract", "name": "InitializableAbstractStrategy", "source_mapping": {"start": 392, "length": 8280, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259], "starting_column": 1, "ending_column": 2}}, {"type": "node", "name": "assetsMapped.push(_asset)", "source_mapping": {"start": 6406, "length": 25, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [185], "starting_column": 9, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "function", "name": "_setPTokenAddress", "source_mapping": {"start": 6090, "length": 438, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "InitializableAbstractStrategy", "source_mapping": {"start": 392, "length": 8280, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259], "starting_column": 1, "ending_column": 2}}, "signature": "_setPTokenAddress(address,address)"}}}}], "description": "InitializableAbstractStrategy (contracts/utils/InitializableAbstractStrategy.sol#10-259) contract sets array length with a user-controlled value:\n\t- assetsMapped.push(_asset) (contracts/utils/InitializableAbstractStrategy.sol#185)\n", "markdown": "[InitializableAbstractStrategy](contracts/utils/InitializableAbstractStrategy.sol#L10-L259) contract sets array length with a user-controlled value:\n\t- [assetsMapped.push(_asset)](contracts/utils/InitializableAbstractStrategy.sol#L185)\n", "id": "30b7d9aab47a66b59f74bd13941e813c3b5a5ae6448a3f7679c53e7ddbe332ae", "check": "controlled-array-length", "impact": "High", "confidence": "Medium"}, {"elements": [{"type": "contract", "name": "InitializableAbstractStrategy", "source_mapping": {"start": 392, "length": 7885, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249], "starting_column": 1, "ending_column": 2}}, {"type": "node", "name": "assetsMapped.push(_asset)", "source_mapping": {"start": 6011, "length": 25, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [175], "starting_column": 9, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "function", "name": "_setPTokenAddress", "source_mapping": {"start": 5695, "length": 438, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "InitializableAbstractStrategy", "source_mapping": {"start": 392, "length": 7885, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249], "starting_column": 1, "ending_column": 2}}, "signature": "_setPTokenAddress(address,address)"}}}}], "description": "InitializableAbstractStrategy (contracts/utils/InitializableAbstractStrategy.sol#10-249) contract sets array length with a user-controlled value:\n\t- assetsMapped.push(_asset) (contracts/utils/InitializableAbstractStrategy.sol#175)\n", "markdown": "[InitializableAbstractStrategy](contracts/utils/InitializableAbstractStrategy.sol#L10-L249) contract sets array length with a user-controlled value:\n\t- [assetsMapped.push(_asset)](contracts/utils/InitializableAbstractStrategy.sol#L175)\n", "id": "4768a672e113dfcc66a3411dcecbb416a83238a54329eb946079711430f271a2", "check": "controlled-array-length", "impact": "High", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_allocate", "source_mapping": {"start": 9261, "length": 3882, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 621, "length": 24145, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}, {"type": "node", "name": "assetBalance == 0", "source_mapping": {"start": 10940, "length": 17, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [302], "starting_column": 17, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "function", "name": "_allocate", "source_mapping": {"start": 9261, "length": 3882, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 621, "length": 24145, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}}}], "description": "VaultCore._allocate() (contracts/vault/VaultCore.sol#265-351) uses a dangerous strict equality:\n\t- assetBalance == 0 (contracts/vault/VaultCore.sol#302)\n", "markdown": "[VaultCore._allocate()](contracts/vault/VaultCore.sol#L265-L351) uses a dangerous strict equality:\n\t- [assetBalance == 0](contracts/vault/VaultCore.sol#L302)\n", "id": "68299d4d220bd6c43bb5621c4879a0d491e7543f1165aecf84c78d5c75097361", "check": "incorrect-equality", "impact": "Medium", "confidence": "High"}, {"elements": [{"type": "function", "name": "swap", "source_mapping": {"start": 2267, "length": 626, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/BuybackConstructor.sol", "filename_relative": "contracts/buyback/BuybackConstructor.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/BuybackConstructor.sol", "filename_short": "contracts/buyback/BuybackConstructor.sol", "is_dependency": false, "lines": [73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BuybackConstructor", "source_mapping": {"start": 319, "length": 2850, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/BuybackConstructor.sol", "filename_relative": "contracts/buyback/BuybackConstructor.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/BuybackConstructor.sol", "filename_short": "contracts/buyback/BuybackConstructor.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104], "starting_column": 1, "ending_column": 2}}, "signature": "swap()"}}, {"type": "node", "name": "IUniswapV2Router(uniswapAddr).swapExactTokensForTokens(sourceAmount,uint256(0),path,address(this),now)", "source_mapping": {"start": 2710, "length": 176, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/BuybackConstructor.sol", "filename_relative": "contracts/buyback/BuybackConstructor.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/BuybackConstructor.sol", "filename_short": "contracts/buyback/BuybackConstructor.sol", "is_dependency": false, "lines": [85, 86, 87, 88, 89, 90, 91], "starting_column": 9, "ending_column": 10}, "type_specific_fields": {"parent": {"type": "function", "name": "swap", "source_mapping": {"start": 2267, "length": 626, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/BuybackConstructor.sol", "filename_relative": "contracts/buyback/BuybackConstructor.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/BuybackConstructor.sol", "filename_short": "contracts/buyback/BuybackConstructor.sol", "is_dependency": false, "lines": [73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BuybackConstructor", "source_mapping": {"start": 319, "length": 2850, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/BuybackConstructor.sol", "filename_relative": "contracts/buyback/BuybackConstructor.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/BuybackConstructor.sol", "filename_short": "contracts/buyback/BuybackConstructor.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104], "starting_column": 1, "ending_column": 2}}, "signature": "swap()"}}}}], "description": "BuybackConstructor.swap() (contracts/buyback/BuybackConstructor.sol#73-92) ignores return value by IUniswapV2Router(uniswapAddr).swapExactTokensForTokens(sourceAmount,uint256(0),path,address(this),now) (contracts/buyback/BuybackConstructor.sol#85-91)\n", "markdown": "[BuybackConstructor.swap()](contracts/buyback/BuybackConstructor.sol#L73-L92) ignores return value by [IUniswapV2Router(uniswapAddr).swapExactTokensForTokens(sourceAmount,uint256(0),path,address(this),now)](contracts/buyback/BuybackConstructor.sol#L85-L91)\n", "id": "3cc3f6a6db631431fed154ac7a026944735135574cc350ab5b7af20075adf2bc", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "variable", "name": "trusteeAddress", "source_mapping": {"start": 3698, "length": 29, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [101], "starting_column": 5, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 807, "length": 3487, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "_allocate", "source_mapping": {"start": 9506, "length": 3882, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 621, "length": 24302, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}, {"type": "function", "name": "_rebase", "source_mapping": {"start": 13841, "length": 953, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 621, "length": 24302, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681], "starting_column": 1, "ending_column": 2}}, "signature": "_rebase()"}}], "description": "VaultStorage.trusteeAddress (contracts/vault/VaultStorage.sol#101) is never initialized. It is used in:\n\t- VaultCore._allocate() (contracts/vault/VaultCore.sol#271-357)\n\t- VaultCore._rebase() (contracts/vault/VaultCore.sol#372-396)\n", "markdown": "[VaultStorage.trusteeAddress](contracts/vault/VaultStorage.sol#L101) is never initialized. It is used in:\n\t- [VaultCore._allocate()](contracts/vault/VaultCore.sol#L271-L357)\n\t- [VaultCore._rebase()](contracts/vault/VaultCore.sol#L372-L396)\n", "id": "65e007df44c00b192cdedf6acb4c0c396774b55569e66aa864570ff224919500", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "function", "name": "_allocate", "source_mapping": {"start": 9506, "length": 3882, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 621, "length": 24302, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}, {"type": "node", "name": "assetBalance == 0", "source_mapping": {"start": 11185, "length": 17, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [308], "starting_column": 17, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "function", "name": "_allocate", "source_mapping": {"start": 9506, "length": 3882, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 621, "length": 24302, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}}}], "description": "VaultCore._allocate() (contracts/vault/VaultCore.sol#271-357) uses a dangerous strict equality:\n\t- assetBalance == 0 (contracts/vault/VaultCore.sol#308)\n", "markdown": "[VaultCore._allocate()](contracts/vault/VaultCore.sol#L271-L357) uses a dangerous strict equality:\n\t- [assetBalance == 0](contracts/vault/VaultCore.sol#L308)\n", "id": "3cdb474d424497377560f2617a225571d094bc5a4d9068ed28cc039cf36bb0a9", "check": "incorrect-equality", "impact": "Medium", "confidence": "High"}, {"elements": [{"type": "function", "name": "swap", "source_mapping": {"start": 1716, "length": 626, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Buyback", "source_mapping": {"start": 319, "length": 2299, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85], "starting_column": 1, "ending_column": 2}}, "signature": "swap()"}}, {"type": "node", "name": "IUniswapV2Router(uniswapAddr).swapExactTokensForTokens(sourceAmount,uint256(0),path,address(this),now)", "source_mapping": {"start": 2159, "length": 176, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [66, 67, 68, 69, 70, 71, 72], "starting_column": 9, "ending_column": 10}, "type_specific_fields": {"parent": {"type": "function", "name": "swap", "source_mapping": {"start": 1716, "length": 626, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Buyback", "source_mapping": {"start": 319, "length": 2299, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85], "starting_column": 1, "ending_column": 2}}, "signature": "swap()"}}}}], "description": "Buyback.swap() (contracts/buyback/Buyback.sol#54-73) ignores return value by IUniswapV2Router(uniswapAddr).swapExactTokensForTokens(sourceAmount,uint256(0),path,address(this),now) (contracts/buyback/Buyback.sol#66-72)\n", "markdown": "[Buyback.swap()](contracts/buyback/Buyback.sol#L54-L73) ignores return value by [IUniswapV2Router(uniswapAddr).swapExactTokensForTokens(sourceAmount,uint256(0),path,address(this),now)](contracts/buyback/Buyback.sol#L66-L72)\n", "id": "4ced8a08a7a10442a6b73bc497693399dcb3627d49d0ffbe3233d32187059cba", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_allocate", "source_mapping": {"start": 9451, "length": 3809, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 566, "length": 24229, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}, {"type": "node", "name": "assetBalance == 0", "source_mapping": {"start": 11130, "length": 17, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [307], "starting_column": 17, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "function", "name": "_allocate", "source_mapping": {"start": 9451, "length": 3809, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 566, "length": 24229, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}}}], "description": "VaultCore._allocate() (contracts/vault/VaultCore.sol#270-353) uses a dangerous strict equality:\n\t- assetBalance == 0 (contracts/vault/VaultCore.sol#307)\n", "markdown": "[VaultCore._allocate()](contracts/vault/VaultCore.sol#L270-L353) uses a dangerous strict equality:\n\t- [assetBalance == 0](contracts/vault/VaultCore.sol#L307)\n", "id": "67337dd8b3da36d12ebd0856bc1dd88acd22e740abd8d2e6e33a46a1d187e940", "check": "incorrect-equality", "impact": "Medium", "confidence": "High"}, {"elements": [{"type": "contract", "name": "Tether", "source_mapping": {"start": 402, "length": 248, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/flipper/Flipper.sol", "filename_relative": "contracts/flipper/Flipper.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/flipper/Flipper.sol", "filename_short": "contracts/flipper/Flipper.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], "starting_column": 1, "ending_column": 2}}, {"type": "function", "name": "transfer", "source_mapping": {"start": 425, "length": 54, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/flipper/Flipper.sol", "filename_relative": "contracts/flipper/Flipper.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/flipper/Flipper.sol", "filename_short": "contracts/flipper/Flipper.sol", "is_dependency": false, "lines": [14], "starting_column": 5, "ending_column": 59}, "type_specific_fields": {"parent": {"type": "contract", "name": "Tether", "source_mapping": {"start": 402, "length": 248, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/flipper/Flipper.sol", "filename_relative": "contracts/flipper/Flipper.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/flipper/Flipper.sol", "filename_short": "contracts/flipper/Flipper.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], "starting_column": 1, "ending_column": 2}}, "signature": "transfer(address,uint256)"}}], "description": "Tether (contracts/flipper/Flipper.sol#13-23) has incorrect ERC20 function interface:Tether.transfer(address,uint256) (contracts/flipper/Flipper.sol#14)\n", "markdown": "[Tether](contracts/flipper/Flipper.sol#L13-L23) has incorrect ERC20 function interface:[Tether.transfer(address,uint256)](contracts/flipper/Flipper.sol#L14)\n", "id": "e2f2abe06f3b5a5408c2013e6c7749baa5ffc112491baf17fb7381de0160bf62", "check": "erc20-interface", "impact": "Medium", "confidence": "High"}, {"elements": [{"type": "contract", "name": "Tether", "source_mapping": {"start": 402, "length": 248, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/flipper/Flipper.sol", "filename_relative": "contracts/flipper/Flipper.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/flipper/Flipper.sol", "filename_short": "contracts/flipper/Flipper.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], "starting_column": 1, "ending_column": 2}}, {"type": "function", "name": "transferFrom", "source_mapping": {"start": 485, "length": 102, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/flipper/Flipper.sol", "filename_relative": "contracts/flipper/Flipper.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/flipper/Flipper.sol", "filename_short": "contracts/flipper/Flipper.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20], "starting_column": 5, "ending_column": 16}, "type_specific_fields": {"parent": {"type": "contract", "name": "Tether", "source_mapping": {"start": 402, "length": 248, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/flipper/Flipper.sol", "filename_relative": "contracts/flipper/Flipper.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/flipper/Flipper.sol", "filename_short": "contracts/flipper/Flipper.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], "starting_column": 1, "ending_column": 2}}, "signature": "transferFrom(address,address,uint256)"}}], "description": "Tether (contracts/flipper/Flipper.sol#13-23) has incorrect ERC20 function interface:Tether.transferFrom(address,address,uint256) (contracts/flipper/Flipper.sol#16-20)\n", "markdown": "[Tether](contracts/flipper/Flipper.sol#L13-L23) has incorrect ERC20 function interface:[Tether.transferFrom(address,address,uint256)](contracts/flipper/Flipper.sol#L16-L20)\n", "id": "3ba32686b3afe7766e203671652c46578ceb76551174eb1d20789241a114e5db", "check": "erc20-interface", "impact": "Medium", "confidence": "High"}, {"elements": [{"type": "contract", "name": "InitializableAbstractStrategy", "source_mapping": {"start": 396, "length": 7885, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251], "starting_column": 1, "ending_column": 2}}, {"type": "node", "name": "assetsMapped.push(_asset)", "source_mapping": {"start": 6016, "length": 25, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [177], "starting_column": 9, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "function", "name": "_setPTokenAddress", "source_mapping": {"start": 5700, "length": 438, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "InitializableAbstractStrategy", "source_mapping": {"start": 396, "length": 7885, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251], "starting_column": 1, "ending_column": 2}}, "signature": "_setPTokenAddress(address,address)"}}}}], "description": "InitializableAbstractStrategy (contracts/utils/InitializableAbstractStrategy.sol#12-251) contract sets array length with a user-controlled value:\n\t- assetsMapped.push(_asset) (contracts/utils/InitializableAbstractStrategy.sol#177)\n", "markdown": "[InitializableAbstractStrategy](contracts/utils/InitializableAbstractStrategy.sol#L12-L251) contract sets array length with a user-controlled value:\n\t- [assetsMapped.push(_asset)](contracts/utils/InitializableAbstractStrategy.sol#L177)\n", "id": "df38af393431fdde0ef600ae1071c57ca43fd15a0015a0d24d83245f0a52a803", "check": "controlled-array-length", "impact": "High", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_deposit", "source_mapping": {"start": 1736, "length": 293, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [53, 54, 55, 56, 57, 58], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "CompoundStrategy", "source_mapping": {"start": 382, "length": 7749, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221], "starting_column": 1, "ending_column": 2}}, "signature": "_deposit(address,uint256)"}}, {"type": "node", "name": "require(bool,string)(cToken.mint(_amount) == 0,cToken mint failed)", "source_mapping": {"start": 1966, "length": 56, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [57], "starting_column": 9, "ending_column": 65}, "type_specific_fields": {"parent": {"type": "function", "name": "_deposit", "source_mapping": {"start": 1736, "length": 293, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [53, 54, 55, 56, 57, 58], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "CompoundStrategy", "source_mapping": {"start": 382, "length": 7749, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221], "starting_column": 1, "ending_column": 2}}, "signature": "_deposit(address,uint256)"}}}}], "description": "CompoundStrategy._deposit(address,uint256) (contracts/strategies/CompoundStrategy.sol#53-58) uses a dangerous strict equality:\n\t- require(bool,string)(cToken.mint(_amount) == 0,cToken mint failed) (contracts/strategies/CompoundStrategy.sol#57)\n", "markdown": "[CompoundStrategy._deposit(address,uint256)](contracts/strategies/CompoundStrategy.sol#L53-L58) uses a dangerous strict equality:\n\t- [require(bool,string)(cToken.mint(_amount) == 0,cToken mint failed)](contracts/strategies/CompoundStrategy.sol#L57)\n", "id": "7cadb11ad19feb7b0494f84f47faae7b851c89d2098787519c17eda83d7f73d6", "check": "incorrect-equality", "impact": "Medium", "confidence": "High"}, {"elements": [{"type": "function", "name": "withdrawAll", "source_mapping": {"start": 3595, "length": 720, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "CompoundStrategy", "source_mapping": {"start": 382, "length": 7749, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221], "starting_column": 1, "ending_column": 2}}, "signature": "withdrawAll()"}}, {"type": "node", "name": "require(bool,string)(cToken.redeem(cToken.balanceOf(address(this))) == 0,Redeem failed)", "source_mapping": {"start": 3901, "length": 135, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [108, 109, 110, 111], "starting_column": 17, "ending_column": 18}, "type_specific_fields": {"parent": {"type": "function", "name": "withdrawAll", "source_mapping": {"start": 3595, "length": 720, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "CompoundStrategy", "source_mapping": {"start": 382, "length": 7749, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221], "starting_column": 1, "ending_column": 2}}, "signature": "withdrawAll()"}}}}], "description": "CompoundStrategy.withdrawAll() (contracts/strategies/CompoundStrategy.sol#103-120) uses a dangerous strict equality:\n\t- require(bool,string)(cToken.redeem(cToken.balanceOf(address(this))) == 0,Redeem failed) (contracts/strategies/CompoundStrategy.sol#108-111)\n", "markdown": "[CompoundStrategy.withdrawAll()](contracts/strategies/CompoundStrategy.sol#L103-L120) uses a dangerous strict equality:\n\t- [require(bool,string)(cToken.redeem(cToken.balanceOf(address(this))) == 0,Redeem failed)](contracts/strategies/CompoundStrategy.sol#L108-L111)\n", "id": "d32d63d9464f5701e2db9f5630c6fce80c9c5404aeecf34e08b2860fbca2e756", "check": "incorrect-equality", "impact": "Medium", "confidence": "High"}, {"elements": [{"type": "variable", "name": "trusteeFeeBps", "source_mapping": {"start": 3782, "length": 28, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [104], "starting_column": 5, "ending_column": 33}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 807, "length": 3486, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "_rebase", "source_mapping": {"start": 13775, "length": 953, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 24561, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686], "starting_column": 1, "ending_column": 2}}, "signature": "_rebase()"}}], "description": "VaultStorage.trusteeFeeBps (contracts/vault/VaultStorage.sol#104) is never initialized. It is used in:\n\t- VaultCore._rebase() (contracts/vault/VaultCore.sol#370-394)\n", "markdown": "[VaultStorage.trusteeFeeBps](contracts/vault/VaultStorage.sol#L104) is never initialized. It is used in:\n\t- [VaultCore._rebase()](contracts/vault/VaultCore.sol#L370-L394)\n", "id": "6026824a262c80dba27267266bd932f6ced8a0ab28731a229e2747099e556a33", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "trusteeAddress", "source_mapping": {"start": 3699, "length": 29, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [101], "starting_column": 5, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 807, "length": 3490, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "_rebase", "source_mapping": {"start": 13871, "length": 960, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 24664, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688], "starting_column": 1, "ending_column": 2}}, "signature": "_rebase()"}}], "description": "VaultStorage.trusteeAddress (contracts/vault/VaultStorage.sol#101) is never initialized. It is used in:\n\t- VaultCore._rebase() (contracts/vault/VaultCore.sol#372-396)\n", "markdown": "[VaultStorage.trusteeAddress](contracts/vault/VaultStorage.sol#L101) is never initialized. It is used in:\n\t- [VaultCore._rebase()](contracts/vault/VaultCore.sol#L372-L396)\n", "id": "38c6f1922de1e66b8be48d1e73897a517a266abf443487b0429c6d6070aa67d7", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "trusteeFeeBasis", "source_mapping": {"start": 3784, "length": 30, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [104], "starting_column": 5, "ending_column": 35}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 807, "length": 3490, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "_rebase", "source_mapping": {"start": 13871, "length": 960, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 24664, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688], "starting_column": 1, "ending_column": 2}}, "signature": "_rebase()"}}], "description": "VaultStorage.trusteeFeeBasis (contracts/vault/VaultStorage.sol#104) is never initialized. It is used in:\n\t- VaultCore._rebase() (contracts/vault/VaultCore.sol#372-396)\n", "markdown": "[VaultStorage.trusteeFeeBasis](contracts/vault/VaultStorage.sol#L104) is never initialized. It is used in:\n\t- [VaultCore._rebase()](contracts/vault/VaultCore.sol#L372-L396)\n", "id": "3f7908a03d07c1a38ed6e02e0e85b2e0e3e7b96dcad11d66ac62102edf3951f9", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "function", "name": "scaleBy", "source_mapping": {"start": 734, "length": 308, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "StableMath", "source_mapping": {"start": 242, "length": 3585, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112], "starting_column": 1, "ending_column": 2}}, "signature": "scaleBy(uint256,int8)"}}, {"type": "node", "name": "x = x.mul(10 ** uint256(adjustment))", "source_mapping": {"start": 883, "length": 34, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [31], "starting_column": 13, "ending_column": 47}, "type_specific_fields": {"parent": {"type": "function", "name": "scaleBy", "source_mapping": {"start": 734, "length": 308, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "StableMath", "source_mapping": {"start": 242, "length": 3585, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112], "starting_column": 1, "ending_column": 2}}, "signature": "scaleBy(uint256,int8)"}}}}, {"type": "node", "name": "x = x.div(10 ** uint256(adjustment * - 1))", "source_mapping": {"start": 968, "length": 39, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [33], "starting_column": 13, "ending_column": 52}, "type_specific_fields": {"parent": {"type": "function", "name": "scaleBy", "source_mapping": {"start": 734, "length": 308, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "StableMath", "source_mapping": {"start": 242, "length": 3585, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112], "starting_column": 1, "ending_column": 2}}, "signature": "scaleBy(uint256,int8)"}}}}], "description": "StableMath.scaleBy(uint256,int8) (contracts/utils/StableMath.sol#25-36) performs a multiplication on the result of a division:\n\t-x = x.mul(10 ** uint256(adjustment)) (contracts/utils/StableMath.sol#31)\n\t-x = x.div(10 ** uint256(adjustment * - 1)) (contracts/utils/StableMath.sol#33)\n", "markdown": "[StableMath.scaleBy(uint256,int8)](contracts/utils/StableMath.sol#L25-L36) performs a multiplication on the result of a division:\n\t-[x = x.mul(10 ** uint256(adjustment))](contracts/utils/StableMath.sol#L31)\n\t-[x = x.div(10 ** uint256(adjustment * - 1))](contracts/utils/StableMath.sol#L33)\n", "id": "db2ef8c1daf9b02deedbcc86671a36b6336566289f0ec3f91ff45f5afe31fd91", "check": "divide-before-multiply", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "withdrawAll", "source_mapping": {"start": 2862, "length": 720, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "CompoundStrategy", "source_mapping": {"start": 382, "length": 7016, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200], "starting_column": 1, "ending_column": 2}}, "signature": "withdrawAll()"}}, {"type": "node", "name": "require(bool,string)(cToken.redeem(cToken.balanceOf(address(this))) == 0,Redeem failed)", "source_mapping": {"start": 3168, "length": 135, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [87, 88, 89, 90], "starting_column": 17, "ending_column": 18}, "type_specific_fields": {"parent": {"type": "function", "name": "withdrawAll", "source_mapping": {"start": 2862, "length": 720, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "CompoundStrategy", "source_mapping": {"start": 382, "length": 7016, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200], "starting_column": 1, "ending_column": 2}}, "signature": "withdrawAll()"}}}}], "description": "CompoundStrategy.withdrawAll() (contracts/strategies/CompoundStrategy.sol#82-99) uses a dangerous strict equality:\n\t- require(bool,string)(cToken.redeem(cToken.balanceOf(address(this))) == 0,Redeem failed) (contracts/strategies/CompoundStrategy.sol#87-90)\n", "markdown": "[CompoundStrategy.withdrawAll()](contracts/strategies/CompoundStrategy.sol#L82-L99) uses a dangerous strict equality:\n\t- [require(bool,string)(cToken.redeem(cToken.balanceOf(address(this))) == 0,Redeem failed)](contracts/strategies/CompoundStrategy.sol#L87-L90)\n", "id": "5dce02849df598583a9b3a98ec07f6415c6f4d1dac892a6807845e3f68e3f38f", "check": "incorrect-equality", "impact": "Medium", "confidence": "High"}, {"elements": [{"type": "function", "name": "balanceOf", "source_mapping": {"start": 2744, "length": 223, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [83, 84, 85, 86, 87], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSD", "source_mapping": {"start": 829, "length": 17607, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508], "starting_column": 1, "ending_column": 2}}, "signature": "balanceOf(address)"}}, {"type": "node", "name": "_creditBalances[_account] == 0", "source_mapping": {"start": 2825, "length": 30, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [84], "starting_column": 13, "ending_column": 43}, "type_specific_fields": {"parent": {"type": "function", "name": "balanceOf", "source_mapping": {"start": 2744, "length": 223, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [83, 84, 85, 86, 87], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSD", "source_mapping": {"start": 829, "length": 17607, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508], "starting_column": 1, "ending_column": 2}}, "signature": "balanceOf(address)"}}}}], "description": "OUSD.balanceOf(address) (contracts/token/OUSD.sol#83-87) uses a dangerous strict equality:\n\t- _creditBalances[_account] == 0 (contracts/token/OUSD.sol#84)\n", "markdown": "[OUSD.balanceOf(address)](contracts/token/OUSD.sol#L83-L87) uses a dangerous strict equality:\n\t- [_creditBalances[_account] == 0](contracts/token/OUSD.sol#L84)\n", "id": "ccb46234e07af49545e8f6ec6328d958fa1c2f6c5bc4170dbf99f57e4003ebeb", "check": "incorrect-equality", "impact": "Medium", "confidence": "High"}, {"elements": [{"type": "function", "name": "balanceOf", "source_mapping": {"start": 2849, "length": 223, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [87, 88, 89, 90, 91], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSD", "source_mapping": {"start": 829, "length": 16903, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495], "starting_column": 1, "ending_column": 2}}, "signature": "balanceOf(address)"}}, {"type": "node", "name": "_creditBalances[_account] == 0", "source_mapping": {"start": 2930, "length": 30, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [88], "starting_column": 13, "ending_column": 43}, "type_specific_fields": {"parent": {"type": "function", "name": "balanceOf", "source_mapping": {"start": 2849, "length": 223, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [87, 88, 89, 90, 91], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSD", "source_mapping": {"start": 829, "length": 16903, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495], "starting_column": 1, "ending_column": 2}}, "signature": "balanceOf(address)"}}}}], "description": "OUSD.balanceOf(address) (contracts/token/OUSD.sol#87-91) uses a dangerous strict equality:\n\t- _creditBalances[_account] == 0 (contracts/token/OUSD.sol#88)\n", "markdown": "[OUSD.balanceOf(address)](contracts/token/OUSD.sol#L87-L91) uses a dangerous strict equality:\n\t- [_creditBalances[_account] == 0](contracts/token/OUSD.sol#L88)\n", "id": "ac0ff05bcf967595b64b2a24b53884cfca5e30e06792da3ba40104ab169d77a4", "check": "incorrect-equality", "impact": "Medium", "confidence": "High"}, {"elements": [{"type": "contract", "name": "InitializableAbstractStrategy", "source_mapping": {"start": 396, "length": 8222, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262], "starting_column": 1, "ending_column": 2}}, {"type": "node", "name": "assetsMapped.push(_asset)", "source_mapping": {"start": 6476, "length": 25, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [193], "starting_column": 9, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "function", "name": "_setPTokenAddress", "source_mapping": {"start": 6160, "length": 438, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "InitializableAbstractStrategy", "source_mapping": {"start": 396, "length": 8222, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262], "starting_column": 1, "ending_column": 2}}, "signature": "_setPTokenAddress(address,address)"}}}}], "description": "InitializableAbstractStrategy (contracts/utils/InitializableAbstractStrategy.sol#12-262) contract sets array length with a user-controlled value:\n\t- assetsMapped.push(_asset) (contracts/utils/InitializableAbstractStrategy.sol#193)\n", "markdown": "[InitializableAbstractStrategy](contracts/utils/InitializableAbstractStrategy.sol#L12-L262) contract sets array length with a user-controlled value:\n\t- [assetsMapped.push(_asset)](contracts/utils/InitializableAbstractStrategy.sol#L193)\n", "id": "e99c44d951e76857b3f5bfc5cdccca773021441bfde515673b7eccdad421c7e3", "check": "controlled-array-length", "impact": "High", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "executeTransaction", "source_mapping": {"start": 4393, "length": 1470, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/timelock/MinuteTimelock.sol", "filename_relative": "contracts/timelock/MinuteTimelock.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/timelock/MinuteTimelock.sol", "filename_short": "contracts/timelock/MinuteTimelock.sol", "is_dependency": false, "lines": [160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "MinuteTimelock", "source_mapping": {"start": 300, "length": 5733, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/timelock/MinuteTimelock.sol", "filename_relative": "contracts/timelock/MinuteTimelock.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/timelock/MinuteTimelock.sol", "filename_short": "contracts/timelock/MinuteTimelock.sol", "is_dependency": false, "lines": [11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214], "starting_column": 1, "ending_column": 2}}, "signature": "executeTransaction(address,uint256,string,bytes,uint256)"}}, {"type": "node", "name": "(success,returnData) = target.call.value(value)(callData)", "source_mapping": {"start": 5526, "length": 98, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/timelock/MinuteTimelock.sol", "filename_relative": "contracts/timelock/MinuteTimelock.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/timelock/MinuteTimelock.sol", "filename_short": "contracts/timelock/MinuteTimelock.sol", "is_dependency": false, "lines": [197, 198, 199], "starting_column": 9, "ending_column": 10}, "type_specific_fields": {"parent": {"type": "function", "name": "executeTransaction", "source_mapping": {"start": 4393, "length": 1470, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/timelock/MinuteTimelock.sol", "filename_relative": "contracts/timelock/MinuteTimelock.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/timelock/MinuteTimelock.sol", "filename_short": "contracts/timelock/MinuteTimelock.sol", "is_dependency": false, "lines": [160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "MinuteTimelock", "source_mapping": {"start": 300, "length": 5733, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/timelock/MinuteTimelock.sol", "filename_relative": "contracts/timelock/MinuteTimelock.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/timelock/MinuteTimelock.sol", "filename_short": "contracts/timelock/MinuteTimelock.sol", "is_dependency": false, "lines": [11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214], "starting_column": 1, "ending_column": 2}}, "signature": "executeTransaction(address,uint256,string,bytes,uint256)"}}}}], "description": "MinuteTimelock.executeTransaction(address,uint256,string,bytes,uint256) (contracts/timelock/MinuteTimelock.sol#160-208) sends eth to arbitrary user\n\tDangerous calls:\n\t- (success,returnData) = target.call.value(value)(callData) (contracts/timelock/MinuteTimelock.sol#197-199)\n", "markdown": "[MinuteTimelock.executeTransaction(address,uint256,string,bytes,uint256)](contracts/timelock/MinuteTimelock.sol#L160-L208) sends eth to arbitrary user\n\tDangerous calls:\n\t- [(success,returnData) = target.call.value(value)(callData)](contracts/timelock/MinuteTimelock.sol#L197-L199)\n", "id": "adb27b2223ce1f61a53972f79799586ca089e9afc5f2eacfe3b6af935426ae32", "check": "arbitrary-send", "impact": "High", "confidence": "Medium"}, {"elements": [{"type": "variable", "name": "assets", "source_mapping": {"start": 1854, "length": 32, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [51], "starting_column": 5, "ending_column": 37}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 738, "length": 3013, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "mint", "source_mapping": {"start": 1313, "length": 1551, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "mint(address,uint256,uint256)"}}, {"type": "function", "name": "mintMultiple", "source_mapping": {"start": 3165, "length": 2120, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "mintMultiple(address[],uint256[],uint256)"}}, {"type": "function", "name": "isSupportedAsset", "source_mapping": {"start": 23379, "length": 121, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [647, 648, 649], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "isSupportedAsset(address)"}}], "description": "VaultStorage.assets (contracts/vault/VaultStorage.sol#51) is never initialized. It is used in:\n\t- VaultCore.mint(address,uint256,uint256) (contracts/vault/VaultCore.sol#42-87)\n\t- VaultCore.mintMultiple(address[],uint256[],uint256) (contracts/vault/VaultCore.sol#96-153)\n\t- VaultCore.isSupportedAsset(address) (contracts/vault/VaultCore.sol#647-649)\n", "markdown": "[VaultStorage.assets](contracts/vault/VaultStorage.sol#L51) is never initialized. It is used in:\n\t- [VaultCore.mint(address,uint256,uint256)](contracts/vault/VaultCore.sol#L42-L87)\n\t- [VaultCore.mintMultiple(address[],uint256[],uint256)](contracts/vault/VaultCore.sol#L96-L153)\n\t- [VaultCore.isSupportedAsset(address)](contracts/vault/VaultCore.sol#L647-L649)\n", "id": "b5f535d2516b1f696e381fc7ef334ac08dab475e61c7fd193ef8eb0498172128", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "allAssets", "source_mapping": {"start": 1892, "length": 19, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [52], "starting_column": 5, "ending_column": 24}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 738, "length": 3013, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "mintMultiple", "source_mapping": {"start": 3165, "length": 2120, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "mintMultiple(address[],uint256[],uint256)"}}, {"type": "function", "name": "_redeem", "source_mapping": {"start": 5959, "length": 2568, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "_redeem(uint256,uint256)"}}, {"type": "function", "name": "_allocate", "source_mapping": {"start": 9491, "length": 3809, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}, {"type": "function", "name": "_totalValueInVault", "source_mapping": {"start": 14993, "length": 456, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "_totalValueInVault()"}}, {"type": "function", "name": "_totalValueInStrategy", "source_mapping": {"start": 16033, "length": 605, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "_totalValueInStrategy(address)"}}, {"type": "function", "name": "_checkBalance", "source_mapping": {"start": 17760, "length": 347, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [491, 492, 493, 494, 495, 496, 497, 498, 499], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "_checkBalance()"}}, {"type": "function", "name": "_calculateRedeemOutputs", "source_mapping": {"start": 18615, "length": 3196, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "_calculateRedeemOutputs(uint256)"}}, {"type": "function", "name": "_getAssetPrices", "source_mapping": {"start": 21960, "length": 754, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "_getAssetPrices(bool)"}}, {"type": "function", "name": "getAssetCount", "source_mapping": {"start": 22919, "length": 95, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [629, 630, 631], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "getAssetCount()"}}, {"type": "function", "name": "getAllAssets", "source_mapping": {"start": 23084, "length": 98, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [636, 637, 638], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "getAllAssets()"}}], "description": "VaultStorage.allAssets (contracts/vault/VaultStorage.sol#52) is never initialized. It is used in:\n\t- VaultCore.mintMultiple(address[],uint256[],uint256) (contracts/vault/VaultCore.sol#96-153)\n\t- VaultCore._redeem(uint256,uint256) (contracts/vault/VaultCore.sol#176-241)\n\t- VaultCore._allocate() (contracts/vault/VaultCore.sol#272-355)\n\t- VaultCore._totalValueInVault() (contracts/vault/VaultCore.sol#412-422)\n\t- VaultCore._totalValueInStrategy(address) (contracts/vault/VaultCore.sol#440-456)\n\t- VaultCore._checkBalance() (contracts/vault/VaultCore.sol#491-499)\n\t- VaultCore._calculateRedeemOutputs(uint256) (contracts/vault/VaultCore.sol#518-594)\n\t- VaultCore._getAssetPrices(bool) (contracts/vault/VaultCore.sol#600-620)\n\t- VaultCore.getAssetCount() (contracts/vault/VaultCore.sol#629-631)\n\t- VaultCore.getAllAssets() (contracts/vault/VaultCore.sol#636-638)\n", "markdown": "[VaultStorage.allAssets](contracts/vault/VaultStorage.sol#L52) is never initialized. It is used in:\n\t- [VaultCore.mintMultiple(address[],uint256[],uint256)](contracts/vault/VaultCore.sol#L96-L153)\n\t- [VaultCore._redeem(uint256,uint256)](contracts/vault/VaultCore.sol#L176-L241)\n\t- [VaultCore._allocate()](contracts/vault/VaultCore.sol#L272-L355)\n\t- [VaultCore._totalValueInVault()](contracts/vault/VaultCore.sol#L412-L422)\n\t- [VaultCore._totalValueInStrategy(address)](contracts/vault/VaultCore.sol#L440-L456)\n\t- [VaultCore._checkBalance()](contracts/vault/VaultCore.sol#L491-L499)\n\t- [VaultCore._calculateRedeemOutputs(uint256)](contracts/vault/VaultCore.sol#L518-L594)\n\t- [VaultCore._getAssetPrices(bool)](contracts/vault/VaultCore.sol#L600-L620)\n\t- [VaultCore.getAssetCount()](contracts/vault/VaultCore.sol#L629-L631)\n\t- [VaultCore.getAllAssets()](contracts/vault/VaultCore.sol#L636-L638)\n", "id": "a0bcee4b84d596e46f4bdc315977842c894250f10de805d7cb76ef572ecc6eed", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "allStrategies", "source_mapping": {"start": 2121, "length": 23, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [60], "starting_column": 5, "ending_column": 28}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 738, "length": 3013, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "_allocate", "source_mapping": {"start": 9491, "length": 3809, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}, {"type": "function", "name": "_totalValueInStrategies", "source_mapping": {"start": 15600, "length": 232, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [428, 429, 430, 431, 432, 433], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "_totalValueInStrategies()"}}, {"type": "function", "name": "_checkBalance", "source_mapping": {"start": 17149, "length": 458, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "_checkBalance(address)"}}, {"type": "function", "name": "getStrategyCount", "source_mapping": {"start": 23269, "length": 104, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [643, 644, 645], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "getStrategyCount()"}}], "description": "VaultStorage.allStrategies (contracts/vault/VaultStorage.sol#60) is never initialized. It is used in:\n\t- VaultCore._allocate() (contracts/vault/VaultCore.sol#272-355)\n\t- VaultCore._totalValueInStrategies() (contracts/vault/VaultCore.sol#428-433)\n\t- VaultCore._checkBalance(address) (contracts/vault/VaultCore.sol#472-485)\n\t- VaultCore.getStrategyCount() (contracts/vault/VaultCore.sol#643-645)\n", "markdown": "[VaultStorage.allStrategies](contracts/vault/VaultStorage.sol#L60) is never initialized. It is used in:\n\t- [VaultCore._allocate()](contracts/vault/VaultCore.sol#L272-L355)\n\t- [VaultCore._totalValueInStrategies()](contracts/vault/VaultCore.sol#L428-L433)\n\t- [VaultCore._checkBalance(address)](contracts/vault/VaultCore.sol#L472-L485)\n\t- [VaultCore.getStrategyCount()](contracts/vault/VaultCore.sol#L643-L645)\n", "id": "ea3b2d51d5c7b49d49000d98c22ad2e6114ee9ddc5ae0a3dbca43230b1d86caa", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "assetDefaultStrategies", "source_mapping": {"start": 3296, "length": 57, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [92], "starting_column": 5, "ending_column": 62}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 738, "length": 3013, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "_redeem", "source_mapping": {"start": 5959, "length": 2568, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "_redeem(uint256,uint256)"}}, {"type": "function", "name": "_allocate", "source_mapping": {"start": 9491, "length": 3809, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}], "description": "VaultStorage.assetDefaultStrategies (contracts/vault/VaultStorage.sol#92) is never initialized. It is used in:\n\t- VaultCore._redeem(uint256,uint256) (contracts/vault/VaultCore.sol#176-241)\n\t- VaultCore._allocate() (contracts/vault/VaultCore.sol#272-355)\n", "markdown": "[VaultStorage.assetDefaultStrategies](contracts/vault/VaultStorage.sol#L92) is never initialized. It is used in:\n\t- [VaultCore._redeem(uint256,uint256)](contracts/vault/VaultCore.sol#L176-L241)\n\t- [VaultCore._allocate()](contracts/vault/VaultCore.sol#L272-L355)\n", "id": "2a2b38bc90433cda7268d5e5e361bda99612c0a8a010cde7677ef881ee8366ee", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "function", "name": "balanceOf", "source_mapping": {"start": 3072, "length": 223, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [93, 94, 95, 96, 97], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSD", "source_mapping": {"start": 829, "length": 17126, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501], "starting_column": 1, "ending_column": 2}}, "signature": "balanceOf(address)"}}, {"type": "node", "name": "_creditBalances[_account] == 0", "source_mapping": {"start": 3153, "length": 30, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [94], "starting_column": 13, "ending_column": 43}, "type_specific_fields": {"parent": {"type": "function", "name": "balanceOf", "source_mapping": {"start": 3072, "length": 223, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [93, 94, 95, 96, 97], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSD", "source_mapping": {"start": 829, "length": 17126, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501], "starting_column": 1, "ending_column": 2}}, "signature": "balanceOf(address)"}}}}], "description": "OUSD.balanceOf(address) (contracts/token/OUSD.sol#93-97) uses a dangerous strict equality:\n\t- _creditBalances[_account] == 0 (contracts/token/OUSD.sol#94)\n", "markdown": "[OUSD.balanceOf(address)](contracts/token/OUSD.sol#L93-L97) uses a dangerous strict equality:\n\t- [_creditBalances[_account] == 0](contracts/token/OUSD.sol#L94)\n", "id": "a55a1e1f6ea78bddc5cbd6d68e5a4302d75fcd721b5a8c9f6966a014896ca1d4", "check": "incorrect-equality", "impact": "Medium", "confidence": "High"}, {"elements": [{"type": "function", "name": "updatePool", "source_mapping": {"start": 8912, "length": 759, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/liquidity/LiquidityReward.sol", "filename_relative": "contracts/liquidity/LiquidityReward.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/liquidity/LiquidityReward.sol", "filename_short": "contracts/liquidity/LiquidityReward.sol", "is_dependency": false, "lines": [244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "LiquidityReward", "source_mapping": {"start": 598, "length": 12500, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/liquidity/LiquidityReward.sol", "filename_relative": "contracts/liquidity/LiquidityReward.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/liquidity/LiquidityReward.sol", "filename_short": "contracts/liquidity/LiquidityReward.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372], "starting_column": 1, "ending_column": 2}}, "signature": "updatePool()"}}, {"type": "node", "name": "lpSupply == 0", "source_mapping": {"start": 9176, "length": 13, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/liquidity/LiquidityReward.sol", "filename_relative": "contracts/liquidity/LiquidityReward.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/liquidity/LiquidityReward.sol", "filename_short": "contracts/liquidity/LiquidityReward.sol", "is_dependency": false, "lines": [253], "starting_column": 13, "ending_column": 26}, "type_specific_fields": {"parent": {"type": "function", "name": "updatePool", "source_mapping": {"start": 8912, "length": 759, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/liquidity/LiquidityReward.sol", "filename_relative": "contracts/liquidity/LiquidityReward.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/liquidity/LiquidityReward.sol", "filename_short": "contracts/liquidity/LiquidityReward.sol", "is_dependency": false, "lines": [244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "LiquidityReward", "source_mapping": {"start": 598, "length": 12500, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/liquidity/LiquidityReward.sol", "filename_relative": "contracts/liquidity/LiquidityReward.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/liquidity/LiquidityReward.sol", "filename_short": "contracts/liquidity/LiquidityReward.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372], "starting_column": 1, "ending_column": 2}}, "signature": "updatePool()"}}}}], "description": "LiquidityReward.updatePool() (contracts/liquidity/LiquidityReward.sol#244-268) uses a dangerous strict equality:\n\t- lpSupply == 0 (contracts/liquidity/LiquidityReward.sol#253)\n", "markdown": "[LiquidityReward.updatePool()](contracts/liquidity/LiquidityReward.sol#L244-L268) uses a dangerous strict equality:\n\t- [lpSupply == 0](contracts/liquidity/LiquidityReward.sol#L253)\n", "id": "02a2415f185c8c7b03a0600221486a59fab7f3f7715fd500620d5d0e2e3637cc", "check": "incorrect-equality", "impact": "Medium", "confidence": "High"}, {"elements": [{"type": "function", "name": "_allocate", "source_mapping": {"start": 9491, "length": 3809, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}, {"type": "node", "name": "assetBalance == 0", "source_mapping": {"start": 11170, "length": 17, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [309], "starting_column": 17, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "function", "name": "_allocate", "source_mapping": {"start": 9491, "length": 3809, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}}}], "description": "VaultCore._allocate() (contracts/vault/VaultCore.sol#272-355) uses a dangerous strict equality:\n\t- assetBalance == 0 (contracts/vault/VaultCore.sol#309)\n", "markdown": "[VaultCore._allocate()](contracts/vault/VaultCore.sol#L272-L355) uses a dangerous strict equality:\n\t- [assetBalance == 0](contracts/vault/VaultCore.sol#L309)\n", "id": "e076e0868789c4c8eac321fa296d864f811cdc98d51f0a6c652fad192cda236b", "check": "incorrect-equality", "impact": "Medium", "confidence": "High"}, {"elements": [{"type": "function", "name": "withdrawAll", "source_mapping": {"start": 2169, "length": 720, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "CompoundStrategy", "source_mapping": {"start": 319, "length": 6386, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184], "starting_column": 1, "ending_column": 2}}, "signature": "withdrawAll()"}}, {"type": "node", "name": "require(bool,string)(cToken.redeem(cToken.balanceOf(address(this))) == 0,Redeem failed)", "source_mapping": {"start": 2475, "length": 135, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [71, 72, 73, 74], "starting_column": 17, "ending_column": 18}, "type_specific_fields": {"parent": {"type": "function", "name": "withdrawAll", "source_mapping": {"start": 2169, "length": 720, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "CompoundStrategy", "source_mapping": {"start": 319, "length": 6386, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184], "starting_column": 1, "ending_column": 2}}, "signature": "withdrawAll()"}}}}], "description": "CompoundStrategy.withdrawAll() (contracts/strategies/CompoundStrategy.sol#66-83) uses a dangerous strict equality:\n\t- require(bool,string)(cToken.redeem(cToken.balanceOf(address(this))) == 0,Redeem failed) (contracts/strategies/CompoundStrategy.sol#71-74)\n", "markdown": "[CompoundStrategy.withdrawAll()](contracts/strategies/CompoundStrategy.sol#L66-L83) uses a dangerous strict equality:\n\t- [require(bool,string)(cToken.redeem(cToken.balanceOf(address(this))) == 0,Redeem failed)](contracts/strategies/CompoundStrategy.sol#L71-L74)\n", "id": "9e1c9a8960b5355a30be684d7838bfbc435e02b641fb93208cf2e5c248ac5db8", "check": "incorrect-equality", "impact": "Medium", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_deprecated_nonRebasingCredits", "source_mapping": {"start": 1889, "length": 46, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [56], "starting_column": 5, "ending_column": 51}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSD", "source_mapping": {"start": 829, "length": 17126, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501], "starting_column": 1, "ending_column": 2}}}}], "description": "OUSD._deprecated_nonRebasingCredits (contracts/token/OUSD.sol#56) should be constant\n", "markdown": "[OUSD._deprecated_nonRebasingCredits](contracts/token/OUSD.sol#L56) should be constant\n", "id": "d1ea4fe9408f80125156de9fe468a481994a6d08fef3b6b1933e37e2df899f9e", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_deprecated_rebaseHooksAddr", "source_mapping": {"start": 2977, "length": 56, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [82], "starting_column": 5, "ending_column": 61}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 738, "length": 3013, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106], "starting_column": 1, "ending_column": 2}}}}], "description": "VaultStorage._deprecated_rebaseHooksAddr (contracts/vault/VaultStorage.sol#82) should be constant\n", "markdown": "[VaultStorage._deprecated_rebaseHooksAddr](contracts/vault/VaultStorage.sol#L82) should be constant\n", "id": "ed4ffd431fec4020c56a7e926083a9e68612827dfc15d7aabf73103cd7bcf2aa", "check": "constable-states", "impact": "Optimization", "confidence": "High"}] \ No newline at end of file +[{"elements": [{"type": "function", "name": "harvestAndSwap", "source_mapping": {"start": 3825, "length": 2372, "filename_relative": "contracts/harvest/OETHBaseHarvester.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/harvest/OETHBaseHarvester.sol", "filename_short": "contracts/harvest/OETHBaseHarvester.sol", "is_dependency": false, "lines": [118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHBaseHarvester", "source_mapping": {"start": 456, "length": 7271, "filename_relative": "contracts/harvest/OETHBaseHarvester.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/harvest/OETHBaseHarvester.sol", "filename_short": "contracts/harvest/OETHBaseHarvester.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233], "starting_column": 1, "ending_column": 2}}, "signature": "harvestAndSwap(uint256,uint256,uint256,bool)"}}, {"type": "node", "name": "aero.safeTransferFrom(strategistAddr,address(this),aeroToSwap - aeroBalance)", "source_mapping": {"start": 4949, "length": 156, "filename_relative": "contracts/harvest/OETHBaseHarvester.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/harvest/OETHBaseHarvester.sol", "filename_short": "contracts/harvest/OETHBaseHarvester.sol", "is_dependency": false, "lines": [148, 149, 150, 151, 152], "starting_column": 17, "ending_column": 18}, "type_specific_fields": {"parent": {"type": "function", "name": "harvestAndSwap", "source_mapping": {"start": 3825, "length": 2372, "filename_relative": "contracts/harvest/OETHBaseHarvester.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/harvest/OETHBaseHarvester.sol", "filename_short": "contracts/harvest/OETHBaseHarvester.sol", "is_dependency": false, "lines": [118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHBaseHarvester", "source_mapping": {"start": 456, "length": 7271, "filename_relative": "contracts/harvest/OETHBaseHarvester.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/harvest/OETHBaseHarvester.sol", "filename_short": "contracts/harvest/OETHBaseHarvester.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233], "starting_column": 1, "ending_column": 2}}, "signature": "harvestAndSwap(uint256,uint256,uint256,bool)"}}}}], "description": "OETHBaseHarvester.harvestAndSwap(uint256,uint256,uint256,bool) (contracts/harvest/OETHBaseHarvester.sol#118-185) uses arbitrary from in transferFrom: aero.safeTransferFrom(strategistAddr,address(this),aeroToSwap - aeroBalance) (contracts/harvest/OETHBaseHarvester.sol#148-152)\n", "markdown": "[OETHBaseHarvester.harvestAndSwap(uint256,uint256,uint256,bool)](contracts/harvest/OETHBaseHarvester.sol#L118-L185) uses arbitrary from in transferFrom: [aero.safeTransferFrom(strategistAddr,address(this),aeroToSwap - aeroBalance)](contracts/harvest/OETHBaseHarvester.sol#L148-L152)\n", "first_markdown_element": "contracts/harvest/OETHBaseHarvester.sol#L118-L185", "id": "0929389e00d86f1b85f6ae03792ae44f5dab4b45e44367b661104eac7c4eb88c", "check": "arbitrary-send-erc20", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "dripDuration", "source_mapping": {"start": 2711, "length": 27, "filename_relative": "contracts/harvest/Dripper.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/harvest/Dripper.sol", "filename_short": "contracts/harvest/Dripper.sol", "is_dependency": false, "lines": [57], "starting_column": 5, "ending_column": 32}, "type_specific_fields": {"parent": {"type": "contract", "name": "Dripper", "source_mapping": {"start": 2394, "length": 3391, "filename_relative": "contracts/harvest/Dripper.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/harvest/Dripper.sol", "filename_short": "contracts/harvest/Dripper.sol", "is_dependency": false, "lines": [47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140], "starting_column": 1, "ending_column": 2}}}}], "description": "Dripper.dripDuration (contracts/harvest/Dripper.sol#57) should be constant \n", "markdown": "[Dripper.dripDuration](contracts/harvest/Dripper.sol#L57) should be constant \n", "first_markdown_element": "contracts/harvest/Dripper.sol#L57", "id": "bc07634cb03823a539637d4023f73df6c30f68d98c2cf684831a8f7870d7705a", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "node", "name": "i < assetsMapped.length", "source_mapping": {"start": 2603, "length": 23, "filename_relative": "contracts/strategies/BaseCurveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/BaseCurveStrategy.sol", "filename_short": "contracts/strategies/BaseCurveStrategy.sol", "is_dependency": false, "lines": [71], "starting_column": 29, "ending_column": 52}, "type_specific_fields": {"parent": {"type": "function", "name": "depositAll", "source_mapping": {"start": 2273, "length": 1730, "filename_relative": "contracts/strategies/BaseCurveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/BaseCurveStrategy.sol", "filename_short": "contracts/strategies/BaseCurveStrategy.sol", "is_dependency": false, "lines": [65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseCurveStrategy", "source_mapping": {"start": 536, "length": 11069, "filename_relative": "contracts/strategies/BaseCurveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/BaseCurveStrategy.sol", "filename_short": "contracts/strategies/BaseCurveStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307], "starting_column": 1, "ending_column": 2}}, "signature": "depositAll()"}}}}], "description": "Loop condition i < assetsMapped.length (contracts/strategies/BaseCurveStrategy.sol#71) should use cached array length instead of referencing `length` member of the storage array.\n ", "markdown": "Loop condition [i < assetsMapped.length](contracts/strategies/BaseCurveStrategy.sol#L71) should use cached array length instead of referencing `length` member of the storage array.\n ", "first_markdown_element": "contracts/strategies/BaseCurveStrategy.sol#L71", "id": "00eb856d9eb41c76fa3893d6391c142ff67834587a7816db3ccfea5f906c7beb", "check": "cache-array-length", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "node", "name": "i < assetsMapped.length", "source_mapping": {"start": 3988, "length": 23, "filename_relative": "contracts/strategies/MorphoCompoundStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoCompoundStrategy.sol", "filename_short": "contracts/strategies/MorphoCompoundStrategy.sol", "is_dependency": false, "lines": [108], "starting_column": 29, "ending_column": 52}, "type_specific_fields": {"parent": {"type": "function", "name": "collectRewardTokens", "source_mapping": {"start": 2790, "length": 1954, "filename_relative": "contracts/strategies/MorphoCompoundStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoCompoundStrategy.sol", "filename_short": "contracts/strategies/MorphoCompoundStrategy.sol", "is_dependency": false, "lines": [82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "MorphoCompoundStrategy", "source_mapping": {"start": 608, "length": 7945, "filename_relative": "contracts/strategies/MorphoCompoundStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoCompoundStrategy.sol", "filename_short": "contracts/strategies/MorphoCompoundStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251], "starting_column": 1, "ending_column": 2}}, "signature": "collectRewardTokens()"}}}}], "description": "Loop condition i < assetsMapped.length (contracts/strategies/MorphoCompoundStrategy.sol#108) should use cached array length instead of referencing `length` member of the storage array.\n ", "markdown": "Loop condition [i < assetsMapped.length](contracts/strategies/MorphoCompoundStrategy.sol#L108) should use cached array length instead of referencing `length` member of the storage array.\n ", "first_markdown_element": "contracts/strategies/MorphoCompoundStrategy.sol#L108", "id": "0f668f7a9fbd8dd8cf5f256a648a89ede585af5a1bfb2890671cb61edeaee985", "check": "cache-array-length", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "node", "name": "i < assetsMapped.length", "source_mapping": {"start": 5019, "length": 23, "filename_relative": "contracts/strategies/MorphoCompoundStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoCompoundStrategy.sol", "filename_short": "contracts/strategies/MorphoCompoundStrategy.sol", "is_dependency": false, "lines": [134], "starting_column": 29, "ending_column": 52}, "type_specific_fields": {"parent": {"type": "function", "name": "getPendingRewards", "source_mapping": {"start": 4846, "length": 360, "filename_relative": "contracts/strategies/MorphoCompoundStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoCompoundStrategy.sol", "filename_short": "contracts/strategies/MorphoCompoundStrategy.sol", "is_dependency": false, "lines": [132, 133, 134, 135, 136, 137, 138, 139], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "MorphoCompoundStrategy", "source_mapping": {"start": 608, "length": 7945, "filename_relative": "contracts/strategies/MorphoCompoundStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoCompoundStrategy.sol", "filename_short": "contracts/strategies/MorphoCompoundStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251], "starting_column": 1, "ending_column": 2}}, "signature": "getPendingRewards()"}}}}], "description": "Loop condition i < assetsMapped.length (contracts/strategies/MorphoCompoundStrategy.sol#134) should use cached array length instead of referencing `length` member of the storage array.\n ", "markdown": "Loop condition [i < assetsMapped.length](contracts/strategies/MorphoCompoundStrategy.sol#L134) should use cached array length instead of referencing `length` member of the storage array.\n ", "first_markdown_element": "contracts/strategies/MorphoCompoundStrategy.sol#L134", "id": "125f9e1a415eb9e7fbdcb8c4e5b48f67d49102127bfb2dd609ed19d450e0621a", "check": "cache-array-length", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "node", "name": "i < durations.length", "source_mapping": {"start": 4163, "length": 20, "filename_relative": "contracts/staking/SingleAssetStaking.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/staking/SingleAssetStaking.sol", "filename_short": "contracts/staking/SingleAssetStaking.sol", "is_dependency": false, "lines": [136], "starting_column": 29, "ending_column": 49}, "type_specific_fields": {"parent": {"type": "function", "name": "_findDurationRate", "source_mapping": {"start": 4028, "length": 297, "filename_relative": "contracts/staking/SingleAssetStaking.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/staking/SingleAssetStaking.sol", "filename_short": "contracts/staking/SingleAssetStaking.sol", "is_dependency": false, "lines": [131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "SingleAssetStaking", "source_mapping": {"start": 466, "length": 18304, "filename_relative": "contracts/staking/SingleAssetStaking.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/staking/SingleAssetStaking.sol", "filename_short": "contracts/staking/SingleAssetStaking.sol", "is_dependency": false, "lines": [12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562], "starting_column": 1, "ending_column": 2}}, "signature": "_findDurationRate(uint256)"}}}}], "description": "Loop condition i < durations.length (contracts/staking/SingleAssetStaking.sol#136) should use cached array length instead of referencing `length` member of the storage array.\n ", "markdown": "Loop condition [i < durations.length](contracts/staking/SingleAssetStaking.sol#L136) should use cached array length instead of referencing `length` member of the storage array.\n ", "first_markdown_element": "contracts/staking/SingleAssetStaking.sol#L136", "id": "a5e81880592f41137e823b4f15ded88227b6508181f8767dee55d587fde3d611", "check": "cache-array-length", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "node", "name": "i < assetsMapped.length", "source_mapping": {"start": 9693, "length": 23, "filename_relative": "contracts/strategies/AaveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/AaveStrategy.sol", "filename_short": "contracts/strategies/AaveStrategy.sol", "is_dependency": false, "lines": [278], "starting_column": 33, "ending_column": 56}, "type_specific_fields": {"parent": {"type": "function", "name": "collectRewardTokens", "source_mapping": {"start": 8178, "length": 2692, "filename_relative": "contracts/strategies/AaveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/AaveStrategy.sol", "filename_short": "contracts/strategies/AaveStrategy.sol", "is_dependency": false, "lines": [239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "AaveStrategy", "source_mapping": {"start": 536, "length": 10336, "filename_relative": "contracts/strategies/AaveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/AaveStrategy.sol", "filename_short": "contracts/strategies/AaveStrategy.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308], "starting_column": 1, "ending_column": 2}}, "signature": "collectRewardTokens()"}}}}], "description": "Loop condition i < assetsMapped.length (contracts/strategies/AaveStrategy.sol#278) should use cached array length instead of referencing `length` member of the storage array.\n ", "markdown": "Loop condition [i < assetsMapped.length](contracts/strategies/AaveStrategy.sol#L278) should use cached array length instead of referencing `length` member of the storage array.\n ", "first_markdown_element": "contracts/strategies/AaveStrategy.sol#L278", "id": "e931b38970ae25097f584f7e7dd3e72186cff433764ed75bc1d83a29de89d4d1", "check": "cache-array-length", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3522, "length": 320, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [104, 105, 106, 107, 108, 109, 110, 111, 112, 113], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBuyback", "source_mapping": {"start": 546, "length": 7983, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}, {"type": "node", "name": "IERC20(oToken).approve(universalRouter,0)", "source_mapping": {"start": 3693, "length": 42, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [107], "starting_column": 13, "ending_column": 55}, "type_specific_fields": {"parent": {"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3522, "length": 320, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [104, 105, 106, 107, 108, 109, 110, 111, 112, 113], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBuyback", "source_mapping": {"start": 546, "length": 7983, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}}, "additional_fields": {"underlying_type": "external_calls"}}, {"type": "node", "name": "universalRouter = _router", "source_mapping": {"start": 3756, "length": 25, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [110], "starting_column": 9, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3522, "length": 320, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [104, 105, 106, 107, 108, 109, 110, 111, 112, 113], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBuyback", "source_mapping": {"start": 546, "length": 7983, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}}, "additional_fields": {"underlying_type": "variables_written", "variable_name": "universalRouter"}}], "description": "Reentrancy in BaseBuyback._setUniswapUniversalRouter(address) (contracts/buyback/BaseBuyback.sol#104-113):\n\tExternal calls:\n\t- IERC20(oToken).approve(universalRouter,0) (contracts/buyback/BaseBuyback.sol#107)\n\tState variables written after the call(s):\n\t- universalRouter = _router (contracts/buyback/BaseBuyback.sol#110)\n\tBaseBuyback.universalRouter (contracts/buyback/BaseBuyback.sol#30) can be used in cross function reentrancies:\n\t- BaseBuyback._setUniswapUniversalRouter(address) (contracts/buyback/BaseBuyback.sol#104-113)\n\t- BaseBuyback.universalRouter (contracts/buyback/BaseBuyback.sol#30)\n", "markdown": "Reentrancy in [BaseBuyback._setUniswapUniversalRouter(address)](contracts/buyback/BaseBuyback.sol#L104-L113):\n\tExternal calls:\n\t- [IERC20(oToken).approve(universalRouter,0)](contracts/buyback/BaseBuyback.sol#L107)\n\tState variables written after the call(s):\n\t- [universalRouter = _router](contracts/buyback/BaseBuyback.sol#L110)\n\t[BaseBuyback.universalRouter](contracts/buyback/BaseBuyback.sol#L30) can be used in cross function reentrancies:\n\t- [BaseBuyback._setUniswapUniversalRouter(address)](contracts/buyback/BaseBuyback.sol#L104-L113)\n\t- [BaseBuyback.universalRouter](contracts/buyback/BaseBuyback.sol#L30)\n", "first_markdown_element": "contracts/buyback/BaseBuyback.sol#L104-L113", "id": "bccc9acb8443b22ca1e841ba889cf8442ee7ce0439cfee68a23217bad2ff1e26", "check": "reentrancy-no-eth", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3522, "length": 320, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [104, 105, 106, 107, 108, 109, 110, 111, 112, 113], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBuyback", "source_mapping": {"start": 546, "length": 7983, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}, {"type": "node", "name": "IERC20(oToken).approve(universalRouter,0)", "source_mapping": {"start": 3693, "length": 42, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [107], "starting_column": 13, "ending_column": 55}, "type_specific_fields": {"parent": {"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3522, "length": 320, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [104, 105, 106, 107, 108, 109, 110, 111, 112, 113], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBuyback", "source_mapping": {"start": 546, "length": 7983, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}}}], "description": "BaseBuyback._setUniswapUniversalRouter(address) (contracts/buyback/BaseBuyback.sol#104-113) ignores return value by IERC20(oToken).approve(universalRouter,0) (contracts/buyback/BaseBuyback.sol#107)\n", "markdown": "[BaseBuyback._setUniswapUniversalRouter(address)](contracts/buyback/BaseBuyback.sol#L104-L113) ignores return value by [IERC20(oToken).approve(universalRouter,0)](contracts/buyback/BaseBuyback.sol#L107)\n", "first_markdown_element": "contracts/buyback/BaseBuyback.sol#L104-L113", "id": "0e6b4f58400d0468104b070528bea337ad354c8f15ffe9d80e1e192744d443fa", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3480, "length": 320, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [103, 104, 105, 106, 107, 108, 109, 110, 111, 112], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBuyback", "source_mapping": {"start": 546, "length": 7941, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}, {"type": "node", "name": "IERC20(oToken).approve(universalRouter,0)", "source_mapping": {"start": 3651, "length": 42, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [106], "starting_column": 13, "ending_column": 55}, "type_specific_fields": {"parent": {"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3480, "length": 320, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [103, 104, 105, 106, 107, 108, 109, 110, 111, 112], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBuyback", "source_mapping": {"start": 546, "length": 7941, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}}, "additional_fields": {"underlying_type": "external_calls"}}, {"type": "node", "name": "universalRouter = _router", "source_mapping": {"start": 3714, "length": 25, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [109], "starting_column": 9, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3480, "length": 320, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [103, 104, 105, 106, 107, 108, 109, 110, 111, 112], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBuyback", "source_mapping": {"start": 546, "length": 7941, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}}, "additional_fields": {"underlying_type": "variables_written", "variable_name": "universalRouter"}}], "description": "Reentrancy in BaseBuyback._setUniswapUniversalRouter(address) (contracts/buyback/BaseBuyback.sol#103-112):\n\tExternal calls:\n\t- IERC20(oToken).approve(universalRouter,0) (contracts/buyback/BaseBuyback.sol#106)\n\tState variables written after the call(s):\n\t- universalRouter = _router (contracts/buyback/BaseBuyback.sol#109)\n\tBaseBuyback.universalRouter (contracts/buyback/BaseBuyback.sol#30) can be used in cross function reentrancies:\n\t- BaseBuyback._setUniswapUniversalRouter(address) (contracts/buyback/BaseBuyback.sol#103-112)\n\t- BaseBuyback.universalRouter (contracts/buyback/BaseBuyback.sol#30)\n", "markdown": "Reentrancy in [BaseBuyback._setUniswapUniversalRouter(address)](contracts/buyback/BaseBuyback.sol#L103-L112):\n\tExternal calls:\n\t- [IERC20(oToken).approve(universalRouter,0)](contracts/buyback/BaseBuyback.sol#L106)\n\tState variables written after the call(s):\n\t- [universalRouter = _router](contracts/buyback/BaseBuyback.sol#L109)\n\t[BaseBuyback.universalRouter](contracts/buyback/BaseBuyback.sol#L30) can be used in cross function reentrancies:\n\t- [BaseBuyback._setUniswapUniversalRouter(address)](contracts/buyback/BaseBuyback.sol#L103-L112)\n\t- [BaseBuyback.universalRouter](contracts/buyback/BaseBuyback.sol#L30)\n", "first_markdown_element": "contracts/buyback/BaseBuyback.sol#L103-L112", "id": "4e2c66a5727d9f9cf6215dd14b959bcd5593727f47bde61f3fe06848cac85c35", "check": "reentrancy-no-eth", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3480, "length": 320, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [103, 104, 105, 106, 107, 108, 109, 110, 111, 112], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBuyback", "source_mapping": {"start": 546, "length": 7941, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}, {"type": "node", "name": "IERC20(oToken).approve(universalRouter,0)", "source_mapping": {"start": 3651, "length": 42, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [106], "starting_column": 13, "ending_column": 55}, "type_specific_fields": {"parent": {"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3480, "length": 320, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [103, 104, 105, 106, 107, 108, 109, 110, 111, 112], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBuyback", "source_mapping": {"start": 546, "length": 7941, "filename_relative": "contracts/buyback/BaseBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/BaseBuyback.sol", "filename_short": "contracts/buyback/BaseBuyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}}}], "description": "BaseBuyback._setUniswapUniversalRouter(address) (contracts/buyback/BaseBuyback.sol#103-112) ignores return value by IERC20(oToken).approve(universalRouter,0) (contracts/buyback/BaseBuyback.sol#106)\n", "markdown": "[BaseBuyback._setUniswapUniversalRouter(address)](contracts/buyback/BaseBuyback.sol#L103-L112) ignores return value by [IERC20(oToken).approve(universalRouter,0)](contracts/buyback/BaseBuyback.sol#L106)\n", "first_markdown_element": "contracts/buyback/BaseBuyback.sol#L103-L112", "id": "7a20874f6f861f199337da5b19ec4694217da101724d2cd37244d03f288e947f", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3767, "length": 372, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Buyback", "source_mapping": {"start": 546, "length": 11684, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}, {"type": "node", "name": "IERC20(ousd).approve(universalRouter,0)", "source_mapping": {"start": 3938, "length": 40, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [120], "starting_column": 13, "ending_column": 53}, "type_specific_fields": {"parent": {"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3767, "length": 372, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Buyback", "source_mapping": {"start": 546, "length": 11684, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}}, "additional_fields": {"underlying_type": "external_calls"}}, {"type": "node", "name": "IERC20(oeth).approve(universalRouter,0)", "source_mapping": {"start": 3992, "length": 40, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [121], "starting_column": 13, "ending_column": 53}, "type_specific_fields": {"parent": {"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3767, "length": 372, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Buyback", "source_mapping": {"start": 546, "length": 11684, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}}, "additional_fields": {"underlying_type": "external_calls"}}, {"type": "node", "name": "universalRouter = _router", "source_mapping": {"start": 4053, "length": 25, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [124], "starting_column": 9, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3767, "length": 372, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Buyback", "source_mapping": {"start": 546, "length": 11684, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}}, "additional_fields": {"underlying_type": "variables_written", "variable_name": "universalRouter"}}], "description": "Reentrancy in Buyback._setUniswapUniversalRouter(address) (contracts/buyback/Buyback.sol#117-127):\n\tExternal calls:\n\t- IERC20(ousd).approve(universalRouter,0) (contracts/buyback/Buyback.sol#120)\n\t- IERC20(oeth).approve(universalRouter,0) (contracts/buyback/Buyback.sol#121)\n\tState variables written after the call(s):\n\t- universalRouter = _router (contracts/buyback/Buyback.sol#124)\n\tBuyback.universalRouter (contracts/buyback/Buyback.sol#37) can be used in cross function reentrancies:\n\t- Buyback._setUniswapUniversalRouter(address) (contracts/buyback/Buyback.sol#117-127)\n\t- Buyback.universalRouter (contracts/buyback/Buyback.sol#37)\n", "markdown": "Reentrancy in [Buyback._setUniswapUniversalRouter(address)](contracts/buyback/Buyback.sol#L117-L127):\n\tExternal calls:\n\t- [IERC20(ousd).approve(universalRouter,0)](contracts/buyback/Buyback.sol#L120)\n\t- [IERC20(oeth).approve(universalRouter,0)](contracts/buyback/Buyback.sol#L121)\n\tState variables written after the call(s):\n\t- [universalRouter = _router](contracts/buyback/Buyback.sol#L124)\n\t[Buyback.universalRouter](contracts/buyback/Buyback.sol#L37) can be used in cross function reentrancies:\n\t- [Buyback._setUniswapUniversalRouter(address)](contracts/buyback/Buyback.sol#L117-L127)\n\t- [Buyback.universalRouter](contracts/buyback/Buyback.sol#L37)\n", "first_markdown_element": "contracts/buyback/Buyback.sol#L117-L127", "id": "b932a6b36d3ab0a8e79857c0b0c725c46b791263a4f87c7e06f1c76c3179f6f6", "check": "reentrancy-no-eth", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3767, "length": 372, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Buyback", "source_mapping": {"start": 546, "length": 11684, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}, {"type": "node", "name": "IERC20(ousd).approve(universalRouter,0)", "source_mapping": {"start": 3938, "length": 40, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [120], "starting_column": 13, "ending_column": 53}, "type_specific_fields": {"parent": {"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3767, "length": 372, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Buyback", "source_mapping": {"start": 546, "length": 11684, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}}}], "description": "Buyback._setUniswapUniversalRouter(address) (contracts/buyback/Buyback.sol#117-127) ignores return value by IERC20(ousd).approve(universalRouter,0) (contracts/buyback/Buyback.sol#120)\n", "markdown": "[Buyback._setUniswapUniversalRouter(address)](contracts/buyback/Buyback.sol#L117-L127) ignores return value by [IERC20(ousd).approve(universalRouter,0)](contracts/buyback/Buyback.sol#L120)\n", "first_markdown_element": "contracts/buyback/Buyback.sol#L117-L127", "id": "7daab5d45656d0cecde144179adfd717608cba4dd9fb6b953f5f14d96c146dd1", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3767, "length": 372, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Buyback", "source_mapping": {"start": 546, "length": 11684, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}, {"type": "node", "name": "IERC20(oeth).approve(universalRouter,0)", "source_mapping": {"start": 3992, "length": 40, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [121], "starting_column": 13, "ending_column": 53}, "type_specific_fields": {"parent": {"type": "function", "name": "_setUniswapUniversalRouter", "source_mapping": {"start": 3767, "length": 372, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Buyback", "source_mapping": {"start": 546, "length": 11684, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374], "starting_column": 1, "ending_column": 2}}, "signature": "_setUniswapUniversalRouter(address)"}}}}], "description": "Buyback._setUniswapUniversalRouter(address) (contracts/buyback/Buyback.sol#117-127) ignores return value by IERC20(oeth).approve(universalRouter,0) (contracts/buyback/Buyback.sol#121)\n", "markdown": "[Buyback._setUniswapUniversalRouter(address)](contracts/buyback/Buyback.sol#L117-L127) ignores return value by [IERC20(oeth).approve(universalRouter,0)](contracts/buyback/Buyback.sol#L121)\n", "first_markdown_element": "contracts/buyback/Buyback.sol#L117-L127", "id": "f93fa4e05fd64289e99e04fe22132cd474fc8db7419d99a3e6a1adfa993b2193", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_deposit", "source_mapping": {"start": 6928, "length": 2553, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}, "signature": "_deposit(address,uint256)"}}, {"type": "node", "name": "lpDeposited = curvePool.add_liquidity{value: _wethAmount}(_amounts,minMintAmount)", "source_mapping": {"start": 9006, "length": 126, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [227, 228, 229, 230], "starting_column": 9, "ending_column": 10}, "type_specific_fields": {"parent": {"type": "function", "name": "_deposit", "source_mapping": {"start": 6928, "length": 2553, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}, "signature": "_deposit(address,uint256)"}}}}], "description": "ConvexEthMetaStrategy._deposit(address,uint256) (contracts/strategies/ConvexEthMetaStrategy.sol#178-241) sends eth to arbitrary user\n\tDangerous calls:\n\t- lpDeposited = curvePool.add_liquidity{value: _wethAmount}(_amounts,minMintAmount) (contracts/strategies/ConvexEthMetaStrategy.sol#227-230)\n", "markdown": "[ConvexEthMetaStrategy._deposit(address,uint256)](contracts/strategies/ConvexEthMetaStrategy.sol#L178-L241) sends eth to arbitrary user\n\tDangerous calls:\n\t- [lpDeposited = curvePool.add_liquidity{value: _wethAmount}(_amounts,minMintAmount)](contracts/strategies/ConvexEthMetaStrategy.sol#L227-L230)\n", "first_markdown_element": "contracts/strategies/ConvexEthMetaStrategy.sol#L178-L241", "id": "75ef502a2f513f385a2c424812fba1371a2945d29db42fd46795b68a3fb7ec9d", "check": "arbitrary-send-eth", "impact": "High", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "price", "source_mapping": {"start": 1593, "length": 894, "filename_relative": "contracts/oracle/OracleRouter.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/oracle/OracleRouter.sol", "filename_short": "contracts/oracle/OracleRouter.sol", "is_dependency": false, "lines": [41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OracleRouterBase", "source_mapping": {"start": 429, "length": 3340, "filename_relative": "contracts/oracle/OracleRouter.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/oracle/OracleRouter.sol", "filename_short": "contracts/oracle/OracleRouter.sol", "is_dependency": false, "lines": [11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100], "starting_column": 1, "ending_column": 2}}, "signature": "price(address)"}}, {"type": "node", "name": "(_iprice,updatedAt) = AggregatorV3Interface(_feed).latestRoundData()", "source_mapping": {"start": 1931, "length": 103, "filename_relative": "contracts/oracle/OracleRouter.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/oracle/OracleRouter.sol", "filename_short": "contracts/oracle/OracleRouter.sol", "is_dependency": false, "lines": [52, 53], "starting_column": 9, "ending_column": 31}, "type_specific_fields": {"parent": {"type": "function", "name": "price", "source_mapping": {"start": 1593, "length": 894, "filename_relative": "contracts/oracle/OracleRouter.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/oracle/OracleRouter.sol", "filename_short": "contracts/oracle/OracleRouter.sol", "is_dependency": false, "lines": [41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OracleRouterBase", "source_mapping": {"start": 429, "length": 3340, "filename_relative": "contracts/oracle/OracleRouter.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/oracle/OracleRouter.sol", "filename_short": "contracts/oracle/OracleRouter.sol", "is_dependency": false, "lines": [11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100], "starting_column": 1, "ending_column": 2}}, "signature": "price(address)"}}}}], "description": "OracleRouterBase.price(address) (contracts/oracle/OracleRouter.sol#41-68) ignores return value by (_iprice,updatedAt) = AggregatorV3Interface(_feed).latestRoundData() (contracts/oracle/OracleRouter.sol#52-53)\n", "markdown": "[OracleRouterBase.price(address)](contracts/oracle/OracleRouter.sol#L41-L68) ignores return value by [(_iprice,updatedAt) = AggregatorV3Interface(_feed).latestRoundData()](contracts/oracle/OracleRouter.sol#L52-L53)\n", "first_markdown_element": "contracts/oracle/OracleRouter.sol#L41-L68", "id": "6209af3b6f21e22017468756cdffc0905ff6a469cffe32a283d178692f200e96", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "price", "source_mapping": {"start": 7130, "length": 700, "filename_relative": "contracts/oracle/OracleRouter.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/oracle/OracleRouter.sol", "filename_short": "contracts/oracle/OracleRouter.sol", "is_dependency": false, "lines": [172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHOracleRouter", "source_mapping": {"start": 6730, "length": 3600, "filename_relative": "contracts/oracle/OracleRouter.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/oracle/OracleRouter.sol", "filename_short": "contracts/oracle/OracleRouter.sol", "is_dependency": false, "lines": [162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249], "starting_column": 1, "ending_column": 2}}, "signature": "price(address)"}}, {"type": "node", "name": "(_iprice,updatedAt) = AggregatorV3Interface(_feed).latestRoundData()", "source_mapping": {"start": 7465, "length": 103, "filename_relative": "contracts/oracle/OracleRouter.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/oracle/OracleRouter.sol", "filename_short": "contracts/oracle/OracleRouter.sol", "is_dependency": false, "lines": [185, 186], "starting_column": 9, "ending_column": 31}, "type_specific_fields": {"parent": {"type": "function", "name": "price", "source_mapping": {"start": 7130, "length": 700, "filename_relative": "contracts/oracle/OracleRouter.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/oracle/OracleRouter.sol", "filename_short": "contracts/oracle/OracleRouter.sol", "is_dependency": false, "lines": [172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHOracleRouter", "source_mapping": {"start": 6730, "length": 3600, "filename_relative": "contracts/oracle/OracleRouter.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/oracle/OracleRouter.sol", "filename_short": "contracts/oracle/OracleRouter.sol", "is_dependency": false, "lines": [162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249], "starting_column": 1, "ending_column": 2}}, "signature": "price(address)"}}}}], "description": "OETHOracleRouter.price(address) (contracts/oracle/OracleRouter.sol#172-196) ignores return value by (_iprice,updatedAt) = AggregatorV3Interface(_feed).latestRoundData() (contracts/oracle/OracleRouter.sol#185-186)\n", "markdown": "[OETHOracleRouter.price(address)](contracts/oracle/OracleRouter.sol#L172-L196) ignores return value by [(_iprice,updatedAt) = AggregatorV3Interface(_feed).latestRoundData()](contracts/oracle/OracleRouter.sol#L185-L186)\n", "first_markdown_element": "contracts/oracle/OracleRouter.sol#L172-L196", "id": "b3a9b1629bc0c0c5f2edbcecdd5b6cc290654923a39479541a280c9b6a7f477d", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_checkBalance", "source_mapping": {"start": 6528, "length": 369, "filename_relative": "contracts/strategies/MorphoAaveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoAaveStrategy.sol", "filename_short": "contracts/strategies/MorphoAaveStrategy.sol", "is_dependency": false, "lines": [202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "MorphoAaveStrategy", "source_mapping": {"start": 563, "length": 7125, "filename_relative": "contracts/strategies/MorphoAaveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoAaveStrategy.sol", "filename_short": "contracts/strategies/MorphoAaveStrategy.sol", "is_dependency": false, "lines": [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240], "starting_column": 1, "ending_column": 2}}, "signature": "_checkBalance(address)"}}, {"type": "node", "name": "(None,None,balance) = ILens(LENS).getCurrentSupplyBalanceInOf(pToken,address(this))", "source_mapping": {"start": 6778, "length": 112, "filename_relative": "contracts/strategies/MorphoAaveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoAaveStrategy.sol", "filename_short": "contracts/strategies/MorphoAaveStrategy.sol", "is_dependency": false, "lines": [210, 211, 212, 213], "starting_column": 9, "ending_column": 10}, "type_specific_fields": {"parent": {"type": "function", "name": "_checkBalance", "source_mapping": {"start": 6528, "length": 369, "filename_relative": "contracts/strategies/MorphoAaveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoAaveStrategy.sol", "filename_short": "contracts/strategies/MorphoAaveStrategy.sol", "is_dependency": false, "lines": [202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "MorphoAaveStrategy", "source_mapping": {"start": 563, "length": 7125, "filename_relative": "contracts/strategies/MorphoAaveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoAaveStrategy.sol", "filename_short": "contracts/strategies/MorphoAaveStrategy.sol", "is_dependency": false, "lines": [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240], "starting_column": 1, "ending_column": 2}}, "signature": "_checkBalance(address)"}}}}], "description": "MorphoAaveStrategy._checkBalance(address) (contracts/strategies/MorphoAaveStrategy.sol#202-214) ignores return value by (None,None,balance) = ILens(LENS).getCurrentSupplyBalanceInOf(pToken,address(this)) (contracts/strategies/MorphoAaveStrategy.sol#210-213)\n", "markdown": "[MorphoAaveStrategy._checkBalance(address)](contracts/strategies/MorphoAaveStrategy.sol#L202-L214) ignores return value by [(None,None,balance) = ILens(LENS).getCurrentSupplyBalanceInOf(pToken,address(this))](contracts/strategies/MorphoAaveStrategy.sol#L210-L213)\n", "first_markdown_element": "contracts/strategies/MorphoAaveStrategy.sol#L202-L214", "id": "4cf7355ba40b814d1901bb2d39a6f82a6123393dfb73c4b4ffde2185135ce437", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_checkBalance", "source_mapping": {"start": 8191, "length": 360, "filename_relative": "contracts/strategies/MorphoCompoundStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoCompoundStrategy.sol", "filename_short": "contracts/strategies/MorphoCompoundStrategy.sol", "is_dependency": false, "lines": [238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "MorphoCompoundStrategy", "source_mapping": {"start": 608, "length": 7945, "filename_relative": "contracts/strategies/MorphoCompoundStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoCompoundStrategy.sol", "filename_short": "contracts/strategies/MorphoCompoundStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251], "starting_column": 1, "ending_column": 2}}, "signature": "_checkBalance(address)"}}, {"type": "node", "name": "(None,None,balance) = ILens(LENS).getCurrentSupplyBalanceInOf(pToken,address(this))", "source_mapping": {"start": 8432, "length": 112, "filename_relative": "contracts/strategies/MorphoCompoundStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoCompoundStrategy.sol", "filename_short": "contracts/strategies/MorphoCompoundStrategy.sol", "is_dependency": false, "lines": [246, 247, 248, 249], "starting_column": 9, "ending_column": 10}, "type_specific_fields": {"parent": {"type": "function", "name": "_checkBalance", "source_mapping": {"start": 8191, "length": 360, "filename_relative": "contracts/strategies/MorphoCompoundStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoCompoundStrategy.sol", "filename_short": "contracts/strategies/MorphoCompoundStrategy.sol", "is_dependency": false, "lines": [238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "MorphoCompoundStrategy", "source_mapping": {"start": 608, "length": 7945, "filename_relative": "contracts/strategies/MorphoCompoundStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoCompoundStrategy.sol", "filename_short": "contracts/strategies/MorphoCompoundStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251], "starting_column": 1, "ending_column": 2}}, "signature": "_checkBalance(address)"}}}}], "description": "MorphoCompoundStrategy._checkBalance(address) (contracts/strategies/MorphoCompoundStrategy.sol#238-250) ignores return value by (None,None,balance) = ILens(LENS).getCurrentSupplyBalanceInOf(pToken,address(this)) (contracts/strategies/MorphoCompoundStrategy.sol#246-249)\n", "markdown": "[MorphoCompoundStrategy._checkBalance(address)](contracts/strategies/MorphoCompoundStrategy.sol#L238-L250) ignores return value by [(None,None,balance) = ILens(LENS).getCurrentSupplyBalanceInOf(pToken,address(this))](contracts/strategies/MorphoCompoundStrategy.sol#L246-L249)\n", "first_markdown_element": "contracts/strategies/MorphoCompoundStrategy.sol#L238-L250", "id": "aae8756dd4310146d8bb051edd3c3ab77f1a8d97181e0a98177aedc43a56e23d", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_getPoolAssets", "source_mapping": {"start": 12543, "length": 148, "filename_relative": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_short": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "is_dependency": false, "lines": [304, 305, 306], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBalancerStrategy", "source_mapping": {"start": 798, "length": 17926, "filename_relative": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_short": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493], "starting_column": 1, "ending_column": 2}}, "signature": "_getPoolAssets()"}}, {"type": "node", "name": "(assets,None,None) = balancerVault.getPoolTokens(balancerPoolId)", "source_mapping": {"start": 12626, "length": 58, "filename_relative": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_short": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "is_dependency": false, "lines": [305], "starting_column": 9, "ending_column": 67}, "type_specific_fields": {"parent": {"type": "function", "name": "_getPoolAssets", "source_mapping": {"start": 12543, "length": 148, "filename_relative": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_short": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "is_dependency": false, "lines": [304, 305, 306], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBalancerStrategy", "source_mapping": {"start": 798, "length": 17926, "filename_relative": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_short": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493], "starting_column": 1, "ending_column": 2}}, "signature": "_getPoolAssets()"}}}}], "description": "BaseBalancerStrategy._getPoolAssets() (contracts/strategies/balancer/BaseBalancerStrategy.sol#304-306) ignores return value by (assets,None,None) = balancerVault.getPoolTokens(balancerPoolId) (contracts/strategies/balancer/BaseBalancerStrategy.sol#305)\n", "markdown": "[BaseBalancerStrategy._getPoolAssets()](contracts/strategies/balancer/BaseBalancerStrategy.sol#L304-L306) ignores return value by [(assets,None,None) = balancerVault.getPoolTokens(balancerPoolId)](contracts/strategies/balancer/BaseBalancerStrategy.sol#L305)\n", "first_markdown_element": "contracts/strategies/balancer/BaseBalancerStrategy.sol#L304-L306", "id": "21c54e3d1ca39fd24d0f103cf5e24127d7744808ffa3864cfb51a5f86248ff5f", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_deposit", "source_mapping": {"start": 3095, "length": 3242, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "_deposit(address[],uint256[])"}}, {"type": "node", "name": "(tokens) = balancerVault.getPoolTokens(balancerPoolId)", "source_mapping": {"start": 3352, "length": 96, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [92, 93, 94], "starting_column": 9, "ending_column": 10}, "type_specific_fields": {"parent": {"type": "function", "name": "_deposit", "source_mapping": {"start": 3095, "length": 3242, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "_deposit(address[],uint256[])"}}}}], "description": "BalancerMetaPoolStrategy._deposit(address[],uint256[]) (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#83-173) ignores return value by (tokens) = balancerVault.getPoolTokens(balancerPoolId) (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#92-94)\n", "markdown": "[BalancerMetaPoolStrategy._deposit(address[],uint256[])](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L83-L173) ignores return value by [(tokens) = balancerVault.getPoolTokens(balancerPoolId)](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L92-L94)\n", "first_markdown_element": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L83-L173", "id": "c6f964aee4da3934e983a28493b99b37bfadfca9bd8718a64f3e4bc82580b751", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_withdraw", "source_mapping": {"start": 8546, "length": 6981, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "_withdraw(address,address[],uint256[])"}}, {"type": "node", "name": "(tokens) = balancerVault.getPoolTokens(balancerPoolId)", "source_mapping": {"start": 9196, "length": 96, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [240, 241, 242], "starting_column": 9, "ending_column": 10}, "type_specific_fields": {"parent": {"type": "function", "name": "_withdraw", "source_mapping": {"start": 8546, "length": 6981, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "_withdraw(address,address[],uint256[])"}}}}], "description": "BalancerMetaPoolStrategy._withdraw(address,address[],uint256[]) (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#220-384) ignores return value by (tokens) = balancerVault.getPoolTokens(balancerPoolId) (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#240-242)\n", "markdown": "[BalancerMetaPoolStrategy._withdraw(address,address[],uint256[])](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L220-L384) ignores return value by [(tokens) = balancerVault.getPoolTokens(balancerPoolId)](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L240-L242)\n", "first_markdown_element": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L220-L384", "id": "b6dfd0234a00fe7ec86440a81eff1c382ad27a77a030e172fa8ed3c20e62835f", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "withdrawAll", "source_mapping": {"start": 15746, "length": 3500, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "withdrawAll()"}}, {"type": "node", "name": "(tokens) = balancerVault.getPoolTokens(balancerPoolId)", "source_mapping": {"start": 16219, "length": 96, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [401, 402, 403], "starting_column": 9, "ending_column": 10}, "type_specific_fields": {"parent": {"type": "function", "name": "withdrawAll", "source_mapping": {"start": 15746, "length": 3500, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "withdrawAll()"}}}}], "description": "BalancerMetaPoolStrategy.withdrawAll() (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#392-473) ignores return value by (tokens) = balancerVault.getPoolTokens(balancerPoolId) (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#401-403)\n", "markdown": "[BalancerMetaPoolStrategy.withdrawAll()](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L392-L473) ignores return value by [(tokens) = balancerVault.getPoolTokens(balancerPoolId)](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L401-L403)\n", "first_markdown_element": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L392-L473", "id": "a7365da818ffe46e2f970cfb2adeba732b39671fb32ad6fc01b30eb86796d70a", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_getRateProviderRate", "source_mapping": {"start": 21512, "length": 909, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "_getRateProviderRate(address)"}}, {"type": "node", "name": "(tokens) = balancerVault.getPoolTokens(balancerPoolId)", "source_mapping": {"start": 21778, "length": 96, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [542, 543, 544], "starting_column": 9, "ending_column": 10}, "type_specific_fields": {"parent": {"type": "function", "name": "_getRateProviderRate", "source_mapping": {"start": 21512, "length": 909, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "_getRateProviderRate(address)"}}}}], "description": "BalancerMetaPoolStrategy._getRateProviderRate(address) (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#534-560) ignores return value by (tokens) = balancerVault.getPoolTokens(balancerPoolId) (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#542-544)\n", "markdown": "[BalancerMetaPoolStrategy._getRateProviderRate(address)](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L534-L560) ignores return value by [(tokens) = balancerVault.getPoolTokens(balancerPoolId)](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L542-L544)\n", "first_markdown_element": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L534-L560", "id": "36ed2fe9e73d5e1d882a0bd06ef1472869f8bdb8fe801c9015e95738edb9be60", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "swap", "source_mapping": {"start": 1921, "length": 2324, "filename_relative": "contracts/swapper/Swapper1InchV5.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/swapper/Swapper1InchV5.sol", "filename_short": "contracts/swapper/Swapper1InchV5.sol", "is_dependency": false, "lines": [40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Swapper1InchV5", "source_mapping": {"start": 756, "length": 3993, "filename_relative": "contracts/swapper/Swapper1InchV5.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/swapper/Swapper1InchV5.sol", "filename_short": "contracts/swapper/Swapper1InchV5.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107], "starting_column": 1, "ending_column": 2}}, "signature": "swap(address,address,uint256,uint256,bytes)"}}, {"type": "node", "name": "(toAssetAmount,None) = IOneInchRouter(SWAP_ROUTER).swap(IAggregationExecutor(executer),swapDesc,,executerData)", "source_mapping": {"start": 3028, "length": 193, "filename_relative": "contracts/swapper/Swapper1InchV5.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/swapper/Swapper1InchV5.sol", "filename_short": "contracts/swapper/Swapper1InchV5.sol", "is_dependency": false, "lines": [65, 66, 67, 68, 69, 70], "starting_column": 13, "ending_column": 14}, "type_specific_fields": {"parent": {"type": "function", "name": "swap", "source_mapping": {"start": 1921, "length": 2324, "filename_relative": "contracts/swapper/Swapper1InchV5.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/swapper/Swapper1InchV5.sol", "filename_short": "contracts/swapper/Swapper1InchV5.sol", "is_dependency": false, "lines": [40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Swapper1InchV5", "source_mapping": {"start": 756, "length": 3993, "filename_relative": "contracts/swapper/Swapper1InchV5.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/swapper/Swapper1InchV5.sol", "filename_short": "contracts/swapper/Swapper1InchV5.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107], "starting_column": 1, "ending_column": 2}}, "signature": "swap(address,address,uint256,uint256,bytes)"}}}}], "description": "Swapper1InchV5.swap(address,address,uint256,uint256,bytes) (contracts/swapper/Swapper1InchV5.sol#40-94) ignores return value by (toAssetAmount,None) = IOneInchRouter(SWAP_ROUTER).swap(IAggregationExecutor(executer),swapDesc,,executerData) (contracts/swapper/Swapper1InchV5.sol#65-70)\n", "markdown": "[Swapper1InchV5.swap(address,address,uint256,uint256,bytes)](contracts/swapper/Swapper1InchV5.sol#L40-L94) ignores return value by [(toAssetAmount,None) = IOneInchRouter(SWAP_ROUTER).swap(IAggregationExecutor(executer),swapDesc,,executerData)](contracts/swapper/Swapper1InchV5.sol#L65-L70)\n", "first_markdown_element": "contracts/swapper/Swapper1InchV5.sol#L40-L94", "id": "a20be31d0dee33859aaf12dbf3a9efdddb933083e9aaec46c76173e1e0576290", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "onlyUnlockedAdjuster", "source_mapping": {"start": 5015, "length": 184, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [159, 160, 161, 162, 163], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "CompensationClaims", "source_mapping": {"start": 1527, "length": 3674, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164], "starting_column": 1, "ending_column": 2}}, "signature": "onlyUnlockedAdjuster()"}}, {"type": "node", "name": "require(bool,string)(isAdjusterLocked == false,Adjuster must be unlocked)", "source_mapping": {"start": 5057, "length": 63, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [160], "starting_column": 9, "ending_column": 72}, "type_specific_fields": {"parent": {"type": "function", "name": "onlyUnlockedAdjuster", "source_mapping": {"start": 5015, "length": 184, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [159, 160, 161, 162, 163], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "CompensationClaims", "source_mapping": {"start": 1527, "length": 3674, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164], "starting_column": 1, "ending_column": 2}}, "signature": "onlyUnlockedAdjuster()"}}}}], "description": "CompensationClaims.onlyUnlockedAdjuster() (contracts/compensation/CompensationClaims.sol#159-163) compares to a boolean constant:\n\t-require(bool,string)(isAdjusterLocked == false,Adjuster must be unlocked) (contracts/compensation/CompensationClaims.sol#160)\n", "markdown": "[CompensationClaims.onlyUnlockedAdjuster()](contracts/compensation/CompensationClaims.sol#L159-L163) compares to a boolean constant:\n\t-[require(bool,string)(isAdjusterLocked == false,Adjuster must be unlocked)](contracts/compensation/CompensationClaims.sol#L160)\n", "first_markdown_element": "contracts/compensation/CompensationClaims.sol#L159-L163", "id": "c674328ac540cee46322710f4f2b564022817568b3de72c2f333499667897fb6", "check": "boolean-equal", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "function", "name": "setClaims", "source_mapping": {"start": 2859, "length": 679, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "CompensationClaims", "source_mapping": {"start": 1527, "length": 3674, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164], "starting_column": 1, "ending_column": 2}}, "signature": "setClaims(address[],uint256[])"}}, {"type": "node", "name": "totalClaims = totalClaims.add(newAmount).sub(oldAmount)", "source_mapping": {"start": 3417, "length": 55, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [100], "starting_column": 13, "ending_column": 68}, "type_specific_fields": {"parent": {"type": "function", "name": "setClaims", "source_mapping": {"start": 2859, "length": 679, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "CompensationClaims", "source_mapping": {"start": 1527, "length": 3674, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164], "starting_column": 1, "ending_column": 2}}, "signature": "setClaims(address[],uint256[])"}}}}], "description": "CompensationClaims.setClaims(address[],uint256[]) (contracts/compensation/CompensationClaims.sol#86-103) has costly operations inside a loop:\n\t- totalClaims = totalClaims.add(newAmount).sub(oldAmount) (contracts/compensation/CompensationClaims.sol#100)\n", "markdown": "[CompensationClaims.setClaims(address[],uint256[])](contracts/compensation/CompensationClaims.sol#L86-L103) has costly operations inside a loop:\n\t- [totalClaims = totalClaims.add(newAmount).sub(oldAmount)](contracts/compensation/CompensationClaims.sol#L100)\n", "first_markdown_element": "contracts/compensation/CompensationClaims.sol#L86-L103", "id": "ead4689fefe47be38b040394ae6995dc07b10079222841e5c24d8b378ff13658", "check": "costly-loop", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_fromPoolAsset", "source_mapping": {"start": 15639, "length": 615, "filename_relative": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_short": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "is_dependency": false, "lines": [400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBalancerStrategy", "source_mapping": {"start": 798, "length": 17926, "filename_relative": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_short": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493], "starting_column": 1, "ending_column": 2}}, "signature": "_fromPoolAsset(address,uint256)"}}], "description": "BaseBalancerStrategy._fromPoolAsset(address,uint256) (contracts/strategies/balancer/BaseBalancerStrategy.sol#400-419) is never used and should be removed\n", "markdown": "[BaseBalancerStrategy._fromPoolAsset(address,uint256)](contracts/strategies/balancer/BaseBalancerStrategy.sol#L400-L419) is never used and should be removed\n", "first_markdown_element": "contracts/strategies/balancer/BaseBalancerStrategy.sol#L400-L419", "id": "7172c3b3e3f4d4faa0d43c072a323390d348e93a94411aeffd451a0c8f12155e", "check": "dead-code", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_getBPTExpected", "source_mapping": {"start": 11209, "length": 363, "filename_relative": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_short": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "is_dependency": false, "lines": [266, 267, 268, 269, 270, 271, 272, 273, 274, 275], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBalancerStrategy", "source_mapping": {"start": 798, "length": 17926, "filename_relative": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_short": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493], "starting_column": 1, "ending_column": 2}}, "signature": "_getBPTExpected(address,uint256)"}}], "description": "BaseBalancerStrategy._getBPTExpected(address,uint256) (contracts/strategies/balancer/BaseBalancerStrategy.sol#266-275) is never used and should be removed\n", "markdown": "[BaseBalancerStrategy._getBPTExpected(address,uint256)](contracts/strategies/balancer/BaseBalancerStrategy.sol#L266-L275) is never used and should be removed\n", "first_markdown_element": "contracts/strategies/balancer/BaseBalancerStrategy.sol#L266-L275", "id": "414392a8237d7c299280870f69d60c9020effb6da887ce3329b46ad1a4b1a5c8", "check": "dead-code", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_getBalancerPoolTokens", "source_mapping": {"start": 8966, "length": 215, "filename_relative": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_short": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "is_dependency": false, "lines": [222, 223, 224, 225, 226, 227, 228, 229], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseBalancerStrategy", "source_mapping": {"start": 798, "length": 17926, "filename_relative": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_short": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493], "starting_column": 1, "ending_column": 2}}, "signature": "_getBalancerPoolTokens()"}}], "description": "BaseBalancerStrategy._getBalancerPoolTokens() (contracts/strategies/balancer/BaseBalancerStrategy.sol#222-229) is never used and should be removed\n", "markdown": "[BaseBalancerStrategy._getBalancerPoolTokens()](contracts/strategies/balancer/BaseBalancerStrategy.sol#L222-L229) is never used and should be removed\n", "first_markdown_element": "contracts/strategies/balancer/BaseBalancerStrategy.sol#L222-L229", "id": "43bad484abb5503ba664b26eef9bf25d7ca8e3728ff4fd75e1beb9fc8335010b", "check": "dead-code", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_deposit", "source_mapping": {"start": 2484, "length": 386, "filename_relative": "contracts/strategies/Generalized4626Strategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/Generalized4626Strategy.sol", "filename_short": "contracts/strategies/Generalized4626Strategy.sol", "is_dependency": false, "lines": [75, 76, 77, 78, 79, 80, 81, 82], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Generalized4626Strategy", "source_mapping": {"start": 454, "length": 6746, "filename_relative": "contracts/strategies/Generalized4626Strategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/Generalized4626Strategy.sol", "filename_short": "contracts/strategies/Generalized4626Strategy.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211], "starting_column": 1, "ending_column": 2}}, "signature": "_deposit(address,uint256)"}}], "description": "Generalized4626Strategy._deposit(address,uint256) (contracts/strategies/Generalized4626Strategy.sol#75-82) is never used and should be removed\n", "markdown": "[Generalized4626Strategy._deposit(address,uint256)](contracts/strategies/Generalized4626Strategy.sol#L75-L82) is never used and should be removed\n", "first_markdown_element": "contracts/strategies/Generalized4626Strategy.sol#L75-L82", "id": "36721a3f5c9b22c9bd57a3041f3b07fcc21c57f456cc144dfe21fbfc82b777dd", "check": "dead-code", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_initialize", "source_mapping": {"start": 321, "length": 98, "filename_relative": "contracts/governance/InitializableGovernable.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/governance/InitializableGovernable.sol", "filename_short": "contracts/governance/InitializableGovernable.sol", "is_dependency": false, "lines": [13, 14, 15], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "InitializableGovernable", "source_mapping": {"start": 253, "length": 168, "filename_relative": "contracts/governance/InitializableGovernable.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/governance/InitializableGovernable.sol", "filename_short": "contracts/governance/InitializableGovernable.sol", "is_dependency": false, "lines": [12, 13, 14, 15, 16], "starting_column": 1, "ending_column": 2}}, "signature": "_initialize(address)"}}], "description": "InitializableGovernable._initialize(address) (contracts/governance/InitializableGovernable.sol#13-15) is never used and should be removed\n", "markdown": "[InitializableGovernable._initialize(address)](contracts/governance/InitializableGovernable.sol#L13-L15) is never used and should be removed\n", "first_markdown_element": "contracts/governance/InitializableGovernable.sol#L13-L15", "id": "3f2ac1fe30d5e500e79d00d7cdcee650008e5473ee804bcc3ba92d1969ece075", "check": "dead-code", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_require", "source_mapping": {"start": 1162, "length": 138, "filename_relative": "contracts/utils/BalancerErrors.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/BalancerErrors.sol", "filename_short": "contracts/utils/BalancerErrors.sol", "is_dependency": false, "lines": [32, 33, 34, 35, 36, 37, 38], "starting_column": 1, "ending_column": 2}, "type_specific_fields": {"parent": null, "signature": "_require(bool,uint256,bytes3)"}}], "description": "_require(bool,uint256,bytes3) (contracts/utils/BalancerErrors.sol#32-38) is never used and should be removed\n", "markdown": "[_require(bool,uint256,bytes3)](contracts/utils/BalancerErrors.sol#L32-L38) is never used and should be removed\n", "first_markdown_element": "contracts/utils/BalancerErrors.sol#L32-L38", "id": "34a9a1f0d261723592d808bbe846d790121d01f33f11a357647ffba1718d4da8", "check": "dead-code", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/buyback/Buyback.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/buyback/Buyback.sol#L2) allows old versions\n", "first_markdown_element": "contracts/buyback/Buyback.sol#L2", "id": "82f7aa39285a2aa0a0aeb4cba71ff4484e8d7d769c5cfd578256f37620cd4b1c", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/compensation/CompensationClaims.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/compensation/CompensationClaims.sol#L2) allows old versions\n", "first_markdown_element": "contracts/compensation/CompensationClaims.sol#L2", "id": "c02ba4c4226a7a9670dc4b7bab2bebca3a519f6c5a51add1ba22600ea05e24f7", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/flipper/Flipper.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/flipper/Flipper.sol", "filename_short": "contracts/flipper/Flipper.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/flipper/Flipper.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/flipper/Flipper.sol#L2) allows old versions\n", "first_markdown_element": "contracts/flipper/Flipper.sol#L2", "id": "281c63a535d0389950d5b075401c81b9c18da3629810d6f94c96e0e9348d77cf", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/governance/Governable.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/governance/Governable.sol", "filename_short": "contracts/governance/Governable.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/governance/Governable.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/governance/Governable.sol#L2) allows old versions\n", "first_markdown_element": "contracts/governance/Governable.sol#L2", "id": "a9f16bb10340d2d12d80ed061384a2ffef346969793204e4fbedca1c24145ed8", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/governance/Governor.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/governance/Governor.sol", "filename_short": "contracts/governance/Governor.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/governance/Governor.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/governance/Governor.sol#L2) allows old versions\n", "first_markdown_element": "contracts/governance/Governor.sol#L2", "id": "cacf63d5a01c6cc2a8853d12121bf90c8f7bc7c278244272b10503aeb7f0d558", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/governance/InitializableGovernable.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/governance/InitializableGovernable.sol", "filename_short": "contracts/governance/InitializableGovernable.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/governance/InitializableGovernable.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/governance/InitializableGovernable.sol#L2) allows old versions\n", "first_markdown_element": "contracts/governance/InitializableGovernable.sol#L2", "id": "79d0ce734dc0dff71f45eec4127b00b9a96f302b448bccb8e53eac5491a7dea4", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/governance/Strategizable.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/governance/Strategizable.sol", "filename_short": "contracts/governance/Strategizable.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/governance/Strategizable.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/governance/Strategizable.sol#L2) allows old versions\n", "first_markdown_element": "contracts/governance/Strategizable.sol#L2", "id": "6704e69d816d659695f9dff4ba63d12478df83cf402a95906fe4d0a8e3030a3f", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/harvest/BaseHarvester.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/harvest/BaseHarvester.sol", "filename_short": "contracts/harvest/BaseHarvester.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/harvest/BaseHarvester.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/harvest/BaseHarvester.sol#L2) allows old versions\n", "first_markdown_element": "contracts/harvest/BaseHarvester.sol#L2", "id": "a5124e066b2fbb7dd1e955b4fcd2beacad6be21123061eceed403b4726a7cd41", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/harvest/Dripper.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/harvest/Dripper.sol", "filename_short": "contracts/harvest/Dripper.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/harvest/Dripper.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/harvest/Dripper.sol#L2) allows old versions\n", "first_markdown_element": "contracts/harvest/Dripper.sol#L2", "id": "1140b3378dbcf85f848dd3593f6db455b81de599993575647a78a8e9e16d7e86", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/harvest/Harvester.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/harvest/Harvester.sol", "filename_short": "contracts/harvest/Harvester.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/harvest/Harvester.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/harvest/Harvester.sol#L2) allows old versions\n", "first_markdown_element": "contracts/harvest/Harvester.sol#L2", "id": "9da9505bab8b0fd00e20e6db4a6fead1534b69d28987dc31631a69876e522cbc", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/harvest/OETHDripper.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/harvest/OETHDripper.sol", "filename_short": "contracts/harvest/OETHDripper.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/harvest/OETHDripper.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/harvest/OETHDripper.sol#L2) allows old versions\n", "first_markdown_element": "contracts/harvest/OETHDripper.sol#L2", "id": "9868f31eabf1e720593a50a20e5bb824dd11b311d005285c616a0002edba9f6e", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/harvest/OETHHarvester.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/harvest/OETHHarvester.sol", "filename_short": "contracts/harvest/OETHHarvester.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/harvest/OETHHarvester.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/harvest/OETHHarvester.sol#L2) allows old versions\n", "first_markdown_element": "contracts/harvest/OETHHarvester.sol#L2", "id": "3a3adb7c5e90ad98fb80214a4f7844cffc76e3b15d6c0af1a826625357bb071a", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IBasicToken.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IBasicToken.sol", "filename_short": "contracts/interfaces/IBasicToken.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IBasicToken.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IBasicToken.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IBasicToken.sol#L2", "id": "94bff6382b90ad3924c0066cfd097d81ac291208d0369684cb54afe8658dabba", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IBuyback.sol", "filename_short": "contracts/interfaces/IBuyback.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IBuyback.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IBuyback.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IBuyback.sol#L2", "id": "185bc9860851ec47e3d7ad04b7f00dca9776de2b9dd4d9fe036240034b795bfd", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IComptroller.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IComptroller.sol", "filename_short": "contracts/interfaces/IComptroller.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IComptroller.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IComptroller.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IComptroller.sol#L2", "id": "a0c1bfd5ca31ee3e23316e502e3ef04bf450325444d5445aff16c409cb4fc156", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IEthUsdOracle.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IEthUsdOracle.sol", "filename_short": "contracts/interfaces/IEthUsdOracle.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IEthUsdOracle.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IEthUsdOracle.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IEthUsdOracle.sol#L2", "id": "272e660a7ba45f6a97e0c83762294ab6e2cf4d00cbceda6120b5d8672a34489e", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IFraxETHMinter.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IFraxETHMinter.sol", "filename_short": "contracts/interfaces/IFraxETHMinter.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IFraxETHMinter.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IFraxETHMinter.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IFraxETHMinter.sol#L2", "id": "9a001f820d4bcc8f8cc237c99569448b23551b10274194dc40cdf0fb6dc674ff", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 0, "length": 23, "filename_relative": "contracts/interfaces/IGetExchangeRateToken.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IGetExchangeRateToken.sol", "filename_short": "contracts/interfaces/IGetExchangeRateToken.sol", "is_dependency": false, "lines": [1], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IGetExchangeRateToken.sol#1) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IGetExchangeRateToken.sol#L1) allows old versions\n", "first_markdown_element": "contracts/interfaces/IGetExchangeRateToken.sol#L1", "id": "d40ef5adf85becbae2a11790f9e20e51d1a263c96199ebf02bb2f573909a129e", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IHarvester.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IHarvester.sol", "filename_short": "contracts/interfaces/IHarvester.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IHarvester.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IHarvester.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IHarvester.sol#L2", "id": "03c1e790b44ea5d7724d4ef7f0f2a546854105ff2368688bcefa16d3acacfddf", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IMinMaxOracle.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IMinMaxOracle.sol", "filename_short": "contracts/interfaces/IMinMaxOracle.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IMinMaxOracle.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IMinMaxOracle.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IMinMaxOracle.sol#L2", "id": "c2690b6bd4695286c86c5a3bd76986a663dca50c509ccf6ee859eccca2c7dc4d", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 0, "length": 23, "filename_relative": "contracts/interfaces/IOUSD.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IOUSD.sol", "filename_short": "contracts/interfaces/IOUSD.sol", "is_dependency": false, "lines": [1], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IOUSD.sol#1) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IOUSD.sol#L1) allows old versions\n", "first_markdown_element": "contracts/interfaces/IOUSD.sol#L1", "id": "3853d01e8691288aa7cdbaa59886ee68e2413ccd489d898d83b2e49b4a1ddc23", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IOneInch.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IOneInch.sol", "filename_short": "contracts/interfaces/IOneInch.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IOneInch.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IOneInch.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IOneInch.sol#L2", "id": "e352c191d5ada9b352c135cde4fc6e19e45f1570610a939fe8633c71effdd36c", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IOracle.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IOracle.sol", "filename_short": "contracts/interfaces/IOracle.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IOracle.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IOracle.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IOracle.sol#L2", "id": "a4d7c9eafef08e42e6544dd4019cf9efe7f51c00050c35eb8c7cc462a5834952", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IPriceOracle.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IPriceOracle.sol", "filename_short": "contracts/interfaces/IPriceOracle.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IPriceOracle.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IPriceOracle.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IPriceOracle.sol#L2", "id": "ee7fa68441e218913764ed19aac4e5f2cf7278f785e7b33a65296ad6480202c1", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IRETH.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IRETH.sol", "filename_short": "contracts/interfaces/IRETH.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IRETH.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IRETH.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IRETH.sol#L2", "id": "5b1c6810abf706d2048174e3575be705a290708609ae849578f62744b17fd4f8", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/ISfrxETH.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/ISfrxETH.sol", "filename_short": "contracts/interfaces/ISfrxETH.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/ISfrxETH.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/ISfrxETH.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/ISfrxETH.sol#L2", "id": "13e6b32cc8e9a01dc045d8cb5e1aee7fa29068785bd03dfbb1d63b0587431ec1", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IStrategy.sol", "filename_short": "contracts/interfaces/IStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IStrategy.sol#L2", "id": "525cec582bcb9c733e3300d58ff77ebd629cf4d89a52fa0fe61d13f65c353a26", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 0, "length": 23, "filename_relative": "contracts/interfaces/ISwapper.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/ISwapper.sol", "filename_short": "contracts/interfaces/ISwapper.sol", "is_dependency": false, "lines": [1], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/ISwapper.sol#1) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/ISwapper.sol#L1) allows old versions\n", "first_markdown_element": "contracts/interfaces/ISwapper.sol#L1", "id": "0fec87f800d6723dd3d7de1770cc3be977e891e5b5fc4addf73063ff67c89925", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 0, "length": 23, "filename_relative": "contracts/interfaces/ITimelock.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/ITimelock.sol", "filename_short": "contracts/interfaces/ITimelock.sol", "is_dependency": false, "lines": [1], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/ITimelock.sol#1) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/ITimelock.sol#L1) allows old versions\n", "first_markdown_element": "contracts/interfaces/ITimelock.sol#L1", "id": "4475b124b600f3a464049046512f274d7d487f5569d04b0d0c8896a5148bc47f", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IVault.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IVault.sol", "filename_short": "contracts/interfaces/IVault.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IVault.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IVault.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IVault.sol#L2", "id": "17d8cdfc74b00a04ec29c0f955fcb435e6cea0762362480e26698d7dade395b8", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IWETH9.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IWETH9.sol", "filename_short": "contracts/interfaces/IWETH9.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IWETH9.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IWETH9.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IWETH9.sol#L2", "id": "fe92400d6c1a3a9d73cdad69563291319f87d651a109ea6ae2beabb7ce0257df", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/IWstETH.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IWstETH.sol", "filename_short": "contracts/interfaces/IWstETH.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/IWstETH.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/IWstETH.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/IWstETH.sol#L2", "id": "c5904f6311ae3dc0bc00d39c836d70c764336a6ee29b70c304c77c88bc0a33c2", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/Tether.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/Tether.sol", "filename_short": "contracts/interfaces/Tether.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/Tether.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/Tether.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/Tether.sol#L2", "id": "a844a7c861e5d4669cae48ad216d93b53f055ecb38cb7e03df7bbebe4807598f", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/UniswapV3Router.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/UniswapV3Router.sol", "filename_short": "contracts/interfaces/UniswapV3Router.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/UniswapV3Router.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/UniswapV3Router.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/UniswapV3Router.sol#L2", "id": "d998828992bf95d52edab99b51a8815ddfe7f3162d2f9d1803480d10c4d7ec75", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/balancer/IBalancerVault.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/balancer/IBalancerVault.sol", "filename_short": "contracts/interfaces/balancer/IBalancerVault.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/balancer/IBalancerVault.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/balancer/IBalancerVault.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/balancer/IBalancerVault.sol#L2", "id": "cdc4df825083a60dad418af5da34b0a1ec66633977db1a83c207f24c4bd63695", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/balancer/IMetaStablePool.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/balancer/IMetaStablePool.sol", "filename_short": "contracts/interfaces/balancer/IMetaStablePool.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/balancer/IMetaStablePool.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/balancer/IMetaStablePool.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/balancer/IMetaStablePool.sol#L2", "id": "21c15fd4f5fde0afd4976aeba6c1deac5c4fbd35dc65d80072398480ac362567", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 688, "length": 23, "filename_relative": "contracts/interfaces/balancer/IRateProvider.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/balancer/IRateProvider.sol", "filename_short": "contracts/interfaces/balancer/IRateProvider.sol", "is_dependency": false, "lines": [15], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/balancer/IRateProvider.sol#15) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/balancer/IRateProvider.sol#L15) allows old versions\n", "first_markdown_element": "contracts/interfaces/balancer/IRateProvider.sol#L15", "id": "a0200a0094ccd65b05e62909b5fb57759e74fd67119ad883a12d88b5d212a337", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/chainlink/AggregatorV3Interface.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/chainlink/AggregatorV3Interface.sol", "filename_short": "contracts/interfaces/chainlink/AggregatorV3Interface.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/chainlink/AggregatorV3Interface.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/chainlink/AggregatorV3Interface.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/chainlink/AggregatorV3Interface.sol#L2", "id": "bc2ed3a6e692a07531fedf75dcd82f2e3779a5b53516d2e1624c85b32b4e820a", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 39, "length": 23, "filename_relative": "contracts/interfaces/morpho/ILens.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/morpho/ILens.sol", "filename_short": "contracts/interfaces/morpho/ILens.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/morpho/ILens.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/morpho/ILens.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/morpho/ILens.sol#L2", "id": "788b8c236da191737cf5aa9e818a9211e81393c2f3d1e9ff13f3f1212474ce4c", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 39, "length": 23, "filename_relative": "contracts/interfaces/morpho/IMorpho.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/morpho/IMorpho.sol", "filename_short": "contracts/interfaces/morpho/IMorpho.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/morpho/IMorpho.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/morpho/IMorpho.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/morpho/IMorpho.sol#L2", "id": "45909fd8b83fa9fe6a683644183358818f916d3da4ca7fe7118156a2eea13da1", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 39, "length": 23, "filename_relative": "contracts/interfaces/morpho/Types.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/morpho/Types.sol", "filename_short": "contracts/interfaces/morpho/Types.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/morpho/Types.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/morpho/Types.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/morpho/Types.sol#L2", "id": "87f2050fdffd7c5fcf5d0654ad19df383bf596df78181862f3ce6f9b683fc560", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 39, "length": 23, "filename_relative": "contracts/interfaces/morpho/compound/ICompoundOracle.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/morpho/compound/ICompoundOracle.sol", "filename_short": "contracts/interfaces/morpho/compound/ICompoundOracle.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/morpho/compound/ICompoundOracle.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/morpho/compound/ICompoundOracle.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/morpho/compound/ICompoundOracle.sol#L2", "id": "76d014d0be4fa6cf1f9a4b64ad201ec259fbf01a6eefb98db5f61fb514c224c5", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/uniswap/IUniswapV2Pair.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/uniswap/IUniswapV2Pair.sol", "filename_short": "contracts/interfaces/uniswap/IUniswapV2Pair.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/uniswap/IUniswapV2Pair.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/uniswap/IUniswapV2Pair.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/uniswap/IUniswapV2Pair.sol#L2", "id": "b1c5a3bbf566b0e621c50e7ba4220664bd1e54da43fad71dbc938a5eded7f2c2", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/interfaces/uniswap/IUniswapV2Router02.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/uniswap/IUniswapV2Router02.sol", "filename_short": "contracts/interfaces/uniswap/IUniswapV2Router02.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/interfaces/uniswap/IUniswapV2Router02.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/interfaces/uniswap/IUniswapV2Router02.sol#L2) allows old versions\n", "first_markdown_element": "contracts/interfaces/uniswap/IUniswapV2Router02.sol#L2", "id": "ad47007ddc5c67344d81dc344b49bf500ecc26e3135bd77a62fde43bd7c7b7dd", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/liquidity/LiquidityReward.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/liquidity/LiquidityReward.sol", "filename_short": "contracts/liquidity/LiquidityReward.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/liquidity/LiquidityReward.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/liquidity/LiquidityReward.sol#L2) allows old versions\n", "first_markdown_element": "contracts/liquidity/LiquidityReward.sol#L2", "id": "af43855351ffe0839a4022c9ace8a3c16d22dc86d07d1d2757ecf6f7dbee0bd7", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/oracle/OracleRouter.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/oracle/OracleRouter.sol", "filename_short": "contracts/oracle/OracleRouter.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/oracle/OracleRouter.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/oracle/OracleRouter.sol#L2) allows old versions\n", "first_markdown_element": "contracts/oracle/OracleRouter.sol#L2", "id": "51334591a78dd22a137807b4acc53389925f973033124c5930c642a302ba29b0", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_short": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol#L2", "id": "4c766eb1c2e89d40beed9275537ff433a6045d434cdfc1b437e6fc4acc2856b9", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/proxies/Proxies.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/proxies/Proxies.sol", "filename_short": "contracts/proxies/Proxies.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/proxies/Proxies.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/proxies/Proxies.sol#L2) allows old versions\n", "first_markdown_element": "contracts/proxies/Proxies.sol#L2", "id": "54449952b8d4d7f912b7edd63a4d5f250415aca230353b6f0c2436fd08bab7c4", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/staking/SingleAssetStaking.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/staking/SingleAssetStaking.sol", "filename_short": "contracts/staking/SingleAssetStaking.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/staking/SingleAssetStaking.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/staking/SingleAssetStaking.sol#L2) allows old versions\n", "first_markdown_element": "contracts/staking/SingleAssetStaking.sol#L2", "id": "0d9b9be73b171a1f5847e5df0adf23a9896dd80d43e0f466a74a13d345d8a91e", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/AaveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/AaveStrategy.sol", "filename_short": "contracts/strategies/AaveStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/AaveStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/AaveStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/AaveStrategy.sol#L2", "id": "4b6bd9fd37caf2805f5c155743471e5190c0d3c67a058c887282f845b01fbd3c", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/BaseCompoundStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/BaseCompoundStrategy.sol", "filename_short": "contracts/strategies/BaseCompoundStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/BaseCompoundStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/BaseCompoundStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/BaseCompoundStrategy.sol#L2", "id": "ffb011aa0e9b47c467913e4c84522cce51b070125b4d896dd3573a9a7ef2d180", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/BaseConvexMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/BaseConvexMetaStrategy.sol", "filename_short": "contracts/strategies/BaseConvexMetaStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/BaseConvexMetaStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/BaseConvexMetaStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/BaseConvexMetaStrategy.sol#L2", "id": "83428776089a6ca8806eb19a4738ab918e43169a57b4e961f748db3bd1950a43", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/BaseCurveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/BaseCurveStrategy.sol", "filename_short": "contracts/strategies/BaseCurveStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/BaseCurveStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/BaseCurveStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/BaseCurveStrategy.sol#L2", "id": "d2a54684ab02a9305bab0d6c3424e84d8370c96874128ca7e5a41660bc8f06fc", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/CompoundStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/CompoundStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/CompoundStrategy.sol#L2", "id": "92a7098362a42f7f87c42e9d955c08eb71aa98a0d92611ed508d73c3118fa022", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/ConvexEthMetaStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/ConvexEthMetaStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/ConvexEthMetaStrategy.sol#L2", "id": "7edb20db5c0200c2bd05a4366895fdf37f10cd1d2bb0d695908c07e9c837b848", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/ConvexGeneralizedMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexGeneralizedMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexGeneralizedMetaStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/ConvexGeneralizedMetaStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/ConvexGeneralizedMetaStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/ConvexGeneralizedMetaStrategy.sol#L2", "id": "5fa480122d27055b8ec676e247738324933e9773ab3abda6f51098e1daeeec04", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/ConvexOUSDMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexOUSDMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexOUSDMetaStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/ConvexOUSDMetaStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/ConvexOUSDMetaStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/ConvexOUSDMetaStrategy.sol#L2", "id": "ac6a57a349bf50561c41daec54512d189e8ce8f2e71080e3bc8ffe87dd163260", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/ConvexStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexStrategy.sol", "filename_short": "contracts/strategies/ConvexStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/ConvexStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/ConvexStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/ConvexStrategy.sol#L2", "id": "897cc29611993f610e5dc9875acb6ad1998d16d5db80ef87cb24be58fe75fed6", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/FluxStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/FluxStrategy.sol", "filename_short": "contracts/strategies/FluxStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/FluxStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/FluxStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/FluxStrategy.sol#L2", "id": "393fbd06405ca3131afb6417a96cbe43833001f958740775dec3a1592922d214", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/FraxETHStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/FraxETHStrategy.sol", "filename_short": "contracts/strategies/FraxETHStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/FraxETHStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/FraxETHStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/FraxETHStrategy.sol#L2", "id": "8ef2be5e3d56be6f3c3457596407a8fe5c07c5950a462c145e1ebed8a11c9994", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/Generalized4626Strategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/Generalized4626Strategy.sol", "filename_short": "contracts/strategies/Generalized4626Strategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/Generalized4626Strategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/Generalized4626Strategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/Generalized4626Strategy.sol#L2", "id": "2a08a0f02b99768b50a70e61fa311b9a27abdbe4d3123dac80ce0a92a573621e", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/IAave.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/IAave.sol", "filename_short": "contracts/strategies/IAave.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/IAave.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/IAave.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/IAave.sol#L2", "id": "03d09f76f6327ec3e00462e72f330bc5b7b74c4c76dd86178740bae9b58213df", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/IAaveIncentivesController.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/IAaveIncentivesController.sol", "filename_short": "contracts/strategies/IAaveIncentivesController.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/IAaveIncentivesController.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/IAaveIncentivesController.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/IAaveIncentivesController.sol#L2", "id": "021193b4603c0ed5ac062858b53e3888ceb0c79df1cc0b782fafd97a6197c153", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/IAaveStakeToken.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/IAaveStakeToken.sol", "filename_short": "contracts/strategies/IAaveStakeToken.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/IAaveStakeToken.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/IAaveStakeToken.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/IAaveStakeToken.sol#L2", "id": "51aed3d5dcdcf77b6106f36ac622c82acef7e0d7ff7892b311e1adc4bbb0edc7", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/ICRVMinter.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ICRVMinter.sol", "filename_short": "contracts/strategies/ICRVMinter.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/ICRVMinter.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/ICRVMinter.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/ICRVMinter.sol#L2", "id": "c1e0e830ba7445a95b4c566d6ec67217c2d6b9749ead120e45b1ebf8015c8bc4", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/ICompound.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ICompound.sol", "filename_short": "contracts/strategies/ICompound.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/ICompound.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/ICompound.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/ICompound.sol#L2", "id": "ddba7df5322db75d195376ffb9e85ab8e56d1c7c52815188d440127a56fd9745", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/IConvexDeposits.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/IConvexDeposits.sol", "filename_short": "contracts/strategies/IConvexDeposits.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/IConvexDeposits.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/IConvexDeposits.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/IConvexDeposits.sol#L2", "id": "bd18c560914c2915ea918e64268f9d1d198f7ccf10dd56022daaac37648414e1", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/ICurveETHPoolV1.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ICurveETHPoolV1.sol", "filename_short": "contracts/strategies/ICurveETHPoolV1.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/ICurveETHPoolV1.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/ICurveETHPoolV1.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/ICurveETHPoolV1.sol#L2", "id": "87f73a3e8426ca53be7f43f25aef20229cd70ff8b3959b7f179297693c5de12f", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/ICurveGauge.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ICurveGauge.sol", "filename_short": "contracts/strategies/ICurveGauge.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/ICurveGauge.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/ICurveGauge.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/ICurveGauge.sol#L2", "id": "238b46b151a29be97e64f11d9fe1618d42b47fe81401a8cdcc641adba9ebc20e", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.4", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/ICurveMetaPool.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ICurveMetaPool.sol", "filename_short": "contracts/strategies/ICurveMetaPool.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".4"]}}], "description": "Pragma version^0.8.4 (contracts/strategies/ICurveMetaPool.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.4](contracts/strategies/ICurveMetaPool.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/ICurveMetaPool.sol#L2", "id": "7c55a7fd5852f4820ced907ab1a5d0cd97dfe970237e22a8ce7d08c37f23bd74", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/ICurvePool.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ICurvePool.sol", "filename_short": "contracts/strategies/ICurvePool.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/ICurvePool.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/ICurvePool.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/ICurvePool.sol#L2", "id": "f757494eaef356ad0c81503b9251f6301b88a90c82132045d49aaad9905f3f93", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/IRewardStaking.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/IRewardStaking.sol", "filename_short": "contracts/strategies/IRewardStaking.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/IRewardStaking.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/IRewardStaking.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/IRewardStaking.sol#L2", "id": "9f4345a2ad09e15353a5110b5f623427acaef0955ffa86e0566554f27c6888fe", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/MorphoAaveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoAaveStrategy.sol", "filename_short": "contracts/strategies/MorphoAaveStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/MorphoAaveStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/MorphoAaveStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/MorphoAaveStrategy.sol#L2", "id": "093a7824790924e30487939ec460262253829141fddcf00da32cf96c270de1e1", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/MorphoCompoundStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/MorphoCompoundStrategy.sol", "filename_short": "contracts/strategies/MorphoCompoundStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/MorphoCompoundStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/MorphoCompoundStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/MorphoCompoundStrategy.sol#L2", "id": "8db8fc20ef33347d2f01428f1313b44970fa01ceb2a5b5077ee12535f3cc74cd", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/ThreePoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ThreePoolStrategy.sol", "filename_short": "contracts/strategies/ThreePoolStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/ThreePoolStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/ThreePoolStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/ThreePoolStrategy.sol#L2", "id": "2c01ceb3c023f424da1ce7aad8d10035e4e03ef67f4043df9a0756dee97d0ae5", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/VaultValueChecker.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/VaultValueChecker.sol", "filename_short": "contracts/strategies/VaultValueChecker.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/VaultValueChecker.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/VaultValueChecker.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/VaultValueChecker.sol#L2", "id": "f0e49630796934edda0580f937847757b9f78dfd24164ef52ff32d0624f92cbf", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L2", "id": "96a4f714939f6ce445a212a2c1e8cf2337907993803525b501c6e4c568b2290a", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/balancer/BaseAuraStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BaseAuraStrategy.sol", "filename_short": "contracts/strategies/balancer/BaseAuraStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/balancer/BaseAuraStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/balancer/BaseAuraStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/balancer/BaseAuraStrategy.sol#L2", "id": "f74abab019eaf77a854245706492d983f7f3b8c74afb17987914e021ce4e7857", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BaseBalancerStrategy.sol", "filename_short": "contracts/strategies/balancer/BaseBalancerStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/strategies/balancer/BaseBalancerStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/strategies/balancer/BaseBalancerStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/strategies/balancer/BaseBalancerStrategy.sol#L2", "id": "35dd7da8ef2b42cd69590a715e37e95b1d6264518801e2b112e605aaaf0e0dc1", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": ">=0.7.0<0.9.0", "source_mapping": {"start": 688, "length": 31, "filename_relative": "contracts/strategies/balancer/VaultReentrancyLib.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/VaultReentrancyLib.sol", "filename_short": "contracts/strategies/balancer/VaultReentrancyLib.sol", "is_dependency": false, "lines": [15], "starting_column": 1, "ending_column": 32}, "type_specific_fields": {"directive": ["solidity", ">=", "0.7", ".0", "<", "0.9", ".0"]}}], "description": "Pragma version>=0.7.0<0.9.0 (contracts/strategies/balancer/VaultReentrancyLib.sol#15) is too complex\n", "markdown": "Pragma version[>=0.7.0<0.9.0](contracts/strategies/balancer/VaultReentrancyLib.sol#L15) is too complex\n", "first_markdown_element": "contracts/strategies/balancer/VaultReentrancyLib.sol#L15", "id": "6580f38da1aa240fb5b3862439e748ea499bd72ee055940f18478a7c52715b0e", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/swapper/Swapper1InchV5.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/swapper/Swapper1InchV5.sol", "filename_short": "contracts/swapper/Swapper1InchV5.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/swapper/Swapper1InchV5.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/swapper/Swapper1InchV5.sol#L2) allows old versions\n", "first_markdown_element": "contracts/swapper/Swapper1InchV5.sol#L2", "id": "a4c33b5af6d7e7fe16f2ced5aa2b62c83a02c59f7473bf8ed321f7a47673c1ff", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/timelock/Timelock.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/timelock/Timelock.sol", "filename_short": "contracts/timelock/Timelock.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/timelock/Timelock.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/timelock/Timelock.sol#L2) allows old versions\n", "first_markdown_element": "contracts/timelock/Timelock.sol#L2", "id": "d28fc27cadb50f2a9adcbf2679eefb86dc31b472d1f1f52197fd3b627cfe9009", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/token/OETH.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/token/OETH.sol", "filename_short": "contracts/token/OETH.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/token/OETH.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/token/OETH.sol#L2) allows old versions\n", "first_markdown_element": "contracts/token/OETH.sol#L2", "id": "0c536785d47453c3e04de56ec0b68c6a1615dccdc19a62e2c85682e2a8f7c7d5", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/token/OUSD.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/token/OUSD.sol#L2) allows old versions\n", "first_markdown_element": "contracts/token/OUSD.sol#L2", "id": "4c28a6c60c940b0c929b0752f10fc43d2c0da77f4294e3d9a3a7284d9d82299a", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/token/WOETH.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/token/WOETH.sol", "filename_short": "contracts/token/WOETH.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/token/WOETH.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/token/WOETH.sol#L2) allows old versions\n", "first_markdown_element": "contracts/token/WOETH.sol#L2", "id": "17861c958de8b62ca693a620b8acfdfa2d1bd58c2f5784a862e1b7547303e94d", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/token/WrappedOusd.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/token/WrappedOusd.sol", "filename_short": "contracts/token/WrappedOusd.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/token/WrappedOusd.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/token/WrappedOusd.sol#L2) allows old versions\n", "first_markdown_element": "contracts/token/WrappedOusd.sol#L2", "id": "3e4418ef1bc9e338a5aeb1cfa883886f37ab4e0da2435bd3b234ba49d317e730", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": ">=0.7.4<0.9.0", "source_mapping": {"start": 688, "length": 31, "filename_relative": "contracts/utils/BalancerErrors.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/BalancerErrors.sol", "filename_short": "contracts/utils/BalancerErrors.sol", "is_dependency": false, "lines": [15], "starting_column": 1, "ending_column": 32}, "type_specific_fields": {"directive": ["solidity", ">=", "0.7", ".4", "<", "0.9", ".0"]}}], "description": "Pragma version>=0.7.4<0.9.0 (contracts/utils/BalancerErrors.sol#15) is too complex\n", "markdown": "Pragma version[>=0.7.4<0.9.0](contracts/utils/BalancerErrors.sol#L15) is too complex\n", "first_markdown_element": "contracts/utils/BalancerErrors.sol#L15", "id": "70df7857ac9891aa8cf53e027c04023696b0ad1f76d554b9977078967ae979a3", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/utils/Helpers.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/Helpers.sol", "filename_short": "contracts/utils/Helpers.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/utils/Helpers.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/utils/Helpers.sol#L2) allows old versions\n", "first_markdown_element": "contracts/utils/Helpers.sol#L2", "id": "86623102155b1f075f6ea2dd0ddac7ed6b2d3b622cb613deefb6c97e2a0be030", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/utils/Initializable.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/Initializable.sol", "filename_short": "contracts/utils/Initializable.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/utils/Initializable.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/utils/Initializable.sol#L2) allows old versions\n", "first_markdown_element": "contracts/utils/Initializable.sol#L2", "id": "1b5144dca22360d396579ab156ffa691cbf0ed4e22bf3c00ee10fabf9703e062", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/utils/InitializableAbstractStrategy.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/utils/InitializableAbstractStrategy.sol#L2) allows old versions\n", "first_markdown_element": "contracts/utils/InitializableAbstractStrategy.sol#L2", "id": "e4ba9f8308fcf868334ea35ea0011b4dc5065ea98e8e2f866b6663636a34133c", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/utils/InitializableERC20Detailed.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/InitializableERC20Detailed.sol", "filename_short": "contracts/utils/InitializableERC20Detailed.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/utils/InitializableERC20Detailed.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/utils/InitializableERC20Detailed.sol#L2) allows old versions\n", "first_markdown_element": "contracts/utils/InitializableERC20Detailed.sol#L2", "id": "cc3087c4f9d79aeb7b09b5af0de7a2c21f568639180749dfae8282cc230769ac", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/vault/OETHVault.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/OETHVault.sol", "filename_short": "contracts/vault/OETHVault.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/vault/OETHVault.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/vault/OETHVault.sol#L2) allows old versions\n", "first_markdown_element": "contracts/vault/OETHVault.sol#L2", "id": "604949a689d5c3b2ab20fb9cd6b7310f14ac7bd713bc96e0db26d320a9eb864d", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/vault/OETHVaultAdmin.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/OETHVaultAdmin.sol", "filename_short": "contracts/vault/OETHVaultAdmin.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/vault/OETHVaultAdmin.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/vault/OETHVaultAdmin.sol#L2) allows old versions\n", "first_markdown_element": "contracts/vault/OETHVaultAdmin.sol#L2", "id": "52063d9c11ce856aae9c6be5a5bac5eb2aa90d6adb13982fc7a8eba2ebae9a76", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/vault/OETHVaultCore.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/OETHVaultCore.sol", "filename_short": "contracts/vault/OETHVaultCore.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/vault/OETHVaultCore.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/vault/OETHVaultCore.sol#L2) allows old versions\n", "first_markdown_element": "contracts/vault/OETHVaultCore.sol#L2", "id": "61a2f9dd5eda9e2116a60248dcfec34b77e86aa3f21e921ac302464213dee3b3", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/vault/OETHZapper.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/vault/OETHZapper.sol#L2) allows old versions\n", "first_markdown_element": "contracts/vault/OETHZapper.sol#L2", "id": "147adfb2889187ec2a27af28deae1179c4fbdbdcf42e2d98832947d7a6daa618", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/vault/Vault.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/Vault.sol", "filename_short": "contracts/vault/Vault.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/vault/Vault.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/vault/Vault.sol#L2) allows old versions\n", "first_markdown_element": "contracts/vault/Vault.sol#L2", "id": "9a51591a30b72d5cd9296be4fbbb7b829de2b26331556dd05fb210fce4ce90d8", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/vault/VaultAdmin.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_short": "contracts/vault/VaultAdmin.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/vault/VaultAdmin.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/vault/VaultAdmin.sol#L2) allows old versions\n", "first_markdown_element": "contracts/vault/VaultAdmin.sol#L2", "id": "af09cf9a6cd593314e07a4a02c9fda9d86de52506100b576110e312776e508d3", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/vault/VaultCore.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/vault/VaultCore.sol#L2) allows old versions\n", "first_markdown_element": "contracts/vault/VaultCore.sol#L2", "id": "c6f1fe952b98499175623c21fa73863d0e52ede9adcdb9a0840b62c0ba0f4636", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": "^0.8.0", "source_mapping": {"start": 32, "length": 23, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [2], "starting_column": 1, "ending_column": 24}, "type_specific_fields": {"directive": ["solidity", "^", "0.8", ".0"]}}], "description": "Pragma version^0.8.0 (contracts/vault/VaultStorage.sol#2) allows old versions\n", "markdown": "Pragma version[^0.8.0](contracts/vault/VaultStorage.sol#L2) allows old versions\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L2", "id": "8f3edef86568cc9c580189310994269662f4ded56367af9f91567362f996681f", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "pragma", "name": ">=0.4.22<0.9.0", "source_mapping": {"start": 32, "length": 33, "filename_relative": "node_modules/hardhat/console.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/node_modules/hardhat/console.sol", "filename_short": "node_modules/hardhat/console.sol", "is_dependency": true, "lines": [2], "starting_column": 1, "ending_column": 34}, "type_specific_fields": {"directive": ["solidity", ">=", "0.4", ".22", "<", "0.9", ".0"]}}], "description": "Pragma version>=0.4.22<0.9.0 (node_modules/hardhat/console.sol#2) is too complex\n", "markdown": "Pragma version[>=0.4.22<0.9.0](node_modules/hardhat/console.sol#L2) is too complex\n", "first_markdown_element": "node_modules/hardhat/console.sol#L2", "id": "f30cc00866ad4644a058066a785a40fc85920295b639d57c66467131996ae1a5", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [], "description": "solc-0.8.7 is not recommended for deployment\n", "markdown": "solc-0.8.7 is not recommended for deployment\n", "first_markdown_element": "", "id": "7625fc0b76e6d47f90acb00bf7e2271fd51795d3b2a30f085edbbc0db8832c0c", "check": "solc-version", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "function", "name": "initialize", "source_mapping": {"start": 1352, "length": 545, "filename_relative": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_short": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "is_dependency": false, "lines": [34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "InitializeGovernedUpgradeabilityProxy", "source_mapping": {"start": 450, "length": 6294, "filename_relative": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_short": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "is_dependency": false, "lines": [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196], "starting_column": 1, "ending_column": 2}}, "signature": "initialize(address,address,bytes)"}}, {"type": "node", "name": "(success) = _logic.delegatecall(_data)", "source_mapping": {"start": 1765, "length": 45, "filename_relative": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_short": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "is_dependency": false, "lines": [46], "starting_column": 13, "ending_column": 58}, "type_specific_fields": {"parent": {"type": "function", "name": "initialize", "source_mapping": {"start": 1352, "length": 545, "filename_relative": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_short": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "is_dependency": false, "lines": [34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "InitializeGovernedUpgradeabilityProxy", "source_mapping": {"start": 450, "length": 6294, "filename_relative": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_short": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "is_dependency": false, "lines": [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196], "starting_column": 1, "ending_column": 2}}, "signature": "initialize(address,address,bytes)"}}}}], "description": "Low level call in InitializeGovernedUpgradeabilityProxy.initialize(address,address,bytes) (contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol#34-50):\n\t- (success) = _logic.delegatecall(_data) (contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol#46)\n", "markdown": "Low level call in [InitializeGovernedUpgradeabilityProxy.initialize(address,address,bytes)](contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol#L34-L50):\n\t- [(success) = _logic.delegatecall(_data)](contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol#L46)\n", "first_markdown_element": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol#L34-L50", "id": "6c5c3cf16cf2b84b5eb1ddd1ec60c27b5513ecedd039521383bf5b583573950a", "check": "low-level-calls", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "function", "name": "upgradeToAndCall", "source_mapping": {"start": 3091, "length": 269, "filename_relative": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_short": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "is_dependency": false, "lines": [84, 85, 86, 87, 88, 89, 90, 91, 92], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "InitializeGovernedUpgradeabilityProxy", "source_mapping": {"start": 450, "length": 6294, "filename_relative": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_short": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "is_dependency": false, "lines": [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196], "starting_column": 1, "ending_column": 2}}, "signature": "upgradeToAndCall(address,bytes)"}}, {"type": "node", "name": "(success) = newImplementation.delegatecall(data)", "source_mapping": {"start": 3272, "length": 55, "filename_relative": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_short": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "is_dependency": false, "lines": [90], "starting_column": 9, "ending_column": 64}, "type_specific_fields": {"parent": {"type": "function", "name": "upgradeToAndCall", "source_mapping": {"start": 3091, "length": 269, "filename_relative": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_short": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "is_dependency": false, "lines": [84, 85, 86, 87, 88, 89, 90, 91, 92], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "InitializeGovernedUpgradeabilityProxy", "source_mapping": {"start": 450, "length": 6294, "filename_relative": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "filename_short": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol", "is_dependency": false, "lines": [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196], "starting_column": 1, "ending_column": 2}}, "signature": "upgradeToAndCall(address,bytes)"}}}}], "description": "Low level call in InitializeGovernedUpgradeabilityProxy.upgradeToAndCall(address,bytes) (contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol#84-92):\n\t- (success) = newImplementation.delegatecall(data) (contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol#90)\n", "markdown": "Low level call in [InitializeGovernedUpgradeabilityProxy.upgradeToAndCall(address,bytes)](contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol#L84-L92):\n\t- [(success) = newImplementation.delegatecall(data)](contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol#L90)\n", "first_markdown_element": "contracts/proxies/InitializeGovernedUpgradeabilityProxy.sol#L84-L92", "id": "7f2660b6c4c8a8a08bd4c88bece7832ccd9c9463eef8e34dabd5f732b86d6d47", "check": "low-level-calls", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "function", "name": "ensureNotInVaultContext", "source_mapping": {"start": 2014, "length": 2926, "filename_relative": "contracts/strategies/balancer/VaultReentrancyLib.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/VaultReentrancyLib.sol", "filename_short": "contracts/strategies/balancer/VaultReentrancyLib.sol", "is_dependency": false, "lines": [37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultReentrancyLib", "source_mapping": {"start": 842, "length": 4100, "filename_relative": "contracts/strategies/balancer/VaultReentrancyLib.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/VaultReentrancyLib.sol", "filename_short": "contracts/strategies/balancer/VaultReentrancyLib.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84], "starting_column": 1, "ending_column": 2}}, "signature": "ensureNotInVaultContext(IBalancerVault)"}}, {"type": "node", "name": "(revertData) = address(vault).staticcall{gas: 10_000}(abi.encodeWithSelector(vault.manageUserBalance.selector,0))", "source_mapping": {"start": 4718, "length": 153, "filename_relative": "contracts/strategies/balancer/VaultReentrancyLib.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/VaultReentrancyLib.sol", "filename_short": "contracts/strategies/balancer/VaultReentrancyLib.sol", "is_dependency": false, "lines": [78, 79, 80], "starting_column": 9, "ending_column": 10}, "type_specific_fields": {"parent": {"type": "function", "name": "ensureNotInVaultContext", "source_mapping": {"start": 2014, "length": 2926, "filename_relative": "contracts/strategies/balancer/VaultReentrancyLib.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/VaultReentrancyLib.sol", "filename_short": "contracts/strategies/balancer/VaultReentrancyLib.sol", "is_dependency": false, "lines": [37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultReentrancyLib", "source_mapping": {"start": 842, "length": 4100, "filename_relative": "contracts/strategies/balancer/VaultReentrancyLib.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/VaultReentrancyLib.sol", "filename_short": "contracts/strategies/balancer/VaultReentrancyLib.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84], "starting_column": 1, "ending_column": 2}}, "signature": "ensureNotInVaultContext(IBalancerVault)"}}}}], "description": "Low level call in VaultReentrancyLib.ensureNotInVaultContext(IBalancerVault) (contracts/strategies/balancer/VaultReentrancyLib.sol#37-83):\n\t- (revertData) = address(vault).staticcall{gas: 10_000}(abi.encodeWithSelector(vault.manageUserBalance.selector,0)) (contracts/strategies/balancer/VaultReentrancyLib.sol#78-80)\n", "markdown": "Low level call in [VaultReentrancyLib.ensureNotInVaultContext(IBalancerVault)](contracts/strategies/balancer/VaultReentrancyLib.sol#L37-L83):\n\t- [(revertData) = address(vault).staticcall{gas: 10_000}(abi.encodeWithSelector(vault.manageUserBalance.selector,0))](contracts/strategies/balancer/VaultReentrancyLib.sol#L78-L80)\n", "first_markdown_element": "contracts/strategies/balancer/VaultReentrancyLib.sol#L37-L83", "id": "98316229491915cc66c956087ac79402c560c3f206de5f6cd847957cb34b9835", "check": "low-level-calls", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "function", "name": "executeTransaction", "source_mapping": {"start": 4611, "length": 1434, "filename_relative": "contracts/timelock/Timelock.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/timelock/Timelock.sol", "filename_short": "contracts/timelock/Timelock.sol", "is_dependency": false, "lines": [171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Timelock", "source_mapping": {"start": 298, "length": 6391, "filename_relative": "contracts/timelock/Timelock.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/timelock/Timelock.sol", "filename_short": "contracts/timelock/Timelock.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242], "starting_column": 1, "ending_column": 2}}, "signature": "executeTransaction(address,string,bytes,uint256)"}}, {"type": "node", "name": "(success,returnData) = target.call(callData)", "source_mapping": {"start": 5793, "length": 63, "filename_relative": "contracts/timelock/Timelock.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/timelock/Timelock.sol", "filename_short": "contracts/timelock/Timelock.sol", "is_dependency": false, "lines": [211], "starting_column": 9, "ending_column": 72}, "type_specific_fields": {"parent": {"type": "function", "name": "executeTransaction", "source_mapping": {"start": 4611, "length": 1434, "filename_relative": "contracts/timelock/Timelock.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/timelock/Timelock.sol", "filename_short": "contracts/timelock/Timelock.sol", "is_dependency": false, "lines": [171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Timelock", "source_mapping": {"start": 298, "length": 6391, "filename_relative": "contracts/timelock/Timelock.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/timelock/Timelock.sol", "filename_short": "contracts/timelock/Timelock.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242], "starting_column": 1, "ending_column": 2}}, "signature": "executeTransaction(address,string,bytes,uint256)"}}}}], "description": "Low level call in Timelock.executeTransaction(address,string,bytes,uint256) (contracts/timelock/Timelock.sol#171-220):\n\t- (success,returnData) = target.call(callData) (contracts/timelock/Timelock.sol#211)\n", "markdown": "Low level call in [Timelock.executeTransaction(address,string,bytes,uint256)](contracts/timelock/Timelock.sol#L171-L220):\n\t- [(success,returnData) = target.call(callData)](contracts/timelock/Timelock.sol#L211)\n", "first_markdown_element": "contracts/timelock/Timelock.sol#L171-L220", "id": "fc264625329d03fc92609ac851cf350acd7395286be85f37aa67182242c97b4c", "check": "low-level-calls", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "contract", "name": "Buyback", "source_mapping": {"start": 471, "length": 6795, "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224], "starting_column": 1, "ending_column": 2}}, {"type": "contract", "name": "IBuyback", "source_mapping": {"start": 57, "length": 52, "filename_relative": "contracts/interfaces/IBuyback.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/IBuyback.sol", "filename_short": "contracts/interfaces/IBuyback.sol", "is_dependency": false, "lines": [4, 5, 6], "starting_column": 1, "ending_column": 2}}], "description": "Buyback (contracts/buyback/Buyback.sol#12-224) should inherit from IBuyback (contracts/interfaces/IBuyback.sol#4-6)\n", "markdown": "[Buyback](contracts/buyback/Buyback.sol#L12-L224) should inherit from [IBuyback](contracts/interfaces/IBuyback.sol#L4-L6)\n", "first_markdown_element": "contracts/buyback/Buyback.sol#L12-L224", "id": "888f95b000b702e7d04774c76c9794a92c1e80600b6b7a97ce73c55bcee78fe5", "check": "missing-inheritance", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "contract", "name": "CompensationClaims", "source_mapping": {"start": 1527, "length": 3674, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164], "starting_column": 1, "ending_column": 2}}, {"type": "contract", "name": "IERC20Decimals", "source_mapping": {"start": 5203, "length": 83, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [166, 167, 168], "starting_column": 1, "ending_column": 2}}], "description": "CompensationClaims (contracts/compensation/CompensationClaims.sol#42-164) should inherit from IERC20Decimals (contracts/compensation/CompensationClaims.sol#166-168)\n", "markdown": "[CompensationClaims](contracts/compensation/CompensationClaims.sol#L42-L164) should inherit from [IERC20Decimals](contracts/compensation/CompensationClaims.sol#L166-L168)\n", "first_markdown_element": "contracts/compensation/CompensationClaims.sol#L42-L164", "id": "bb54307d75b10bfbf4bd0c5601ff99f3589c5042d9ed260e9d972572a851db43", "check": "missing-inheritance", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "amountADesired", "source_mapping": {"start": 448, "length": 22, "filename_relative": "contracts/interfaces/uniswap/IUniswapV2Router02.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/uniswap/IUniswapV2Router02.sol", "filename_short": "contracts/interfaces/uniswap/IUniswapV2Router02.sol", "is_dependency": false, "lines": [18], "starting_column": 9, "ending_column": 31}, "type_specific_fields": {"parent": {"type": "function", "name": "addLiquidity", "source_mapping": {"start": 369, "length": 375, "filename_relative": "contracts/interfaces/uniswap/IUniswapV2Router02.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/uniswap/IUniswapV2Router02.sol", "filename_short": "contracts/interfaces/uniswap/IUniswapV2Router02.sol", "is_dependency": false, "lines": [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], "starting_column": 5, "ending_column": 11}, "type_specific_fields": {"parent": {"type": "contract", "name": "IUniswapV2Router", "source_mapping": {"start": 57, "length": 689, "filename_relative": "contracts/interfaces/uniswap/IUniswapV2Router02.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/uniswap/IUniswapV2Router02.sol", "filename_short": "contracts/interfaces/uniswap/IUniswapV2Router02.sol", "is_dependency": false, "lines": [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31], "starting_column": 1, "ending_column": 2}}, "signature": "addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256)"}}}}, {"type": "variable", "name": "amountBDesired", "source_mapping": {"start": 480, "length": 22, "filename_relative": "contracts/interfaces/uniswap/IUniswapV2Router02.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/uniswap/IUniswapV2Router02.sol", "filename_short": "contracts/interfaces/uniswap/IUniswapV2Router02.sol", "is_dependency": false, "lines": [19], "starting_column": 9, "ending_column": 31}, "type_specific_fields": {"parent": {"type": "function", "name": "addLiquidity", "source_mapping": {"start": 369, "length": 375, "filename_relative": "contracts/interfaces/uniswap/IUniswapV2Router02.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/uniswap/IUniswapV2Router02.sol", "filename_short": "contracts/interfaces/uniswap/IUniswapV2Router02.sol", "is_dependency": false, "lines": [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], "starting_column": 5, "ending_column": 11}, "type_specific_fields": {"parent": {"type": "contract", "name": "IUniswapV2Router", "source_mapping": {"start": 57, "length": 689, "filename_relative": "contracts/interfaces/uniswap/IUniswapV2Router02.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/uniswap/IUniswapV2Router02.sol", "filename_short": "contracts/interfaces/uniswap/IUniswapV2Router02.sol", "is_dependency": false, "lines": [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31], "starting_column": 1, "ending_column": 2}}, "signature": "addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256)"}}}}], "description": "Variable IUniswapV2Router.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/interfaces/uniswap/IUniswapV2Router02.sol#18) is too similar to IUniswapV2Router.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/interfaces/uniswap/IUniswapV2Router02.sol#19)\n", "markdown": "Variable [IUniswapV2Router.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired](contracts/interfaces/uniswap/IUniswapV2Router02.sol#L18) is too similar to [IUniswapV2Router.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired](contracts/interfaces/uniswap/IUniswapV2Router02.sol#L19)\n", "first_markdown_element": "contracts/interfaces/uniswap/IUniswapV2Router02.sol#L18", "id": "ebfb97f25d979455759836fd8e6dfb5873e5f0066fe15708bfbea958a6c97d6c", "check": "similar-names", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "variable", "name": "_deprecated_oeth", "source_mapping": {"start": 1691, "length": 32, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [40], "starting_column": 5, "ending_column": 37}, "type_specific_fields": {"parent": {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}}}, {"type": "variable", "name": "_deprecated_weth", "source_mapping": {"start": 1779, "length": 32, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [42], "starting_column": 5, "ending_column": 37}, "type_specific_fields": {"parent": {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}}}], "description": "Variable ConvexEthMetaStrategy._deprecated_oeth (contracts/strategies/ConvexEthMetaStrategy.sol#40) is too similar to ConvexEthMetaStrategy._deprecated_weth (contracts/strategies/ConvexEthMetaStrategy.sol#42)\n", "markdown": "Variable [ConvexEthMetaStrategy._deprecated_oeth](contracts/strategies/ConvexEthMetaStrategy.sol#L40) is too similar to [ConvexEthMetaStrategy._deprecated_weth](contracts/strategies/ConvexEthMetaStrategy.sol#L42)\n", "first_markdown_element": "contracts/strategies/ConvexEthMetaStrategy.sol#L40", "id": "5b6051eceb5b7aaf0e9cc0f0842f0f90d06cf9f7a22bf02559f4e9e2f3357a34", "check": "similar-names", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "variable", "name": "_strategyAmount", "source_mapping": {"start": 6763, "length": 23, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [184], "starting_column": 9, "ending_column": 32}, "type_specific_fields": {"parent": {"type": "function", "name": "withdraw", "source_mapping": {"start": 6676, "length": 441, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "withdraw(address,address,uint256)"}}}}, {"type": "variable", "name": "strategyAmounts", "source_mapping": {"start": 6904, "length": 51, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [187], "starting_column": 9, "ending_column": 60}, "type_specific_fields": {"parent": {"type": "function", "name": "withdraw", "source_mapping": {"start": 6676, "length": 441, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "withdraw(address,address,uint256)"}}}}], "description": "Variable BalancerMetaPoolStrategy.withdraw(address,address,uint256)._strategyAmount (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#184) is too similar to BalancerMetaPoolStrategy.withdraw(address,address,uint256).strategyAmounts (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#187)\n", "markdown": "Variable [BalancerMetaPoolStrategy.withdraw(address,address,uint256)._strategyAmount](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L184) is too similar to [BalancerMetaPoolStrategy.withdraw(address,address,uint256).strategyAmounts](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L187)\n", "first_markdown_element": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L184", "id": "1aed6ded618c44ade473c821a6b9bf134ffc84045f4500d4abe47e6f4fa3b246", "check": "similar-names", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "variable", "name": "_strategyAsset", "source_mapping": {"start": 6731, "length": 22, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [183], "starting_column": 9, "ending_column": 31}, "type_specific_fields": {"parent": {"type": "function", "name": "withdraw", "source_mapping": {"start": 6676, "length": 441, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "withdraw(address,address,uint256)"}}}}, {"type": "variable", "name": "strategyAssets", "source_mapping": {"start": 6844, "length": 50, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [186], "starting_column": 9, "ending_column": 59}, "type_specific_fields": {"parent": {"type": "function", "name": "withdraw", "source_mapping": {"start": 6676, "length": 441, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "withdraw(address,address,uint256)"}}}}], "description": "Variable BalancerMetaPoolStrategy.withdraw(address,address,uint256)._strategyAsset (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#183) is too similar to BalancerMetaPoolStrategy.withdraw(address,address,uint256).strategyAssets (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#186)\n", "markdown": "Variable [BalancerMetaPoolStrategy.withdraw(address,address,uint256)._strategyAsset](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L183) is too similar to [BalancerMetaPoolStrategy.withdraw(address,address,uint256).strategyAssets](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L186)\n", "first_markdown_element": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L183", "id": "66361a04820f0b284c38b75c42ab3a0d624fca7ff422827061628fe33a32284a", "check": "similar-names", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "variable", "name": "_strategyAmount", "source_mapping": {"start": 6763, "length": 23, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [184], "starting_column": 9, "ending_column": 32}, "type_specific_fields": {"parent": {"type": "function", "name": "withdraw", "source_mapping": {"start": 6676, "length": 441, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "withdraw(address,address,uint256)"}}}}, {"type": "variable", "name": "strategyAmounts", "source_mapping": {"start": 2151, "length": 62, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [63], "starting_column": 9, "ending_column": 71}, "type_specific_fields": {"parent": {"type": "function", "name": "depositAll", "source_mapping": {"start": 1955, "length": 650, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "depositAll()"}}}}], "description": "Variable BalancerMetaPoolStrategy.withdraw(address,address,uint256)._strategyAmount (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#184) is too similar to BalancerMetaPoolStrategy.depositAll().strategyAmounts (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#63)\n", "markdown": "Variable [BalancerMetaPoolStrategy.withdraw(address,address,uint256)._strategyAmount](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L184) is too similar to [BalancerMetaPoolStrategy.depositAll().strategyAmounts](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L63)\n", "first_markdown_element": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L184", "id": "a7546e7a5e19fa58d409f225c94fc62708482c38af8128c515f32d6ba8df35fe", "check": "similar-names", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "variable", "name": "_strategyAsset", "source_mapping": {"start": 6731, "length": 22, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [183], "starting_column": 9, "ending_column": 31}, "type_specific_fields": {"parent": {"type": "function", "name": "withdraw", "source_mapping": {"start": 6676, "length": 441, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "withdraw(address,address,uint256)"}}}}, {"type": "variable", "name": "strategyAssets", "source_mapping": {"start": 2080, "length": 61, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [62], "starting_column": 9, "ending_column": 70}, "type_specific_fields": {"parent": {"type": "function", "name": "depositAll", "source_mapping": {"start": 1955, "length": 650, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BalancerMetaPoolStrategy", "source_mapping": {"start": 708, "length": 21715, "filename_relative": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "filename_short": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "depositAll()"}}}}], "description": "Variable BalancerMetaPoolStrategy.withdraw(address,address,uint256)._strategyAsset (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#183) is too similar to BalancerMetaPoolStrategy.depositAll().strategyAssets (contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#62)\n", "markdown": "Variable [BalancerMetaPoolStrategy.withdraw(address,address,uint256)._strategyAsset](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L183) is too similar to [BalancerMetaPoolStrategy.depositAll().strategyAssets](contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L62)\n", "first_markdown_element": "contracts/strategies/balancer/BalancerMetaPoolStrategy.sol#L183", "id": "8d413dbcd056feff7dc7e0cdab6461754f794759a0763231778a50085c6d7beb", "check": "similar-names", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "variable", "name": "_minToAssetAmount", "source_mapping": {"start": 2032, "length": 25, "filename_relative": "contracts/swapper/Swapper1InchV5.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/swapper/Swapper1InchV5.sol", "filename_short": "contracts/swapper/Swapper1InchV5.sol", "is_dependency": false, "lines": [44], "starting_column": 9, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "function", "name": "swap", "source_mapping": {"start": 1921, "length": 2324, "filename_relative": "contracts/swapper/Swapper1InchV5.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/swapper/Swapper1InchV5.sol", "filename_short": "contracts/swapper/Swapper1InchV5.sol", "is_dependency": false, "lines": [40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Swapper1InchV5", "source_mapping": {"start": 756, "length": 3993, "filename_relative": "contracts/swapper/Swapper1InchV5.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/swapper/Swapper1InchV5.sol", "filename_short": "contracts/swapper/Swapper1InchV5.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107], "starting_column": 1, "ending_column": 2}}, "signature": "swap(address,address,uint256,uint256,bytes)"}}}}, {"type": "variable", "name": "minToAssetAmmount", "source_mapping": {"start": 518, "length": 25, "filename_relative": "contracts/interfaces/ISwapper.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/ISwapper.sol", "filename_short": "contracts/interfaces/ISwapper.sol", "is_dependency": false, "lines": [15], "starting_column": 9, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "function", "name": "swap", "source_mapping": {"start": 410, "length": 210, "filename_relative": "contracts/interfaces/ISwapper.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/ISwapper.sol", "filename_short": "contracts/interfaces/ISwapper.sol", "is_dependency": false, "lines": [11, 12, 13, 14, 15, 16, 17], "starting_column": 5, "ending_column": 48}, "type_specific_fields": {"parent": {"type": "contract", "name": "ISwapper", "source_mapping": {"start": 25, "length": 597, "filename_relative": "contracts/interfaces/ISwapper.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/interfaces/ISwapper.sol", "filename_short": "contracts/interfaces/ISwapper.sol", "is_dependency": false, "lines": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "starting_column": 1, "ending_column": 2}}, "signature": "swap(address,address,uint256,uint256,bytes)"}}}}], "description": "Variable Swapper1InchV5.swap(address,address,uint256,uint256,bytes)._minToAssetAmount (contracts/swapper/Swapper1InchV5.sol#44) is too similar to ISwapper.swap(address,address,uint256,uint256,bytes).minToAssetAmmount (contracts/interfaces/ISwapper.sol#15)\n", "markdown": "Variable [Swapper1InchV5.swap(address,address,uint256,uint256,bytes)._minToAssetAmount](contracts/swapper/Swapper1InchV5.sol#L44) is too similar to [ISwapper.swap(address,address,uint256,uint256,bytes).minToAssetAmmount](contracts/interfaces/ISwapper.sol#L15)\n", "first_markdown_element": "contracts/swapper/Swapper1InchV5.sol#L44", "id": "eae2949d0e59530d2f242dae886ff3fea97e94f94d3823b068602062a05a241e", "check": "similar-names", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "variable", "name": "MAX_SWAP_FEE_PERCENTAGE", "source_mapping": {"start": 6203, "length": 55, "filename_relative": "contracts/utils/BalancerErrors.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/BalancerErrors.sol", "filename_short": "contracts/utils/BalancerErrors.sol", "is_dependency": false, "lines": [143], "starting_column": 5, "ending_column": 60}, "type_specific_fields": {"parent": {"type": "contract", "name": "Errors", "source_mapping": {"start": 5220, "length": 10023, "filename_relative": "contracts/utils/BalancerErrors.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/BalancerErrors.sol", "filename_short": "contracts/utils/BalancerErrors.sol", "is_dependency": false, "lines": [119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305], "starting_column": 1, "ending_column": 2}}}}, {"type": "variable", "name": "MIN_SWAP_FEE_PERCENTAGE", "source_mapping": {"start": 6264, "length": 55, "filename_relative": "contracts/utils/BalancerErrors.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/BalancerErrors.sol", "filename_short": "contracts/utils/BalancerErrors.sol", "is_dependency": false, "lines": [144], "starting_column": 5, "ending_column": 60}, "type_specific_fields": {"parent": {"type": "contract", "name": "Errors", "source_mapping": {"start": 5220, "length": 10023, "filename_relative": "contracts/utils/BalancerErrors.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/BalancerErrors.sol", "filename_short": "contracts/utils/BalancerErrors.sol", "is_dependency": false, "lines": [119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305], "starting_column": 1, "ending_column": 2}}}}], "description": "Variable Errors.MAX_SWAP_FEE_PERCENTAGE (contracts/utils/BalancerErrors.sol#143) is too similar to Errors.MIN_SWAP_FEE_PERCENTAGE (contracts/utils/BalancerErrors.sol#144)\n", "markdown": "Variable [Errors.MAX_SWAP_FEE_PERCENTAGE](contracts/utils/BalancerErrors.sol#L143) is too similar to [Errors.MIN_SWAP_FEE_PERCENTAGE](contracts/utils/BalancerErrors.sol#L144)\n", "first_markdown_element": "contracts/utils/BalancerErrors.sol#L143", "id": "1945ab1040eae7c5129c9ca51251cc5945d27f9feeef4fe3fa3ba6ace5018424", "check": "similar-names", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "variable", "name": "SAFE_CAST_VALUE_CANT_FIT_INT256", "source_mapping": {"start": 11645, "length": 63, "filename_relative": "contracts/utils/BalancerErrors.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/BalancerErrors.sol", "filename_short": "contracts/utils/BalancerErrors.sol", "is_dependency": false, "lines": [237], "starting_column": 5, "ending_column": 68}, "type_specific_fields": {"parent": {"type": "contract", "name": "Errors", "source_mapping": {"start": 5220, "length": 10023, "filename_relative": "contracts/utils/BalancerErrors.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/BalancerErrors.sol", "filename_short": "contracts/utils/BalancerErrors.sol", "is_dependency": false, "lines": [119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305], "starting_column": 1, "ending_column": 2}}}}, {"type": "variable", "name": "SAFE_CAST_VALUE_CANT_FIT_UINT64", "source_mapping": {"start": 12870, "length": 63, "filename_relative": "contracts/utils/BalancerErrors.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/BalancerErrors.sol", "filename_short": "contracts/utils/BalancerErrors.sol", "is_dependency": false, "lines": [258], "starting_column": 5, "ending_column": 68}, "type_specific_fields": {"parent": {"type": "contract", "name": "Errors", "source_mapping": {"start": 5220, "length": 10023, "filename_relative": "contracts/utils/BalancerErrors.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/BalancerErrors.sol", "filename_short": "contracts/utils/BalancerErrors.sol", "is_dependency": false, "lines": [119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305], "starting_column": 1, "ending_column": 2}}}}], "description": "Variable Errors.SAFE_CAST_VALUE_CANT_FIT_INT256 (contracts/utils/BalancerErrors.sol#237) is too similar to Errors.SAFE_CAST_VALUE_CANT_FIT_UINT64 (contracts/utils/BalancerErrors.sol#258)\n", "markdown": "Variable [Errors.SAFE_CAST_VALUE_CANT_FIT_INT256](contracts/utils/BalancerErrors.sol#L237) is too similar to [Errors.SAFE_CAST_VALUE_CANT_FIT_UINT64](contracts/utils/BalancerErrors.sol#L258)\n", "first_markdown_element": "contracts/utils/BalancerErrors.sol#L237", "id": "88ac8f4e5576fb97b495077a9436555edd1c567779549108bc61db44fa8fbc76", "check": "similar-names", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "variable", "name": "X_OUT_OF_BOUNDS", "source_mapping": {"start": 5543, "length": 45, "filename_relative": "contracts/utils/BalancerErrors.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/BalancerErrors.sol", "filename_short": "contracts/utils/BalancerErrors.sol", "is_dependency": false, "lines": [127], "starting_column": 5, "ending_column": 50}, "type_specific_fields": {"parent": {"type": "contract", "name": "Errors", "source_mapping": {"start": 5220, "length": 10023, "filename_relative": "contracts/utils/BalancerErrors.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/BalancerErrors.sol", "filename_short": "contracts/utils/BalancerErrors.sol", "is_dependency": false, "lines": [119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305], "starting_column": 1, "ending_column": 2}}}}, {"type": "variable", "name": "Y_OUT_OF_BOUNDS", "source_mapping": {"start": 5594, "length": 45, "filename_relative": "contracts/utils/BalancerErrors.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/BalancerErrors.sol", "filename_short": "contracts/utils/BalancerErrors.sol", "is_dependency": false, "lines": [128], "starting_column": 5, "ending_column": 50}, "type_specific_fields": {"parent": {"type": "contract", "name": "Errors", "source_mapping": {"start": 5220, "length": 10023, "filename_relative": "contracts/utils/BalancerErrors.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/utils/BalancerErrors.sol", "filename_short": "contracts/utils/BalancerErrors.sol", "is_dependency": false, "lines": [119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305], "starting_column": 1, "ending_column": 2}}}}], "description": "Variable Errors.X_OUT_OF_BOUNDS (contracts/utils/BalancerErrors.sol#127) is too similar to Errors.Y_OUT_OF_BOUNDS (contracts/utils/BalancerErrors.sol#128)\n", "markdown": "Variable [Errors.X_OUT_OF_BOUNDS](contracts/utils/BalancerErrors.sol#L127) is too similar to [Errors.Y_OUT_OF_BOUNDS](contracts/utils/BalancerErrors.sol#L128)\n", "first_markdown_element": "contracts/utils/BalancerErrors.sol#L127", "id": "f712601ceb4ec174a5c45eca90ac3878faf40c5dc35b8bac76ab1386bc61f748", "check": "similar-names", "impact": "Informational", "confidence": "Medium"}, {"elements": [{"type": "variable", "name": "_deprecated_cvxDepositorAddress", "source_mapping": {"start": 1201, "length": 47, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [30], "starting_column": 5, "ending_column": 52}, "type_specific_fields": {"parent": {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}], "description": "ConvexEthMetaStrategy._deprecated_cvxDepositorAddress (contracts/strategies/ConvexEthMetaStrategy.sol#30) is never used in ConvexEthMetaStrategy (contracts/strategies/ConvexEthMetaStrategy.sol#20-622)\n", "markdown": "[ConvexEthMetaStrategy._deprecated_cvxDepositorAddress](contracts/strategies/ConvexEthMetaStrategy.sol#L30) is never used in [ConvexEthMetaStrategy](contracts/strategies/ConvexEthMetaStrategy.sol#L20-L622)\n", "first_markdown_element": "contracts/strategies/ConvexEthMetaStrategy.sol#L30", "id": "0327ed03b6138255e7d3ed2dec91360718b9225fdec894e5e2565e2b9dedbd97", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_deprecated_cvxRewardStaker", "source_mapping": {"start": 1304, "length": 43, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [32], "starting_column": 5, "ending_column": 48}, "type_specific_fields": {"parent": {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}], "description": "ConvexEthMetaStrategy._deprecated_cvxRewardStaker (contracts/strategies/ConvexEthMetaStrategy.sol#32) is never used in ConvexEthMetaStrategy (contracts/strategies/ConvexEthMetaStrategy.sol#20-622)\n", "markdown": "[ConvexEthMetaStrategy._deprecated_cvxRewardStaker](contracts/strategies/ConvexEthMetaStrategy.sol#L32) is never used in [ConvexEthMetaStrategy](contracts/strategies/ConvexEthMetaStrategy.sol#L20-L622)\n", "first_markdown_element": "contracts/strategies/ConvexEthMetaStrategy.sol#L32", "id": "30cc5ee3de309a7891c1e195b89e0be4c974dabc6853688a419fd61fe368b561", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_deprecated_cvxDepositorPTokenId", "source_mapping": {"start": 1403, "length": 48, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [34], "starting_column": 5, "ending_column": 53}, "type_specific_fields": {"parent": {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}], "description": "ConvexEthMetaStrategy._deprecated_cvxDepositorPTokenId (contracts/strategies/ConvexEthMetaStrategy.sol#34) is never used in ConvexEthMetaStrategy (contracts/strategies/ConvexEthMetaStrategy.sol#20-622)\n", "markdown": "[ConvexEthMetaStrategy._deprecated_cvxDepositorPTokenId](contracts/strategies/ConvexEthMetaStrategy.sol#L34) is never used in [ConvexEthMetaStrategy](contracts/strategies/ConvexEthMetaStrategy.sol#L20-L622)\n", "first_markdown_element": "contracts/strategies/ConvexEthMetaStrategy.sol#L34", "id": "0c159fca431d4d02642f66812fd31a3a4f1ca96f1d99b70af66c53e29b40adb6", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_deprecated_curvePool", "source_mapping": {"start": 1507, "length": 37, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [36], "starting_column": 5, "ending_column": 42}, "type_specific_fields": {"parent": {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}], "description": "ConvexEthMetaStrategy._deprecated_curvePool (contracts/strategies/ConvexEthMetaStrategy.sol#36) is never used in ConvexEthMetaStrategy (contracts/strategies/ConvexEthMetaStrategy.sol#20-622)\n", "markdown": "[ConvexEthMetaStrategy._deprecated_curvePool](contracts/strategies/ConvexEthMetaStrategy.sol#L36) is never used in [ConvexEthMetaStrategy](contracts/strategies/ConvexEthMetaStrategy.sol#L20-L622)\n", "first_markdown_element": "contracts/strategies/ConvexEthMetaStrategy.sol#L36", "id": "a3c3fabcdade68568928e21ca48dbc4d59ea977485e567e43b5d5eed1a7dc704", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_deprecated_lpToken", "source_mapping": {"start": 1600, "length": 35, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [38], "starting_column": 5, "ending_column": 40}, "type_specific_fields": {"parent": {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}], "description": "ConvexEthMetaStrategy._deprecated_lpToken (contracts/strategies/ConvexEthMetaStrategy.sol#38) is never used in ConvexEthMetaStrategy (contracts/strategies/ConvexEthMetaStrategy.sol#20-622)\n", "markdown": "[ConvexEthMetaStrategy._deprecated_lpToken](contracts/strategies/ConvexEthMetaStrategy.sol#L38) is never used in [ConvexEthMetaStrategy](contracts/strategies/ConvexEthMetaStrategy.sol#L20-L622)\n", "first_markdown_element": "contracts/strategies/ConvexEthMetaStrategy.sol#L38", "id": "39e2a5642a5a27d124c6d45161ab1443b9dd5cd4895ed05e9e4802b61e11ea7d", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_deprecated_oeth", "source_mapping": {"start": 1691, "length": 32, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [40], "starting_column": 5, "ending_column": 37}, "type_specific_fields": {"parent": {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}], "description": "ConvexEthMetaStrategy._deprecated_oeth (contracts/strategies/ConvexEthMetaStrategy.sol#40) is never used in ConvexEthMetaStrategy (contracts/strategies/ConvexEthMetaStrategy.sol#20-622)\n", "markdown": "[ConvexEthMetaStrategy._deprecated_oeth](contracts/strategies/ConvexEthMetaStrategy.sol#L40) is never used in [ConvexEthMetaStrategy](contracts/strategies/ConvexEthMetaStrategy.sol#L20-L622)\n", "first_markdown_element": "contracts/strategies/ConvexEthMetaStrategy.sol#L40", "id": "946c8098661a7ea28eaebc3ab1f95fc3943e3cb7ae3fb7136c2aec3a2d8122b6", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_deprecated_weth", "source_mapping": {"start": 1779, "length": 32, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [42], "starting_column": 5, "ending_column": 37}, "type_specific_fields": {"parent": {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}], "description": "ConvexEthMetaStrategy._deprecated_weth (contracts/strategies/ConvexEthMetaStrategy.sol#42) is never used in ConvexEthMetaStrategy (contracts/strategies/ConvexEthMetaStrategy.sol#20-622)\n", "markdown": "[ConvexEthMetaStrategy._deprecated_weth](contracts/strategies/ConvexEthMetaStrategy.sol#L42) is never used in [ConvexEthMetaStrategy](contracts/strategies/ConvexEthMetaStrategy.sol#L20-L622)\n", "first_markdown_element": "contracts/strategies/ConvexEthMetaStrategy.sol#L42", "id": "40728e6263aa0c4e1c42152dbe790c492f8d3f371e7899ae56f366d06cff33c7", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_deprecated_oethCoinIndex", "source_mapping": {"start": 1903, "length": 41, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [46], "starting_column": 5, "ending_column": 46}, "type_specific_fields": {"parent": {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}], "description": "ConvexEthMetaStrategy._deprecated_oethCoinIndex (contracts/strategies/ConvexEthMetaStrategy.sol#46) is never used in ConvexEthMetaStrategy (contracts/strategies/ConvexEthMetaStrategy.sol#20-622)\n", "markdown": "[ConvexEthMetaStrategy._deprecated_oethCoinIndex](contracts/strategies/ConvexEthMetaStrategy.sol#L46) is never used in [ConvexEthMetaStrategy](contracts/strategies/ConvexEthMetaStrategy.sol#L20-L622)\n", "first_markdown_element": "contracts/strategies/ConvexEthMetaStrategy.sol#L46", "id": "c73b3d49a3ad1c2a19c81105bed96c8756ef324b24a165b13b1dfe5c2ca4917d", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_deprecated_ethCoinIndex", "source_mapping": {"start": 2000, "length": 40, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [48], "starting_column": 5, "ending_column": 45}, "type_specific_fields": {"parent": {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "ConvexEthMetaStrategy", "source_mapping": {"start": 769, "length": 22879, "filename_relative": "contracts/strategies/ConvexEthMetaStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexEthMetaStrategy.sol", "filename_short": "contracts/strategies/ConvexEthMetaStrategy.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622], "starting_column": 1, "ending_column": 2}}], "description": "ConvexEthMetaStrategy._deprecated_ethCoinIndex (contracts/strategies/ConvexEthMetaStrategy.sol#48) is never used in ConvexEthMetaStrategy (contracts/strategies/ConvexEthMetaStrategy.sol#20-622)\n", "markdown": "[ConvexEthMetaStrategy._deprecated_ethCoinIndex](contracts/strategies/ConvexEthMetaStrategy.sol#L48) is never used in [ConvexEthMetaStrategy](contracts/strategies/ConvexEthMetaStrategy.sol#L20-L622)\n", "first_markdown_element": "contracts/strategies/ConvexEthMetaStrategy.sol#L48", "id": "116e62b88711a6bb923cb4eef4fbea98c9c7ddd45bc201a6f569d6f9b150fe60", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "THREEPOOL_ASSET_COUNT", "source_mapping": {"start": 814, "length": 51, "filename_relative": "contracts/strategies/BaseCurveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/BaseCurveStrategy.sol", "filename_short": "contracts/strategies/BaseCurveStrategy.sol", "is_dependency": false, "lines": [22], "starting_column": 5, "ending_column": 56}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseCurveStrategy", "source_mapping": {"start": 536, "length": 11069, "filename_relative": "contracts/strategies/BaseCurveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/BaseCurveStrategy.sol", "filename_short": "contracts/strategies/BaseCurveStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "ConvexStrategy", "source_mapping": {"start": 918, "length": 5358, "filename_relative": "contracts/strategies/ConvexStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexStrategy.sol", "filename_short": "contracts/strategies/ConvexStrategy.sol", "is_dependency": false, "lines": [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165], "starting_column": 1, "ending_column": 2}}], "description": "BaseCurveStrategy.THREEPOOL_ASSET_COUNT (contracts/strategies/BaseCurveStrategy.sol#22) is never used in ConvexStrategy (contracts/strategies/ConvexStrategy.sol#25-165)\n", "markdown": "[BaseCurveStrategy.THREEPOOL_ASSET_COUNT](contracts/strategies/BaseCurveStrategy.sol#L22) is never used in [ConvexStrategy](contracts/strategies/ConvexStrategy.sol#L25-L165)\n", "first_markdown_element": "contracts/strategies/BaseCurveStrategy.sol#L22", "id": "6c2bd4b15055d852aa12dfd95a8d1740df4b29e0b198ce384c4d685dbc2205d4", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_deprecated_cvxRewardTokenAddress", "source_mapping": {"start": 1173, "length": 49, "filename_relative": "contracts/strategies/ConvexStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexStrategy.sol", "filename_short": "contracts/strategies/ConvexStrategy.sol", "is_dependency": false, "lines": [32], "starting_column": 5, "ending_column": 54}, "type_specific_fields": {"parent": {"type": "contract", "name": "ConvexStrategy", "source_mapping": {"start": 918, "length": 5358, "filename_relative": "contracts/strategies/ConvexStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexStrategy.sol", "filename_short": "contracts/strategies/ConvexStrategy.sol", "is_dependency": false, "lines": [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "ConvexStrategy", "source_mapping": {"start": 918, "length": 5358, "filename_relative": "contracts/strategies/ConvexStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ConvexStrategy.sol", "filename_short": "contracts/strategies/ConvexStrategy.sol", "is_dependency": false, "lines": [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165], "starting_column": 1, "ending_column": 2}}], "description": "ConvexStrategy._deprecated_cvxRewardTokenAddress (contracts/strategies/ConvexStrategy.sol#32) is never used in ConvexStrategy (contracts/strategies/ConvexStrategy.sol#25-165)\n", "markdown": "[ConvexStrategy._deprecated_cvxRewardTokenAddress](contracts/strategies/ConvexStrategy.sol#L32) is never used in [ConvexStrategy](contracts/strategies/ConvexStrategy.sol#L25-L165)\n", "first_markdown_element": "contracts/strategies/ConvexStrategy.sol#L32", "id": "583ffe934d527c68c0da4bbaa6770a227f6b95cf94f97d7d26275d10736106c2", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "THREEPOOL_ASSET_COUNT", "source_mapping": {"start": 814, "length": 51, "filename_relative": "contracts/strategies/BaseCurveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/BaseCurveStrategy.sol", "filename_short": "contracts/strategies/BaseCurveStrategy.sol", "is_dependency": false, "lines": [22], "starting_column": 5, "ending_column": 56}, "type_specific_fields": {"parent": {"type": "contract", "name": "BaseCurveStrategy", "source_mapping": {"start": 536, "length": 11069, "filename_relative": "contracts/strategies/BaseCurveStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/BaseCurveStrategy.sol", "filename_short": "contracts/strategies/BaseCurveStrategy.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "ThreePoolStrategy", "source_mapping": {"start": 907, "length": 4607, "filename_relative": "contracts/strategies/ThreePoolStrategy.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/strategies/ThreePoolStrategy.sol", "filename_short": "contracts/strategies/ThreePoolStrategy.sol", "is_dependency": false, "lines": [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147], "starting_column": 1, "ending_column": 2}}], "description": "BaseCurveStrategy.THREEPOOL_ASSET_COUNT (contracts/strategies/BaseCurveStrategy.sol#22) is never used in ThreePoolStrategy (contracts/strategies/ThreePoolStrategy.sol#25-147)\n", "markdown": "[BaseCurveStrategy.THREEPOOL_ASSET_COUNT](contracts/strategies/BaseCurveStrategy.sol#L22) is never used in [ThreePoolStrategy](contracts/strategies/ThreePoolStrategy.sol#L25-L147)\n", "first_markdown_element": "contracts/strategies/BaseCurveStrategy.sol#L22", "id": "8fcb03501694d5d1c66767faeed19b98cf845ca0db7f3b4272ddf86d1285c47d", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "MINT_MINIMUM_UNIT_PRICE", "source_mapping": {"start": 5582, "length": 51, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [138], "starting_column": 5, "ending_column": 56}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "OETHVault", "source_mapping": {"start": 164, "length": 32, "filename_relative": "contracts/vault/OETHVault.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/OETHVault.sol", "filename_short": "contracts/vault/OETHVault.sol", "is_dependency": false, "lines": [10, 11, 12], "starting_column": 1, "ending_column": 2}}], "description": "VaultStorage.MINT_MINIMUM_UNIT_PRICE (contracts/vault/VaultStorage.sol#138) is never used in OETHVault (contracts/vault/OETHVault.sol#10-12)\n", "markdown": "[VaultStorage.MINT_MINIMUM_UNIT_PRICE](contracts/vault/VaultStorage.sol#L138) is never used in [OETHVault](contracts/vault/OETHVault.sol#L10-L12)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L138", "id": "149a5dd32dc4281e6676bc6235d5b98438630b9dd44b947183da6f2539763ef9", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "MIN_UNIT_PRICE_DRIFT", "source_mapping": {"start": 6052, "length": 46, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [149], "starting_column": 5, "ending_column": 51}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "OETHVault", "source_mapping": {"start": 164, "length": 32, "filename_relative": "contracts/vault/OETHVault.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/OETHVault.sol", "filename_short": "contracts/vault/OETHVault.sol", "is_dependency": false, "lines": [10, 11, 12], "starting_column": 1, "ending_column": 2}}], "description": "VaultStorage.MIN_UNIT_PRICE_DRIFT (contracts/vault/VaultStorage.sol#149) is never used in OETHVault (contracts/vault/OETHVault.sol#10-12)\n", "markdown": "[VaultStorage.MIN_UNIT_PRICE_DRIFT](contracts/vault/VaultStorage.sol#L149) is never used in [OETHVault](contracts/vault/OETHVault.sol#L10-L12)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L149", "id": "7f19bc3e2fb9a9561aee099dc073232975619a6c5032b3a61c1645bf58315f67", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "MAX_UNIT_PRICE_DRIFT", "source_mapping": {"start": 6104, "length": 46, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [150], "starting_column": 5, "ending_column": 51}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "OETHVault", "source_mapping": {"start": 164, "length": 32, "filename_relative": "contracts/vault/OETHVault.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/OETHVault.sol", "filename_short": "contracts/vault/OETHVault.sol", "is_dependency": false, "lines": [10, 11, 12], "starting_column": 1, "ending_column": 2}}], "description": "VaultStorage.MAX_UNIT_PRICE_DRIFT (contracts/vault/VaultStorage.sol#150) is never used in OETHVault (contracts/vault/OETHVault.sol#10-12)\n", "markdown": "[VaultStorage.MAX_UNIT_PRICE_DRIFT](contracts/vault/VaultStorage.sol#L150) is never used in [OETHVault](contracts/vault/OETHVault.sol#L10-L12)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L150", "id": "e5390a7816c93ca32a85f9b57349d42579c55c04a3a4ef2b4769d2575a1905bb", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "MINT_MINIMUM_UNIT_PRICE", "source_mapping": {"start": 5582, "length": 51, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [138], "starting_column": 5, "ending_column": 56}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "OETHVaultAdmin", "source_mapping": {"start": 179, "length": 42, "filename_relative": "contracts/vault/OETHVaultAdmin.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/OETHVaultAdmin.sol", "filename_short": "contracts/vault/OETHVaultAdmin.sol", "is_dependency": false, "lines": [10, 11, 12], "starting_column": 1, "ending_column": 2}}], "description": "VaultStorage.MINT_MINIMUM_UNIT_PRICE (contracts/vault/VaultStorage.sol#138) is never used in OETHVaultAdmin (contracts/vault/OETHVaultAdmin.sol#10-12)\n", "markdown": "[VaultStorage.MINT_MINIMUM_UNIT_PRICE](contracts/vault/VaultStorage.sol#L138) is never used in [OETHVaultAdmin](contracts/vault/OETHVaultAdmin.sol#L10-L12)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L138", "id": "bbab6f2a0b738f60095768009071f55614b28ba6b6e5e6a71f67f94ee08c8e4d", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "MIN_UNIT_PRICE_DRIFT", "source_mapping": {"start": 6052, "length": 46, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [149], "starting_column": 5, "ending_column": 51}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "OETHVaultAdmin", "source_mapping": {"start": 179, "length": 42, "filename_relative": "contracts/vault/OETHVaultAdmin.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/OETHVaultAdmin.sol", "filename_short": "contracts/vault/OETHVaultAdmin.sol", "is_dependency": false, "lines": [10, 11, 12], "starting_column": 1, "ending_column": 2}}], "description": "VaultStorage.MIN_UNIT_PRICE_DRIFT (contracts/vault/VaultStorage.sol#149) is never used in OETHVaultAdmin (contracts/vault/OETHVaultAdmin.sol#10-12)\n", "markdown": "[VaultStorage.MIN_UNIT_PRICE_DRIFT](contracts/vault/VaultStorage.sol#L149) is never used in [OETHVaultAdmin](contracts/vault/OETHVaultAdmin.sol#L10-L12)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L149", "id": "94393d439aab1bc281bb45a54cf564b95035d6a7bd2911a0c2ab82805660cbdc", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "MAX_UNIT_PRICE_DRIFT", "source_mapping": {"start": 6104, "length": 46, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [150], "starting_column": 5, "ending_column": 51}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "OETHVaultAdmin", "source_mapping": {"start": 179, "length": 42, "filename_relative": "contracts/vault/OETHVaultAdmin.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/OETHVaultAdmin.sol", "filename_short": "contracts/vault/OETHVaultAdmin.sol", "is_dependency": false, "lines": [10, 11, 12], "starting_column": 1, "ending_column": 2}}], "description": "VaultStorage.MAX_UNIT_PRICE_DRIFT (contracts/vault/VaultStorage.sol#150) is never used in OETHVaultAdmin (contracts/vault/OETHVaultAdmin.sol#10-12)\n", "markdown": "[VaultStorage.MAX_UNIT_PRICE_DRIFT](contracts/vault/VaultStorage.sol#L150) is never used in [OETHVaultAdmin](contracts/vault/OETHVaultAdmin.sol#L10-L12)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L150", "id": "0c56f807a05d376afb6eb2e3300f124c71164a80c1bb85eb40f65da6f9f8a1d2", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "strategies", "source_mapping": {"start": 3271, "length": 48, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [83], "starting_column": 5, "ending_column": 53}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "OETHVaultCore", "source_mapping": {"start": 176, "length": 40, "filename_relative": "contracts/vault/OETHVaultCore.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/OETHVaultCore.sol", "filename_short": "contracts/vault/OETHVaultCore.sol", "is_dependency": false, "lines": [10, 11, 12], "starting_column": 1, "ending_column": 2}}], "description": "VaultStorage.strategies (contracts/vault/VaultStorage.sol#83) is never used in OETHVaultCore (contracts/vault/OETHVaultCore.sol#10-12)\n", "markdown": "[VaultStorage.strategies](contracts/vault/VaultStorage.sol#L83) is never used in [OETHVaultCore](contracts/vault/OETHVaultCore.sol#L10-L12)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L83", "id": "e1cb59e398429820cba9c8fa98f9b6f9bb5766b0248f0efc2355d8a1028187de", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "swapConfig", "source_mapping": {"start": 6552, "length": 58, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [161], "starting_column": 5, "ending_column": 63}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "OETHVaultCore", "source_mapping": {"start": 176, "length": 40, "filename_relative": "contracts/vault/OETHVaultCore.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/OETHVaultCore.sol", "filename_short": "contracts/vault/OETHVaultCore.sol", "is_dependency": false, "lines": [10, 11, 12], "starting_column": 1, "ending_column": 2}}], "description": "VaultStorage.swapConfig (contracts/vault/VaultStorage.sol#161) is never used in OETHVaultCore (contracts/vault/OETHVaultCore.sol#10-12)\n", "markdown": "[VaultStorage.swapConfig](contracts/vault/VaultStorage.sol#L161) is never used in [OETHVaultCore](contracts/vault/OETHVaultCore.sol#L10-L12)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L161", "id": "2f693fe1c1b55189b244c3d2836962822084ed42ba961b3b1a724748878d58d8", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [{"type": "variable", "name": "MAX_UINT", "source_mapping": {"start": 998, "length": 111, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [28, 29], "starting_column": 5, "ending_column": 75}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 788, "length": 27831, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729, 730, 731, 732, 733, 734, 735, 736, 737, 738, 739, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 750, 751, 752, 753, 754, 755, 756, 757, 758, 759, 760, 761, 762, 763, 764, 765, 766, 767, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, 778, 779, 780, 781, 782, 783, 784, 785, 786, 787, 788, 789, 790, 791, 792, 793, 794, 795, 796, 797, 798, 799, 800, 801, 802, 803], "starting_column": 1, "ending_column": 2}}}}, {"type": "contract", "name": "OETHVaultCore", "source_mapping": {"start": 176, "length": 40, "filename_relative": "contracts/vault/OETHVaultCore.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/OETHVaultCore.sol", "filename_short": "contracts/vault/OETHVaultCore.sol", "is_dependency": false, "lines": [10, 11, 12], "starting_column": 1, "ending_column": 2}}], "description": "VaultCore.MAX_UINT (contracts/vault/VaultCore.sol#28-29) is never used in OETHVaultCore (contracts/vault/OETHVaultCore.sol#10-12)\n", "markdown": "[VaultCore.MAX_UINT](contracts/vault/VaultCore.sol#L28-L29) is never used in [OETHVaultCore](contracts/vault/OETHVaultCore.sol#L10-L12)\n", "first_markdown_element": "contracts/vault/VaultCore.sol#L28-L29", "id": "95344e00c1decfbff4303679bb74ce8912b6e6ff165ec7001fd0c3e38aa363c5", "check": "unused-state", "impact": "Informational", "confidence": "High"}, {"elements": [], "description": "Loop condition `i < durations.length` (contracts/staking/SingleAssetStaking.sol#136) should use cached array length instead of referencing `length` member of the storage array.\n ", "markdown": "Loop condition `i < durations.length` (contracts/staking/SingleAssetStaking.sol#136) should use cached array length instead of referencing `length` member of the storage array.\n ", "first_markdown_element": "", "id": "7834824c1cc045ca55ed538b20a5b1d54aa02ad5c6b8b0f8d532f4f64b866017", "check": "cache-array-length", "impact": "Optimization", "confidence": "High"}, {"elements": [], "description": "Loop condition `i < assetsMapped.length` (contracts/strategies/MorphoCompoundStrategy.sol#108) should use cached array length instead of referencing `length` member of the storage array.\n ", "markdown": "Loop condition `i < assetsMapped.length` (contracts/strategies/MorphoCompoundStrategy.sol#108) should use cached array length instead of referencing `length` member of the storage array.\n ", "first_markdown_element": "", "id": "df0279ca5188021414afb9690dcb7a7412b2bbe0fd00a66b25dae68ab562441c", "check": "cache-array-length", "impact": "Optimization", "confidence": "High"}, {"elements": [], "description": "Loop condition `i < assetsMapped.length` (contracts/strategies/MorphoCompoundStrategy.sol#134) should use cached array length instead of referencing `length` member of the storage array.\n ", "markdown": "Loop condition `i < assetsMapped.length` (contracts/strategies/MorphoCompoundStrategy.sol#134) should use cached array length instead of referencing `length` member of the storage array.\n ", "first_markdown_element": "", "id": "e9c46c47b40bf46f415e79c57b6a041e06ef1d603c2581d05607e3f18c833d63", "check": "cache-array-length", "impact": "Optimization", "confidence": "High"}, {"elements": [], "description": "Loop condition `i < assetsMapped.length` (contracts/strategies/BaseCurveStrategy.sol#71) should use cached array length instead of referencing `length` member of the storage array.\n ", "markdown": "Loop condition `i < assetsMapped.length` (contracts/strategies/BaseCurveStrategy.sol#71) should use cached array length instead of referencing `length` member of the storage array.\n ", "first_markdown_element": "", "id": "87dae9f2e8793b2c6216035d1184808cefbc03b8b7770cd5fdcab32f5c88930e", "check": "cache-array-length", "impact": "Optimization", "confidence": "High"}, {"elements": [], "description": "Loop condition `i < assetsMapped.length` (contracts/strategies/AaveStrategy.sol#278) should use cached array length instead of referencing `length` member of the storage array.\n ", "markdown": "Loop condition `i < assetsMapped.length` (contracts/strategies/AaveStrategy.sol#278) should use cached array length instead of referencing `length` member of the storage array.\n ", "first_markdown_element": "", "id": "2a56e903b91517926f149ebe2a16a1f78062b796410716df17fd43d2200685a6", "check": "cache-array-length", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "maxSupplyDiff", "source_mapping": {"start": 5213, "length": 28, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [127], "starting_column": 5, "ending_column": 33}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}], "description": "VaultStorage.maxSupplyDiff (contracts/vault/VaultStorage.sol#127) should be constant \n", "markdown": "[VaultStorage.maxSupplyDiff](contracts/vault/VaultStorage.sol#L127) should be constant \n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L127", "id": "09fd4446efe571b7801efb7877d22557574ea45e2982bf4d5366e0bdf1142249", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "netOusdMintForStrategyThreshold", "source_mapping": {"start": 5995, "length": 50, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [147], "starting_column": 5, "ending_column": 55}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}], "description": "VaultStorage.netOusdMintForStrategyThreshold (contracts/vault/VaultStorage.sol#147) should be constant \n", "markdown": "[VaultStorage.netOusdMintForStrategyThreshold](contracts/vault/VaultStorage.sol#L147) should be constant \n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L147", "id": "bd0e4f67d5f6fb2a9810eb8385684dfcfa6d5febceacff6a21756e0514dc7dd7", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "oUSD", "source_mapping": {"start": 4376, "length": 18, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [106], "starting_column": 5, "ending_column": 23}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}], "description": "VaultStorage.oUSD (contracts/vault/VaultStorage.sol#106) should be constant \n", "markdown": "[VaultStorage.oUSD](contracts/vault/VaultStorage.sol#L106) should be constant \n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L106", "id": "500e8adb38d72426b5e12a19f032430bae7fe79fc3b9039de8e1d2b8043c9f27", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "ousdMetaStrategy", "source_mapping": {"start": 5739, "length": 44, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [141], "starting_column": 5, "ending_column": 49}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}], "description": "VaultStorage.ousdMetaStrategy (contracts/vault/VaultStorage.sol#141) should be constant \n", "markdown": "[VaultStorage.ousdMetaStrategy](contracts/vault/VaultStorage.sol#L141) should be constant \n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L141", "id": "79f67b513634062fa94cfd8c1f0eaac89d45211dbbaf7e930609371ec6e8a4a1", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "strategistAddr", "source_mapping": {"start": 4897, "length": 42, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [120], "starting_column": 5, "ending_column": 47}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}], "description": "VaultStorage.strategistAddr (contracts/vault/VaultStorage.sol#120) should be constant \n", "markdown": "[VaultStorage.strategistAddr](contracts/vault/VaultStorage.sol#L120) should be constant \n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L120", "id": "3040efebbb4c164522cb91db7f6c9c1d2aff4f8ca7753b542e75df9130cdb792", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "trusteeAddress", "source_mapping": {"start": 5320, "length": 29, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [130], "starting_column": 5, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}], "description": "VaultStorage.trusteeAddress (contracts/vault/VaultStorage.sol#130) should be constant \n", "markdown": "[VaultStorage.trusteeAddress](contracts/vault/VaultStorage.sol#L130) should be constant \n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L130", "id": "1694f1d2905ea29eda65443d05da440b7e71abfa3cbf6cfa6a42f6a9ff44e094", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "trusteeFeeBps", "source_mapping": {"start": 5429, "length": 28, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [133], "starting_column": 5, "ending_column": 33}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 695, "length": 6457, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178], "starting_column": 1, "ending_column": 2}}}}], "description": "VaultStorage.trusteeFeeBps (contracts/vault/VaultStorage.sol#133) should be constant \n", "markdown": "[VaultStorage.trusteeFeeBps](contracts/vault/VaultStorage.sol#L133) should be constant \n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L133", "id": "684276aeea9e321f463f752fc69838fd6f7e79e627cb01fe42aff0ff1706283a", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "adjuster", "source_mapping": {"start": 1575, "length": 23, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [43], "starting_column": 5, "ending_column": 28}, "type_specific_fields": {"parent": {"type": "contract", "name": "CompensationClaims", "source_mapping": {"start": 1527, "length": 3674, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164], "starting_column": 1, "ending_column": 2}}}}], "description": "CompensationClaims.adjuster (contracts/compensation/CompensationClaims.sol#43) should be immutable \n", "markdown": "[CompensationClaims.adjuster](contracts/compensation/CompensationClaims.sol#L43) should be immutable \n", "first_markdown_element": "contracts/compensation/CompensationClaims.sol#L43", "id": "6096d2df64fc09f12045506f6c33f0ab738f89c635ce3f9bca28d2993054310f", "check": "immutable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "token", "source_mapping": {"start": 1604, "length": 20, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [44], "starting_column": 5, "ending_column": 25}, "type_specific_fields": {"parent": {"type": "contract", "name": "CompensationClaims", "source_mapping": {"start": 1527, "length": 3674, "filename_relative": "contracts/compensation/CompensationClaims.sol", "filename_absolute": "/Volumes/origin/origin-dollar/contracts/contracts/compensation/CompensationClaims.sol", "filename_short": "contracts/compensation/CompensationClaims.sol", "is_dependency": false, "lines": [42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164], "starting_column": 1, "ending_column": 2}}}}], "description": "CompensationClaims.token (contracts/compensation/CompensationClaims.sol#44) should be immutable \n", "markdown": "[CompensationClaims.token](contracts/compensation/CompensationClaims.sol#L44) should be immutable \n", "first_markdown_element": "contracts/compensation/CompensationClaims.sol#L44", "id": "8fa24775e2dccefd658d6fc197c9fc4dc75a17bae8289f947b6be9dc53595881", "check": "immutable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "function", "name": "constructor", "source_mapping": {"start": 849, "length": 231, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [24, 25, 26, 27, 28, 29, 30], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHZapper", "source_mapping": {"start": 288, "length": 2569, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81], "starting_column": 1, "ending_column": 2}}, "signature": "constructor(address,address)"}}, {"type": "node", "name": "weth.approve(address(_vault),type()(uint256).max)", "source_mapping": {"start": 965, "length": 48, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [28], "starting_column": 9, "ending_column": 57}, "type_specific_fields": {"parent": {"type": "function", "name": "constructor", "source_mapping": {"start": 849, "length": 231, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [24, 25, 26, 27, 28, 29, 30], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHZapper", "source_mapping": {"start": 288, "length": 2569, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81], "starting_column": 1, "ending_column": 2}}, "signature": "constructor(address,address)"}}}}], "description": "OETHZapper.constructor(address,address) (contracts/vault/OETHZapper.sol#24-30) ignores return value by weth.approve(address(_vault),type()(uint256).max) (contracts/vault/OETHZapper.sol#28)\n", "markdown": "[OETHZapper.constructor(address,address)](contracts/vault/OETHZapper.sol#L24-L30) ignores return value by [weth.approve(address(_vault),type()(uint256).max)](contracts/vault/OETHZapper.sol#L28)\n", "first_markdown_element": "contracts/vault/OETHZapper.sol#L24-L30", "id": "460275d8e7852760f596536253db6ec4738ca77745d9b5a38a289cbde2d9384c", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "constructor", "source_mapping": {"start": 849, "length": 231, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [24, 25, 26, 27, 28, 29, 30], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHZapper", "source_mapping": {"start": 288, "length": 2569, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81], "starting_column": 1, "ending_column": 2}}, "signature": "constructor(address,address)"}}, {"type": "node", "name": "frxeth.approve(address(_vault),type()(uint256).max)", "source_mapping": {"start": 1023, "length": 50, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [29], "starting_column": 9, "ending_column": 59}, "type_specific_fields": {"parent": {"type": "function", "name": "constructor", "source_mapping": {"start": 849, "length": 231, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [24, 25, 26, 27, 28, 29, 30], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHZapper", "source_mapping": {"start": 288, "length": 2569, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81], "starting_column": 1, "ending_column": 2}}, "signature": "constructor(address,address)"}}}}], "description": "OETHZapper.constructor(address,address) (contracts/vault/OETHZapper.sol#24-30) ignores return value by frxeth.approve(address(_vault),type()(uint256).max) (contracts/vault/OETHZapper.sol#29)\n", "markdown": "[OETHZapper.constructor(address,address)](contracts/vault/OETHZapper.sol#L24-L30) ignores return value by [frxeth.approve(address(_vault),type()(uint256).max)](contracts/vault/OETHZapper.sol#L29)\n", "first_markdown_element": "contracts/vault/OETHZapper.sol#L24-L30", "id": "602e23c82c5e4d9f8dc3e9ee61327d4e9d8fb09d886a291dc7f89562e7ac7586", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "depositSFRXETH", "source_mapping": {"start": 1917, "length": 274, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [58, 59, 60, 61, 62, 63, 64, 65], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHZapper", "source_mapping": {"start": 288, "length": 2569, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81], "starting_column": 1, "ending_column": 2}}, "signature": "depositSFRXETH(uint256,uint256)"}}, {"type": "node", "name": "sfrxeth.redeem(amount,address(this),msg.sender)", "source_mapping": {"start": 2031, "length": 49, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [62], "starting_column": 9, "ending_column": 58}, "type_specific_fields": {"parent": {"type": "function", "name": "depositSFRXETH", "source_mapping": {"start": 1917, "length": 274, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [58, 59, 60, 61, 62, 63, 64, 65], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHZapper", "source_mapping": {"start": 288, "length": 2569, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81], "starting_column": 1, "ending_column": 2}}, "signature": "depositSFRXETH(uint256,uint256)"}}}}], "description": "OETHZapper.depositSFRXETH(uint256,uint256) (contracts/vault/OETHZapper.sol#58-65) ignores return value by sfrxeth.redeem(amount,address(this),msg.sender) (contracts/vault/OETHZapper.sol#62)\n", "markdown": "[OETHZapper.depositSFRXETH(uint256,uint256)](contracts/vault/OETHZapper.sol#L58-L65) ignores return value by [sfrxeth.redeem(amount,address(this),msg.sender)](contracts/vault/OETHZapper.sol#L62)\n", "first_markdown_element": "contracts/vault/OETHZapper.sol#L58-L65", "id": "ad9cb44f03282639ae56103acb1e9e5014d0d451f5dcb7d2184c1b6c13d855f2", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "constructor", "source_mapping": {"start": 782, "length": 231, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [21, 22, 23, 24, 25, 26, 27], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHZapper", "source_mapping": {"start": 288, "length": 1735, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57], "starting_column": 1, "ending_column": 2}}, "signature": "constructor(address,address)"}}, {"type": "node", "name": "weth.approve(address(_vault),type()(uint256).max)", "source_mapping": {"start": 898, "length": 48, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [25], "starting_column": 9, "ending_column": 57}, "type_specific_fields": {"parent": {"type": "function", "name": "constructor", "source_mapping": {"start": 782, "length": 231, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [21, 22, 23, 24, 25, 26, 27], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHZapper", "source_mapping": {"start": 288, "length": 1735, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57], "starting_column": 1, "ending_column": 2}}, "signature": "constructor(address,address)"}}}}], "description": "OETHZapper.constructor(address,address) (contracts/vault/OETHZapper.sol#21-27) ignores return value by weth.approve(address(_vault),type()(uint256).max) (contracts/vault/OETHZapper.sol#25)\n", "markdown": "[OETHZapper.constructor(address,address)](contracts/vault/OETHZapper.sol#L21-L27) ignores return value by [weth.approve(address(_vault),type()(uint256).max)](contracts/vault/OETHZapper.sol#L25)\n", "first_markdown_element": "contracts/vault/OETHZapper.sol#L21-L27", "id": "2904e03fb2afa9650ab71131640fe730dd3c271bfbb0fd4e11b13f0169ac5cdd", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "constructor", "source_mapping": {"start": 782, "length": 231, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [21, 22, 23, 24, 25, 26, 27], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHZapper", "source_mapping": {"start": 288, "length": 1735, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57], "starting_column": 1, "ending_column": 2}}, "signature": "constructor(address,address)"}}, {"type": "node", "name": "frxeth.approve(address(_vault),type()(uint256).max)", "source_mapping": {"start": 956, "length": 50, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [26], "starting_column": 9, "ending_column": 59}, "type_specific_fields": {"parent": {"type": "function", "name": "constructor", "source_mapping": {"start": 782, "length": 231, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [21, 22, 23, 24, 25, 26, 27], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHZapper", "source_mapping": {"start": 288, "length": 1735, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57], "starting_column": 1, "ending_column": 2}}, "signature": "constructor(address,address)"}}}}], "description": "OETHZapper.constructor(address,address) (contracts/vault/OETHZapper.sol#21-27) ignores return value by frxeth.approve(address(_vault),type()(uint256).max) (contracts/vault/OETHZapper.sol#26)\n", "markdown": "[OETHZapper.constructor(address,address)](contracts/vault/OETHZapper.sol#L21-L27) ignores return value by [frxeth.approve(address(_vault),type()(uint256).max)](contracts/vault/OETHZapper.sol#L26)\n", "first_markdown_element": "contracts/vault/OETHZapper.sol#L21-L27", "id": "15b258e120fd421efd1ea15d8572ec122239b4431c578c7cc72318a969319597", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "depositSFRXETH", "source_mapping": {"start": 1331, "length": 274, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [40, 41, 42, 43, 44, 45, 46, 47], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHZapper", "source_mapping": {"start": 288, "length": 1735, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57], "starting_column": 1, "ending_column": 2}}, "signature": "depositSFRXETH(uint256,uint256)"}}, {"type": "node", "name": "sfrxeth.redeem(amount,address(this),msg.sender)", "source_mapping": {"start": 1445, "length": 49, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [44], "starting_column": 9, "ending_column": 58}, "type_specific_fields": {"parent": {"type": "function", "name": "depositSFRXETH", "source_mapping": {"start": 1331, "length": 274, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [40, 41, 42, 43, 44, 45, 46, 47], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OETHZapper", "source_mapping": {"start": 288, "length": 1735, "filename_relative": "contracts/vault/OETHZapper.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/OETHZapper.sol", "filename_short": "contracts/vault/OETHZapper.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57], "starting_column": 1, "ending_column": 2}}, "signature": "depositSFRXETH(uint256,uint256)"}}}}], "description": "OETHZapper.depositSFRXETH(uint256,uint256) (contracts/vault/OETHZapper.sol#40-47) ignores return value by sfrxeth.redeem(amount,address(this),msg.sender) (contracts/vault/OETHZapper.sol#44)\n", "markdown": "[OETHZapper.depositSFRXETH(uint256,uint256)](contracts/vault/OETHZapper.sol#L40-L47) ignores return value by [sfrxeth.redeem(amount,address(this),msg.sender)](contracts/vault/OETHZapper.sol#L44)\n", "first_markdown_element": "contracts/vault/OETHZapper.sol#L40-L47", "id": "3246dfb4384082977afe4b276459e86813a51a7fe4df6333e08dee5ee1b03c0c", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "variable", "name": "assets", "source_mapping": {"start": 2394, "length": 41, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [61], "starting_column": 5, "ending_column": 46}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 828, "length": 4640, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "mint", "source_mapping": {"start": 2178, "length": 1436, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "mint(address,uint256,uint256)"}}, {"type": "function", "name": "isSupportedAsset", "source_mapping": {"start": 22648, "length": 121, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [627, 628, 629], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "isSupportedAsset(address)"}}, {"type": "function", "name": "_toUnits", "source_mapping": {"start": 23346, "length": 597, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_toUnits(uint256,address)"}}, {"type": "function", "name": "_toUnitPrice", "source_mapping": {"start": 23949, "length": 573, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_toUnitPrice(uint256,address)"}}], "description": "VaultStorage.assets (contracts/vault/VaultStorage.sol#61) is never initialized. It is used in:\n\t- VaultCore.mint(address,uint256,uint256) (contracts/vault/VaultCore.sol#66-107)\n\t- VaultCore.isSupportedAsset(address) (contracts/vault/VaultCore.sol#627-629)\n\t- VaultCore._toUnits(uint256,address) (contracts/vault/VaultCore.sol#646-661)\n\t- VaultCore._toUnitPrice(uint256,address) (contracts/vault/VaultCore.sol#663-678)\n", "markdown": "[VaultStorage.assets](contracts/vault/VaultStorage.sol#L61) is never initialized. It is used in:\n\t- [VaultCore.mint(address,uint256,uint256)](contracts/vault/VaultCore.sol#L66-L107)\n\t- [VaultCore.isSupportedAsset(address)](contracts/vault/VaultCore.sol#L627-L629)\n\t- [VaultCore._toUnits(uint256,address)](contracts/vault/VaultCore.sol#L646-L661)\n\t- [VaultCore._toUnitPrice(uint256,address)](contracts/vault/VaultCore.sol#L663-L678)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L61", "id": "c860938e159ea26b593c250740cbaa2024ab5c9ac0d6205f97e9af6dac87675f", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "allAssets", "source_mapping": {"start": 2441, "length": 28, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [62], "starting_column": 5, "ending_column": 33}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 828, "length": 4640, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "_redeem", "source_mapping": {"start": 5763, "length": 2485, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_redeem(uint256,uint256)"}}, {"type": "function", "name": "_allocate", "source_mapping": {"start": 10672, "length": 2860, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}, {"type": "function", "name": "_totalValueInVault", "source_mapping": {"start": 15676, "length": 356, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [432, 433, 434, 435, 436, 437, 438, 439, 440], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_totalValueInVault()"}}, {"type": "function", "name": "_totalValueInStrategy", "source_mapping": {"start": 16603, "length": 505, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_totalValueInStrategy(address)"}}, {"type": "function", "name": "_calculateRedeemOutputs", "source_mapping": {"start": 18727, "length": 3082, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_calculateRedeemOutputs(uint256)"}}, {"type": "function", "name": "getAssetCount", "source_mapping": {"start": 22013, "length": 95, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [602, 603, 604], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "getAssetCount()"}}, {"type": "function", "name": "getAllAssets", "source_mapping": {"start": 22178, "length": 98, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [609, 610, 611], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "getAllAssets()"}}], "description": "VaultStorage.allAssets (contracts/vault/VaultStorage.sol#62) is never initialized. It is used in:\n\t- VaultCore._redeem(uint256,uint256) (contracts/vault/VaultCore.sol#169-233)\n\t- VaultCore._allocate() (contracts/vault/VaultCore.sol#301-369)\n\t- VaultCore._totalValueInVault() (contracts/vault/VaultCore.sol#432-440)\n\t- VaultCore._totalValueInStrategy(address) (contracts/vault/VaultCore.sol#457-471)\n\t- VaultCore._calculateRedeemOutputs(uint256) (contracts/vault/VaultCore.sol#522-593)\n\t- VaultCore.getAssetCount() (contracts/vault/VaultCore.sol#602-604)\n\t- VaultCore.getAllAssets() (contracts/vault/VaultCore.sol#609-611)\n", "markdown": "[VaultStorage.allAssets](contracts/vault/VaultStorage.sol#L62) is never initialized. It is used in:\n\t- [VaultCore._redeem(uint256,uint256)](contracts/vault/VaultCore.sol#L169-L233)\n\t- [VaultCore._allocate()](contracts/vault/VaultCore.sol#L301-L369)\n\t- [VaultCore._totalValueInVault()](contracts/vault/VaultCore.sol#L432-L440)\n\t- [VaultCore._totalValueInStrategy(address)](contracts/vault/VaultCore.sol#L457-L471)\n\t- [VaultCore._calculateRedeemOutputs(uint256)](contracts/vault/VaultCore.sol#L522-L593)\n\t- [VaultCore.getAssetCount()](contracts/vault/VaultCore.sol#L602-L604)\n\t- [VaultCore.getAllAssets()](contracts/vault/VaultCore.sol#L609-L611)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L62", "id": "e730fe429679f7811e61698e718568e8a56bd48136d661a5573f979234e6996c", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "allStrategies", "source_mapping": {"start": 2688, "length": 32, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [70], "starting_column": 5, "ending_column": 37}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 828, "length": 4640, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "_totalValueInStrategies", "source_mapping": {"start": 16181, "length": 223, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [446, 447, 448, 449, 450], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_totalValueInStrategies()"}}, {"type": "function", "name": "_checkBalance", "source_mapping": {"start": 17619, "length": 486, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_checkBalance(address)"}}, {"type": "function", "name": "getStrategyCount", "source_mapping": {"start": 22363, "length": 104, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [616, 617, 618], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "getStrategyCount()"}}, {"type": "function", "name": "getAllStrategies", "source_mapping": {"start": 22536, "length": 106, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [623, 624, 625], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "getAllStrategies()"}}], "description": "VaultStorage.allStrategies (contracts/vault/VaultStorage.sol#70) is never initialized. It is used in:\n\t- VaultCore._totalValueInStrategies() (contracts/vault/VaultCore.sol#446-450)\n\t- VaultCore._checkBalance(address) (contracts/vault/VaultCore.sol#487-501)\n\t- VaultCore.getStrategyCount() (contracts/vault/VaultCore.sol#616-618)\n\t- VaultCore.getAllStrategies() (contracts/vault/VaultCore.sol#623-625)\n", "markdown": "[VaultStorage.allStrategies](contracts/vault/VaultStorage.sol#L70) is never initialized. It is used in:\n\t- [VaultCore._totalValueInStrategies()](contracts/vault/VaultCore.sol#L446-L450)\n\t- [VaultCore._checkBalance(address)](contracts/vault/VaultCore.sol#L487-L501)\n\t- [VaultCore.getStrategyCount()](contracts/vault/VaultCore.sol#L616-L618)\n\t- [VaultCore.getAllStrategies()](contracts/vault/VaultCore.sol#L623-L625)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L70", "id": "777cbcb013e313a3fd0021436d35e92824a94e210c1611ee051fc5d399d6661c", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "priceProvider", "source_mapping": {"start": 2780, "length": 28, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [73], "starting_column": 5, "ending_column": 33}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 828, "length": 4640, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "mint", "source_mapping": {"start": 2178, "length": 1436, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "mint(address,uint256,uint256)"}}, {"type": "function", "name": "_calculateRedeemOutputs", "source_mapping": {"start": 18727, "length": 3082, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_calculateRedeemOutputs(uint256)"}}], "description": "VaultStorage.priceProvider (contracts/vault/VaultStorage.sol#73) is never initialized. It is used in:\n\t- VaultCore.mint(address,uint256,uint256) (contracts/vault/VaultCore.sol#66-107)\n\t- VaultCore._calculateRedeemOutputs(uint256) (contracts/vault/VaultCore.sol#522-593)\n", "markdown": "[VaultStorage.priceProvider](contracts/vault/VaultStorage.sol#L73) is never initialized. It is used in:\n\t- [VaultCore.mint(address,uint256,uint256)](contracts/vault/VaultCore.sol#L66-L107)\n\t- [VaultCore._calculateRedeemOutputs(uint256)](contracts/vault/VaultCore.sol#L522-L593)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L73", "id": "eb7c2db1064787af6f239823c6b9223ba83a523396f8c7dc61c479282af97886", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "redeemFeeBps", "source_mapping": {"start": 2949, "length": 27, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [78], "starting_column": 5, "ending_column": 32}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 828, "length": 4640, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "_calculateRedeemOutputs", "source_mapping": {"start": 18727, "length": 3082, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_calculateRedeemOutputs(uint256)"}}], "description": "VaultStorage.redeemFeeBps (contracts/vault/VaultStorage.sol#78) is never initialized. It is used in:\n\t- VaultCore._calculateRedeemOutputs(uint256) (contracts/vault/VaultCore.sol#522-593)\n", "markdown": "[VaultStorage.redeemFeeBps](contracts/vault/VaultStorage.sol#L78) is never initialized. It is used in:\n\t- [VaultCore._calculateRedeemOutputs(uint256)](contracts/vault/VaultCore.sol#L522-L593)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L78", "id": "c4819c8bb26576b24a1992a0ece73900c1b258ae9f166389ef2521f675df5cb1", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "vaultBuffer", "source_mapping": {"start": 3052, "length": 26, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [80], "starting_column": 5, "ending_column": 31}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 828, "length": 4640, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "_allocate", "source_mapping": {"start": 10672, "length": 2860, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}], "description": "VaultStorage.vaultBuffer (contracts/vault/VaultStorage.sol#80) is never initialized. It is used in:\n\t- VaultCore._allocate() (contracts/vault/VaultCore.sol#301-369)\n", "markdown": "[VaultStorage.vaultBuffer](contracts/vault/VaultStorage.sol#L80) is never initialized. It is used in:\n\t- [VaultCore._allocate()](contracts/vault/VaultCore.sol#L301-L369)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L80", "id": "7147ba0fbcdb532f72f8a1425c5779a2caf2d432ef22a51a9c541b90d6da121c", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "autoAllocateThreshold", "source_mapping": {"start": 3157, "length": 36, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [82], "starting_column": 5, "ending_column": 41}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 828, "length": 4640, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "mint", "source_mapping": {"start": 2178, "length": 1436, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "mint(address,uint256,uint256)"}}], "description": "VaultStorage.autoAllocateThreshold (contracts/vault/VaultStorage.sol#82) is never initialized. It is used in:\n\t- VaultCore.mint(address,uint256,uint256) (contracts/vault/VaultCore.sol#66-107)\n", "markdown": "[VaultStorage.autoAllocateThreshold](contracts/vault/VaultStorage.sol#L82) is never initialized. It is used in:\n\t- [VaultCore.mint(address,uint256,uint256)](contracts/vault/VaultCore.sol#L66-L107)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L82", "id": "3d9c26c30d04bc19d1bc2436186d32a82dbdee2c98be4833dff1f7fefa80858d", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "rebaseThreshold", "source_mapping": {"start": 3264, "length": 30, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [84], "starting_column": 5, "ending_column": 35}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 828, "length": 4640, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "mint", "source_mapping": {"start": 2178, "length": 1436, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "mint(address,uint256,uint256)"}}, {"type": "function", "name": "mintForStrategy", "source_mapping": {"start": 4345, "length": 813, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "mintForStrategy(uint256)"}}, {"type": "function", "name": "_redeem", "source_mapping": {"start": 5763, "length": 2485, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_redeem(uint256,uint256)"}}, {"type": "function", "name": "burnForStrategy", "source_mapping": {"start": 8974, "length": 951, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "burnForStrategy(uint256)"}}], "description": "VaultStorage.rebaseThreshold (contracts/vault/VaultStorage.sol#84) is never initialized. It is used in:\n\t- VaultCore.mint(address,uint256,uint256) (contracts/vault/VaultCore.sol#66-107)\n\t- VaultCore.mintForStrategy(uint256) (contracts/vault/VaultCore.sol#122-147)\n\t- VaultCore._redeem(uint256,uint256) (contracts/vault/VaultCore.sol#169-233)\n\t- VaultCore.burnForStrategy(uint256) (contracts/vault/VaultCore.sol#248-275)\n", "markdown": "[VaultStorage.rebaseThreshold](contracts/vault/VaultStorage.sol#L84) is never initialized. It is used in:\n\t- [VaultCore.mint(address,uint256,uint256)](contracts/vault/VaultCore.sol#L66-L107)\n\t- [VaultCore.mintForStrategy(uint256)](contracts/vault/VaultCore.sol#L122-L147)\n\t- [VaultCore._redeem(uint256,uint256)](contracts/vault/VaultCore.sol#L169-L233)\n\t- [VaultCore.burnForStrategy(uint256)](contracts/vault/VaultCore.sol#L248-L275)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L84", "id": "b8efcc08277c777ff50a11fc931031018cad1a54978f03183217cd13dd183093", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "oUSD", "source_mapping": {"start": 3301, "length": 18, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [86], "starting_column": 5, "ending_column": 23}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 828, "length": 4640, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "mint", "source_mapping": {"start": 2178, "length": 1436, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "mint(address,uint256,uint256)"}}, {"type": "function", "name": "mintForStrategy", "source_mapping": {"start": 4345, "length": 813, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "mintForStrategy(uint256)"}}, {"type": "function", "name": "_redeem", "source_mapping": {"start": 5763, "length": 2485, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_redeem(uint256,uint256)"}}, {"type": "function", "name": "burnForStrategy", "source_mapping": {"start": 8974, "length": 951, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "burnForStrategy(uint256)"}}, {"type": "function", "name": "redeemAll", "source_mapping": {"start": 10087, "length": 190, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [281, 282, 283, 284, 285, 286, 287], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "redeemAll(uint256)"}}, {"type": "function", "name": "_rebase", "source_mapping": {"start": 13976, "length": 953, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_rebase()"}}], "description": "VaultStorage.oUSD (contracts/vault/VaultStorage.sol#86) is never initialized. It is used in:\n\t- VaultCore.mint(address,uint256,uint256) (contracts/vault/VaultCore.sol#66-107)\n\t- VaultCore.mintForStrategy(uint256) (contracts/vault/VaultCore.sol#122-147)\n\t- VaultCore._redeem(uint256,uint256) (contracts/vault/VaultCore.sol#169-233)\n\t- VaultCore.burnForStrategy(uint256) (contracts/vault/VaultCore.sol#248-275)\n\t- VaultCore.redeemAll(uint256) (contracts/vault/VaultCore.sol#281-287)\n\t- VaultCore._rebase() (contracts/vault/VaultCore.sol#384-408)\n", "markdown": "[VaultStorage.oUSD](contracts/vault/VaultStorage.sol#L86) is never initialized. It is used in:\n\t- [VaultCore.mint(address,uint256,uint256)](contracts/vault/VaultCore.sol#L66-L107)\n\t- [VaultCore.mintForStrategy(uint256)](contracts/vault/VaultCore.sol#L122-L147)\n\t- [VaultCore._redeem(uint256,uint256)](contracts/vault/VaultCore.sol#L169-L233)\n\t- [VaultCore.burnForStrategy(uint256)](contracts/vault/VaultCore.sol#L248-L275)\n\t- [VaultCore.redeemAll(uint256)](contracts/vault/VaultCore.sol#L281-L287)\n\t- [VaultCore._rebase()](contracts/vault/VaultCore.sol#L384-L408)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L86", "id": "df26918b8bdd621ec118d2015bb8578817d734b6d3c33937967b164cadc2ace0", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "maxSupplyDiff", "source_mapping": {"start": 4028, "length": 28, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [106], "starting_column": 5, "ending_column": 33}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 828, "length": 4640, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "_redeem", "source_mapping": {"start": 5763, "length": 2485, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 1068, "length": 25108, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729], "starting_column": 1, "ending_column": 2}}, "signature": "_redeem(uint256,uint256)"}}], "description": "VaultStorage.maxSupplyDiff (contracts/vault/VaultStorage.sol#106) is never initialized. It is used in:\n\t- VaultCore._redeem(uint256,uint256) (contracts/vault/VaultCore.sol#169-233)\n", "markdown": "[VaultStorage.maxSupplyDiff](contracts/vault/VaultStorage.sol#L106) is never initialized. It is used in:\n\t- [VaultCore._redeem(uint256,uint256)](contracts/vault/VaultCore.sol#L169-L233)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L106", "id": "6a3430804bec9d029a57ae03c02e8a40c310203865799000bf50016777b36f8f", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "decimalsCache", "source_mapping": {"start": 4736, "length": 50, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [124], "starting_column": 5, "ending_column": 55}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 828, "length": 4497, "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "_getDecimals", "source_mapping": {"start": 23780, "length": 204, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [668, 669, 670, 671, 672], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 987, "length": 24439, "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717], "starting_column": 1, "ending_column": 2}}, "signature": "_getDecimals(address)"}}], "description": "VaultStorage.decimalsCache (contracts/vault/VaultStorage.sol#124) is never initialized. It is used in:\n\t- VaultCore._getDecimals(address) (contracts/vault/VaultCore.sol#668-672)\n", "markdown": "[VaultStorage.decimalsCache](contracts/vault/VaultStorage.sol#L124) is never initialized. It is used in:\n\t- [VaultCore._getDecimals(address)](contracts/vault/VaultCore.sol#L668-L672)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L124", "id": "ae957b4f96eb11ddea5ee4d030d41472ceee6954f34cde52618144ab869fa8c3", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "assets", "source_mapping": {"start": 2283, "length": 41, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [57], "starting_column": 5, "ending_column": 46}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 828, "length": 3795, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "mint", "source_mapping": {"start": 1716, "length": 1511, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 874, "length": 22316, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639], "starting_column": 1, "ending_column": 2}}, "signature": "mint(address,uint256,uint256)"}}, {"type": "function", "name": "isSupportedAsset", "source_mapping": {"start": 21910, "length": 121, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [599, 600, 601], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 874, "length": 22316, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639], "starting_column": 1, "ending_column": 2}}, "signature": "isSupportedAsset(address)"}}], "description": "VaultStorage.assets (contracts/vault/VaultStorage.sol#57) is never initialized. It is used in:\n\t- VaultCore.mint(address,uint256,uint256) (contracts/vault/VaultCore.sol#53-97)\n\t- VaultCore.isSupportedAsset(address) (contracts/vault/VaultCore.sol#599-601)\n", "markdown": "[VaultStorage.assets](contracts/vault/VaultStorage.sol#L57) is never initialized. It is used in:\n\t- [VaultCore.mint(address,uint256,uint256)](contracts/vault/VaultCore.sol#L53-L97)\n\t- [VaultCore.isSupportedAsset(address)](contracts/vault/VaultCore.sol#L599-L601)\n", "first_markdown_element": "contracts/vault/VaultStorage.sol#L57", "id": "6a182c24e91d1dd53b0b1ef0dab5f77981ebaf050bd25c19b9cca70afaf18e67", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_decimals", "source_mapping": {"start": 393, "length": 23, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [19], "starting_column": 5, "ending_column": 28}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSDResolutionUpgrade", "source_mapping": {"start": 25, "length": 4062, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130], "starting_column": 1, "ending_column": 2}}}}], "description": "OUSDResolutionUpgrade._decimals (contracts/token/OUSDResolutionUpgrade.sol#19) should be constant\n", "markdown": "[OUSDResolutionUpgrade._decimals](contracts/token/OUSDResolutionUpgrade.sol#L19) should be constant\n", "first_markdown_element": "contracts/token/OUSDResolutionUpgrade.sol#L19", "id": "c6b2c8888913a809e3344ed0dee21191412ae3601896db9c573f735f6c3d7a8a", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_name", "source_mapping": {"start": 339, "length": 20, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [17], "starting_column": 5, "ending_column": 25}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSDResolutionUpgrade", "source_mapping": {"start": 25, "length": 4062, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130], "starting_column": 1, "ending_column": 2}}}}], "description": "OUSDResolutionUpgrade._name (contracts/token/OUSDResolutionUpgrade.sol#17) should be constant\n", "markdown": "[OUSDResolutionUpgrade._name](contracts/token/OUSDResolutionUpgrade.sol#L17) should be constant\n", "first_markdown_element": "contracts/token/OUSDResolutionUpgrade.sol#L17", "id": "6956191c111bc7668de81941132c1a31576d2af9cfae5034646c97388cdec653", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_symbol", "source_mapping": {"start": 365, "length": 22, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [18], "starting_column": 5, "ending_column": 27}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSDResolutionUpgrade", "source_mapping": {"start": 25, "length": 4062, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130], "starting_column": 1, "ending_column": 2}}}}], "description": "OUSDResolutionUpgrade._symbol (contracts/token/OUSDResolutionUpgrade.sol#18) should be constant\n", "markdown": "[OUSDResolutionUpgrade._symbol](contracts/token/OUSDResolutionUpgrade.sol#L18) should be constant\n", "first_markdown_element": "contracts/token/OUSDResolutionUpgrade.sol#L18", "id": "4a6b27b5189d0409bd8717ec6416071376f25ba75d9a3fcb2c617036aa554257", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_totalSupply", "source_mapping": {"start": 510, "length": 27, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [23], "starting_column": 5, "ending_column": 32}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSDResolutionUpgrade", "source_mapping": {"start": 25, "length": 4062, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130], "starting_column": 1, "ending_column": 2}}}}], "description": "OUSDResolutionUpgrade._totalSupply (contracts/token/OUSDResolutionUpgrade.sol#23) should be constant\n", "markdown": "[OUSDResolutionUpgrade._totalSupply](contracts/token/OUSDResolutionUpgrade.sol#L23) should be constant\n", "first_markdown_element": "contracts/token/OUSDResolutionUpgrade.sol#L23", "id": "1658e506f1e0828cb824d099c91bb2a569de15dbd05bdc7f11b98a69a98f8638", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "initialized", "source_mapping": {"start": 166, "length": 24, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [11], "starting_column": 5, "ending_column": 29}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSDResolutionUpgrade", "source_mapping": {"start": 25, "length": 4062, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130], "starting_column": 1, "ending_column": 2}}}}], "description": "OUSDResolutionUpgrade.initialized (contracts/token/OUSDResolutionUpgrade.sol#11) should be constant\n", "markdown": "[OUSDResolutionUpgrade.initialized](contracts/token/OUSDResolutionUpgrade.sol#L11) should be constant\n", "first_markdown_element": "contracts/token/OUSDResolutionUpgrade.sol#L11", "id": "fefc27aa7f63a8fb938914b29bdf6913ea43894d2297e65bc64c63cf5cf82af9", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "initializing", "source_mapping": {"start": 196, "length": 25, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [12], "starting_column": 5, "ending_column": 30}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSDResolutionUpgrade", "source_mapping": {"start": 25, "length": 4062, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130], "starting_column": 1, "ending_column": 2}}}}], "description": "OUSDResolutionUpgrade.initializing (contracts/token/OUSDResolutionUpgrade.sol#12) should be constant\n", "markdown": "[OUSDResolutionUpgrade.initializing](contracts/token/OUSDResolutionUpgrade.sol#L12) should be constant\n", "first_markdown_element": "contracts/token/OUSDResolutionUpgrade.sol#L12", "id": "c69133d357c924089ed02bb4dde070a42b4bf6de4c0b65d348e468864973316a", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "nonRebasingSupply", "source_mapping": {"start": 803, "length": 32, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [29], "starting_column": 5, "ending_column": 37}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSDResolutionUpgrade", "source_mapping": {"start": 25, "length": 4062, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130], "starting_column": 1, "ending_column": 2}}}}], "description": "OUSDResolutionUpgrade.nonRebasingSupply (contracts/token/OUSDResolutionUpgrade.sol#29) should be constant\n", "markdown": "[OUSDResolutionUpgrade.nonRebasingSupply](contracts/token/OUSDResolutionUpgrade.sol#L29) should be constant\n", "first_markdown_element": "contracts/token/OUSDResolutionUpgrade.sol#L29", "id": "e17fd436e0a604cb7be2d272cdd362338280663a1a0aa613116ea1b3fbe6ebc9", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "vaultAddress", "source_mapping": {"start": 616, "length": 40, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [25], "starting_column": 5, "ending_column": 45}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSDResolutionUpgrade", "source_mapping": {"start": 25, "length": 4062, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_relative": "contracts/token/OUSDResolutionUpgrade.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSDResolutionUpgrade.sol", "filename_short": "contracts/token/OUSDResolutionUpgrade.sol", "is_dependency": false, "lines": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130], "starting_column": 1, "ending_column": 2}}}}], "description": "OUSDResolutionUpgrade.vaultAddress (contracts/token/OUSDResolutionUpgrade.sol#25) should be constant\n", "markdown": "[OUSDResolutionUpgrade.vaultAddress](contracts/token/OUSDResolutionUpgrade.sol#L25) should be constant\n", "first_markdown_element": "contracts/token/OUSDResolutionUpgrade.sol#L25", "id": "d17c40d13f23171f24f257c05a906ba4f825e300c024fcec7986d2bf6ed00657", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "isUpgraded", "source_mapping": {"start": 1875, "length": 45, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [52], "starting_column": 5, "ending_column": 50}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSD", "source_mapping": {"start": 840, "length": 19113, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "creditsBalanceOfHighres", "source_mapping": {"start": 5205, "length": 322, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSD", "source_mapping": {"start": 840, "length": 19113, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578], "starting_column": 1, "ending_column": 2}}, "signature": "creditsBalanceOfHighres(address)"}}], "description": "OUSD.isUpgraded (contracts/token/OUSD.sol#52) is never initialized. It is used in:\n\t- OUSD.creditsBalanceOfHighres(address) (contracts/token/OUSD.sol#158-172)\n", "markdown": "[OUSD.isUpgraded](contracts/token/OUSD.sol#L52) is never initialized. It is used in:\n\t- [OUSD.creditsBalanceOfHighres(address)](contracts/token/OUSD.sol#L158-L172)\n", "first_markdown_element": "contracts/token/OUSD.sol#L52", "id": "1a9fd10ae49fbf202e5333c123ca53e5ea8614f3f7a5ace5a8e001758b5be263", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "function", "name": "scaleBy", "source_mapping": {"start": 781, "length": 288, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "StableMath", "source_mapping": {"start": 285, "length": 3569, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114], "starting_column": 1, "ending_column": 2}}, "signature": "scaleBy(uint256,uint256,uint256)"}}, {"type": "node", "name": "x = x.mul(10 ** (to - from))", "source_mapping": {"start": 936, "length": 26, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [33], "starting_column": 13, "ending_column": 39}, "type_specific_fields": {"parent": {"type": "function", "name": "scaleBy", "source_mapping": {"start": 781, "length": 288, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "StableMath", "source_mapping": {"start": 285, "length": 3569, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114], "starting_column": 1, "ending_column": 2}}, "signature": "scaleBy(uint256,uint256,uint256)"}}}}, {"type": "node", "name": "x = x.div(10 ** (from - to))", "source_mapping": {"start": 1008, "length": 26, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [35], "starting_column": 13, "ending_column": 39}, "type_specific_fields": {"parent": {"type": "function", "name": "scaleBy", "source_mapping": {"start": 781, "length": 288, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "StableMath", "source_mapping": {"start": 285, "length": 3569, "filename_used": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/dvf/Sites/foo/origin-dollar-04/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114], "starting_column": 1, "ending_column": 2}}, "signature": "scaleBy(uint256,uint256,uint256)"}}}}], "description": "StableMath.scaleBy(uint256,uint256,uint256) (contracts/utils/StableMath.sol#27-38) performs a multiplication on the result of a division:\n\t-x = x.mul(10 ** (to - from)) (contracts/utils/StableMath.sol#33)\n\t-x = x.div(10 ** (from - to)) (contracts/utils/StableMath.sol#35)\n", "markdown": "[StableMath.scaleBy(uint256,uint256,uint256)](contracts/utils/StableMath.sol#L27-L38) performs a multiplication on the result of a division:\n\t-[x = x.mul(10 ** (to - from))](contracts/utils/StableMath.sol#L33)\n\t-[x = x.div(10 ** (from - to))](contracts/utils/StableMath.sol#L35)\n", "first_markdown_element": "contracts/utils/StableMath.sol#L27-L38", "id": "b1500b45d44a127aa3729dda962b0f1fad4c4141dfa4fb20f46e1148cf288944", "check": "divide-before-multiply", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "addSwapToken", "source_mapping": {"start": 7974, "length": 644, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_relative": "contracts/vault/VaultAdmin.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_short": "contracts/vault/VaultAdmin.sol", "is_dependency": false, "lines": [235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultAdmin", "source_mapping": {"start": 527, "length": 18940, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_relative": "contracts/vault/VaultAdmin.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_short": "contracts/vault/VaultAdmin.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577], "starting_column": 1, "ending_column": 2}}, "signature": "addSwapToken(address)"}}, {"type": "node", "name": "IOracle(priceProvider).price(_addr)", "source_mapping": {"start": 8261, "length": 35, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_relative": "contracts/vault/VaultAdmin.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_short": "contracts/vault/VaultAdmin.sol", "is_dependency": false, "lines": [243], "starting_column": 9, "ending_column": 44}, "type_specific_fields": {"parent": {"type": "function", "name": "addSwapToken", "source_mapping": {"start": 7974, "length": 644, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_relative": "contracts/vault/VaultAdmin.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_short": "contracts/vault/VaultAdmin.sol", "is_dependency": false, "lines": [235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultAdmin", "source_mapping": {"start": 527, "length": 18940, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_relative": "contracts/vault/VaultAdmin.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_short": "contracts/vault/VaultAdmin.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577], "starting_column": 1, "ending_column": 2}}, "signature": "addSwapToken(address)"}}}}], "description": "VaultAdmin.addSwapToken(address) (contracts/vault/VaultAdmin.sol#235-255) ignores return value by IOracle(priceProvider).price(_addr) (contracts/vault/VaultAdmin.sol#243)\n", "markdown": "[VaultAdmin.addSwapToken(address)](contracts/vault/VaultAdmin.sol#L235-L255) ignores return value by [IOracle(priceProvider).price(_addr)](contracts/vault/VaultAdmin.sol#L243)\n", "first_markdown_element": "contracts/vault/VaultAdmin.sol#L235-L255", "id": "62ac1769a2c1d54d7ea6660de35020316e5057588e99010c778d43e01aacf3e2", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "addSwapToken", "source_mapping": {"start": 7510, "length": 644, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_relative": "contracts/vault/VaultAdmin.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_short": "contracts/vault/VaultAdmin.sol", "is_dependency": false, "lines": [223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultAdmin", "source_mapping": {"start": 527, "length": 18435, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_relative": "contracts/vault/VaultAdmin.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_short": "contracts/vault/VaultAdmin.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "addSwapToken(address)"}}, {"type": "node", "name": "IOracle(priceProvider).price(_addr)", "source_mapping": {"start": 7797, "length": 35, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_relative": "contracts/vault/VaultAdmin.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_short": "contracts/vault/VaultAdmin.sol", "is_dependency": false, "lines": [231], "starting_column": 9, "ending_column": 44}, "type_specific_fields": {"parent": {"type": "function", "name": "addSwapToken", "source_mapping": {"start": 7510, "length": 644, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_relative": "contracts/vault/VaultAdmin.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_short": "contracts/vault/VaultAdmin.sol", "is_dependency": false, "lines": [223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultAdmin", "source_mapping": {"start": 527, "length": 18435, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_relative": "contracts/vault/VaultAdmin.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultAdmin.sol", "filename_short": "contracts/vault/VaultAdmin.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561], "starting_column": 1, "ending_column": 2}}, "signature": "addSwapToken(address)"}}}}], "description": "VaultAdmin.addSwapToken(address) (contracts/vault/VaultAdmin.sol#223-243) ignores return value by IOracle(priceProvider).price(_addr) (contracts/vault/VaultAdmin.sol#231)\n", "markdown": "[VaultAdmin.addSwapToken(address)](contracts/vault/VaultAdmin.sol#L223-L243) ignores return value by [IOracle(priceProvider).price(_addr)](contracts/vault/VaultAdmin.sol#L231)\n", "first_markdown_element": "contracts/vault/VaultAdmin.sol#L223-L243", "id": "9c71d10f9809eae2cbece0fe66259b93d8a7423a5a0e5362b2e132b55970c1a9", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_allocate", "source_mapping": {"start": 9273, "length": 4326, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 621, "length": 24503, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}, {"type": "node", "name": "IVault(address(this)).harvest(allStrategies[i])", "source_mapping": {"start": 10657, "length": 47, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [289], "starting_column": 25, "ending_column": 72}, "type_specific_fields": {"parent": {"type": "function", "name": "_allocate", "source_mapping": {"start": 9273, "length": 4326, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 621, "length": 24503, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}}}], "description": "VaultCore._allocate() (contracts/vault/VaultCore.sol#266-362) ignores return value by IVault(address(this)).harvest(allStrategies[i]) (contracts/vault/VaultCore.sol#289)\n", "markdown": "[VaultCore._allocate()](contracts/vault/VaultCore.sol#L266-L362) ignores return value by [IVault(address(this)).harvest(allStrategies[i])](contracts/vault/VaultCore.sol#L289)\n", "id": "14738114fda112fc8f37877cd29cc70a2cd815ef7bd1c03a5a0774ec1e219673", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "contract", "name": "InitializableAbstractStrategy", "source_mapping": {"start": 449, "length": 8364, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263], "starting_column": 1, "ending_column": 2}}, {"type": "node", "name": "assetsMapped.push(_asset)", "source_mapping": {"start": 6547, "length": 25, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [189], "starting_column": 9, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "function", "name": "_setPTokenAddress", "source_mapping": {"start": 6231, "length": 438, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "InitializableAbstractStrategy", "source_mapping": {"start": 449, "length": 8364, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263], "starting_column": 1, "ending_column": 2}}, "signature": "_setPTokenAddress(address,address)"}}}}], "description": "InitializableAbstractStrategy (contracts/utils/InitializableAbstractStrategy.sol#11-263) contract sets array length with a user-controlled value:\n\t- assetsMapped.push(_asset) (contracts/utils/InitializableAbstractStrategy.sol#189)\n", "markdown": "[InitializableAbstractStrategy](contracts/utils/InitializableAbstractStrategy.sol#L11-L263) contract sets array length with a user-controlled value:\n\t- [assetsMapped.push(_asset)](contracts/utils/InitializableAbstractStrategy.sol#L189)\n", "id": "381ac16a09532b8a5dfd39a5d7c89b8a098eed32925b60281cbd3b0fcad4f990", "check": "controlled-array-length", "impact": "High", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_allocate", "source_mapping": {"start": 9273, "length": 4326, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 621, "length": 24503, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}, {"type": "node", "name": "IVault(address(this)).harvest(allStrategies[i])", "source_mapping": {"start": 10027, "length": 47, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [278], "starting_column": 21, "ending_column": 68}, "type_specific_fields": {"parent": {"type": "function", "name": "_allocate", "source_mapping": {"start": 9273, "length": 4326, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 621, "length": 24503, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}}}], "description": "VaultCore._allocate() (contracts/vault/VaultCore.sol#266-362) ignores return value by IVault(address(this)).harvest(allStrategies[i]) (contracts/vault/VaultCore.sol#278)\n", "markdown": "[VaultCore._allocate()](contracts/vault/VaultCore.sol#L266-L362) ignores return value by [IVault(address(this)).harvest(allStrategies[i])](contracts/vault/VaultCore.sol#L278)\n", "id": "7e2dac8db9a46c3c11c5d4b3e04cb5233cb9693607e01c54045f05b7dae4fc76", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "contract", "name": "InitializableAbstractStrategy", "source_mapping": {"start": 392, "length": 8280, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259], "starting_column": 1, "ending_column": 2}}, {"type": "node", "name": "assetsMapped.push(_asset)", "source_mapping": {"start": 6406, "length": 25, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [185], "starting_column": 9, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "function", "name": "_setPTokenAddress", "source_mapping": {"start": 6090, "length": 438, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "InitializableAbstractStrategy", "source_mapping": {"start": 392, "length": 8280, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259], "starting_column": 1, "ending_column": 2}}, "signature": "_setPTokenAddress(address,address)"}}}}], "description": "InitializableAbstractStrategy (contracts/utils/InitializableAbstractStrategy.sol#10-259) contract sets array length with a user-controlled value:\n\t- assetsMapped.push(_asset) (contracts/utils/InitializableAbstractStrategy.sol#185)\n", "markdown": "[InitializableAbstractStrategy](contracts/utils/InitializableAbstractStrategy.sol#L10-L259) contract sets array length with a user-controlled value:\n\t- [assetsMapped.push(_asset)](contracts/utils/InitializableAbstractStrategy.sol#L185)\n", "id": "30b7d9aab47a66b59f74bd13941e813c3b5a5ae6448a3f7679c53e7ddbe332ae", "check": "controlled-array-length", "impact": "High", "confidence": "Medium"}, {"elements": [{"type": "contract", "name": "InitializableAbstractStrategy", "source_mapping": {"start": 392, "length": 7885, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249], "starting_column": 1, "ending_column": 2}}, {"type": "node", "name": "assetsMapped.push(_asset)", "source_mapping": {"start": 6011, "length": 25, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [175], "starting_column": 9, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "function", "name": "_setPTokenAddress", "source_mapping": {"start": 5695, "length": 438, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "InitializableAbstractStrategy", "source_mapping": {"start": 392, "length": 7885, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249], "starting_column": 1, "ending_column": 2}}, "signature": "_setPTokenAddress(address,address)"}}}}], "description": "InitializableAbstractStrategy (contracts/utils/InitializableAbstractStrategy.sol#10-249) contract sets array length with a user-controlled value:\n\t- assetsMapped.push(_asset) (contracts/utils/InitializableAbstractStrategy.sol#175)\n", "markdown": "[InitializableAbstractStrategy](contracts/utils/InitializableAbstractStrategy.sol#L10-L249) contract sets array length with a user-controlled value:\n\t- [assetsMapped.push(_asset)](contracts/utils/InitializableAbstractStrategy.sol#L175)\n", "id": "4768a672e113dfcc66a3411dcecbb416a83238a54329eb946079711430f271a2", "check": "controlled-array-length", "impact": "High", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_allocate", "source_mapping": {"start": 9261, "length": 3882, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 621, "length": 24145, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}, {"type": "node", "name": "assetBalance == 0", "source_mapping": {"start": 10940, "length": 17, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [302], "starting_column": 17, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "function", "name": "_allocate", "source_mapping": {"start": 9261, "length": 3882, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 621, "length": 24145, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}}}], "description": "VaultCore._allocate() (contracts/vault/VaultCore.sol#265-351) uses a dangerous strict equality:\n\t- assetBalance == 0 (contracts/vault/VaultCore.sol#302)\n", "markdown": "[VaultCore._allocate()](contracts/vault/VaultCore.sol#L265-L351) uses a dangerous strict equality:\n\t- [assetBalance == 0](contracts/vault/VaultCore.sol#L302)\n", "id": "68299d4d220bd6c43bb5621c4879a0d491e7543f1165aecf84c78d5c75097361", "check": "incorrect-equality", "impact": "Medium", "confidence": "High"}, {"elements": [{"type": "function", "name": "swap", "source_mapping": {"start": 2267, "length": 626, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/BuybackConstructor.sol", "filename_relative": "contracts/buyback/BuybackConstructor.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/BuybackConstructor.sol", "filename_short": "contracts/buyback/BuybackConstructor.sol", "is_dependency": false, "lines": [73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BuybackConstructor", "source_mapping": {"start": 319, "length": 2850, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/BuybackConstructor.sol", "filename_relative": "contracts/buyback/BuybackConstructor.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/BuybackConstructor.sol", "filename_short": "contracts/buyback/BuybackConstructor.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104], "starting_column": 1, "ending_column": 2}}, "signature": "swap()"}}, {"type": "node", "name": "IUniswapV2Router(uniswapAddr).swapExactTokensForTokens(sourceAmount,uint256(0),path,address(this),now)", "source_mapping": {"start": 2710, "length": 176, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/BuybackConstructor.sol", "filename_relative": "contracts/buyback/BuybackConstructor.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/BuybackConstructor.sol", "filename_short": "contracts/buyback/BuybackConstructor.sol", "is_dependency": false, "lines": [85, 86, 87, 88, 89, 90, 91], "starting_column": 9, "ending_column": 10}, "type_specific_fields": {"parent": {"type": "function", "name": "swap", "source_mapping": {"start": 2267, "length": 626, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/BuybackConstructor.sol", "filename_relative": "contracts/buyback/BuybackConstructor.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/BuybackConstructor.sol", "filename_short": "contracts/buyback/BuybackConstructor.sol", "is_dependency": false, "lines": [73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "BuybackConstructor", "source_mapping": {"start": 319, "length": 2850, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/BuybackConstructor.sol", "filename_relative": "contracts/buyback/BuybackConstructor.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/BuybackConstructor.sol", "filename_short": "contracts/buyback/BuybackConstructor.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104], "starting_column": 1, "ending_column": 2}}, "signature": "swap()"}}}}], "description": "BuybackConstructor.swap() (contracts/buyback/BuybackConstructor.sol#73-92) ignores return value by IUniswapV2Router(uniswapAddr).swapExactTokensForTokens(sourceAmount,uint256(0),path,address(this),now) (contracts/buyback/BuybackConstructor.sol#85-91)\n", "markdown": "[BuybackConstructor.swap()](contracts/buyback/BuybackConstructor.sol#L73-L92) ignores return value by [IUniswapV2Router(uniswapAddr).swapExactTokensForTokens(sourceAmount,uint256(0),path,address(this),now)](contracts/buyback/BuybackConstructor.sol#L85-L91)\n", "id": "3cc3f6a6db631431fed154ac7a026944735135574cc350ab5b7af20075adf2bc", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "variable", "name": "trusteeAddress", "source_mapping": {"start": 3698, "length": 29, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [101], "starting_column": 5, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 807, "length": 3487, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "_allocate", "source_mapping": {"start": 9506, "length": 3882, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 621, "length": 24302, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}, {"type": "function", "name": "_rebase", "source_mapping": {"start": 13841, "length": 953, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 621, "length": 24302, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681], "starting_column": 1, "ending_column": 2}}, "signature": "_rebase()"}}], "description": "VaultStorage.trusteeAddress (contracts/vault/VaultStorage.sol#101) is never initialized. It is used in:\n\t- VaultCore._allocate() (contracts/vault/VaultCore.sol#271-357)\n\t- VaultCore._rebase() (contracts/vault/VaultCore.sol#372-396)\n", "markdown": "[VaultStorage.trusteeAddress](contracts/vault/VaultStorage.sol#L101) is never initialized. It is used in:\n\t- [VaultCore._allocate()](contracts/vault/VaultCore.sol#L271-L357)\n\t- [VaultCore._rebase()](contracts/vault/VaultCore.sol#L372-L396)\n", "id": "65e007df44c00b192cdedf6acb4c0c396774b55569e66aa864570ff224919500", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "function", "name": "_allocate", "source_mapping": {"start": 9506, "length": 3882, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 621, "length": 24302, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}, {"type": "node", "name": "assetBalance == 0", "source_mapping": {"start": 11185, "length": 17, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [308], "starting_column": 17, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "function", "name": "_allocate", "source_mapping": {"start": 9506, "length": 3882, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 621, "length": 24302, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}}}], "description": "VaultCore._allocate() (contracts/vault/VaultCore.sol#271-357) uses a dangerous strict equality:\n\t- assetBalance == 0 (contracts/vault/VaultCore.sol#308)\n", "markdown": "[VaultCore._allocate()](contracts/vault/VaultCore.sol#L271-L357) uses a dangerous strict equality:\n\t- [assetBalance == 0](contracts/vault/VaultCore.sol#L308)\n", "id": "3cdb474d424497377560f2617a225571d094bc5a4d9068ed28cc039cf36bb0a9", "check": "incorrect-equality", "impact": "Medium", "confidence": "High"}, {"elements": [{"type": "function", "name": "swap", "source_mapping": {"start": 1716, "length": 626, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Buyback", "source_mapping": {"start": 319, "length": 2299, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85], "starting_column": 1, "ending_column": 2}}, "signature": "swap()"}}, {"type": "node", "name": "IUniswapV2Router(uniswapAddr).swapExactTokensForTokens(sourceAmount,uint256(0),path,address(this),now)", "source_mapping": {"start": 2159, "length": 176, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [66, 67, 68, 69, 70, 71, 72], "starting_column": 9, "ending_column": 10}, "type_specific_fields": {"parent": {"type": "function", "name": "swap", "source_mapping": {"start": 1716, "length": 626, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "Buyback", "source_mapping": {"start": 319, "length": 2299, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_relative": "contracts/buyback/Buyback.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/buyback/Buyback.sol", "filename_short": "contracts/buyback/Buyback.sol", "is_dependency": false, "lines": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85], "starting_column": 1, "ending_column": 2}}, "signature": "swap()"}}}}], "description": "Buyback.swap() (contracts/buyback/Buyback.sol#54-73) ignores return value by IUniswapV2Router(uniswapAddr).swapExactTokensForTokens(sourceAmount,uint256(0),path,address(this),now) (contracts/buyback/Buyback.sol#66-72)\n", "markdown": "[Buyback.swap()](contracts/buyback/Buyback.sol#L54-L73) ignores return value by [IUniswapV2Router(uniswapAddr).swapExactTokensForTokens(sourceAmount,uint256(0),path,address(this),now)](contracts/buyback/Buyback.sol#L66-L72)\n", "id": "4ced8a08a7a10442a6b73bc497693399dcb3627d49d0ffbe3233d32187059cba", "check": "unused-return", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_allocate", "source_mapping": {"start": 9451, "length": 3809, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 566, "length": 24229, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}, {"type": "node", "name": "assetBalance == 0", "source_mapping": {"start": 11130, "length": 17, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [307], "starting_column": 17, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "function", "name": "_allocate", "source_mapping": {"start": 9451, "length": 3809, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 566, "length": 24229, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}}}], "description": "VaultCore._allocate() (contracts/vault/VaultCore.sol#270-353) uses a dangerous strict equality:\n\t- assetBalance == 0 (contracts/vault/VaultCore.sol#307)\n", "markdown": "[VaultCore._allocate()](contracts/vault/VaultCore.sol#L270-L353) uses a dangerous strict equality:\n\t- [assetBalance == 0](contracts/vault/VaultCore.sol#L307)\n", "id": "67337dd8b3da36d12ebd0856bc1dd88acd22e740abd8d2e6e33a46a1d187e940", "check": "incorrect-equality", "impact": "Medium", "confidence": "High"}, {"elements": [{"type": "contract", "name": "Tether", "source_mapping": {"start": 402, "length": 248, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/flipper/Flipper.sol", "filename_relative": "contracts/flipper/Flipper.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/flipper/Flipper.sol", "filename_short": "contracts/flipper/Flipper.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], "starting_column": 1, "ending_column": 2}}, {"type": "function", "name": "transfer", "source_mapping": {"start": 425, "length": 54, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/flipper/Flipper.sol", "filename_relative": "contracts/flipper/Flipper.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/flipper/Flipper.sol", "filename_short": "contracts/flipper/Flipper.sol", "is_dependency": false, "lines": [14], "starting_column": 5, "ending_column": 59}, "type_specific_fields": {"parent": {"type": "contract", "name": "Tether", "source_mapping": {"start": 402, "length": 248, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/flipper/Flipper.sol", "filename_relative": "contracts/flipper/Flipper.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/flipper/Flipper.sol", "filename_short": "contracts/flipper/Flipper.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], "starting_column": 1, "ending_column": 2}}, "signature": "transfer(address,uint256)"}}], "description": "Tether (contracts/flipper/Flipper.sol#13-23) has incorrect ERC20 function interface:Tether.transfer(address,uint256) (contracts/flipper/Flipper.sol#14)\n", "markdown": "[Tether](contracts/flipper/Flipper.sol#L13-L23) has incorrect ERC20 function interface:[Tether.transfer(address,uint256)](contracts/flipper/Flipper.sol#L14)\n", "id": "e2f2abe06f3b5a5408c2013e6c7749baa5ffc112491baf17fb7381de0160bf62", "check": "erc20-interface", "impact": "Medium", "confidence": "High"}, {"elements": [{"type": "contract", "name": "Tether", "source_mapping": {"start": 402, "length": 248, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/flipper/Flipper.sol", "filename_relative": "contracts/flipper/Flipper.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/flipper/Flipper.sol", "filename_short": "contracts/flipper/Flipper.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], "starting_column": 1, "ending_column": 2}}, {"type": "function", "name": "transferFrom", "source_mapping": {"start": 485, "length": 102, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/flipper/Flipper.sol", "filename_relative": "contracts/flipper/Flipper.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/flipper/Flipper.sol", "filename_short": "contracts/flipper/Flipper.sol", "is_dependency": false, "lines": [16, 17, 18, 19, 20], "starting_column": 5, "ending_column": 16}, "type_specific_fields": {"parent": {"type": "contract", "name": "Tether", "source_mapping": {"start": 402, "length": 248, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/flipper/Flipper.sol", "filename_relative": "contracts/flipper/Flipper.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/flipper/Flipper.sol", "filename_short": "contracts/flipper/Flipper.sol", "is_dependency": false, "lines": [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], "starting_column": 1, "ending_column": 2}}, "signature": "transferFrom(address,address,uint256)"}}], "description": "Tether (contracts/flipper/Flipper.sol#13-23) has incorrect ERC20 function interface:Tether.transferFrom(address,address,uint256) (contracts/flipper/Flipper.sol#16-20)\n", "markdown": "[Tether](contracts/flipper/Flipper.sol#L13-L23) has incorrect ERC20 function interface:[Tether.transferFrom(address,address,uint256)](contracts/flipper/Flipper.sol#L16-L20)\n", "id": "3ba32686b3afe7766e203671652c46578ceb76551174eb1d20789241a114e5db", "check": "erc20-interface", "impact": "Medium", "confidence": "High"}, {"elements": [{"type": "contract", "name": "InitializableAbstractStrategy", "source_mapping": {"start": 396, "length": 7885, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251], "starting_column": 1, "ending_column": 2}}, {"type": "node", "name": "assetsMapped.push(_asset)", "source_mapping": {"start": 6016, "length": 25, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [177], "starting_column": 9, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "function", "name": "_setPTokenAddress", "source_mapping": {"start": 5700, "length": 438, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "InitializableAbstractStrategy", "source_mapping": {"start": 396, "length": 7885, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251], "starting_column": 1, "ending_column": 2}}, "signature": "_setPTokenAddress(address,address)"}}}}], "description": "InitializableAbstractStrategy (contracts/utils/InitializableAbstractStrategy.sol#12-251) contract sets array length with a user-controlled value:\n\t- assetsMapped.push(_asset) (contracts/utils/InitializableAbstractStrategy.sol#177)\n", "markdown": "[InitializableAbstractStrategy](contracts/utils/InitializableAbstractStrategy.sol#L12-L251) contract sets array length with a user-controlled value:\n\t- [assetsMapped.push(_asset)](contracts/utils/InitializableAbstractStrategy.sol#L177)\n", "id": "df38af393431fdde0ef600ae1071c57ca43fd15a0015a0d24d83245f0a52a803", "check": "controlled-array-length", "impact": "High", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "_deposit", "source_mapping": {"start": 1736, "length": 293, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [53, 54, 55, 56, 57, 58], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "CompoundStrategy", "source_mapping": {"start": 382, "length": 7749, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221], "starting_column": 1, "ending_column": 2}}, "signature": "_deposit(address,uint256)"}}, {"type": "node", "name": "require(bool,string)(cToken.mint(_amount) == 0,cToken mint failed)", "source_mapping": {"start": 1966, "length": 56, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [57], "starting_column": 9, "ending_column": 65}, "type_specific_fields": {"parent": {"type": "function", "name": "_deposit", "source_mapping": {"start": 1736, "length": 293, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [53, 54, 55, 56, 57, 58], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "CompoundStrategy", "source_mapping": {"start": 382, "length": 7749, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221], "starting_column": 1, "ending_column": 2}}, "signature": "_deposit(address,uint256)"}}}}], "description": "CompoundStrategy._deposit(address,uint256) (contracts/strategies/CompoundStrategy.sol#53-58) uses a dangerous strict equality:\n\t- require(bool,string)(cToken.mint(_amount) == 0,cToken mint failed) (contracts/strategies/CompoundStrategy.sol#57)\n", "markdown": "[CompoundStrategy._deposit(address,uint256)](contracts/strategies/CompoundStrategy.sol#L53-L58) uses a dangerous strict equality:\n\t- [require(bool,string)(cToken.mint(_amount) == 0,cToken mint failed)](contracts/strategies/CompoundStrategy.sol#L57)\n", "id": "7cadb11ad19feb7b0494f84f47faae7b851c89d2098787519c17eda83d7f73d6", "check": "incorrect-equality", "impact": "Medium", "confidence": "High"}, {"elements": [{"type": "function", "name": "withdrawAll", "source_mapping": {"start": 3595, "length": 720, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "CompoundStrategy", "source_mapping": {"start": 382, "length": 7749, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221], "starting_column": 1, "ending_column": 2}}, "signature": "withdrawAll()"}}, {"type": "node", "name": "require(bool,string)(cToken.redeem(cToken.balanceOf(address(this))) == 0,Redeem failed)", "source_mapping": {"start": 3901, "length": 135, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [108, 109, 110, 111], "starting_column": 17, "ending_column": 18}, "type_specific_fields": {"parent": {"type": "function", "name": "withdrawAll", "source_mapping": {"start": 3595, "length": 720, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "CompoundStrategy", "source_mapping": {"start": 382, "length": 7749, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221], "starting_column": 1, "ending_column": 2}}, "signature": "withdrawAll()"}}}}], "description": "CompoundStrategy.withdrawAll() (contracts/strategies/CompoundStrategy.sol#103-120) uses a dangerous strict equality:\n\t- require(bool,string)(cToken.redeem(cToken.balanceOf(address(this))) == 0,Redeem failed) (contracts/strategies/CompoundStrategy.sol#108-111)\n", "markdown": "[CompoundStrategy.withdrawAll()](contracts/strategies/CompoundStrategy.sol#L103-L120) uses a dangerous strict equality:\n\t- [require(bool,string)(cToken.redeem(cToken.balanceOf(address(this))) == 0,Redeem failed)](contracts/strategies/CompoundStrategy.sol#L108-L111)\n", "id": "d32d63d9464f5701e2db9f5630c6fce80c9c5404aeecf34e08b2860fbca2e756", "check": "incorrect-equality", "impact": "Medium", "confidence": "High"}, {"elements": [{"type": "variable", "name": "trusteeFeeBps", "source_mapping": {"start": 3782, "length": 28, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [104], "starting_column": 5, "ending_column": 33}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 807, "length": 3486, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "_rebase", "source_mapping": {"start": 13775, "length": 953, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 24561, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686], "starting_column": 1, "ending_column": 2}}, "signature": "_rebase()"}}], "description": "VaultStorage.trusteeFeeBps (contracts/vault/VaultStorage.sol#104) is never initialized. It is used in:\n\t- VaultCore._rebase() (contracts/vault/VaultCore.sol#370-394)\n", "markdown": "[VaultStorage.trusteeFeeBps](contracts/vault/VaultStorage.sol#L104) is never initialized. It is used in:\n\t- [VaultCore._rebase()](contracts/vault/VaultCore.sol#L370-L394)\n", "id": "6026824a262c80dba27267266bd932f6ced8a0ab28731a229e2747099e556a33", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "trusteeAddress", "source_mapping": {"start": 3699, "length": 29, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [101], "starting_column": 5, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 807, "length": 3490, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "_rebase", "source_mapping": {"start": 13871, "length": 960, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 24664, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688], "starting_column": 1, "ending_column": 2}}, "signature": "_rebase()"}}], "description": "VaultStorage.trusteeAddress (contracts/vault/VaultStorage.sol#101) is never initialized. It is used in:\n\t- VaultCore._rebase() (contracts/vault/VaultCore.sol#372-396)\n", "markdown": "[VaultStorage.trusteeAddress](contracts/vault/VaultStorage.sol#L101) is never initialized. It is used in:\n\t- [VaultCore._rebase()](contracts/vault/VaultCore.sol#L372-L396)\n", "id": "38c6f1922de1e66b8be48d1e73897a517a266abf443487b0429c6d6070aa67d7", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "trusteeFeeBasis", "source_mapping": {"start": 3784, "length": 30, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [104], "starting_column": 5, "ending_column": 35}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 807, "length": 3490, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "_rebase", "source_mapping": {"start": 13871, "length": 960, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 24664, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688], "starting_column": 1, "ending_column": 2}}, "signature": "_rebase()"}}], "description": "VaultStorage.trusteeFeeBasis (contracts/vault/VaultStorage.sol#104) is never initialized. It is used in:\n\t- VaultCore._rebase() (contracts/vault/VaultCore.sol#372-396)\n", "markdown": "[VaultStorage.trusteeFeeBasis](contracts/vault/VaultStorage.sol#L104) is never initialized. It is used in:\n\t- [VaultCore._rebase()](contracts/vault/VaultCore.sol#L372-L396)\n", "id": "3f7908a03d07c1a38ed6e02e0e85b2e0e3e7b96dcad11d66ac62102edf3951f9", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "function", "name": "scaleBy", "source_mapping": {"start": 734, "length": 308, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "StableMath", "source_mapping": {"start": 242, "length": 3585, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112], "starting_column": 1, "ending_column": 2}}, "signature": "scaleBy(uint256,int8)"}}, {"type": "node", "name": "x = x.mul(10 ** uint256(adjustment))", "source_mapping": {"start": 883, "length": 34, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [31], "starting_column": 13, "ending_column": 47}, "type_specific_fields": {"parent": {"type": "function", "name": "scaleBy", "source_mapping": {"start": 734, "length": 308, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "StableMath", "source_mapping": {"start": 242, "length": 3585, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112], "starting_column": 1, "ending_column": 2}}, "signature": "scaleBy(uint256,int8)"}}}}, {"type": "node", "name": "x = x.div(10 ** uint256(adjustment * - 1))", "source_mapping": {"start": 968, "length": 39, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [33], "starting_column": 13, "ending_column": 52}, "type_specific_fields": {"parent": {"type": "function", "name": "scaleBy", "source_mapping": {"start": 734, "length": 308, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "StableMath", "source_mapping": {"start": 242, "length": 3585, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_relative": "contracts/utils/StableMath.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/StableMath.sol", "filename_short": "contracts/utils/StableMath.sol", "is_dependency": false, "lines": [8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112], "starting_column": 1, "ending_column": 2}}, "signature": "scaleBy(uint256,int8)"}}}}], "description": "StableMath.scaleBy(uint256,int8) (contracts/utils/StableMath.sol#25-36) performs a multiplication on the result of a division:\n\t-x = x.mul(10 ** uint256(adjustment)) (contracts/utils/StableMath.sol#31)\n\t-x = x.div(10 ** uint256(adjustment * - 1)) (contracts/utils/StableMath.sol#33)\n", "markdown": "[StableMath.scaleBy(uint256,int8)](contracts/utils/StableMath.sol#L25-L36) performs a multiplication on the result of a division:\n\t-[x = x.mul(10 ** uint256(adjustment))](contracts/utils/StableMath.sol#L31)\n\t-[x = x.div(10 ** uint256(adjustment * - 1))](contracts/utils/StableMath.sol#L33)\n", "id": "db2ef8c1daf9b02deedbcc86671a36b6336566289f0ec3f91ff45f5afe31fd91", "check": "divide-before-multiply", "impact": "Medium", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "withdrawAll", "source_mapping": {"start": 2862, "length": 720, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "CompoundStrategy", "source_mapping": {"start": 382, "length": 7016, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200], "starting_column": 1, "ending_column": 2}}, "signature": "withdrawAll()"}}, {"type": "node", "name": "require(bool,string)(cToken.redeem(cToken.balanceOf(address(this))) == 0,Redeem failed)", "source_mapping": {"start": 3168, "length": 135, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [87, 88, 89, 90], "starting_column": 17, "ending_column": 18}, "type_specific_fields": {"parent": {"type": "function", "name": "withdrawAll", "source_mapping": {"start": 2862, "length": 720, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "CompoundStrategy", "source_mapping": {"start": 382, "length": 7016, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200], "starting_column": 1, "ending_column": 2}}, "signature": "withdrawAll()"}}}}], "description": "CompoundStrategy.withdrawAll() (contracts/strategies/CompoundStrategy.sol#82-99) uses a dangerous strict equality:\n\t- require(bool,string)(cToken.redeem(cToken.balanceOf(address(this))) == 0,Redeem failed) (contracts/strategies/CompoundStrategy.sol#87-90)\n", "markdown": "[CompoundStrategy.withdrawAll()](contracts/strategies/CompoundStrategy.sol#L82-L99) uses a dangerous strict equality:\n\t- [require(bool,string)(cToken.redeem(cToken.balanceOf(address(this))) == 0,Redeem failed)](contracts/strategies/CompoundStrategy.sol#L87-L90)\n", "id": "5dce02849df598583a9b3a98ec07f6415c6f4d1dac892a6807845e3f68e3f38f", "check": "incorrect-equality", "impact": "Medium", "confidence": "High"}, {"elements": [{"type": "function", "name": "balanceOf", "source_mapping": {"start": 2744, "length": 223, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [83, 84, 85, 86, 87], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSD", "source_mapping": {"start": 829, "length": 17607, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508], "starting_column": 1, "ending_column": 2}}, "signature": "balanceOf(address)"}}, {"type": "node", "name": "_creditBalances[_account] == 0", "source_mapping": {"start": 2825, "length": 30, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [84], "starting_column": 13, "ending_column": 43}, "type_specific_fields": {"parent": {"type": "function", "name": "balanceOf", "source_mapping": {"start": 2744, "length": 223, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [83, 84, 85, 86, 87], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSD", "source_mapping": {"start": 829, "length": 17607, "filename_used": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/dvf/Sites/Origin/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508], "starting_column": 1, "ending_column": 2}}, "signature": "balanceOf(address)"}}}}], "description": "OUSD.balanceOf(address) (contracts/token/OUSD.sol#83-87) uses a dangerous strict equality:\n\t- _creditBalances[_account] == 0 (contracts/token/OUSD.sol#84)\n", "markdown": "[OUSD.balanceOf(address)](contracts/token/OUSD.sol#L83-L87) uses a dangerous strict equality:\n\t- [_creditBalances[_account] == 0](contracts/token/OUSD.sol#L84)\n", "id": "ccb46234e07af49545e8f6ec6328d958fa1c2f6c5bc4170dbf99f57e4003ebeb", "check": "incorrect-equality", "impact": "Medium", "confidence": "High"}, {"elements": [{"type": "function", "name": "balanceOf", "source_mapping": {"start": 2849, "length": 223, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [87, 88, 89, 90, 91], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSD", "source_mapping": {"start": 829, "length": 16903, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495], "starting_column": 1, "ending_column": 2}}, "signature": "balanceOf(address)"}}, {"type": "node", "name": "_creditBalances[_account] == 0", "source_mapping": {"start": 2930, "length": 30, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [88], "starting_column": 13, "ending_column": 43}, "type_specific_fields": {"parent": {"type": "function", "name": "balanceOf", "source_mapping": {"start": 2849, "length": 223, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [87, 88, 89, 90, 91], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSD", "source_mapping": {"start": 829, "length": 16903, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495], "starting_column": 1, "ending_column": 2}}, "signature": "balanceOf(address)"}}}}], "description": "OUSD.balanceOf(address) (contracts/token/OUSD.sol#87-91) uses a dangerous strict equality:\n\t- _creditBalances[_account] == 0 (contracts/token/OUSD.sol#88)\n", "markdown": "[OUSD.balanceOf(address)](contracts/token/OUSD.sol#L87-L91) uses a dangerous strict equality:\n\t- [_creditBalances[_account] == 0](contracts/token/OUSD.sol#L88)\n", "id": "ac0ff05bcf967595b64b2a24b53884cfca5e30e06792da3ba40104ab169d77a4", "check": "incorrect-equality", "impact": "Medium", "confidence": "High"}, {"elements": [{"type": "contract", "name": "InitializableAbstractStrategy", "source_mapping": {"start": 396, "length": 8222, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262], "starting_column": 1, "ending_column": 2}}, {"type": "node", "name": "assetsMapped.push(_asset)", "source_mapping": {"start": 6476, "length": 25, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [193], "starting_column": 9, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "function", "name": "_setPTokenAddress", "source_mapping": {"start": 6160, "length": 438, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "InitializableAbstractStrategy", "source_mapping": {"start": 396, "length": 8222, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_relative": "contracts/utils/InitializableAbstractStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/utils/InitializableAbstractStrategy.sol", "filename_short": "contracts/utils/InitializableAbstractStrategy.sol", "is_dependency": false, "lines": [12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262], "starting_column": 1, "ending_column": 2}}, "signature": "_setPTokenAddress(address,address)"}}}}], "description": "InitializableAbstractStrategy (contracts/utils/InitializableAbstractStrategy.sol#12-262) contract sets array length with a user-controlled value:\n\t- assetsMapped.push(_asset) (contracts/utils/InitializableAbstractStrategy.sol#193)\n", "markdown": "[InitializableAbstractStrategy](contracts/utils/InitializableAbstractStrategy.sol#L12-L262) contract sets array length with a user-controlled value:\n\t- [assetsMapped.push(_asset)](contracts/utils/InitializableAbstractStrategy.sol#L193)\n", "id": "e99c44d951e76857b3f5bfc5cdccca773021441bfde515673b7eccdad421c7e3", "check": "controlled-array-length", "impact": "High", "confidence": "Medium"}, {"elements": [{"type": "function", "name": "executeTransaction", "source_mapping": {"start": 4393, "length": 1470, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/timelock/MinuteTimelock.sol", "filename_relative": "contracts/timelock/MinuteTimelock.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/timelock/MinuteTimelock.sol", "filename_short": "contracts/timelock/MinuteTimelock.sol", "is_dependency": false, "lines": [160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "MinuteTimelock", "source_mapping": {"start": 300, "length": 5733, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/timelock/MinuteTimelock.sol", "filename_relative": "contracts/timelock/MinuteTimelock.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/timelock/MinuteTimelock.sol", "filename_short": "contracts/timelock/MinuteTimelock.sol", "is_dependency": false, "lines": [11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214], "starting_column": 1, "ending_column": 2}}, "signature": "executeTransaction(address,uint256,string,bytes,uint256)"}}, {"type": "node", "name": "(success,returnData) = target.call.value(value)(callData)", "source_mapping": {"start": 5526, "length": 98, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/timelock/MinuteTimelock.sol", "filename_relative": "contracts/timelock/MinuteTimelock.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/timelock/MinuteTimelock.sol", "filename_short": "contracts/timelock/MinuteTimelock.sol", "is_dependency": false, "lines": [197, 198, 199], "starting_column": 9, "ending_column": 10}, "type_specific_fields": {"parent": {"type": "function", "name": "executeTransaction", "source_mapping": {"start": 4393, "length": 1470, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/timelock/MinuteTimelock.sol", "filename_relative": "contracts/timelock/MinuteTimelock.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/timelock/MinuteTimelock.sol", "filename_short": "contracts/timelock/MinuteTimelock.sol", "is_dependency": false, "lines": [160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "MinuteTimelock", "source_mapping": {"start": 300, "length": 5733, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/timelock/MinuteTimelock.sol", "filename_relative": "contracts/timelock/MinuteTimelock.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/timelock/MinuteTimelock.sol", "filename_short": "contracts/timelock/MinuteTimelock.sol", "is_dependency": false, "lines": [11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214], "starting_column": 1, "ending_column": 2}}, "signature": "executeTransaction(address,uint256,string,bytes,uint256)"}}}}], "description": "MinuteTimelock.executeTransaction(address,uint256,string,bytes,uint256) (contracts/timelock/MinuteTimelock.sol#160-208) sends eth to arbitrary user\n\tDangerous calls:\n\t- (success,returnData) = target.call.value(value)(callData) (contracts/timelock/MinuteTimelock.sol#197-199)\n", "markdown": "[MinuteTimelock.executeTransaction(address,uint256,string,bytes,uint256)](contracts/timelock/MinuteTimelock.sol#L160-L208) sends eth to arbitrary user\n\tDangerous calls:\n\t- [(success,returnData) = target.call.value(value)(callData)](contracts/timelock/MinuteTimelock.sol#L197-L199)\n", "id": "adb27b2223ce1f61a53972f79799586ca089e9afc5f2eacfe3b6af935426ae32", "check": "arbitrary-send", "impact": "High", "confidence": "Medium"}, {"elements": [{"type": "variable", "name": "assets", "source_mapping": {"start": 1854, "length": 32, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [51], "starting_column": 5, "ending_column": 37}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 738, "length": 3013, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "mint", "source_mapping": {"start": 1313, "length": 1551, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "mint(address,uint256,uint256)"}}, {"type": "function", "name": "mintMultiple", "source_mapping": {"start": 3165, "length": 2120, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "mintMultiple(address[],uint256[],uint256)"}}, {"type": "function", "name": "isSupportedAsset", "source_mapping": {"start": 23379, "length": 121, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [647, 648, 649], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "isSupportedAsset(address)"}}], "description": "VaultStorage.assets (contracts/vault/VaultStorage.sol#51) is never initialized. It is used in:\n\t- VaultCore.mint(address,uint256,uint256) (contracts/vault/VaultCore.sol#42-87)\n\t- VaultCore.mintMultiple(address[],uint256[],uint256) (contracts/vault/VaultCore.sol#96-153)\n\t- VaultCore.isSupportedAsset(address) (contracts/vault/VaultCore.sol#647-649)\n", "markdown": "[VaultStorage.assets](contracts/vault/VaultStorage.sol#L51) is never initialized. It is used in:\n\t- [VaultCore.mint(address,uint256,uint256)](contracts/vault/VaultCore.sol#L42-L87)\n\t- [VaultCore.mintMultiple(address[],uint256[],uint256)](contracts/vault/VaultCore.sol#L96-L153)\n\t- [VaultCore.isSupportedAsset(address)](contracts/vault/VaultCore.sol#L647-L649)\n", "id": "b5f535d2516b1f696e381fc7ef334ac08dab475e61c7fd193ef8eb0498172128", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "allAssets", "source_mapping": {"start": 1892, "length": 19, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [52], "starting_column": 5, "ending_column": 24}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 738, "length": 3013, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "mintMultiple", "source_mapping": {"start": 3165, "length": 2120, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "mintMultiple(address[],uint256[],uint256)"}}, {"type": "function", "name": "_redeem", "source_mapping": {"start": 5959, "length": 2568, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "_redeem(uint256,uint256)"}}, {"type": "function", "name": "_allocate", "source_mapping": {"start": 9491, "length": 3809, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}, {"type": "function", "name": "_totalValueInVault", "source_mapping": {"start": 14993, "length": 456, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "_totalValueInVault()"}}, {"type": "function", "name": "_totalValueInStrategy", "source_mapping": {"start": 16033, "length": 605, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "_totalValueInStrategy(address)"}}, {"type": "function", "name": "_checkBalance", "source_mapping": {"start": 17760, "length": 347, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [491, 492, 493, 494, 495, 496, 497, 498, 499], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "_checkBalance()"}}, {"type": "function", "name": "_calculateRedeemOutputs", "source_mapping": {"start": 18615, "length": 3196, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "_calculateRedeemOutputs(uint256)"}}, {"type": "function", "name": "_getAssetPrices", "source_mapping": {"start": 21960, "length": 754, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "_getAssetPrices(bool)"}}, {"type": "function", "name": "getAssetCount", "source_mapping": {"start": 22919, "length": 95, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [629, 630, 631], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "getAssetCount()"}}, {"type": "function", "name": "getAllAssets", "source_mapping": {"start": 23084, "length": 98, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [636, 637, 638], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "getAllAssets()"}}], "description": "VaultStorage.allAssets (contracts/vault/VaultStorage.sol#52) is never initialized. It is used in:\n\t- VaultCore.mintMultiple(address[],uint256[],uint256) (contracts/vault/VaultCore.sol#96-153)\n\t- VaultCore._redeem(uint256,uint256) (contracts/vault/VaultCore.sol#176-241)\n\t- VaultCore._allocate() (contracts/vault/VaultCore.sol#272-355)\n\t- VaultCore._totalValueInVault() (contracts/vault/VaultCore.sol#412-422)\n\t- VaultCore._totalValueInStrategy(address) (contracts/vault/VaultCore.sol#440-456)\n\t- VaultCore._checkBalance() (contracts/vault/VaultCore.sol#491-499)\n\t- VaultCore._calculateRedeemOutputs(uint256) (contracts/vault/VaultCore.sol#518-594)\n\t- VaultCore._getAssetPrices(bool) (contracts/vault/VaultCore.sol#600-620)\n\t- VaultCore.getAssetCount() (contracts/vault/VaultCore.sol#629-631)\n\t- VaultCore.getAllAssets() (contracts/vault/VaultCore.sol#636-638)\n", "markdown": "[VaultStorage.allAssets](contracts/vault/VaultStorage.sol#L52) is never initialized. It is used in:\n\t- [VaultCore.mintMultiple(address[],uint256[],uint256)](contracts/vault/VaultCore.sol#L96-L153)\n\t- [VaultCore._redeem(uint256,uint256)](contracts/vault/VaultCore.sol#L176-L241)\n\t- [VaultCore._allocate()](contracts/vault/VaultCore.sol#L272-L355)\n\t- [VaultCore._totalValueInVault()](contracts/vault/VaultCore.sol#L412-L422)\n\t- [VaultCore._totalValueInStrategy(address)](contracts/vault/VaultCore.sol#L440-L456)\n\t- [VaultCore._checkBalance()](contracts/vault/VaultCore.sol#L491-L499)\n\t- [VaultCore._calculateRedeemOutputs(uint256)](contracts/vault/VaultCore.sol#L518-L594)\n\t- [VaultCore._getAssetPrices(bool)](contracts/vault/VaultCore.sol#L600-L620)\n\t- [VaultCore.getAssetCount()](contracts/vault/VaultCore.sol#L629-L631)\n\t- [VaultCore.getAllAssets()](contracts/vault/VaultCore.sol#L636-L638)\n", "id": "a0bcee4b84d596e46f4bdc315977842c894250f10de805d7cb76ef572ecc6eed", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "allStrategies", "source_mapping": {"start": 2121, "length": 23, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [60], "starting_column": 5, "ending_column": 28}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 738, "length": 3013, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "_allocate", "source_mapping": {"start": 9491, "length": 3809, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}, {"type": "function", "name": "_totalValueInStrategies", "source_mapping": {"start": 15600, "length": 232, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [428, 429, 430, 431, 432, 433], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "_totalValueInStrategies()"}}, {"type": "function", "name": "_checkBalance", "source_mapping": {"start": 17149, "length": 458, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "_checkBalance(address)"}}, {"type": "function", "name": "getStrategyCount", "source_mapping": {"start": 23269, "length": 104, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [643, 644, 645], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "getStrategyCount()"}}], "description": "VaultStorage.allStrategies (contracts/vault/VaultStorage.sol#60) is never initialized. It is used in:\n\t- VaultCore._allocate() (contracts/vault/VaultCore.sol#272-355)\n\t- VaultCore._totalValueInStrategies() (contracts/vault/VaultCore.sol#428-433)\n\t- VaultCore._checkBalance(address) (contracts/vault/VaultCore.sol#472-485)\n\t- VaultCore.getStrategyCount() (contracts/vault/VaultCore.sol#643-645)\n", "markdown": "[VaultStorage.allStrategies](contracts/vault/VaultStorage.sol#L60) is never initialized. It is used in:\n\t- [VaultCore._allocate()](contracts/vault/VaultCore.sol#L272-L355)\n\t- [VaultCore._totalValueInStrategies()](contracts/vault/VaultCore.sol#L428-L433)\n\t- [VaultCore._checkBalance(address)](contracts/vault/VaultCore.sol#L472-L485)\n\t- [VaultCore.getStrategyCount()](contracts/vault/VaultCore.sol#L643-L645)\n", "id": "ea3b2d51d5c7b49d49000d98c22ad2e6114ee9ddc5ae0a3dbca43230b1d86caa", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "variable", "name": "assetDefaultStrategies", "source_mapping": {"start": 3296, "length": 57, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [92], "starting_column": 5, "ending_column": 62}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 738, "length": 3013, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106], "starting_column": 1, "ending_column": 2}}}}, {"type": "function", "name": "_redeem", "source_mapping": {"start": 5959, "length": 2568, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "_redeem(uint256,uint256)"}}, {"type": "function", "name": "_allocate", "source_mapping": {"start": 9491, "length": 3809, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}], "description": "VaultStorage.assetDefaultStrategies (contracts/vault/VaultStorage.sol#92) is never initialized. It is used in:\n\t- VaultCore._redeem(uint256,uint256) (contracts/vault/VaultCore.sol#176-241)\n\t- VaultCore._allocate() (contracts/vault/VaultCore.sol#272-355)\n", "markdown": "[VaultStorage.assetDefaultStrategies](contracts/vault/VaultStorage.sol#L92) is never initialized. It is used in:\n\t- [VaultCore._redeem(uint256,uint256)](contracts/vault/VaultCore.sol#L176-L241)\n\t- [VaultCore._allocate()](contracts/vault/VaultCore.sol#L272-L355)\n", "id": "2a2b38bc90433cda7268d5e5e361bda99612c0a8a010cde7677ef881ee8366ee", "check": "uninitialized-state", "impact": "High", "confidence": "High"}, {"elements": [{"type": "function", "name": "balanceOf", "source_mapping": {"start": 3072, "length": 223, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [93, 94, 95, 96, 97], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSD", "source_mapping": {"start": 829, "length": 17126, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501], "starting_column": 1, "ending_column": 2}}, "signature": "balanceOf(address)"}}, {"type": "node", "name": "_creditBalances[_account] == 0", "source_mapping": {"start": 3153, "length": 30, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [94], "starting_column": 13, "ending_column": 43}, "type_specific_fields": {"parent": {"type": "function", "name": "balanceOf", "source_mapping": {"start": 3072, "length": 223, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [93, 94, 95, 96, 97], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSD", "source_mapping": {"start": 829, "length": 17126, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501], "starting_column": 1, "ending_column": 2}}, "signature": "balanceOf(address)"}}}}], "description": "OUSD.balanceOf(address) (contracts/token/OUSD.sol#93-97) uses a dangerous strict equality:\n\t- _creditBalances[_account] == 0 (contracts/token/OUSD.sol#94)\n", "markdown": "[OUSD.balanceOf(address)](contracts/token/OUSD.sol#L93-L97) uses a dangerous strict equality:\n\t- [_creditBalances[_account] == 0](contracts/token/OUSD.sol#L94)\n", "id": "a55a1e1f6ea78bddc5cbd6d68e5a4302d75fcd721b5a8c9f6966a014896ca1d4", "check": "incorrect-equality", "impact": "Medium", "confidence": "High"}, {"elements": [{"type": "function", "name": "updatePool", "source_mapping": {"start": 8912, "length": 759, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/liquidity/LiquidityReward.sol", "filename_relative": "contracts/liquidity/LiquidityReward.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/liquidity/LiquidityReward.sol", "filename_short": "contracts/liquidity/LiquidityReward.sol", "is_dependency": false, "lines": [244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "LiquidityReward", "source_mapping": {"start": 598, "length": 12500, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/liquidity/LiquidityReward.sol", "filename_relative": "contracts/liquidity/LiquidityReward.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/liquidity/LiquidityReward.sol", "filename_short": "contracts/liquidity/LiquidityReward.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372], "starting_column": 1, "ending_column": 2}}, "signature": "updatePool()"}}, {"type": "node", "name": "lpSupply == 0", "source_mapping": {"start": 9176, "length": 13, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/liquidity/LiquidityReward.sol", "filename_relative": "contracts/liquidity/LiquidityReward.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/liquidity/LiquidityReward.sol", "filename_short": "contracts/liquidity/LiquidityReward.sol", "is_dependency": false, "lines": [253], "starting_column": 13, "ending_column": 26}, "type_specific_fields": {"parent": {"type": "function", "name": "updatePool", "source_mapping": {"start": 8912, "length": 759, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/liquidity/LiquidityReward.sol", "filename_relative": "contracts/liquidity/LiquidityReward.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/liquidity/LiquidityReward.sol", "filename_short": "contracts/liquidity/LiquidityReward.sol", "is_dependency": false, "lines": [244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "LiquidityReward", "source_mapping": {"start": 598, "length": 12500, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/liquidity/LiquidityReward.sol", "filename_relative": "contracts/liquidity/LiquidityReward.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/liquidity/LiquidityReward.sol", "filename_short": "contracts/liquidity/LiquidityReward.sol", "is_dependency": false, "lines": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372], "starting_column": 1, "ending_column": 2}}, "signature": "updatePool()"}}}}], "description": "LiquidityReward.updatePool() (contracts/liquidity/LiquidityReward.sol#244-268) uses a dangerous strict equality:\n\t- lpSupply == 0 (contracts/liquidity/LiquidityReward.sol#253)\n", "markdown": "[LiquidityReward.updatePool()](contracts/liquidity/LiquidityReward.sol#L244-L268) uses a dangerous strict equality:\n\t- [lpSupply == 0](contracts/liquidity/LiquidityReward.sol#L253)\n", "id": "02a2415f185c8c7b03a0600221486a59fab7f3f7715fd500620d5d0e2e3637cc", "check": "incorrect-equality", "impact": "Medium", "confidence": "High"}, {"elements": [{"type": "function", "name": "_allocate", "source_mapping": {"start": 9491, "length": 3809, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}, {"type": "node", "name": "assetBalance == 0", "source_mapping": {"start": 11170, "length": 17, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [309], "starting_column": 17, "ending_column": 34}, "type_specific_fields": {"parent": {"type": "function", "name": "_allocate", "source_mapping": {"start": 9491, "length": 3809, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultCore", "source_mapping": {"start": 578, "length": 23987, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_relative": "contracts/vault/VaultCore.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultCore.sol", "filename_short": "contracts/vault/VaultCore.sol", "is_dependency": false, "lines": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680], "starting_column": 1, "ending_column": 2}}, "signature": "_allocate()"}}}}], "description": "VaultCore._allocate() (contracts/vault/VaultCore.sol#272-355) uses a dangerous strict equality:\n\t- assetBalance == 0 (contracts/vault/VaultCore.sol#309)\n", "markdown": "[VaultCore._allocate()](contracts/vault/VaultCore.sol#L272-L355) uses a dangerous strict equality:\n\t- [assetBalance == 0](contracts/vault/VaultCore.sol#L309)\n", "id": "e076e0868789c4c8eac321fa296d864f811cdc98d51f0a6c652fad192cda236b", "check": "incorrect-equality", "impact": "Medium", "confidence": "High"}, {"elements": [{"type": "function", "name": "withdrawAll", "source_mapping": {"start": 2169, "length": 720, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "CompoundStrategy", "source_mapping": {"start": 319, "length": 6386, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184], "starting_column": 1, "ending_column": 2}}, "signature": "withdrawAll()"}}, {"type": "node", "name": "require(bool,string)(cToken.redeem(cToken.balanceOf(address(this))) == 0,Redeem failed)", "source_mapping": {"start": 2475, "length": 135, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [71, 72, 73, 74], "starting_column": 17, "ending_column": 18}, "type_specific_fields": {"parent": {"type": "function", "name": "withdrawAll", "source_mapping": {"start": 2169, "length": 720, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83], "starting_column": 5, "ending_column": 6}, "type_specific_fields": {"parent": {"type": "contract", "name": "CompoundStrategy", "source_mapping": {"start": 319, "length": 6386, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_relative": "contracts/strategies/CompoundStrategy.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/strategies/CompoundStrategy.sol", "filename_short": "contracts/strategies/CompoundStrategy.sol", "is_dependency": false, "lines": [14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184], "starting_column": 1, "ending_column": 2}}, "signature": "withdrawAll()"}}}}], "description": "CompoundStrategy.withdrawAll() (contracts/strategies/CompoundStrategy.sol#66-83) uses a dangerous strict equality:\n\t- require(bool,string)(cToken.redeem(cToken.balanceOf(address(this))) == 0,Redeem failed) (contracts/strategies/CompoundStrategy.sol#71-74)\n", "markdown": "[CompoundStrategy.withdrawAll()](contracts/strategies/CompoundStrategy.sol#L66-L83) uses a dangerous strict equality:\n\t- [require(bool,string)(cToken.redeem(cToken.balanceOf(address(this))) == 0,Redeem failed)](contracts/strategies/CompoundStrategy.sol#L71-L74)\n", "id": "9e1c9a8960b5355a30be684d7838bfbc435e02b641fb93208cf2e5c248ac5db8", "check": "incorrect-equality", "impact": "Medium", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_deprecated_nonRebasingCredits", "source_mapping": {"start": 1889, "length": 46, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [56], "starting_column": 5, "ending_column": 51}, "type_specific_fields": {"parent": {"type": "contract", "name": "OUSD", "source_mapping": {"start": 829, "length": 17126, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_relative": "contracts/token/OUSD.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/token/OUSD.sol", "filename_short": "contracts/token/OUSD.sol", "is_dependency": false, "lines": [27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501], "starting_column": 1, "ending_column": 2}}}}], "description": "OUSD._deprecated_nonRebasingCredits (contracts/token/OUSD.sol#56) should be constant\n", "markdown": "[OUSD._deprecated_nonRebasingCredits](contracts/token/OUSD.sol#L56) should be constant\n", "id": "d1ea4fe9408f80125156de9fe468a481994a6d08fef3b6b1933e37e2df899f9e", "check": "constable-states", "impact": "Optimization", "confidence": "High"}, {"elements": [{"type": "variable", "name": "_deprecated_rebaseHooksAddr", "source_mapping": {"start": 2977, "length": 56, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [82], "starting_column": 5, "ending_column": 61}, "type_specific_fields": {"parent": {"type": "contract", "name": "VaultStorage", "source_mapping": {"start": 738, "length": 3013, "filename_used": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_relative": "contracts/vault/VaultStorage.sol", "filename_absolute": "/Users/tom/Code/origin-dollar/contracts/contracts/vault/VaultStorage.sol", "filename_short": "contracts/vault/VaultStorage.sol", "is_dependency": false, "lines": [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106], "starting_column": 1, "ending_column": 2}}}}], "description": "VaultStorage._deprecated_rebaseHooksAddr (contracts/vault/VaultStorage.sol#82) should be constant\n", "markdown": "[VaultStorage._deprecated_rebaseHooksAddr](contracts/vault/VaultStorage.sol#L82) should be constant\n", "id": "ed4ffd431fec4020c56a7e926083a9e68612827dfc15d7aabf73103cd7bcf2aa", "check": "constable-states", "impact": "Optimization", "confidence": "High"}] \ No newline at end of file diff --git a/contracts/storageLayout/localhost/OETHBaseHarvester.json b/contracts/storageLayout/localhost/OETHBaseHarvester.json new file mode 100644 index 0000000000..a06f33af1b --- /dev/null +++ b/contracts/storageLayout/localhost/OETHBaseHarvester.json @@ -0,0 +1,19 @@ +{ + "solcVersion": "0.8.7", + "storage": [ + { + "label": "operatorAddr", + "offset": 0, + "slot": "0", + "type": "t_address", + "contract": "OETHBaseHarvester", + "src": "contracts/harvest/OETHBaseHarvester.sol:22" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + } + } +} \ No newline at end of file diff --git a/contracts/storageLayout/localhost/OETHBaseHarvesterProxy.json b/contracts/storageLayout/localhost/OETHBaseHarvesterProxy.json new file mode 100644 index 0000000000..244ebbe46d --- /dev/null +++ b/contracts/storageLayout/localhost/OETHBaseHarvesterProxy.json @@ -0,0 +1,5 @@ +{ + "solcVersion": "0.8.7", + "storage": [], + "types": {} +} \ No newline at end of file