add missing public identifier in approveData in SmartToken contract remove constact from showMessage function in message helper contract move Message helper contract to mocks folder move SmartTokenMock contract to mocks folder
16 lines
299 B
Solidity
16 lines
299 B
Solidity
pragma solidity ^0.4.13;
|
|
|
|
|
|
import '../token/SmartToken.sol';
|
|
|
|
|
|
// mock class using SmartToken
|
|
contract SmartTokenMock is SmartToken {
|
|
|
|
function SmartTokenMock(address initialAccount, uint256 initialBalance) {
|
|
balances[initialAccount] = initialBalance;
|
|
totalSupply = initialBalance;
|
|
}
|
|
|
|
}
|