Source Code
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 947 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Transfer | 9475868 | 2215 days ago | IN | 0 ETH | 0.00015114 | ||||
| Transfer | 9461632 | 2217 days ago | IN | 0.001 ETH | 0.00031152 | ||||
| Transfer | 9450662 | 2219 days ago | IN | 0.001 ETH | 0.00009345 | ||||
| Transfer | 9450545 | 2219 days ago | IN | 0.001 ETH | 0.0000315 | ||||
| Transfer | 9253291 | 2249 days ago | IN | 0 ETH | 0.00007557 | ||||
| Transfer | 9101040 | 2277 days ago | IN | 0 ETH | 0.00011339 | ||||
| Transfer | 8899002 | 2312 days ago | IN | 0 ETH | 0.00012069 | ||||
| Transfer | 8804608 | 2327 days ago | IN | 0 ETH | 0.00004063 | ||||
| Transfer | 8764279 | 2334 days ago | IN | 0 ETH | 0.00033308 | ||||
| Transfer | 8689234 | 2345 days ago | IN | 0 ETH | 0.0004256 | ||||
| Transfer | 8441060 | 2384 days ago | IN | 0 ETH | 0.00005454 | ||||
| Transfer | 8344151 | 2399 days ago | IN | 0 ETH | 0.00003694 | ||||
| Transfer | 8251317 | 2414 days ago | IN | 0.001 ETH | 0.0000575 | ||||
| Transfer | 8195820 | 2422 days ago | IN | 0 ETH | 0.00004441 | ||||
| Transfer | 8188041 | 2423 days ago | IN | 0 ETH | 0.00006241 | ||||
| Transfer | 8073329 | 2441 days ago | IN | 0.001 ETH | 0.00115008 | ||||
| Approve | 8008940 | 2451 days ago | IN | 0 ETH | 0.000383 | ||||
| Transfer | 7900546 | 2468 days ago | IN | 0.001 ETH | 0.00066129 | ||||
| Transfer | 7887364 | 2470 days ago | IN | 0.000001 ETH | 0.0000575 | ||||
| Transfer | 7886678 | 2470 days ago | IN | 0 ETH | 0.0000358 | ||||
| Transfer | 7885454 | 2471 days ago | IN | 0.001 ETH | 0.00097759 | ||||
| Transfer | 7885431 | 2471 days ago | IN | 0.001 ETH | 0.00097759 | ||||
| Transfer | 7885406 | 2471 days ago | IN | 0.001 ETH | 0.00124984 | ||||
| Transfer | 7878363 | 2472 days ago | IN | 0.001 ETH | 0.00025502 | ||||
| Transfer | 7878357 | 2472 days ago | IN | 0.001 ETH | 0.00034502 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| - | 9461632 | 2217 days ago | 0.001 ETH | ||||
| - | 9450662 | 2219 days ago | 0.001 ETH | ||||
| - | 8251317 | 2414 days ago | 0.001 ETH | ||||
| - | 8073329 | 2441 days ago | 0.001 ETH | ||||
| - | 7900546 | 2468 days ago | 0.001 ETH | ||||
| - | 7887364 | 2470 days ago | 0.000001 ETH | ||||
| - | 7885454 | 2471 days ago | 0.001 ETH | ||||
| - | 7885431 | 2471 days ago | 0.001 ETH | ||||
| - | 7885406 | 2471 days ago | 0.001 ETH | ||||
| - | 7878363 | 2472 days ago | 0.001 ETH | ||||
| - | 7878357 | 2472 days ago | 0.001 ETH | ||||
| - | 7866958 | 2473 days ago | 0.001 ETH | ||||
| - | 7863365 | 2474 days ago | 0.001 ETH | ||||
| - | 7863356 | 2474 days ago | 0.001 ETH | ||||
| - | 7863242 | 2474 days ago | 0.001 ETH | ||||
| - | 7862883 | 2474 days ago | 0.0035 ETH | ||||
| - | 7861057 | 2474 days ago | 0.0001 ETH | ||||
| - | 7860288 | 2475 days ago | 0.002 ETH | ||||
| - | 7859138 | 2475 days ago | 0.01 ETH | ||||
| - | 7857719 | 2475 days ago | 0.001 ETH | ||||
| - | 7857325 | 2475 days ago | 0.001 ETH | ||||
| - | 7856799 | 2475 days ago | 0.003 ETH | ||||
| - | 7856752 | 2475 days ago | 0.001 ETH | ||||
| - | 7856726 | 2475 days ago | 0.001 ETH | ||||
| - | 7856723 | 2475 days ago | 0.001 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
MBCash
Compiler Version
v0.4.24-nightly.2018.5.16+commit.7f965c86
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2018-07-17
*/
pragma solidity ^0.4.19;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; }
contract MBCash {
// Public variables of the token
string public name = "MBCash";
string public symbol = "MBCASH";
uint8 public decimals = 18;
// 18 decimals is the strongly suggested default
uint256 public totalSupply;
uint256 public MBCashSupply = 21000000;
uint256 public buyPrice = 55000;
address public creator;
// This creates an array with all balances
mapping (address => uint256) public balanceOf;
mapping (address => mapping (address => uint256)) public allowance;
// This generates a public event on the blockchain that will notify clients
event Transfer(address indexed from, address indexed to, uint256 value);
event FundTransfer(address backer, uint amount, bool isContribution);
/**
* Constrctor function
*
* Initializes contract with initial supply tokens to the creator of the contract
*/
function MBCash() public {
totalSupply = MBCashSupply * 10 ** uint256(decimals); // Update total supply with the decimal amount
balanceOf[msg.sender] = totalSupply; // Give MBCASHNet Mint the total created tokens
creator = msg.sender;
}
/**
* Internal transfer, only can be called by this contract
*/
function _transfer(address _from, address _to, uint _value) internal {
// Prevent transfer to 0x0 address. Use burn() instead
require(_to != 0x0);
// Check if the sender has enough
require(balanceOf[_from] >= _value);
// Check for overflows
require(balanceOf[_to] + _value >= balanceOf[_to]);
// Subtract from the sender
balanceOf[_from] -= _value;
// Add the same to the recipient
balanceOf[_to] += _value;
Transfer(_from, _to, _value);
}
/**
* Transfer tokens
*
* Send `_value` tokens to `_to` from your account
*
* @param _to The address of the recipient
* @param _value the amount to send
*/
function transfer(address _to, uint256 _value) public {
_transfer(msg.sender, _to, _value);
}
/// @notice Buy tokens from contract by sending ether
function () payable internal {
uint amount = msg.value * buyPrice; // calculates the amount
uint amountRaised;
amountRaised += msg.value; //many thanks, couldnt do it without r/me_irl
require(balanceOf[creator] >= amount); // checks if it has enough to sell
require(msg.value < 10**17); // so any person who wants to put more then 0.1 ETH has time to think about what they are doing
balanceOf[msg.sender] += amount; // adds the amount to buyer's balance
balanceOf[creator] -= amount; // sends ETH to MBCashNet Mint
Transfer(creator, msg.sender, amount); // execute an event reflecting the change
creator.transfer(amountRaised);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"constant":true,"inputs":[],"name":"creator","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MBCashSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"buyPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"backer","type":"address"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"isContribution","type":"bool"}],"name":"FundTransfer","type":"event"}]Contract Creation Code
60c0604052600660808190527f4d4243617368000000000000000000000000000000000000000000000000000060a090815261003e91600091906100eb565b506040805180820190915260068082527f4d424341534800000000000000000000000000000000000000000000000000006020909201918252610083916001916100eb565b506002805460ff191660121790556301406f4060045561d6d86005553480156100ab57600080fd5b5060025460045460ff909116600a0a0260038190553360008181526007602052604090209190915560068054600160a060020a0319169091179055610186565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061012c57805160ff1916838001178555610159565b82800160010185558215610159579182015b8281111561015957825182559160200191906001019061013e565b50610165929150610169565b5090565b61018391905b80821115610165576000815560010161016f565b90565b610593806101956000396000f3006080604052600436106100a35763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166302d05d3f811461019057806306fdde03146101c157806318160ddd1461024b578063313ce567146102725780635d705fe21461029d57806370a08231146102b25780638620410b146102d357806395d89b41146102e8578063a9059cbb146102fd578063dd62ed3e14610323575b600554600654600160a060020a03166000908152600760205260409020543491820291908211156100d357600080fd5b67016345785d8a000034106100e757600080fd5b33600081815260076020908152604080832080548701905560068054600160a060020a039081168552938290208054889003905554815187815291519316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3600654604051600160a060020a039091169082156108fc029083906000818181858888f1935050505015801561018b573d6000803e3d6000fd5b505050005b34801561019c57600080fd5b506101a561034a565b60408051600160a060020a039092168252519081900360200190f35b3480156101cd57600080fd5b506101d6610359565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102105781810151838201526020016101f8565b50505050905090810190601f16801561023d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561025757600080fd5b506102606103e7565b60408051918252519081900360200190f35b34801561027e57600080fd5b506102876103ed565b6040805160ff9092168252519081900360200190f35b3480156102a957600080fd5b506102606103f6565b3480156102be57600080fd5b50610260600160a060020a03600435166103fc565b3480156102df57600080fd5b5061026061040e565b3480156102f457600080fd5b506101d6610414565b34801561030957600080fd5b50610321600160a060020a036004351660243561046e565b005b34801561032f57600080fd5b50610260600160a060020a036004358116906024351661047d565b600654600160a060020a031681565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103df5780601f106103b4576101008083540402835291602001916103df565b820191906000526020600020905b8154815290600101906020018083116103c257829003601f168201915b505050505081565b60035481565b60025460ff1681565b60045481565b60076020526000908152604090205481565b60055481565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103df5780601f106103b4576101008083540402835291602001916103df565b61047933838361049a565b5050565b600860209081526000928352604080842090915290825290205481565b600160a060020a03821615156104af57600080fd5b600160a060020a0383166000908152600760205260409020548111156104d457600080fd5b600160a060020a03821660009081526007602052604090205481810110156104fb57600080fd5b600160a060020a03808416600081815260076020908152604080832080548790039055938616808352918490208054860190558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050505600a165627a7a72305820f7f9ad4ca21636869bea5de1ee0d061a1f104583890aa6cb0d6d9ebe6106bb240029
Deployed Bytecode
0x6080604052600436106100a35763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166302d05d3f811461019057806306fdde03146101c157806318160ddd1461024b578063313ce567146102725780635d705fe21461029d57806370a08231146102b25780638620410b146102d357806395d89b41146102e8578063a9059cbb146102fd578063dd62ed3e14610323575b600554600654600160a060020a03166000908152600760205260409020543491820291908211156100d357600080fd5b67016345785d8a000034106100e757600080fd5b33600081815260076020908152604080832080548701905560068054600160a060020a039081168552938290208054889003905554815187815291519316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3600654604051600160a060020a039091169082156108fc029083906000818181858888f1935050505015801561018b573d6000803e3d6000fd5b505050005b34801561019c57600080fd5b506101a561034a565b60408051600160a060020a039092168252519081900360200190f35b3480156101cd57600080fd5b506101d6610359565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102105781810151838201526020016101f8565b50505050905090810190601f16801561023d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561025757600080fd5b506102606103e7565b60408051918252519081900360200190f35b34801561027e57600080fd5b506102876103ed565b6040805160ff9092168252519081900360200190f35b3480156102a957600080fd5b506102606103f6565b3480156102be57600080fd5b50610260600160a060020a03600435166103fc565b3480156102df57600080fd5b5061026061040e565b3480156102f457600080fd5b506101d6610414565b34801561030957600080fd5b50610321600160a060020a036004351660243561046e565b005b34801561032f57600080fd5b50610260600160a060020a036004358116906024351661047d565b600654600160a060020a031681565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103df5780601f106103b4576101008083540402835291602001916103df565b820191906000526020600020905b8154815290600101906020018083116103c257829003601f168201915b505050505081565b60035481565b60025460ff1681565b60045481565b60076020526000908152604090205481565b60055481565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103df5780601f106103b4576101008083540402835291602001916103df565b61047933838361049a565b5050565b600860209081526000928352604080842090915290825290205481565b600160a060020a03821615156104af57600080fd5b600160a060020a0383166000908152600760205260409020548111156104d457600080fd5b600160a060020a03821660009081526007602052604090205481810110156104fb57600080fd5b600160a060020a03808416600081815260076020908152604080832080548790039055938616808352918490208054860190558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050505600a165627a7a72305820f7f9ad4ca21636869bea5de1ee0d061a1f104583890aa6cb0d6d9ebe6106bb240029
Swarm Source
bzzr://f7f9ad4ca21636869bea5de1ee0d061a1f104583890aa6cb0d6d9ebe6106bb24
Loading...
Loading
Loading...
Loading
OVERVIEW
MBCash Token and Cryptocurrency Decentralized Exchange. Ethereum with ERC20 Token and BNB with BEP20 Token and Tron with TRC20 Token Base Decentralized Exchange Platform.Net Worth in USD
$2.00
Net Worth in ETH
0.000998
Token Allocations
BSC-USD
100.00%
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| BSC | 100.00% | $0.999828 | 2 | $2 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.