Skip to content
Verified contractExact

FakeToken

Address0x43ada9fb5c0b046fd23f03214f6b55cc9ecdccb2
Balance

0 ETH

 

Transactions

1

 

Compiler

solc 0.4.26

 

Same code

Only this contract

 

Details

Compiler
solc 0.4.26+commit.4563c3fc
Language
solidity
Optimization
No
License
Not stated
Match
Exactcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
26,474,789
Creation transaction
0xb284c45345…0953b9ea33

contracts/HelloWorld.sol


pragma solidity ^0.4.24;

// Local security test only.
contract FakeToken {
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public returns (bool) {
        // Reports success without moving tokens.
        return true;
    }

    function balanceOf(address user)
        public pure returns (uint256)
    {
        return 0;
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": false
  },
  "remappings": []
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.