ETH Price: $3,401.28 (+2.15%)

Contract

0x91654eAf7828E7e05d2847Aa27405D9925C3dc0d
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer162036692022-12-17 9:57:59742 days ago1671271079IN
UBC Token
0 ETH0.0003494414.31084736
Transfer162036682022-12-17 9:57:47742 days ago1671271067IN
UBC Token
0 ETH0.0006974114.821
Transfer119554202021-03-01 23:56:311398 days ago1614642991IN
UBC Token
0 ETH0.0038538173.00000112
Transfer113050842020-11-22 1:36:161498 days ago1606008976IN
UBC Token
0 ETH0.0048557692.00000145
Transfer112351062020-11-11 8:01:071508 days ago1605081667IN
UBC Token
0 ETH0.0006278727.5625
Transfer64144232018-09-28 9:41:012283 days ago1538127661IN
UBC Token
0 ETH0.0012356433.49732761
Transfer62139612018-08-26 0:24:552317 days ago1535243095IN
UBC Token
0 ETH0.00003721.7
Transfer61608872018-08-17 0:50:472326 days ago1534467047IN
UBC Token
0 ETH0.000217924.2
Transfer61559242018-08-16 4:59:292327 days ago1534395569IN
UBC Token
0 ETH0.000130073.52
Transfer61557882018-08-16 4:23:452327 days ago1534393425IN
UBC Token
0 ETH0.000130293.52
Transfer61456052018-08-14 11:16:392328 days ago1534245399IN
UBC Token
0 ETH0.000069823.19
Transfer59031902018-07-04 8:39:342369 days ago1530693574IN
UBC Token
0 ETH0.0018055582.25
Transfer58640712018-06-27 15:51:222376 days ago1530114682IN
UBC Token
0 ETH0.00003911.78125
Transfer56902682018-05-28 8:01:312406 days ago1527494491IN
UBC Token
0 ETH0.000364499.88125
Transfer56323222018-05-18 1:33:572417 days ago1526607237IN
UBC Token
0 ETH0.000472769.1
Transfer55836392018-05-09 12:53:202425 days ago1525870400IN
UBC Token
0 ETH0.000131326
Transfer55826742018-05-09 8:54:252425 days ago1525856065IN
UBC Token
0 ETH0.0008115322
Transfer55480562018-05-03 8:01:592431 days ago1525334519IN
UBC Token
0 ETH0.0003688810
Transfer55425982018-05-02 8:46:502432 days ago1525250810IN
UBC Token
0 ETH0.001295625
Transfer55169982018-04-27 21:32:442437 days ago1524864764IN
UBC Token
0 ETH0.000050632.1
Transfer55169982018-04-27 21:32:442437 days ago1524864764IN
UBC Token
0 ETH0.00005052.1
Transfer55169982018-04-27 21:32:442437 days ago1524864764IN
UBC Token
0 ETH0.000108832.1
Transfer55169972018-04-27 21:32:412437 days ago1524864761IN
UBC Token
0 ETH0.000109092.1
Transfer55169882018-04-27 21:29:472437 days ago1524864587IN
UBC Token
0 ETH0.000108832.1
Transfer55169852018-04-27 21:29:042437 days ago1524864544IN
UBC Token
0 ETH0.000108832.1
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
UBCToken

Compiler Version
v0.4.11+commit.68ef5810

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.8;

contract ERC20Interface {    
    function totalSupply() constant returns (uint256 totalSupply);
    function balanceOf(address _owner) constant returns (uint256 balance);
    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) constant returns (uint256 remaining);
    event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);
}


contract UBCToken is ERC20Interface{
    /* 合约初始参数*/
    string public standard = 'Token 1.0.8';
    string public constant name="Ubiquitous Business Credit 2.0";
    string public constant symbol="UBC";
    uint8 public constant decimals=10;
    uint256 public constant _totalSupply=10000000000000000000;
    /*相关规则交由社区监督*/
    mapping(address => mapping (address => uint256)) allowed;

    //mapping (address => uint256) public balanceOf;
    mapping(address => uint256) balances;
    //mapping (address => mapping (address => uint256)) public allowance;
    address public owner;
    /* 全部*/
    function UBCToken() {
        owner = msg.sender;
        balances[owner] = _totalSupply; 
    }
    
    function totalSupply() constant returns (uint256 totalSupply) {
          totalSupply = _totalSupply;
    }
    
    /*balanceOf*/
    function balanceOf(address _owner) constant returns (uint256 balance){
        return balances[_owner]; 
    }

    /* transfer */
    function transfer(address _to, uint256 _amount) returns (bool success)  {
       if (balances[msg.sender] >= _amount 
              && _amount > 0
              && balances[_to] + _amount > balances[_to]) {
              balances[msg.sender] -= _amount;
              balances[_to] += _amount;
              Transfer(msg.sender, _to, _amount);
              return true;
          } else {
              return false;
          }
    }

    /*transferFrom*/
    function transferFrom(address _from, address _to, uint256 _amount) returns (bool success){
        if (balances[_from] >= _amount
             && _amount > 0
             && balances[_to] + _amount > balances[_to]  && _amount <= allowed[_from][msg.sender]) {
             balances[_from] -= _amount;
             balances[_to] += _amount;
             allowed[_from][msg.sender] -= _amount;
             Transfer(_from, _to, _amount);
             return true;
         } else {
             return false;
         }
    }

    /**/
    function approve(address _spender, uint256 _value) 
        returns (bool success){
         allowed[msg.sender][_spender] = _value;
         Approval(msg.sender, _spender, _value);
         return true;
    }
    /**/
    function allowance(address _owner, address _spender) constant returns (uint256 remaining)
    {
        return allowed[_owner][_spender];
    }
    
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"totalSupply","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"_totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"standard","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"type":"function"},{"inputs":[],"payable":false,"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"}]

60a0604052600b60608190527f546f6b656e20312e302e38000000000000000000000000000000000000000000608090815261003e916000919061008a565b50341561004757fe5b5b60038054600160a060020a03191633600160a060020a039081169190911791829055166000908152600260205260409020678ac7230489e8000090555b61012a565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100cb57805160ff19168380011785556100f8565b828001600101855582156100f8579182015b828111156100f85782518255916020019190600101906100dd565b5b50610105929150610109565b5090565b61012791905b80821115610105576000815560010161010f565b5090565b90565b6107f7806101396000396000f300606060405236156100b75763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b9578063095ea7b31461014957806318160ddd1461017c57806323b872dd1461019e578063313ce567146101d75780633eaaf86b146101fd5780635a3b7e421461021f57806370a08231146102af5780638da5cb5b146102dd57806395d89b4114610309578063a9059cbb14610399578063dd62ed3e146103cc575bfe5b34156100c157fe5b6100c9610400565b60408051602080825283518183015283519192839290830191850190808383821561010f575b80518252602083111561010f57601f1990920191602091820191016100ef565b505050905090810190601f16801561013b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015157fe5b610168600160a060020a0360043516602435610437565b604080519115158252519081900360200190f35b341561018457fe5b61018c6104a2565b60408051918252519081900360200190f35b34156101a657fe5b610168600160a060020a03600435811690602435166044356104af565b604080519115158252519081900360200190f35b34156101df57fe5b6101e76105c9565b6040805160ff9092168252519081900360200190f35b341561020557fe5b61018c6105ce565b60408051918252519081900360200190f35b341561022757fe5b6100c96105da565b60408051602080825283518183015283519192839290830191850190808383821561010f575b80518252602083111561010f57601f1990920191602091820191016100ef565b505050905090810190601f16801561013b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156102b757fe5b61018c600160a060020a0360043516610668565b60408051918252519081900360200190f35b34156102e557fe5b6102ed610687565b60408051600160a060020a039092168252519081900360200190f35b341561031157fe5b6100c9610696565b60408051602080825283518183015283519192839290830191850190808383821561010f575b80518252602083111561010f57601f1990920191602091820191016100ef565b505050905090810190601f16801561013b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103a157fe5b610168600160a060020a03600435166024356106cd565b604080519115158252519081900360200190f35b34156103d457fe5b61018c600160a060020a036004358116906024351661079e565b60408051918252519081900360200190f35b60408051808201909152601e81527f556269717569746f757320427573696e6573732043726564697420322e300000602082015281565b600160a060020a03338116600081815260016020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b678ac7230489e800005b90565b600160a060020a0383166000908152600260205260408120548290108015906104d85750600082115b80156104fd5750600160a060020a038316600090815260026020526040902054828101115b801561052f5750600160a060020a03808516600090815260016020908152604080832033909416835292905220548211155b156105bd57600160a060020a03808516600081815260026020908152604080832080548890039055878516808452818420805489019055848452600183528184203390961684529482529182902080548790039055815186815291517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35060016105c1565b5060005b5b9392505050565b600a81565b678ac7230489e8000081565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106605780601f1061063557610100808354040283529160200191610660565b820191906000526020600020905b81548152906001019060200180831161064357829003601f168201915b505050505081565b600160a060020a0381166000908152600260205260409020545b919050565b600354600160a060020a031681565b60408051808201909152600381527f5542430000000000000000000000000000000000000000000000000000000000602082015281565b600160a060020a0333166000908152600260205260408120548290108015906106f65750600082115b801561071b5750600160a060020a038316600090815260026020526040902054828101115b1561078f57600160a060020a03338116600081815260026020908152604080832080548890039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a350600161049c565b50600061049c565b5b92915050565b600160a060020a038083166000908152600160209081526040808320938516835292905220545b929150505600a165627a7a7230582034a8e49b1e332f34b6a4e565f2b657862ec2c220d186d055a67274e455a752570029

Deployed Bytecode

0x606060405236156100b75763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b9578063095ea7b31461014957806318160ddd1461017c57806323b872dd1461019e578063313ce567146101d75780633eaaf86b146101fd5780635a3b7e421461021f57806370a08231146102af5780638da5cb5b146102dd57806395d89b4114610309578063a9059cbb14610399578063dd62ed3e146103cc575bfe5b34156100c157fe5b6100c9610400565b60408051602080825283518183015283519192839290830191850190808383821561010f575b80518252602083111561010f57601f1990920191602091820191016100ef565b505050905090810190601f16801561013b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015157fe5b610168600160a060020a0360043516602435610437565b604080519115158252519081900360200190f35b341561018457fe5b61018c6104a2565b60408051918252519081900360200190f35b34156101a657fe5b610168600160a060020a03600435811690602435166044356104af565b604080519115158252519081900360200190f35b34156101df57fe5b6101e76105c9565b6040805160ff9092168252519081900360200190f35b341561020557fe5b61018c6105ce565b60408051918252519081900360200190f35b341561022757fe5b6100c96105da565b60408051602080825283518183015283519192839290830191850190808383821561010f575b80518252602083111561010f57601f1990920191602091820191016100ef565b505050905090810190601f16801561013b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156102b757fe5b61018c600160a060020a0360043516610668565b60408051918252519081900360200190f35b34156102e557fe5b6102ed610687565b60408051600160a060020a039092168252519081900360200190f35b341561031157fe5b6100c9610696565b60408051602080825283518183015283519192839290830191850190808383821561010f575b80518252602083111561010f57601f1990920191602091820191016100ef565b505050905090810190601f16801561013b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103a157fe5b610168600160a060020a03600435166024356106cd565b604080519115158252519081900360200190f35b34156103d457fe5b61018c600160a060020a036004358116906024351661079e565b60408051918252519081900360200190f35b60408051808201909152601e81527f556269717569746f757320427573696e6573732043726564697420322e300000602082015281565b600160a060020a03338116600081815260016020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b678ac7230489e800005b90565b600160a060020a0383166000908152600260205260408120548290108015906104d85750600082115b80156104fd5750600160a060020a038316600090815260026020526040902054828101115b801561052f5750600160a060020a03808516600090815260016020908152604080832033909416835292905220548211155b156105bd57600160a060020a03808516600081815260026020908152604080832080548890039055878516808452818420805489019055848452600183528184203390961684529482529182902080548790039055815186815291517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35060016105c1565b5060005b5b9392505050565b600a81565b678ac7230489e8000081565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106605780601f1061063557610100808354040283529160200191610660565b820191906000526020600020905b81548152906001019060200180831161064357829003601f168201915b505050505081565b600160a060020a0381166000908152600260205260409020545b919050565b600354600160a060020a031681565b60408051808201909152600381527f5542430000000000000000000000000000000000000000000000000000000000602082015281565b600160a060020a0333166000908152600260205260408120548290108015906106f65750600082115b801561071b5750600160a060020a038316600090815260026020526040902054828101115b1561078f57600160a060020a03338116600081815260026020908152604080832080548890039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a350600161049c565b50600061049c565b5b92915050565b600160a060020a038083166000908152600160209081526040808320938516835292905220545b929150505600a165627a7a7230582034a8e49b1e332f34b6a4e565f2b657862ec2c220d186d055a67274e455a752570029

Swarm Source

bzzr://34a8e49b1e332f34b6a4e565f2b657862ec2c220d186d055a67274e455a75257

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ 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.