The contrats are not compiling, and the app is not working because the JSON files are not generated.
truffle(develop)> compile
Compiling .\contracts\DB.sol...
Compiling .\contracts\Migrations.sol...
Compiling .\contracts\Setup.sol...
Compiling .\contracts\UserAuthManager.sol...
Compiling .\contracts\lib\arachnid\solidity-stringutils\strings.sol...
Compiling .\contracts\lib\userManager.sol...
Compiling .\contracts\lib\utilities.sol...
Compiling .\contracts\zeppelin\lifecycle\Destructible.sol...
Compiling .\contracts\zeppelin\math\SafeMath.sol...
Compiling .\contracts\zeppelin\ownership\Ownable.sol...
Compilation warnings encountered:
/C/Dev/Vue/contracts/zeppelin/ownership/Ownable.sol:17:3: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead.
function Ownable() public {
^ (Relevant source part starts here and spans across multiple lines).
,/C/Dev/Vue/contracts/zeppelin/lifecycle/Destructible.sol:13:3: Warning: Defining constructors as functions with the same name as the contract is deprecated.
Use "constructor(...) { ... }" instead.
function Destructible() payable public { }
^----------------------------------------^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:140:9: Warning: Use of the "var" keyword is deprecated.
var ret = new string(self._len);
^-----^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:158:9: Warning: Use of the "var" keyword is deprecated.
var ptr = self._ptr - 31;
^-----^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:159:9: Warning: Use of the "var" keyword is deprecated.
var end = ptr + self._len;
^-----^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:203:9: Warning: Use of the "var" keyword is deprecated.
var selfptr = self._ptr;
^---------^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:204:9: Warning: Use of the "var" keyword is deprecated.
var otherptr = other._ptr;
^----------^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:215:17: Warning: Use of the "var" keyword is deprecated.
var diff = (a & mask) - (b & mask);
^------^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:304:9: Warning: Use of the "var" keyword is deprecated.
var b = word / _div;
^---^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:414:9: Warning: Use of the "var" keyword is deprecated.
var selfptr = self._ptr + self._len - needle._len;
^---------^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:442:9: Warning: Use of the "var" keyword is deprecated.
var selfptr = self._ptr + self._len - needle._len;
^---------^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:672:9: Warning: Use of the "var" keyword is deprecated.
var ret = new string(self._len + other._len);
^-----^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:696:9: Warning: Use of the "var" keyword is deprecated.
var ret = new string(strLen);
^-----^
,/C/Dev/Vue/contracts/DB.sol:28:3: Warning: Defining constructors as functions
with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead.
function DB () public {
^ (Relevant source part starts here and spans across multiple lines).
,/C/Dev/Vue/contracts/Migrations.sol:11:3: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead.
function Migrations() public {
^ (Relevant source part starts here and spans across multiple lines).
,/C/Dev/Vue/contracts/Setup.sol:11:3: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead.
function Setup (address _dbAddress) public {
^ (Relevant source part starts here and spans across multiple lines).
,/C/Dev/Vue/contracts/lib/utilities.sol:17:5: Warning: Use of the "var" keyword is deprecated.
var idx = DB(dbAddress).getUIntValue(keccak256(countKey));
^-----^
,/C/Dev/Vue/contracts/lib/utilities.sol:24:5: Warning: Use of the "var" keyword is deprecated.
var idx = DB(dbAddress).getUIntValue(keccak256(countKey));
^-----^
,/C/Dev/Vue/contracts/lib/userManager.sol:34:5: Warning: Use of the "var" keyword is deprecated.
var firstNameLength = firstName.toSlice().len();
^-----------------^
,/C/Dev/Vue/contracts/lib/userManager.sol:35:5: Warning: Use of the "var" keyword is deprecated.
var lastNameLength = lastName.toSlice().len();
^----------------^
,/C/Dev/Vue/contracts/lib/userManager.sol:36:5: Warning: Use of the "var" keyword is deprecated.
var emailLength = email.toSlice().len();
^-------------^
,/C/Dev/Vue/contracts/UserAuthManager.sol:9:3: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead.
function UserAuthManager (address _dbAddress) public {
^ (Relevant source part starts here and spans across multiple lines).
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:473:21: Warning: The use of labels is deprecated. Please use "if", "switch", "for" or function calls instead.
loop:
^--^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:473:21: Warning: Jump instructions and labels are low-level EVM features that can lead to
incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
loop:
^--^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:474:21: Warning: Jump instructions and labels are low-level EVM features that can lead to
incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
jumpi(exit, eq(and(mload(ptr), mask), needledata))
^------------------------------------------------^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:476:21: Warning: Jump instructions and labels are low-level EVM features that can lead to
incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
jumpi(loop, lt(sub(ptr, 1), end))
^-------------------------------^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:478:21: Warning: The use of labels is deprecated. Please use "if", "switch", "for" or function calls instead.
exit:
^--^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:478:21: Warning: Jump instructions and labels are low-level EVM features that can lead to
incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
exit:
^--^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:510:21: Warning: The use of labels is deprecated. Please use "if", "switch", "for" or function calls instead.
loop:
^--^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:510:21: Warning: Jump instructions and labels are low-level EVM features that can lead to
incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
loop:
^--^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:511:21: Warning: Jump instructions and labels are low-level EVM features that can lead to
incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
jumpi(ret, eq(and(mload(ptr), mask), needledata))
^-----------------------------------------------^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:513:21: Warning: Jump instructions and labels are low-level EVM features that can lead to
incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
jumpi(loop, gt(add(ptr, 1), selfptr))
^-----------------------------------^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:515:21: Warning: Jump instructions and labels are low-level EVM features that can lead to
incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
jump(exit)
^--------^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:516:21: Warning: The use of labels is deprecated. Please use "if", "switch", "for" or function calls instead.
ret:
^-^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:516:21: Warning: Jump instructions and labels are low-level EVM features that can lead to
incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
ret:
^-^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:518:21: Warning: The use of labels is deprecated. Please use "if", "switch", "for" or function calls instead.
exit:
^--^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:518:21: Warning: Jump instructions and labels are low-level EVM features that can lead to
incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
exit:
^--^
,/C/Dev/Vue/contracts/lib/utilities.sol:10:39: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar
function to encode the data.
return DB(dbAddress).getUIntValue(keccak256(key));
^------------^
,/C/Dev/Vue/contracts/lib/utilities.sol:10:39: Warning: The provided argument of type string memory is not implicitly convertible to expected type bytes memory.
return DB(dbAddress).getUIntValue(keccak256(key));
^------------^
,/C/Dev/Vue/contracts/lib/utilities.sol:17:42: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar
function to encode the data.
var idx = DB(dbAddress).getUIntValue(keccak256(countKey));
^-----------------^
,/C/Dev/Vue/contracts/lib/utilities.sol:17:42: Warning: The provided argument of type string memory is not implicitly convertible to expected type bytes memory.
var idx = DB(dbAddress).getUIntValue(keccak256(countKey));
^-----------------^
,/C/Dev/Vue/contracts/lib/utilities.sol:18:35: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar
function to encode the data.
DB(dbAddress).setAddressValue(keccak256(key, idx), val);
^-----------------^
,/C/Dev/Vue/contracts/lib/utilities.sol:19:32: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar
function to encode the data.
DB(dbAddress).setUIntValue(keccak256(key, val, "index"), idx);
^--------------------------^
,/C/Dev/Vue/contracts/lib/utilities.sol:20:32: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar
function to encode the data.
DB(dbAddress).setUIntValue(keccak256(countKey), idx + 1);
^-----------------^
,/C/Dev/Vue/contracts/lib/utilities.sol:20:32: Warning: The provided argument of type string memory is not implicitly convertible to expected type bytes memory.
DB(dbAddress).setUIntValue(keccak256(countKey), idx + 1);
^-----------------^
,/C/Dev/Vue/contracts/lib/utilities.sol:24:42: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar
function to encode the data.
var idx = DB(dbAddress).getUIntValue(keccak256(countKey));
^-----------------^
,/C/Dev/Vue/contracts/lib/utilities.sol:24:42: Warning: The provided argument of type string memory is not implicitly convertible to expected type bytes memory.
var idx = DB(dbAddress).getUIntValue(keccak256(countKey));
^-----------------^
,/C/Dev/Vue/contracts/lib/utilities.sol:25:32: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar
function to encode the data.
DB(dbAddress).setUIntValue(keccak256(key, idx), val);
^-----------------^
,/C/Dev/Vue/contracts/lib/utilities.sol:26:32: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar
function to encode the data.
DB(dbAddress).setUIntValue(keccak256(key, val, "index"), idx);
^--------------------------^
,/C/Dev/Vue/contracts/lib/utilities.sol:27:32: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar
function to encode the data.
DB(dbAddress).setUIntValue(keccak256(countKey), idx + 1);
^-----------------^
,/C/Dev/Vue/contracts/lib/utilities.sol:27:32: Warning: The provided argument of type string memory is not implicitly convertible to expected type bytes memory.
DB(dbAddress).setUIntValue(keccak256(countKey), idx + 1);
^-----------------^
,/C/Dev/Vue/contracts/lib/userManager.sol:9:33: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.
DB(dbAddress).setUInt8Value(keccak256("user/status", userId), status);
^------------------------------^
,/C/Dev/Vue/contracts/lib/userManager.sol:21:40: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.
return DB(dbAddress).getUInt8Value(keccak256("user/status", userId));
^------------------------------^
,/C/Dev/Vue/contracts/lib/userManager.sol:47:34: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.
DB(dbAddress).setStringValue(keccak256("user/first-name", userId), firstName);
^----------------------------------^
,/C/Dev/Vue/contracts/lib/userManager.sol:48:34: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.
DB(dbAddress).setStringValue(keccak256("user/last-name", userId), lastName);
^---------------------------------^
,/C/Dev/Vue/contracts/lib/userManager.sol:49:34: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.
DB(dbAddress).setStringValue(keccak256("user/email", userId), email);
^-----------------------------^
,/C/Dev/Vue/contracts/lib/userManager.sol:50:35: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.
DB(dbAddress).setBytes32Value(keccak256("user/gravatar", userId), gravatar);
^--------------------------------^
,/C/Dev/Vue/contracts/lib/userManager.sol:60:34: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.
DB(dbAddress).setUIntValue(keccak256("user/created-on", userId), now);
^----------------------------------^
,/C/Dev/Vue/contracts/lib/userManager.sol:61:35: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.
DB(dbAddress).setUInt8Value(keccak256("user/status", userId), 1);
^------------------------------^
,/C/Dev/Vue/contracts/UserAuthManager.sol:32:5: Warning: Invoking events without "emit" prefix is deprecated.
SetUser(msg.sender, true);
^-----------------------^
/C/Dev/Vue/contracts/zeppelin/ownership/Ownable.sol:1:1: SyntaxError: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
pragma solidity 0.4.18;
^---------------------^
,/C/Dev/Vue/contracts/zeppelin/ownership/Ownable.sol:17:3: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead.
function Ownable() public {
^ (Relevant source part starts here and spans across multiple lines).
,/C/Dev/Vue/contracts/zeppelin/lifecycle/Destructible.sol:1:1: SyntaxError: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
pragma solidity 0.4.18;
^---------------------^
,/C/Dev/Vue/contracts/zeppelin/lifecycle/Destructible.sol:13:3: Warning: Defining constructors as functions with the same name as the contract is deprecated.
Use "constructor(...) { ... }" instead.
function Destructible() payable public { }
^----------------------------------------^
,/C/Dev/Vue/contracts/zeppelin/math/SafeMath.sol:1:1: SyntaxError: Source file
requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
pragma solidity 0.4.18;
^---------------------^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:1:1: SyntaxError: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Emscripten.clang - note that nightly builds are considered
to be strictly less than the released version
pragma solidity 0.4.18;
^---------------------^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:140:9: Warning: Use of the "var" keyword is deprecated.
var ret = new string(self._len);
^-----^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:158:9: Warning: Use of the "var" keyword is deprecated.
var ptr = self._ptr - 31;
^-----^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:159:9: Warning: Use of the "var" keyword is deprecated.
var end = ptr + self._len;
^-----^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:203:9: Warning: Use of the "var" keyword is deprecated.
var selfptr = self._ptr;
^---------^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:204:9: Warning: Use of the "var" keyword is deprecated.
var otherptr = other._ptr;
^----------^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:215:17: Warning: Use of the "var" keyword is deprecated.
var diff = (a & mask) - (b & mask);
^------^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:304:9: Warning: Use of the "var" keyword is deprecated.
var b = word / _div;
^---^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:414:9: Warning: Use of the "var" keyword is deprecated.
var selfptr = self._ptr + self._len - needle._len;
^---------^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:442:9: Warning: Use of the "var" keyword is deprecated.
var selfptr = self._ptr + self._len - needle._len;
^---------^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:672:9: Warning: Use of the "var" keyword is deprecated.
var ret = new string(self._len + other._len);
^-----^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:696:9: Warning: Use of the "var" keyword is deprecated.
var ret = new string(strLen);
^-----^
,/C/Dev/Vue/contracts/DB.sol:28:3: Warning: Defining constructors as functions
with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead.
function DB () public {
^ (Relevant source part starts here and spans across multiple lines).
,/C/Dev/Vue/contracts/Migrations.sol:1:1: SyntaxError: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
pragma solidity 0.4.18;
^---------------------^
,/C/Dev/Vue/contracts/Migrations.sol:11:3: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead.
function Migrations() public {
^ (Relevant source part starts here and spans across multiple lines).
,/C/Dev/Vue/contracts/Setup.sol:1:1: SyntaxError: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
pragma solidity 0.4.18;
^---------------------^
,/C/Dev/Vue/contracts/Setup.sol:11:3: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead.
function Setup (address _dbAddress) public {
^ (Relevant source part starts here and spans across multiple lines).
,/C/Dev/Vue/contracts/lib/utilities.sol:17:5: Warning: Use of the "var" keyword is deprecated.
var idx = DB(dbAddress).getUIntValue(keccak256(countKey));
^-----^
,/C/Dev/Vue/contracts/lib/utilities.sol:24:5: Warning: Use of the "var" keyword is deprecated.
var idx = DB(dbAddress).getUIntValue(keccak256(countKey));
^-----^
,/C/Dev/Vue/contracts/lib/userManager.sol:1:1: SyntaxError: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
pragma solidity 0.4.18;
^---------------------^
,/C/Dev/Vue/contracts/lib/userManager.sol:34:5: Warning: Use of the "var" keyword is deprecated.
var firstNameLength = firstName.toSlice().len();
^-----------------^
,/C/Dev/Vue/contracts/lib/userManager.sol:35:5: Warning: Use of the "var" keyword is deprecated.
var lastNameLength = lastName.toSlice().len();
^----------------^
,/C/Dev/Vue/contracts/lib/userManager.sol:36:5: Warning: Use of the "var" keyword is deprecated.
var emailLength = email.toSlice().len();
^-------------^
,/C/Dev/Vue/contracts/UserAuthManager.sol:1:1: SyntaxError: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
pragma solidity 0.4.18;
^---------------------^
,/C/Dev/Vue/contracts/UserAuthManager.sol:9:3: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead.
function UserAuthManager (address _dbAddress) public {
^ (Relevant source part starts here and spans across multiple lines).
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:473:21: Warning: The use of labels is deprecated. Please use "if", "switch", "for" or function calls instead.
loop:
^--^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:473:21: Warning: Jump instructions and labels are low-level EVM features that can lead to
incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
loop:
^--^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:474:21: Warning: Jump instructions and labels are low-level EVM features that can lead to
incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
jumpi(exit, eq(and(mload(ptr), mask), needledata))
^------------------------------------------------^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:476:21: Warning: Jump instructions and labels are low-level EVM features that can lead to
incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
jumpi(loop, lt(sub(ptr, 1), end))
^-------------------------------^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:478:21: Warning: The use of labels is deprecated. Please use "if", "switch", "for" or function calls instead.
exit:
^--^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:478:21: Warning: Jump instructions and labels are low-level EVM features that can lead to
incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
exit:
^--^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:510:21: Warning: The use of labels is deprecated. Please use "if", "switch", "for" or function calls instead.
loop:
^--^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:510:21: Warning: Jump instructions and labels are low-level EVM features that can lead to
incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
loop:
^--^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:511:21: Warning: Jump instructions and labels are low-level EVM features that can lead to
incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
jumpi(ret, eq(and(mload(ptr), mask), needledata))
^-----------------------------------------------^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:513:21: Warning: Jump instructions and labels are low-level EVM features that can lead to
incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
jumpi(loop, gt(add(ptr, 1), selfptr))
^-----------------------------------^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:515:21: Warning: Jump instructions and labels are low-level EVM features that can lead to
incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
jump(exit)
^--------^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:516:21: Warning: The use of labels is deprecated. Please use "if", "switch", "for" or function calls instead.
ret:
^-^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:516:21: Warning: Jump instructions and labels are low-level EVM features that can lead to
incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
ret:
^-^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:518:21: Warning: The use of labels is deprecated. Please use "if", "switch", "for" or function calls instead.
exit:
^--^
,/C/Dev/Vue/contracts/lib/arachnid/solidity-stringutils/strings.sol:518:21: Warning: Jump instructions and labels are low-level EVM features that can lead to
incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
exit:
^--^
,/C/Dev/Vue/contracts/lib/utilities.sol:10:39: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar
function to encode the data.
return DB(dbAddress).getUIntValue(keccak256(key));
^------------^
,/C/Dev/Vue/contracts/lib/utilities.sol:10:39: Warning: The provided argument of type string memory is not implicitly convertible to expected type bytes memory.
return DB(dbAddress).getUIntValue(keccak256(key));
^------------^
,/C/Dev/Vue/contracts/lib/utilities.sol:17:42: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar
function to encode the data.
var idx = DB(dbAddress).getUIntValue(keccak256(countKey));
^-----------------^
,/C/Dev/Vue/contracts/lib/utilities.sol:17:42: Warning: The provided argument of type string memory is not implicitly convertible to expected type bytes memory.
var idx = DB(dbAddress).getUIntValue(keccak256(countKey));
^-----------------^
,/C/Dev/Vue/contracts/lib/utilities.sol:18:35: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar
function to encode the data.
DB(dbAddress).setAddressValue(keccak256(key, idx), val);
^-----------------^
,/C/Dev/Vue/contracts/lib/utilities.sol:19:32: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar
function to encode the data.
DB(dbAddress).setUIntValue(keccak256(key, val, "index"), idx);
^--------------------------^
,/C/Dev/Vue/contracts/lib/utilities.sol:20:32: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar
function to encode the data.
DB(dbAddress).setUIntValue(keccak256(countKey), idx + 1);
^-----------------^
,/C/Dev/Vue/contracts/lib/utilities.sol:20:32: Warning: The provided argument of type string memory is not implicitly convertible to expected type bytes memory.
DB(dbAddress).setUIntValue(keccak256(countKey), idx + 1);
^-----------------^
,/C/Dev/Vue/contracts/lib/utilities.sol:24:42: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar
function to encode the data.
var idx = DB(dbAddress).getUIntValue(keccak256(countKey));
^-----------------^
,/C/Dev/Vue/contracts/lib/utilities.sol:24:42: Warning: The provided argument of type string memory is not implicitly convertible to expected type bytes memory.
var idx = DB(dbAddress).getUIntValue(keccak256(countKey));
^-----------------^
,/C/Dev/Vue/contracts/lib/utilities.sol:25:32: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar
function to encode the data.
DB(dbAddress).setUIntValue(keccak256(key, idx), val);
^-----------------^
,/C/Dev/Vue/contracts/lib/utilities.sol:26:32: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar
function to encode the data.
DB(dbAddress).setUIntValue(keccak256(key, val, "index"), idx);
^--------------------------^
,/C/Dev/Vue/contracts/lib/utilities.sol:27:32: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar
function to encode the data.
DB(dbAddress).setUIntValue(keccak256(countKey), idx + 1);
^-----------------^
,/C/Dev/Vue/contracts/lib/utilities.sol:27:32: Warning: The provided argument of type string memory is not implicitly convertible to expected type bytes memory.
DB(dbAddress).setUIntValue(keccak256(countKey), idx + 1);
^-----------------^
,/C/Dev/Vue/contracts/lib/userManager.sol:9:33: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.
DB(dbAddress).setUInt8Value(keccak256("user/status", userId), status);
^------------------------------^
,/C/Dev/Vue/contracts/lib/userManager.sol:21:40: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.
return DB(dbAddress).getUInt8Value(keccak256("user/status", userId));
^------------------------------^
,/C/Dev/Vue/contracts/lib/userManager.sol:47:34: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.
DB(dbAddress).setStringValue(keccak256("user/first-name", userId), firstName);
^----------------------------------^
,/C/Dev/Vue/contracts/lib/userManager.sol:48:34: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.
DB(dbAddress).setStringValue(keccak256("user/last-name", userId), lastName);
^---------------------------------^
,/C/Dev/Vue/contracts/lib/userManager.sol:49:34: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.
DB(dbAddress).setStringValue(keccak256("user/email", userId), email);
^-----------------------------^
,/C/Dev/Vue/contracts/lib/userManager.sol:50:35: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.
DB(dbAddress).setBytes32Value(keccak256("user/gravatar", userId), gravatar);
^--------------------------------^
,/C/Dev/Vue/contracts/lib/userManager.sol:60:34: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.
DB(dbAddress).setUIntValue(keccak256("user/created-on", userId), now);
^----------------------------------^
,/C/Dev/Vue/contracts/lib/userManager.sol:61:35: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.
DB(dbAddress).setUInt8Value(keccak256("user/status", userId), 1);
^------------------------------^
,/C/Dev/Vue/contracts/UserAuthManager.sol:32:5: Warning: Invoking events without "emit" prefix is deprecated.
SetUser(msg.sender, true);
^-----------------------^
Compilation failed. See above.