Audit Report using Security Tools

This commit is contained in:
Ravindra Kumar 2019-02-22 22:30:57 +05:30
parent d682e01595
commit d46354fd13
11 changed files with 12 additions and 10 deletions

View File

@ -1,4 +1,4 @@
pragma solidity ^0.5.0; pragma solidity 0.5.0;
/* solium-disable mixedcase */ /* solium-disable mixedcase */
contract Migrations { contract Migrations {

View File

@ -1,4 +1,4 @@
pragma solidity ^0.5.0; pragma solidity 0.5.0;
/** /**

View File

@ -1,4 +1,4 @@
pragma solidity ^0.5.0; pragma solidity 0.5.0;
contract AddressRegistry { contract AddressRegistry {

View File

@ -1,4 +1,4 @@
pragma solidity ^0.5.0; pragma solidity 0.5.0;
library SafeMath { library SafeMath {

View File

@ -1,4 +1,4 @@
pragma solidity ^0.5.0; pragma solidity 0.5.0;
library SafeMath { library SafeMath {

View File

@ -1,5 +1,5 @@
// Resolver to Wipe & Coll any CDP // Resolver to Wipe & Coll any CDP
pragma solidity ^0.5.0; pragma solidity 0.5.0;
library SafeMath { library SafeMath {

View File

@ -1,4 +1,4 @@
pragma solidity ^0.5.0; pragma solidity 0.5.0;
library SafeMath { library SafeMath {

View File

@ -1,4 +1,4 @@
pragma solidity ^0.5.0; pragma solidity 0.5.0;
interface IERC20 { interface IERC20 {
function balanceOf(address who) external view returns (uint256); function balanceOf(address who) external view returns (uint256);

View File

@ -10,7 +10,7 @@
//// RAVINDRA //// RAVINDRA
// How can we create a global variable for "loanMaster"? // How can we create a global variable for "loanMaster"?
pragma solidity ^0.5.0; pragma solidity 0.5.0;
library SafeMath { library SafeMath {

View File

@ -1,4 +1,4 @@
pragma solidity ^0.5.0; pragma solidity 0.5.0;
library SafeMath { library SafeMath {

View File

@ -16,6 +16,7 @@ const ropstenProvider = new HDWalletProvider(
) )
module.exports = { module.exports = {
plugins: [ "truffle-security" ],
migrations_directory: './migrations', migrations_directory: './migrations',
networks: { networks: {
test: { test: {
@ -40,6 +41,7 @@ module.exports = {
} }
}, },
solc: { solc: {
version: '0.5.4',
optimizer: { optimizer: {
enabled: true, enabled: true,
runs: 500 runs: 500