ETH Price: $3,468.56 (+1.99%)

Token

BITSAY (BSC)
 

Overview

Max Total Supply

76,000,000 BSC

Holders

1

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 4 Decimals)

Balance
76,000,000 BSC

Value
$0.00
0xaeb92bd54262f4e993efe52e2dd984e65cad70c6
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ERC20

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-10-08
*/

pragma solidity ^0.4.20;

contract SafeMath {
  function safeMul(uint256 a, uint256 b) public pure  returns (uint256)  {
    uint256 c = a * b;
    assert(a == 0 || c / a == b);
    return c;
  }

  function safeDiv(uint256 a, uint256 b)public pure returns (uint256) {
    assert(b > 0);
    uint256 c = a / b;
    assert(a == b * c + a % b);
    return c;
  }

  function safeSub(uint256 a, uint256 b)public pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  function safeAdd(uint256 a, uint256 b)public pure returns (uint256) {
    uint256 c = a + b;
    assert(c>=a && c>=b);
    return c;
  }

  function _assert(bool assertion)public pure {
    assert(!assertion);
  }
}


contract ERC20Interface {
  string public name;
  string public symbol;
  uint8 public  decimals;
  uint public totalSupply;
  function transfer(address _to, uint256 _value) returns (bool success);
  function transferFrom(address _from, address _to, uint256 _value) returns (bool success);
  
  function approve(address _spender, uint256 _value) returns (bool success);
  function allowance(address _owner, address _spender) view returns (uint256 remaining);
  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;

    constructor () public {
        owner = msg.sender;
    }

    modifier onlyOwner {
        require(msg.sender == owner);
        _;
    }

    function transferOwnerShip(address newOwer) public onlyOwner {
        owner = newOwer;
    }

}

contract SelfDesctructionContract is owned {
   
   string  public someValue;
   modifier ownerRestricted {
      require(owner == msg.sender);
      _;
   } 
 
   function SelfDesctructionContract() {
      owner = msg.sender;
   }
   
   function setSomeValue(string value){
      someValue = value;
   } 

   function destroyContract() ownerRestricted {
     selfdestruct(owner);
   }
}
 
contract ERC20 is ERC20Interface,SafeMath,SelfDesctructionContract{

    mapping(address => uint256) public balanceOf;

    mapping(address => mapping(address => uint256)) allowed;

    constructor(string _name) public {
       name = _name;  // "UpChain";
       symbol = "BSC";
       decimals = 4;
       totalSupply = 760000000000;
       balanceOf[msg.sender] = totalSupply;
    }

  function transfer(address _to, uint256 _value) returns (bool success) {
      require(_to != address(0));
      require(balanceOf[msg.sender] >= _value);
      require(balanceOf[ _to] + _value >= balanceOf[ _to]); 

      balanceOf[msg.sender] =SafeMath.safeSub(balanceOf[msg.sender],_value) ;
      balanceOf[_to] =SafeMath.safeAdd(balanceOf[_to],_value) ;

      emit Transfer(msg.sender, _to, _value);

      return true;
  }


  function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {
      require(_to != address(0));
      require(allowed[_from][msg.sender] >= _value);
      require(balanceOf[_from] >= _value);
      require(balanceOf[ _to] + _value >= balanceOf[ _to]);

      balanceOf[_from] =SafeMath.safeSub(balanceOf[_from],_value) ;
      balanceOf[_to] =SafeMath.safeAdd(balanceOf[_to],_value) ;

      allowed[_from][msg.sender] =SafeMath.safeSub(allowed[_from][msg.sender],_value) ;

      emit Transfer(msg.sender, _to, _value);
      return true;
  }

  function approve(address _spender, uint256 _value) returns (bool success) {
      allowed[msg.sender][_spender] = _value;

      emit Approval(msg.sender, _spender, _value);
      return true;
  }

  function allowance(address _owner, address _spender) view returns (uint256 remaining) {
      return allowed[_owner][_spender];
  }

}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"destroyContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"someValue","outputs":[{"name":"","type":"string"}],"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":false,"inputs":[{"name":"newOwer","type":"address"}],"name":"transferOwnerShip","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeSub","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeDiv","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"assertion","type":"bool"}],"name":"_assert","outputs":[],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeMul","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[{"name":"value","type":"string"}],"name":"setSomeValue","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeAdd","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"inputs":[{"name":"_name","type":"string"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"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":true,"name":"_owner","type":"address"},{"indexed":true,"name":"_spender","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Approval","type":"event"}]

608060405234801561001057600080fd5b50604051610c08380380610c088339810160405280516004805433600160a060020a031991821681179091161790550180516100539060009060208401906100c7565b506040805180820190915260038082527f42534300000000000000000000000000000000000000000000000000000000006020909201918252610098916001916100c7565b50506002805460ff1916600417905564b0f387b000600381905533600090815260066020526040902055610162565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010857805160ff1916838001178555610135565b82800160010185558215610135579182015b8281111561013557825182559160200191906001019061011a565b50610141929150610145565b5090565b61015f91905b80821115610141576000815560010161014b565b90565b610a97806101716000396000f3006080604052600436106101065763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461010b578063092a5cce14610195578063095ea7b3146101ac57806318160ddd146101e457806323b872dd1461020b578063313ce567146102355780634a627e611461026057806370a08231146102755780638863dd1a146102965780638da5cb5b146102b757806395d89b41146102e8578063a293d1e8146102fd578063a9059cbb14610318578063b5931f7c1461033c578063cdeda05514610357578063d05c78da14610371578063d894e9371461038c578063dd62ed3e146103e5578063e6cb90131461040c575b600080fd5b34801561011757600080fd5b50610120610427565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015a578181015183820152602001610142565b50505050905090810190601f1680156101875780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101a157600080fd5b506101aa6104b5565b005b3480156101b857600080fd5b506101d0600160a060020a03600435166024356104da565b604080519115158252519081900360200190f35b3480156101f057600080fd5b506101f9610540565b60408051918252519081900360200190f35b34801561021757600080fd5b506101d0600160a060020a0360043581169060243516604435610546565b34801561024157600080fd5b5061024a6106d5565b6040805160ff9092168252519081900360200190f35b34801561026c57600080fd5b506101206106de565b34801561028157600080fd5b506101f9600160a060020a0360043516610739565b3480156102a257600080fd5b506101aa600160a060020a036004351661074b565b3480156102c357600080fd5b506102cc610791565b60408051600160a060020a039092168252519081900360200190f35b3480156102f457600080fd5b506101206107a0565b34801561030957600080fd5b506101f96004356024356107fa565b34801561032457600080fd5b506101d0600160a060020a036004351660243561080c565b34801561034857600080fd5b506101f960043560243561090a565b34801561036357600080fd5b506101aa6004351515610945565b34801561037d57600080fd5b506101f9600435602435610950565b34801561039857600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526101aa9436949293602493928401919081908401838280828437509497506109749650505050505050565b3480156103f157600080fd5b506101f9600160a060020a036004358116906024351661098b565b34801561041857600080fd5b506101f96004356024356109b6565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104ad5780601f10610482576101008083540402835291602001916104ad565b820191906000526020600020905b81548152906001019060200180831161049057829003601f168201915b505050505081565b600454600160a060020a031633146104cc57600080fd5b600454600160a060020a0316ff5b336000818152600760209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60035481565b6000600160a060020a038316151561055d57600080fd5b600160a060020a038416600090815260076020908152604080832033845290915290205482111561058d57600080fd5b600160a060020a0384166000908152600660205260409020548211156105b257600080fd5b600160a060020a03831660009081526006602052604090205482810110156105d957600080fd5b600160a060020a0384166000908152600660205260409020546105fc90836107fa565b600160a060020a03808616600090815260066020526040808220939093559085168152205461062b90836109b6565b600160a060020a03808516600090815260066020908152604080832094909455918716815260078252828120338252909152205461066990836107fa565b600160a060020a038086166000908152600760209081526040808320338085529083529281902094909455835186815293519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35060019392505050565b60025460ff1681565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104ad5780601f10610482576101008083540402835291602001916104ad565b60066020526000908152604090205481565b600454600160a060020a0316331461076257600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600454600160a060020a031681565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104ad5780601f10610482576101008083540402835291602001916104ad565b60008282111561080657fe5b50900390565b6000600160a060020a038316151561082357600080fd5b3360009081526006602052604090205482111561083f57600080fd5b600160a060020a038316600090815260066020526040902054828101101561086657600080fd5b3360009081526006602052604090205461088090836107fa565b3360009081526006602052604080822092909255600160a060020a038516815220546108ac90836109b6565b600160a060020a0384166000818152600660209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b60008080831161091657fe5b828481151561092157fe5b049050828481151561092f57fe5b06818402018414151561093e57fe5b9392505050565b801561094d57fe5b50565b600082820283158061096c575082848281151561096957fe5b04145b151561093e57fe5b80516109879060059060208401906109d0565b5050565b600160a060020a03918216600090815260076020908152604080832093909416825291909152205490565b600082820183811080159061096c57508281101561093e57fe5b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610a1157805160ff1916838001178555610a3e565b82800160010185558215610a3e579182015b82811115610a3e578251825591602001919060010190610a23565b50610a4a929150610a4e565b5090565b610a6891905b80821115610a4a5760008155600101610a54565b905600a165627a7a7230582088a459c1ba177e845c30e59d3396aa4553dfb30eb8204bb84716353f600f5b8d0029000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000064249545341590000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101065763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461010b578063092a5cce14610195578063095ea7b3146101ac57806318160ddd146101e457806323b872dd1461020b578063313ce567146102355780634a627e611461026057806370a08231146102755780638863dd1a146102965780638da5cb5b146102b757806395d89b41146102e8578063a293d1e8146102fd578063a9059cbb14610318578063b5931f7c1461033c578063cdeda05514610357578063d05c78da14610371578063d894e9371461038c578063dd62ed3e146103e5578063e6cb90131461040c575b600080fd5b34801561011757600080fd5b50610120610427565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015a578181015183820152602001610142565b50505050905090810190601f1680156101875780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101a157600080fd5b506101aa6104b5565b005b3480156101b857600080fd5b506101d0600160a060020a03600435166024356104da565b604080519115158252519081900360200190f35b3480156101f057600080fd5b506101f9610540565b60408051918252519081900360200190f35b34801561021757600080fd5b506101d0600160a060020a0360043581169060243516604435610546565b34801561024157600080fd5b5061024a6106d5565b6040805160ff9092168252519081900360200190f35b34801561026c57600080fd5b506101206106de565b34801561028157600080fd5b506101f9600160a060020a0360043516610739565b3480156102a257600080fd5b506101aa600160a060020a036004351661074b565b3480156102c357600080fd5b506102cc610791565b60408051600160a060020a039092168252519081900360200190f35b3480156102f457600080fd5b506101206107a0565b34801561030957600080fd5b506101f96004356024356107fa565b34801561032457600080fd5b506101d0600160a060020a036004351660243561080c565b34801561034857600080fd5b506101f960043560243561090a565b34801561036357600080fd5b506101aa6004351515610945565b34801561037d57600080fd5b506101f9600435602435610950565b34801561039857600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526101aa9436949293602493928401919081908401838280828437509497506109749650505050505050565b3480156103f157600080fd5b506101f9600160a060020a036004358116906024351661098b565b34801561041857600080fd5b506101f96004356024356109b6565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104ad5780601f10610482576101008083540402835291602001916104ad565b820191906000526020600020905b81548152906001019060200180831161049057829003601f168201915b505050505081565b600454600160a060020a031633146104cc57600080fd5b600454600160a060020a0316ff5b336000818152600760209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60035481565b6000600160a060020a038316151561055d57600080fd5b600160a060020a038416600090815260076020908152604080832033845290915290205482111561058d57600080fd5b600160a060020a0384166000908152600660205260409020548211156105b257600080fd5b600160a060020a03831660009081526006602052604090205482810110156105d957600080fd5b600160a060020a0384166000908152600660205260409020546105fc90836107fa565b600160a060020a03808616600090815260066020526040808220939093559085168152205461062b90836109b6565b600160a060020a03808516600090815260066020908152604080832094909455918716815260078252828120338252909152205461066990836107fa565b600160a060020a038086166000908152600760209081526040808320338085529083529281902094909455835186815293519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35060019392505050565b60025460ff1681565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104ad5780601f10610482576101008083540402835291602001916104ad565b60066020526000908152604090205481565b600454600160a060020a0316331461076257600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600454600160a060020a031681565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104ad5780601f10610482576101008083540402835291602001916104ad565b60008282111561080657fe5b50900390565b6000600160a060020a038316151561082357600080fd5b3360009081526006602052604090205482111561083f57600080fd5b600160a060020a038316600090815260066020526040902054828101101561086657600080fd5b3360009081526006602052604090205461088090836107fa565b3360009081526006602052604080822092909255600160a060020a038516815220546108ac90836109b6565b600160a060020a0384166000818152600660209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b60008080831161091657fe5b828481151561092157fe5b049050828481151561092f57fe5b06818402018414151561093e57fe5b9392505050565b801561094d57fe5b50565b600082820283158061096c575082848281151561096957fe5b04145b151561093e57fe5b80516109879060059060208401906109d0565b5050565b600160a060020a03918216600090815260076020908152604080832093909416825291909152205490565b600082820183811080159061096c57508281101561093e57fe5b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610a1157805160ff1916838001178555610a3e565b82800160010185558215610a3e579182015b82811115610a3e578251825591602001919060010190610a23565b50610a4a929150610a4e565b5090565b610a6891905b80821115610a4a5760008155600101610a54565b905600a165627a7a7230582088a459c1ba177e845c30e59d3396aa4553dfb30eb8204bb84716353f600f5b8d0029

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000064249545341590000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): BITSAY

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [2] : 4249545341590000000000000000000000000000000000000000000000000000


Swarm Source

bzzr://88a459c1ba177e845c30e59d3396aa4553dfb30eb8204bb84716353f600f5b8d
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.