Skip to content
Verified contractPartial

BEXP

Address0xeb47edc0587ed7cae9ca3593244bc42be1dedcab
Balance

0 ETH

 

Transactions

1

 

Compiler

solc 0.4.24

 

Same code

1 more contract

 

Details

Compiler
solc 0.4.24+commit.e67f0147
Language
solidity
Optimization
Yes, 200 runs
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
6,235,738
Creation transaction
0x05c4b66913…4b2822c473

BEXP.sol

contract BEXP {  
    /* This creates an array with all balances */  
    mapping (address => uint256) public balanceOf;  
      
    string public name = "BitExpress";  
    string public symbol = "BEXP";  
    uint8 public decimals = 8;  
    uint256 public totalSupply = 1000000000 * 10**decimals;
      
    event Transfer(address indexed from, address indexed to, uint256 value);  
          
    /* Initializes contract with initial supply tokens to the creator of the contract */  
    function BEXP () public {  
        balanceOf[msg.sender] = totalSupply ;             // Give the creator all initial tokens  
        Transfer(0, msg.sender, balanceOf[msg.sender]);
    }  
          
    function transfer(address _to, uint256 _value) public {  
        /* Check if sender has balance and for overflows */  
        require(balanceOf[msg.sender] >= _value && balanceOf[_to] + _value >= balanceOf[_to]);  
  
        /* Add and subtract new balances */  
        balanceOf[msg.sender] -= _value;  
        balanceOf[_to] += _value;  
          
        /* Notify anyone listening that this transfer took place */  
        Transfer(msg.sender, _to, _value);          
    }  
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": true
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.