Transaction Hash:
Block:
22693419 at Jun-13-2025 05:02:11 AM +UTC
Transaction Fee:
0.000064538 ETH
$0.16
Gas Used:
32,269 Gas / 2 Gwei
Emitted Events:
116 |
NKNToken.Transfer( from=[Sender] 0x06fd4ba7973a0d39a91734bbc35bc2bcaa99e3b0, to=0x28C6c06298d514Db089934071355E5743bf21d60, value=897467754275960000000000 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x06FD4bA7...Caa99E3B0 | (Binance Dep: 0x06FD4bA7973a0d39a91734bbc35bC2bCaa99E3B0) |
0.016290705762445375 Eth
Nonce: 123462
|
0.016226167762445375 Eth
Nonce: 123463
| 0.000064538 | |
0x5Cf04716...35000c9eb | |||||
0x95222290...5CC4BAfe5
Miner
| (beaverbuild) | 6.334647164317880022 Eth | 6.334674628624253759 Eth | 0.000027464306373737 |
Execution Trace
NKNToken.transfer( _to=0x28C6c06298d514Db089934071355E5743bf21d60, _value=897467754275960000000000 ) => ( True )
transfer[ERC20 (ln:42)]
pragma solidity ^0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { assert(b > 0); uint256 c = a / b; return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); return a - b; } function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } } /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 { uint256 public totalSupply; function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); function allowance(address owner, address spender) public view returns (uint256); function transferFrom(address from, address to, uint256 value) public returns (bool); function approve(address spender, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } contract Owned { address public owner; event OwnershipTransferred(address indexed _from, address indexed _to); constructor() public { owner = msg.sender; } modifier onlyOwner { require(msg.sender == owner); _; } function transferOwnership(address _owner) onlyOwner public { require(_owner != address(0)); owner = _owner; emit OwnershipTransferred(owner, _owner); } } contract ERC20Token is ERC20, Owned { using SafeMath for uint256; mapping(address => uint256) balances; mapping(address => mapping (address => uint256)) allowed; // True if transfers are allowed bool public transferable = false; modifier canTransfer() { require(transferable == true); _; } function setTransferable(bool _transferable) onlyOwner public { transferable = _transferable; } /** * @dev transfer token for a specified address * @param _to The address to transfer to. * @param _value The amount to be transferred. */ function transfer(address _to, uint256 _value) canTransfer public returns (bool) { require(_to != address(0)); require(_value <= balances[msg.sender]); balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); emit Transfer(msg.sender, _to, _value); return true; } /** * @dev Gets the balance of the specified address. * @param _owner The address to query the the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf(address _owner) public view returns (uint256 balance) { return balances[_owner]; } /** * @dev Transfer tokens from one address to another * @param _from address The address which you want to send tokens from * @param _to address The address which you want to transfer to * @param _value uint256 the amount of tokens to be transferred */ function transferFrom(address _from, address _to, uint256 _value) canTransfer public returns (bool) { require(_to != address(0)); require(_value <= balances[_from]); require(_value <= allowed[_from][msg.sender]); balances[_from] = balances[_from].sub(_value); balances[_to] = balances[_to].add(_value); allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value); emit Transfer(_from, _to, _value); return true; } // Allow `_spender` to withdraw from your account, multiple times. function approve(address _spender, uint _value) public returns (bool success) { // To change the approve amount you first have to reduce the addresses` // allowance to zero by calling `approve(_spender, 0)` if it is not // already 0 to mitigate the race condition described here: // https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 if ((_value != 0) && (allowed[msg.sender][_spender] != 0)) { revert(); } allowed[msg.sender][_spender] = _value; emit Approval(msg.sender, _spender, _value); return true; } /** * @dev Function to check the amount of tokens that an owner allowed to a spender. * @param _owner address The address which owns the funds. * @param _spender address The address which will spend the funds. * @return A uint256 specifying the amount of tokens still available for the spender. */ function allowance(address _owner, address _spender) public view returns (uint256) { return allowed[_owner][_spender]; } function () public payable { revert(); } } contract NKNToken is ERC20Token{ string public name = "NKN"; string public symbol = "NKN"; uint8 public decimals = 18; uint256 public totalSupplyCap = 7 * 10**8 * 10**uint256(decimals); constructor(address _issuer) public { totalSupply = totalSupplyCap; balances[_issuer] = totalSupplyCap; emit Transfer(address(0), _issuer, totalSupplyCap); } }