contract BWSERC20
{
    string public standard = 'https://leeks.cc';
    string public name="Bretton Woods system"; //代币名称
    string public symbol="BWS"; //代币符号
    uint8 public decimals = 18;  //代币单位，展示的小数点后面多少个0,和以太币一样后面是是18个0
    uint256 public totalSupply=100000000 ether; //代币总量

    uint256 public st_bws_pool;//币仓
    uint256 public st_ready_for_listing;//准备上市　

    mapping (address => uint256) public balanceOf;
    mapping (address => mapping (address => uint256)) public allowance;
    mapping (address => uint32) public CredibleContract;//可信任的智能合约，主要是后期的游戏之类的
    /* 在区块链上创建一个事件，用以通知客户端*/
    event Transfer(address indexed from, address indexed to, uint256 value);  //转帐通知事件
    event Burn(address indexed from, uint256 value);  //减去用户余额事件
    
    function _transfer(address _from, address _to, uint256 _value) internal;
    
    function transfer(address _to, uint256 _value) public ;
    
    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success);
    
    function approve(address _spender, uint256 _value) public returns (bool success) ;
    
    //管理员可以解锁1400万币到指定地址
    function unlock_listing(address _to) public;
    //管理员指定可信的合约地址，这些地址可以进行一些敏感操作，比如从币仓取走股币发放给指定玩家
    function set_CredibleContract(address tract_address) public;
    
    //从币仓取出指定量的bws给指定玩家
    function TransferFromPool(address _to ,uint256 _value)public;
}
function _transfer(address _from, address _to, uint256 _value) internal;
//减去用户余额事件