You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pragma solidity ^0.4.18;
import "./MintableToken.sol";
import "./BurnableToken.sol";
import "./StandardToken.sol";
contract Paradisecoin is StandardToken, MintableToken, BurnableToken {
string public constant name = "APR Token";
string public constant symbol = "APR";
uint8 public constant decimals = 18;
uint256 public constant INITIAL_SUPPLY = 10000 * (10 ** uint256(decimals));
function burnFrom(address _from, uint256 _value) public {
require(_value <= allowed[_from][msg.sender]);
// Should https://github.com/OpenZeppelin/zeppelin-solidity/issues/707 be accepted,
// this function needs to emit an event with the updated approval.
allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
_burn(_from, _value);
}
constructor() public {
totalSupply_ = INITIAL_SUPPLY;
balances[msg.sender] = INITIAL_SUPPLY;
emit Transfer(0x0, msg.sender, INITIAL_SUPPLY);
}
}
Linux Ubuntu 16
New Remix IDE
Publishes the contract fine with initial amount of coins. When I try to run the mint as well as the burn function to my address, it does nothing to the amount of coins. I'm making the calls through the remix IDE once the contracts deployed. Is there something wrong with my contract why would this be happening?
Thanks.
The text was updated successfully, but these errors were encountered:
Linux Ubuntu 16
New Remix IDE
Publishes the contract fine with initial amount of coins. When I try to run the mint as well as the burn function to my address, it does nothing to the amount of coins. I'm making the calls through the remix IDE once the contracts deployed. Is there something wrong with my contract why would this be happening?
Thanks.
The text was updated successfully, but these errors were encountered: