34 problems (1 error, 33 warnings) ### Errors | SWC | count | visual | | --- | --- | --- | | SWC-101 | 1 | X | ### Warnings | SWC | count | visual | | --- | --- | --- | | N/A | 14 | XXXXXXXXXXXXXX | | SWC-119 | 7 | XXXXXXX | | SWC-110 | 4 | XXXX | | SWC-103 | 8 | XXXXXXXX | ## Details ### /contracts/contracts/utils/Aggregator.sol - 5 problems (1 error, 4 warnings) | Type | Line | Description | SWC | | --- | --- | --- | --- | | ```Error``` | 22:22 | integer overflow An arithmetic operation led to an integer overflow. Since this is often not intended, make sure you take appropriate precautions when performing arithmetic operations. | [SWC-101](https://smartcontractsecurity.github.io/SWC-registry/docs/SWC-101) | | ```Warning``` | -1:0 | You are currently running MythX in Trial mode, which returns a maximum of three vulnerabilities. Sign up for a free account at https://mythx.io to run a complete report. | [N/A](https://smartcontractsecurity.github.io/SWC-registry/docs/N/A) | | ```Warning``` | 21:19 | assertion violation An assertion was violated. Make sure your program logic is correct (e.g., no division by zero) and that you add appropriate validation for inputs from both callers (e.g, passed arguments) and callees (e.g., return values). | [SWC-110](https://smartcontractsecurity.github.io/SWC-registry/docs/SWC-110) | | ```Warning``` | 42:23 | assertion violation An assertion was violated. Make sure your program logic is correct (e.g., no division by zero) and that you add appropriate validation for inputs from both callers (e.g, passed arguments) and callees (e.g., return values). | [SWC-110](https://smartcontractsecurity.github.io/SWC-registry/docs/SWC-110) | | ```Warning``` | 44:36 | assertion violation An assertion was violated. Make sure your program logic is correct (e.g., no division by zero) and that you add appropriate validation for inputs from both callers (e.g, passed arguments) and callees (e.g., return values). | [SWC-110](https://smartcontractsecurity.github.io/SWC-registry/docs/SWC-110) | ### /contracts/bancor/BancorPower.sol - 1 problem (0 errors, 1 warning) | Type | Line | Description | SWC | | --- | --- | --- | --- | | ```Warning``` | -1:0 | You are currently running MythX in Trial mode, which returns a maximum of three vulnerabilities. Sign up for a free account at https://mythx.io to run a complete report. | [N/A](https://smartcontractsecurity.github.io/SWC-registry/docs/N/A) | ### /contracts/contracts/BandRegistry.sol - 1 problem (0 errors, 1 warning) | Type | Line | Description | SWC | | --- | --- | --- | --- | | ```Warning``` | -1:0 | You are currently running MythX in Trial mode, which returns a maximum of three vulnerabilities. Sign up for a free account at https://mythx.io to run a complete report. | [N/A](https://smartcontractsecurity.github.io/SWC-registry/docs/N/A) | ### /contracts/contracts/BandToken.sol - 1 problem (0 errors, 1 warning) | Type | Line | Description | SWC | | --- | --- | --- | --- | | ```Warning``` | -1:0 | You are currently running MythX in Trial mode, which returns a maximum of three vulnerabilities. Sign up for a free account at https://mythx.io to run a complete report. | [N/A](https://smartcontractsecurity.github.io/SWC-registry/docs/N/A) | ### /contracts/contracts/Parameters.sol - 1 problem (0 errors, 1 warning) | Type | Line | Description | SWC | | --- | --- | --- | --- | | ```Warning``` | -1:0 | You are currently running MythX in Trial mode, which returns a maximum of three vulnerabilities. Sign up for a free account at https://mythx.io to run a complete report. | [N/A](https://smartcontractsecurity.github.io/SWC-registry/docs/N/A) | ### /contracts/contracts/data/WhiteListInterface.sol - 1 problem (0 errors, 1 warning) | Type | Line | Description | SWC | | --- | --- | --- | --- | | ```Warning``` | -1:0 | You are currently running MythX in Trial mode, which returns a maximum of three vulnerabilities. Sign up for a free account at https://mythx.io to run a complete report. | [N/A](https://smartcontractsecurity.github.io/SWC-registry/docs/N/A) | ### /contracts/contracts/exchange/BandExchangeInterface.sol - 1 problem (0 errors, 1 warning) | Type | Line | Description | SWC | | --- | --- | --- | --- | | ```Warning``` | -1:0 | You are currently running MythX in Trial mode, which returns a maximum of three vulnerabilities. Sign up for a free account at https://mythx.io to run a complete report. | [N/A](https://smartcontractsecurity.github.io/SWC-registry/docs/N/A) | ### /contracts/contracts/token/ERC20Acceptor.sol - 2 problems (0 errors, 2 warnings) | Type | Line | Description | SWC | | --- | --- | --- | --- | | ```Warning``` | -1:0 | You are currently running MythX in Trial mode, which returns a maximum of three vulnerabilities. Sign up for a free account at https://mythx.io to run a complete report. | [N/A](https://smartcontractsecurity.github.io/SWC-registry/docs/N/A) | | ```Warning``` | 12:24 | Local variable shadows a state variable. The local variable "token" in contract "ERC20Acceptor" shadows the state variable with the same name "token" in contract "TCRBase". | [SWC-119](https://smartcontractsecurity.github.io/SWC-registry/docs/SWC-119) | ### /contracts/contracts/token/ERC20Base.sol - 1 problem (0 errors, 1 warning) | Type | Line | Description | SWC | | --- | --- | --- | --- | | ```Warning``` | -1:0 | You are currently running MythX in Trial mode, which returns a maximum of three vulnerabilities. Sign up for a free account at https://mythx.io to run a complete report. | [N/A](https://smartcontractsecurity.github.io/SWC-registry/docs/N/A) | ### /contracts/contracts/token/ERC20Interface.sol - 1 problem (0 errors, 1 warning) | Type | Line | Description | SWC | | --- | --- | --- | --- | | ```Warning``` | -1:0 | You are currently running MythX in Trial mode, which returns a maximum of three vulnerabilities. Sign up for a free account at https://mythx.io to run a complete report. | [N/A](https://smartcontractsecurity.github.io/SWC-registry/docs/N/A) | ### /contracts/contracts/utils/Equation.sol - 1 problem (0 errors, 1 warning) | Type | Line | Description | SWC | | --- | --- | --- | --- | | ```Warning``` | 201:26 | assertion violation An assertion was violated. Make sure your program logic is correct (e.g., no division by zero) and that you add appropriate validation for inputs from both callers (e.g, passed arguments) and callees (e.g., return values). | [SWC-110](https://smartcontractsecurity.github.io/SWC-registry/docs/SWC-110) | ### /contracts/contracts/utils/Fractional.sol - 1 problem (0 errors, 1 warning) | Type | Line | Description | SWC | | --- | --- | --- | --- | | ```Warning``` | -1:0 | You are currently running MythX in Trial mode, which returns a maximum of three vulnerabilities. Sign up for a free account at https://mythx.io to run a complete report. | [N/A](https://smartcontractsecurity.github.io/SWC-registry/docs/N/A) | ### openzeppelin-solidity/contracts/access/Roles.sol - 1 problem (0 errors, 1 warning) | Type | Line | Description | SWC | | --- | --- | --- | --- | | ```Warning``` | 1:0 | A floating pragma is set. It is recommended to make a conscious choice on what version of Solidity is used for compilation. Currently multiple versions "^0.5.0" are allowed. | [SWC-103](https://smartcontractsecurity.github.io/SWC-registry/docs/SWC-103) | ### openzeppelin-solidity/contracts/access/roles/CapperRole.sol - 1 problem (0 errors, 1 warning) | Type | Line | Description | SWC | | --- | --- | --- | --- | | ```Warning``` | 1:0 | A floating pragma is set. It is recommended to make a conscious choice on what version of Solidity is used for compilation. Currently multiple versions "^0.5.0" are allowed. | [SWC-103](https://smartcontractsecurity.github.io/SWC-registry/docs/SWC-103) | ### openzeppelin-solidity/contracts/access/roles/MinterRole.sol - 1 problem (0 errors, 1 warning) | Type | Line | Description | SWC | | --- | --- | --- | --- | | ```Warning``` | 1:0 | A floating pragma is set. It is recommended to make a conscious choice on what version of Solidity is used for compilation. Currently multiple versions "^0.5.0" are allowed. | [SWC-103](https://smartcontractsecurity.github.io/SWC-registry/docs/SWC-103) | ### openzeppelin-solidity/contracts/math/Math.sol - 1 problem (0 errors, 1 warning) | Type | Line | Description | SWC | | --- | --- | --- | --- | | ```Warning``` | 1:0 | A floating pragma is set. It is recommended to make a conscious choice on what version of Solidity is used for compilation. Currently multiple versions "^0.5.0" are allowed. | [SWC-103](https://smartcontractsecurity.github.io/SWC-registry/docs/SWC-103) | ### openzeppelin-solidity/contracts/math/SafeMath.sol - 1 problem (0 errors, 1 warning) | Type | Line | Description | SWC | | --- | --- | --- | --- | | ```Warning``` | 1:0 | A floating pragma is set. It is recommended to make a conscious choice on what version of Solidity is used for compilation. Currently multiple versions "^0.5.0" are allowed. | [SWC-103](https://smartcontractsecurity.github.io/SWC-registry/docs/SWC-103) | ### openzeppelin-solidity/contracts/ownership/Ownable.sol - 1 problem (0 errors, 1 warning) | Type | Line | Description | SWC | | --- | --- | --- | --- | | ```Warning``` | 1:0 | A floating pragma is set. It is recommended to make a conscious choice on what version of Solidity is used for compilation. Currently multiple versions "^0.5.0" are allowed. | [SWC-103](https://smartcontractsecurity.github.io/SWC-registry/docs/SWC-103) | ### openzeppelin-solidity/contracts/token/ERC20/ERC20.sol - 1 problem (0 errors, 1 warning) | Type | Line | Description | SWC | | --- | --- | --- | --- | | ```Warning``` | 1:0 | A floating pragma is set. It is recommended to make a conscious choice on what version of Solidity is used for compilation. Currently multiple versions "^0.5.0" are allowed. | [SWC-103](https://smartcontractsecurity.github.io/SWC-registry/docs/SWC-103) | ### openzeppelin-solidity/contracts/token/ERC20/IERC20.sol - 1 problem (0 errors, 1 warning) | Type | Line | Description | SWC | | --- | --- | --- | --- | | ```Warning``` | 1:0 | A floating pragma is set. It is recommended to make a conscious choice on what version of Solidity is used for compilation. Currently multiple versions "^0.5.0" are allowed. | [SWC-103](https://smartcontractsecurity.github.io/SWC-registry/docs/SWC-103) | ### /contracts/contracts/mock/BondingCurveMock.sol - 2 problems (0 errors, 2 warnings) | Type | Line | Description | SWC | | --- | --- | --- | --- | | ```Warning``` | 16:4 | Local variable shadows a state variable. The local variable "collateralToken" in contract "BondingCurveMock" shadows the state variable with the same name "collateralToken" in contract "BondingCurve". | [SWC-119](https://smartcontractsecurity.github.io/SWC-registry/docs/SWC-119) | | ```Warning``` | 17:4 | Local variable shadows a state variable. The local variable "bondedToken" in contract "BondingCurveMock" shadows the state variable with the same name "bondedToken" in contract "BondingCurve". | [SWC-119](https://smartcontractsecurity.github.io/SWC-registry/docs/SWC-119) | ### /contracts/contracts/CommunityToken.sol - 3 problems (0 errors, 3 warnings) | Type | Line | Description | SWC | | --- | --- | --- | --- | | ```Warning``` | -1:0 | You are currently running MythX in Trial mode, which returns a maximum of three vulnerabilities. Sign up for a free account at https://mythx.io to run a complete report. | [N/A](https://smartcontractsecurity.github.io/SWC-registry/docs/N/A) | | ```Warning``` | 10:14 | Local variable shadows a state variable. The local variable "name" in contract "CommunityToken" shadows the state variable with the same name "name" in contract "ERC20Base". | [SWC-119](https://smartcontractsecurity.github.io/SWC-registry/docs/SWC-119) | | ```Warning``` | 10:34 | Local variable shadows a state variable. The local variable "symbol" in contract "CommunityToken" shadows the state variable with the same name "symbol" in contract "ERC20Base". | [SWC-119](https://smartcontractsecurity.github.io/SWC-registry/docs/SWC-119) | ### /contracts/contracts/mock/MockDataSource.sol - 1 problem (0 errors, 1 warning) | Type | Line | Description | SWC | | --- | --- | --- | --- | | ```Warning``` | -1:0 | You are currently running MythX in Trial mode, which returns a maximum of three vulnerabilities. Sign up for a free account at https://mythx.io to run a complete report. | [N/A](https://smartcontractsecurity.github.io/SWC-registry/docs/N/A) | ### /contracts/contracts/mock/MultiSigWalletFactory.sol - 3 problems (0 errors, 3 warnings) | Type | Line | Description | SWC | | --- | --- | --- | --- | | ```Warning``` | -1:0 | You are currently running MythX in Trial mode, which returns a maximum of three vulnerabilities. Sign up for a free account at https://mythx.io to run a complete report. | [N/A](https://smartcontractsecurity.github.io/SWC-registry/docs/N/A) | | ```Warning``` | 98:22 | Local variable shadows a state variable. The local variable "_owner" in contract "MultiSigWallet" shadows the state variable with the same name "_owner" in contract "Ownable". | [SWC-119](https://smartcontractsecurity.github.io/SWC-registry/docs/SWC-119) | | ```Warning``` | 111:25 | Local variable shadows a state variable. The local variable "_owner" in contract "MultiSigWallet" shadows the state variable with the same name "_owner" in contract "Ownable". | [SWC-119](https://smartcontractsecurity.github.io/SWC-registry/docs/SWC-119) | ### /contracts/contracts/data/AggTCD.sol - 0 problems ### /contracts/contracts/data/QueryInterface.sol - 0 problems ### /contracts/contracts/data/TCDBase.sol - 0 problems ### /contracts/contracts/exchange/BondingCurve.sol - 0 problems ### /contracts/contracts/token/LockableToken.sol - 0 problems ### /contracts/contracts/token/SnapshotToken.sol - 0 problems ### /contracts/contracts/utils/Expression.sol - 0 problems ### /contracts/contracts/factory/AggTCDFactory.sol - 0 problems ### /contracts/contracts/mock/BandMockExchange.sol - 0 problems ### /contracts/contracts/factory/BondingCurveFactory.sol - 0 problems ### /contracts/contracts/factory/CommunityFactory.sol - 0 problems ### /contracts/contracts/factory/CommunityTokenFactory.sol - 0 problems ### /contracts/contracts/factory/ParametersFactory.sol - 0 problems ### /contracts/contracts/mock/EquationMock.sol - 0 problems ### /contracts/contracts/data/MultiSigTCD.sol - 0 problems ### /contracts/contracts/factory/MultiSigTCDFactory.sol - 0 problems ### /contracts/contracts/data/OffchainAggTCD.sol - 0 problems ### /contracts/contracts/factory/OffchainAggTCDFactory.sol - 0 problems ### /contracts/contracts/mock/QueryTCDMock.sol - 0 problems ### /contracts/contracts/data/QueryTCR.sol - 0 problems ### /contracts/contracts/data/TCRBase.sol - 0 problems ### /contracts/contracts/mock/TCDListMock.sol - 0 problems ### /contracts/contracts/factory/TCRFactory.sol - 0 problems ### /contracts/contracts/token/VestingWallet.sol - 0 problems ### /contracts/contracts/data/WhiteListTCR.sol - 0 problems