ETH Price: $3,345.59 (-3.86%)

Token

Apsara Cryptocurrency Benchmark Index (ACI)
 

Overview

Max Total Supply

330,000,000 ACI

Holders

4,152

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
449,905.33164571 ACI

Value
$0.00
0xB9E3dcFb9083E10c466A4EF0beA26e4bBE70d8ab
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:
MyAdvancedToken

Compiler Version
v0.5.0+commit.1d4f565a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2020-09-16
*/

pragma solidity >=0.4.22 <0.6.0;

contract owned {
    address public owner;

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

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

    function transferOwnership(address newOwner) onlyOwner public {
        owner = newOwner;
    }
}

interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes calldata _extraData) external; }

contract TokenERC20 {
    // Public variables of the token
    string public name;
    string public symbol;
    uint8 public decimals = 18;
    // 18 decimals is the strongly suggested default, avoid changing it
    uint256 public totalSupply;

    // 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);
    
    // This generates a public event on the blockchain that will notify clients
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);

    // This notifies clients about the amount burnt
    event Burn(address indexed from, uint256 value);

    /**
     * Constrctor function
     *
     * Initializes contract with initial supply tokens to the creator of the contract
     */
    constructor(
        uint256 initialSupply,
        string memory tokenName,
        string memory tokenSymbol
    ) public {
        totalSupply = initialSupply * 10 ** uint256(decimals);  // Update total supply with the decimal amount
        balanceOf[msg.sender] = totalSupply;                    // Give the creator all initial tokens
        name = tokenName;                                       // Set the name for display purposes
        symbol = tokenSymbol;                                   // Set the symbol for display purposes
    }

    /**
     * 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 != address(0x0));
        // Check if the sender has enough
        require(balanceOf[_from] >= _value);
        // Check for overflows
        require(balanceOf[_to] + _value > balanceOf[_to]);
        // Save this for an assertion in the future
        uint previousBalances = balanceOf[_from] + balanceOf[_to];
        // Subtract from the sender
        balanceOf[_from] -= _value;
        // Add the same to the recipient
        balanceOf[_to] += _value;
        emit Transfer(_from, _to, _value);
        // Asserts are used to use static analysis to find bugs in your code. They should never fail
        assert(balanceOf[_from] + balanceOf[_to] == previousBalances);
    }

    /**
     * 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 returns (bool success) {
        _transfer(msg.sender, _to, _value);
        return true;
    }

    /**
     * Transfer tokens from other address
     *
     * Send `_value` tokens to `_to` in behalf of `_from`
     *
     * @param _from The address of the sender
     * @param _to The address of the recipient
     * @param _value the amount to send
     */
    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;
    }

    /**
     * Set allowance for other address
     *
     * Allows `_spender` to spend no more than `_value` tokens in your behalf
     *
     * @param _spender The address authorized to spend
     * @param _value the max amount they can spend
     */
    function approve(address _spender, uint256 _value) public
        returns (bool success) {
        allowance[msg.sender][_spender] = _value;
        emit Approval(msg.sender, _spender, _value);
        return true;
    }

    /**
     * Set allowance for other address and notify
     *
     * Allows `_spender` to spend no more than `_value` tokens in your behalf, and then ping the contract about it
     *
     * @param _spender The address authorized to spend
     * @param _value the max amount they can spend
     * @param _extraData some extra information to send to the approved contract
     */
    function approveAndCall(address _spender, uint256 _value, bytes memory _extraData)
        public
        returns (bool success) {
        tokenRecipient spender = tokenRecipient(_spender);
        if (approve(_spender, _value)) {
            spender.receiveApproval(msg.sender, _value, address(this), _extraData);
            return true;
        }
    }

    /**
     * Destroy tokens
     *
     * Remove `_value` tokens from the system irreversibly
     *
     * @param _value the amount of money to burn
     */
    function burn(uint256 _value) public returns (bool success) {
        require(balanceOf[msg.sender] >= _value);   // Check if the sender has enough
        balanceOf[msg.sender] -= _value;            // Subtract from the sender
        totalSupply -= _value;                      // Updates totalSupply
        emit Burn(msg.sender, _value);
        return true;
    }

    /**
     * Destroy tokens from other account
     *
     * Remove `_value` tokens from the system irreversibly on behalf of `_from`.
     *
     * @param _from the address of the sender
     * @param _value the amount of money to burn
     */
    function burnFrom(address _from, uint256 _value) public returns (bool success) {
        require(balanceOf[_from] >= _value);                // Check if the targeted balance is enough
        require(_value <= allowance[_from][msg.sender]);    // Check allowance
        balanceOf[_from] -= _value;                         // Subtract from the targeted balance
        allowance[_from][msg.sender] -= _value;             // Subtract from the sender's allowance
        totalSupply -= _value;                              // Update totalSupply
        emit Burn(_from, _value);
        return true;
    }
}

/******************************************/
/*       ADVANCED TOKEN STARTS HERE       */
/******************************************/

contract MyAdvancedToken is owned, TokenERC20 {

    uint256 public sellPrice;
    uint256 public buyPrice;

    mapping (address => bool) public frozenAccount;

    /* This generates a public event on the blockchain that will notify clients */
    event FrozenFunds(address target, bool frozen);

    /* Initializes contract with initial supply tokens to the creator of the contract */
    constructor(
        uint256 initialSupply,
        string memory tokenName,
        string memory tokenSymbol
    ) TokenERC20(initialSupply, tokenName, tokenSymbol) public {}

    /* Internal transfer, only can be called by this contract */
    function _transfer(address _from, address _to, uint _value) internal {
        require (_to != address(0x0));                          // Prevent transfer to 0x0 address. Use burn() instead
        require (balanceOf[_from] >= _value);                   // Check if the sender has enough
        require (balanceOf[_to] + _value >= balanceOf[_to]);    // Check for overflows
        require(!frozenAccount[_from]);                         // Check if sender is frozen
        require(!frozenAccount[_to]);                           // Check if recipient is frozen
        balanceOf[_from] -= _value;                             // Subtract from the sender
        balanceOf[_to] += _value;                               // Add the same to the recipient
        emit Transfer(_from, _to, _value);
    }

    /// @notice Create `mintedAmount` tokens and send it to `target`
    /// @param target Address to receive the tokens
    /// @param mintedAmount the amount of tokens it will receive
    function mintToken(address target, uint256 mintedAmount) onlyOwner public {
        balanceOf[target] += mintedAmount;
        totalSupply += mintedAmount;
        emit Transfer(address(0), address(this), mintedAmount);
        emit Transfer(address(this), target, mintedAmount);
    }

    /// @notice `freeze? Prevent | Allow` `target` from sending & receiving tokens
    /// @param target Address to be frozen
    /// @param freeze either to freeze it or not
    function freezeAccount(address target, bool freeze) onlyOwner public {
        frozenAccount[target] = freeze;
        emit FrozenFunds(target, freeze);
    }

    /// @notice Allow users to buy tokens for `newBuyPrice` eth and sell tokens for `newSellPrice` eth
    /// @param newSellPrice Price the users can sell to the contract
    /// @param newBuyPrice Price users can buy from the contract
    function setPrices(uint256 newSellPrice, uint256 newBuyPrice) onlyOwner public {
        sellPrice = newSellPrice;
        buyPrice = newBuyPrice;
    }

    /// @notice Buy tokens from contract by sending ether
    function buy() payable public {
        uint amount = msg.value / buyPrice;                 // calculates the amount
        _transfer(address(this), msg.sender, amount);       // makes the transfers
    }

    /// @notice Sell `amount` tokens to contract
    /// @param amount amount of tokens to be sold
    function sell(uint256 amount) public {
        address myAddress = address(this);
        require(myAddress.balance >= amount * sellPrice);   // checks if the contract has enough ether to buy
        _transfer(msg.sender, address(this), amount);       // makes the transfers
        msg.sender.transfer(amount * sellPrice);            // sends ether to the seller. It's important to do this last to avoid recursion attacks
    }
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"newSellPrice","type":"uint256"},{"name":"newBuyPrice","type":"uint256"}],"name":"setPrices","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"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":"_value","type":"uint256"}],"name":"burn","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"sellPrice","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":false,"inputs":[{"name":"target","type":"address"},{"name":"mintedAmount","type":"uint256"}],"name":"mintToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_value","type":"uint256"}],"name":"burnFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"buyPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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":false,"inputs":[],"name":"buy","outputs":[],"payable":true,"stateMutability":"payable","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":"","type":"address"}],"name":"frozenAccount","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"},{"name":"_extraData","type":"bytes"}],"name":"approveAndCall","outputs":[{"name":"success","type":"bool"}],"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"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"sell","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"target","type":"address"},{"name":"freeze","type":"bool"}],"name":"freezeAccount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"initialSupply","type":"uint256"},{"name":"tokenName","type":"string"},{"name":"tokenSymbol","type":"string"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"target","type":"address"},{"indexed":false,"name":"frozen","type":"bool"}],"name":"FrozenFunds","type":"event"},{"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"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"}]

60806040526003805460ff191660121790553480156200001e57600080fd5b506040516200101e3803806200101e833981018060405260608110156200004457600080fd5b8151602083018051919392830192916401000000008111156200006657600080fd5b820160208101848111156200007a57600080fd5b81516401000000008111828201871017156200009557600080fd5b50509291906020018051640100000000811115620000b257600080fd5b82016020810184811115620000c657600080fd5b8151640100000000811182820187101715620000e157600080fd5b505060008054600160a060020a03191633908117825560035460ff16600a0a88026004819055908252600560209081526040909220558551919450869350859250849162000136916001919085019062000159565b5080516200014c90600290602084019062000159565b50505050505050620001fe565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200019c57805160ff1916838001178555620001cc565b82800160010185558215620001cc579182015b82811115620001cc578251825591602001919060010190620001af565b50620001da929150620001de565b5090565b620001fb91905b80821115620001da5760008155600101620001e5565b90565b610e10806200020e6000396000f3fe6080604052600436106101275763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305fefda7811461012c57806306fdde031461015e578063095ea7b3146101e857806318160ddd1461023557806323b872dd1461025c578063313ce5671461029f57806342966c68146102ca5780634b750334146102f457806370a082311461030957806379c650681461033c57806379cc6790146103755780638620410b146103ae5780638da5cb5b146103c357806395d89b41146103f4578063a6f2ae3a14610409578063a9059cbb14610411578063b414d4b61461044a578063cae9ca511461047d578063dd62ed3e14610545578063e4849b3214610580578063e724529c146105aa578063f2fde38b146105e5575b600080fd5b34801561013857600080fd5b5061015c6004803603604081101561014f57600080fd5b5080359060200135610618565b005b34801561016a57600080fd5b5061017361063a565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ad578181015183820152602001610195565b50505050905090810190601f1680156101da5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101f457600080fd5b506102216004803603604081101561020b57600080fd5b50600160a060020a0381351690602001356106c7565b604080519115158252519081900360200190f35b34801561024157600080fd5b5061024a61072d565b60408051918252519081900360200190f35b34801561026857600080fd5b506102216004803603606081101561027f57600080fd5b50600160a060020a03813581169160208101359091169060400135610733565b3480156102ab57600080fd5b506102b46107a3565b6040805160ff9092168252519081900360200190f35b3480156102d657600080fd5b50610221600480360360208110156102ed57600080fd5b50356107ac565b34801561030057600080fd5b5061024a610824565b34801561031557600080fd5b5061024a6004803603602081101561032c57600080fd5b5035600160a060020a031661082a565b34801561034857600080fd5b5061015c6004803603604081101561035f57600080fd5b50600160a060020a03813516906020013561083c565b34801561038157600080fd5b506102216004803603604081101561039857600080fd5b50600160a060020a0381351690602001356108f2565b3480156103ba57600080fd5b5061024a6109c3565b3480156103cf57600080fd5b506103d86109c9565b60408051600160a060020a039092168252519081900360200190f35b34801561040057600080fd5b506101736109d8565b61015c610a30565b34801561041d57600080fd5b506102216004803603604081101561043457600080fd5b50600160a060020a038135169060200135610a50565b34801561045657600080fd5b506102216004803603602081101561046d57600080fd5b5035600160a060020a0316610a66565b34801561048957600080fd5b50610221600480360360608110156104a057600080fd5b600160a060020a03823516916020810135918101906060810160408201356401000000008111156104d057600080fd5b8201836020820111156104e257600080fd5b8035906020019184600183028401116401000000008311171561050457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610a7b945050505050565b34801561055157600080fd5b5061024a6004803603604081101561056857600080fd5b50600160a060020a0381358116916020013516610b99565b34801561058c57600080fd5b5061015c600480360360208110156105a357600080fd5b5035610bb6565b3480156105b657600080fd5b5061015c600480360360408110156105cd57600080fd5b50600160a060020a0381351690602001351515610c0a565b3480156105f157600080fd5b5061015c6004803603602081101561060857600080fd5b5035600160a060020a0316610c85565b600054600160a060020a0316331461062f57600080fd5b600791909155600855565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106bf5780601f10610694576101008083540402835291602001916106bf565b820191906000526020600020905b8154815290600101906020018083116106a257829003601f168201915b505050505081565b336000818152600660209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60045481565b600160a060020a038316600090815260066020908152604080832033845290915281205482111561076357600080fd5b600160a060020a0384166000908152600660209081526040808320338452909152902080548390039055610798848484610ccb565b5060015b9392505050565b60035460ff1681565b336000908152600560205260408120548211156107c857600080fd5b3360008181526005602090815260409182902080548690039055600480548690039055815185815291517fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59281900390910190a2506001919050565b60075481565b60056020526000908152604090205481565b600054600160a060020a0316331461085357600080fd5b600160a060020a03821660009081526005602090815260408083208054850190556004805485019055805184815290513093927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef928290030190a3604080518281529051600160a060020a0384169130917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600160a060020a03821660009081526005602052604081205482111561091757600080fd5b600160a060020a038316600090815260066020908152604080832033845290915290205482111561094757600080fd5b600160a060020a0383166000818152600560209081526040808320805487900390556006825280832033845282529182902080548690039055600480548690039055815185815291517fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59281900390910190a250600192915050565b60085481565b600054600160a060020a031681565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156106bf5780601f10610694576101008083540402835291602001916106bf565b600060085434811515610a3f57fe5b049050610a4d303383610ccb565b50565b6000610a5d338484610ccb565b50600192915050565b60096020526000908152604090205460ff1681565b600083610a8881856106c7565b15610b91576040517f8f4ffcb10000000000000000000000000000000000000000000000000000000081523360048201818152602483018790523060448401819052608060648501908152875160848601528751600160a060020a03871695638f4ffcb195948b94938b939192909160a490910190602085019080838360005b83811015610b20578181015183820152602001610b08565b50505050905090810190601f168015610b4d5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b158015610b6f57600080fd5b505af1158015610b83573d6000803e3d6000fd5b50505050600191505061079c565b509392505050565b600660209081526000928352604080842090915290825290205481565b6007543090820281311015610bca57600080fd5b610bd5333084610ccb565b6007546040513391840280156108fc02916000818181858888f19350505050158015610c05573d6000803e3d6000fd5b505050565b600054600160a060020a03163314610c2157600080fd5b600160a060020a038216600081815260096020908152604091829020805460ff191685151590811790915582519384529083015280517f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a59281900390910190a15050565b600054600160a060020a03163314610c9c57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a0382161515610ce057600080fd5b600160a060020a038316600090815260056020526040902054811115610d0557600080fd5b600160a060020a0382166000908152600560205260409020548181011015610d2c57600080fd5b600160a060020a03831660009081526009602052604090205460ff1615610d5257600080fd5b600160a060020a03821660009081526009602052604090205460ff1615610d7857600080fd5b600160a060020a03808416600081815260056020908152604080832080548790039055938616808352918490208054860190558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a350505056fea165627a7a72305820f15e20789f1ee9fa44de7843d78778260657411ed4bf3dbbe4e39ae2e2c5deb400290000000000000000000000000000000000000000000000000000000013ab6680000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000254170736172612043727970746f63757272656e63792042656e63686d61726b20496e64657800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034143490000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101275763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305fefda7811461012c57806306fdde031461015e578063095ea7b3146101e857806318160ddd1461023557806323b872dd1461025c578063313ce5671461029f57806342966c68146102ca5780634b750334146102f457806370a082311461030957806379c650681461033c57806379cc6790146103755780638620410b146103ae5780638da5cb5b146103c357806395d89b41146103f4578063a6f2ae3a14610409578063a9059cbb14610411578063b414d4b61461044a578063cae9ca511461047d578063dd62ed3e14610545578063e4849b3214610580578063e724529c146105aa578063f2fde38b146105e5575b600080fd5b34801561013857600080fd5b5061015c6004803603604081101561014f57600080fd5b5080359060200135610618565b005b34801561016a57600080fd5b5061017361063a565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ad578181015183820152602001610195565b50505050905090810190601f1680156101da5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101f457600080fd5b506102216004803603604081101561020b57600080fd5b50600160a060020a0381351690602001356106c7565b604080519115158252519081900360200190f35b34801561024157600080fd5b5061024a61072d565b60408051918252519081900360200190f35b34801561026857600080fd5b506102216004803603606081101561027f57600080fd5b50600160a060020a03813581169160208101359091169060400135610733565b3480156102ab57600080fd5b506102b46107a3565b6040805160ff9092168252519081900360200190f35b3480156102d657600080fd5b50610221600480360360208110156102ed57600080fd5b50356107ac565b34801561030057600080fd5b5061024a610824565b34801561031557600080fd5b5061024a6004803603602081101561032c57600080fd5b5035600160a060020a031661082a565b34801561034857600080fd5b5061015c6004803603604081101561035f57600080fd5b50600160a060020a03813516906020013561083c565b34801561038157600080fd5b506102216004803603604081101561039857600080fd5b50600160a060020a0381351690602001356108f2565b3480156103ba57600080fd5b5061024a6109c3565b3480156103cf57600080fd5b506103d86109c9565b60408051600160a060020a039092168252519081900360200190f35b34801561040057600080fd5b506101736109d8565b61015c610a30565b34801561041d57600080fd5b506102216004803603604081101561043457600080fd5b50600160a060020a038135169060200135610a50565b34801561045657600080fd5b506102216004803603602081101561046d57600080fd5b5035600160a060020a0316610a66565b34801561048957600080fd5b50610221600480360360608110156104a057600080fd5b600160a060020a03823516916020810135918101906060810160408201356401000000008111156104d057600080fd5b8201836020820111156104e257600080fd5b8035906020019184600183028401116401000000008311171561050457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610a7b945050505050565b34801561055157600080fd5b5061024a6004803603604081101561056857600080fd5b50600160a060020a0381358116916020013516610b99565b34801561058c57600080fd5b5061015c600480360360208110156105a357600080fd5b5035610bb6565b3480156105b657600080fd5b5061015c600480360360408110156105cd57600080fd5b50600160a060020a0381351690602001351515610c0a565b3480156105f157600080fd5b5061015c6004803603602081101561060857600080fd5b5035600160a060020a0316610c85565b600054600160a060020a0316331461062f57600080fd5b600791909155600855565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106bf5780601f10610694576101008083540402835291602001916106bf565b820191906000526020600020905b8154815290600101906020018083116106a257829003601f168201915b505050505081565b336000818152600660209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60045481565b600160a060020a038316600090815260066020908152604080832033845290915281205482111561076357600080fd5b600160a060020a0384166000908152600660209081526040808320338452909152902080548390039055610798848484610ccb565b5060015b9392505050565b60035460ff1681565b336000908152600560205260408120548211156107c857600080fd5b3360008181526005602090815260409182902080548690039055600480548690039055815185815291517fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59281900390910190a2506001919050565b60075481565b60056020526000908152604090205481565b600054600160a060020a0316331461085357600080fd5b600160a060020a03821660009081526005602090815260408083208054850190556004805485019055805184815290513093927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef928290030190a3604080518281529051600160a060020a0384169130917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600160a060020a03821660009081526005602052604081205482111561091757600080fd5b600160a060020a038316600090815260066020908152604080832033845290915290205482111561094757600080fd5b600160a060020a0383166000818152600560209081526040808320805487900390556006825280832033845282529182902080548690039055600480548690039055815185815291517fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59281900390910190a250600192915050565b60085481565b600054600160a060020a031681565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156106bf5780601f10610694576101008083540402835291602001916106bf565b600060085434811515610a3f57fe5b049050610a4d303383610ccb565b50565b6000610a5d338484610ccb565b50600192915050565b60096020526000908152604090205460ff1681565b600083610a8881856106c7565b15610b91576040517f8f4ffcb10000000000000000000000000000000000000000000000000000000081523360048201818152602483018790523060448401819052608060648501908152875160848601528751600160a060020a03871695638f4ffcb195948b94938b939192909160a490910190602085019080838360005b83811015610b20578181015183820152602001610b08565b50505050905090810190601f168015610b4d5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b158015610b6f57600080fd5b505af1158015610b83573d6000803e3d6000fd5b50505050600191505061079c565b509392505050565b600660209081526000928352604080842090915290825290205481565b6007543090820281311015610bca57600080fd5b610bd5333084610ccb565b6007546040513391840280156108fc02916000818181858888f19350505050158015610c05573d6000803e3d6000fd5b505050565b600054600160a060020a03163314610c2157600080fd5b600160a060020a038216600081815260096020908152604091829020805460ff191685151590811790915582519384529083015280517f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a59281900390910190a15050565b600054600160a060020a03163314610c9c57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a0382161515610ce057600080fd5b600160a060020a038316600090815260056020526040902054811115610d0557600080fd5b600160a060020a0382166000908152600560205260409020548181011015610d2c57600080fd5b600160a060020a03831660009081526009602052604090205460ff1615610d5257600080fd5b600160a060020a03821660009081526009602052604090205460ff1615610d7857600080fd5b600160a060020a03808416600081815260056020908152604080832080548790039055938616808352918490208054860190558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a350505056fea165627a7a72305820f15e20789f1ee9fa44de7843d78778260657411ed4bf3dbbe4e39ae2e2c5deb40029

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

0000000000000000000000000000000000000000000000000000000013ab6680000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000254170736172612043727970746f63757272656e63792042656e63686d61726b20496e64657800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034143490000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : initialSupply (uint256): 330000000
Arg [1] : tokenName (string): Apsara Cryptocurrency Benchmark Index
Arg [2] : tokenSymbol (string): ACI

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000013ab6680
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000025
Arg [4] : 4170736172612043727970746f63757272656e63792042656e63686d61726b20
Arg [5] : 496e646578000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 4143490000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

6765:3523:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9313:155;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9313:155:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9313:155:0;;;;;;;;;;549:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;549:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;549:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4208:225;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4208:225:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;4208:225:0;;;;;;;;;;;;;;;;;;;;;;;;;;;707:26;;8:9:-1;5:2;;;30:1;27;20:12;5:2;707:26:0;;;;;;;;;;;;;;;;;;;;3643:296;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3643:296:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;3643:296:0;;;;;;;;;;;;;;;;;;601:26;;8:9:-1;5:2;;;30:1;27;20:12;5:2;601:26:0;;;;;;;;;;;;;;;;;;;;;;;5370:374;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5370:374:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5370:374:0;;;6820:24;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6820:24:0;;;;790:45;;8:9:-1;5:2;;;30:1;27;20:12;5:2;790:45:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;790:45:0;-1:-1:-1;;;;;790:45:0;;;8428:290;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8428:290:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;8428:290:0;;;;;;;;;6007:611;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6007:611:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;6007:611:0;;;;;;;;;6851:23;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6851:23:0;;;;58:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;58:20:0;;;;;;;;-1:-1:-1;;;;;58:20:0;;;;;;;;;;;;;;574;;8:9:-1;5:2;;;30:1;27;20:12;5:2;574:20:0;;;;9535:208;;;;3211:152;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3211:152:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;3211:152:0;;;;;;;;;6883:46;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6883:46:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6883:46:0;-1:-1:-1;;;;;6883:46:0;;;4832:363;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4832:363:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;4832:363:0;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;4832:363:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;4832:363:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;4832:363:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;4832:363:0;;-1:-1:-1;4832:363:0;;-1:-1:-1;;;;;4832:363:0;842:66;;8:9:-1;5:2;;;30:1;27;20:12;5:2;842:66:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;842:66:0;;;;;;;;;;;9852:433;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9852:433:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9852:433:0;;;8904:161;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8904:161:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;8904:161:0;;;;;;;;;;;239:97;;8:9:-1;5:2;;;30:1;27;20:12;5:2;239:97:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;239:97:0;-1:-1:-1;;;;;239:97:0;;;9313:155;205:5;;-1:-1:-1;;;;;205:5:0;191:10;:19;183:28;;;;;;9403:9;:24;;;;9438:8;:22;9313:155::o;549:18::-;;;;;;;;;;;;;;;-1:-1:-1;;549:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4208:225::-;4319:10;4284:12;4309:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;4309:31:0;;;;;;;;;;;:40;;;4365:38;;;;;;;4284:12;;4309:31;;4319:10;;4365:38;;;;;;;;-1:-1:-1;4421:4:0;4208:225;;;;:::o;707:26::-;;;;:::o;3643:296::-;-1:-1:-1;;;;;3768:16:0;;3725:12;3768:16;;;:9;:16;;;;;;;;3785:10;3768:28;;;;;;;;3758:38;;;3750:47;;;;;;-1:-1:-1;;;;;3831:16:0;;;;;;:9;:16;;;;;;;;3848:10;3831:28;;;;;;;:38;;;;;;;3880:29;3841:5;3897:3;3863:6;3880:9;:29::i;:::-;-1:-1:-1;3927:4:0;3643:296;;;;;;:::o;601:26::-;;;;;;:::o;5370:374::-;5459:10;5416:12;5449:21;;;:9;:21;;;;;;:31;-1:-1:-1;5449:31:0;5441:40;;;;;;5538:10;5528:21;;;;:9;:21;;;;;;;;;:31;;;;;;;5609:11;:21;;;;;;;5690:24;;;;;;;;;;;;;;;;;-1:-1:-1;5732:4:0;5370:374;;;:::o;6820:24::-;;;;:::o;790:45::-;;;;;;;;;;;;;:::o;8428:290::-;205:5;;-1:-1:-1;;;;;205:5:0;191:10;:19;183:28;;;;;;-1:-1:-1;;;;;8513:17:0;;;;;;:9;:17;;;;;;;;:33;;;;;;8557:11;:27;;;;;;8600:49;;;;;;;8629:4;;8513:17;8600:49;;;;;;;;8665:45;;;;;;;;-1:-1:-1;;;;;8665:45:0;;;8682:4;;8665:45;;;;;;;;;8428:290;;:::o;6007:611::-;-1:-1:-1;;;;;6105:16:0;;6072:12;6105:16;;;:9;:16;;;;;;:26;-1:-1:-1;6105:26:0;6097:35;;;;;;-1:-1:-1;;;;;6219:16:0;;;;;;:9;:16;;;;;;;;6236:10;6219:28;;;;;;;;6209:38;;;6201:47;;;;;;-1:-1:-1;;;;;6281:16:0;;;;;;:9;:16;;;;;;;;:26;;;;;;;6380:9;:16;;;;;6397:10;6380:28;;;;;;;;:38;;;;;;;6481:11;:21;;;;;;;6569:19;;;;;;;;;;;;;;;;;-1:-1:-1;6606:4:0;6007:611;;;;:::o;6851:23::-;;;;:::o;58:20::-;;;-1:-1:-1;;;;;58:20:0;;:::o;574:::-;;;;;;;;;;;;;;-1:-1:-1;;574:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9535:208;9576:11;9602:8;;9590:9;:20;;;;;;;;9576:34;;9662:44;9680:4;9687:10;9699:6;9662:9;:44::i;:::-;9535:208;:::o;3211:152::-;3274:12;3299:34;3309:10;3321:3;3326:6;3299:9;:34::i;:::-;-1:-1:-1;3351:4:0;3211:152;;;;:::o;6883:46::-;;;;;;;;;;;;;;;:::o;4832:363::-;4949:12;5014:8;5038:25;5014:8;5056:6;5038:7;:25::i;:::-;5034:154;;;5080:70;;;;;5104:10;5080:70;;;;;;;;;;;;5132:4;5080:70;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5080:23:0;;;;;5104:10;5116:6;;5132:4;5139:10;;5080:70;;;;;;;;;;;;;;;;-1:-1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;5080:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5080:70:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5080:70:0;;;;5172:4;5165:11;;;;;5034:154;4832:363;;;;;;:::o;842:66::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;9852:433::-;9982:9;;9928:4;;9973:18;;9952:17;;:39;;9944:48;;;;;;10055:44;10065:10;10085:4;10092:6;10055:9;:44::i;:::-;10168:9;;10139:39;;:10;;10159:18;;10139:39;;;;;;;;;10159:18;10139:10;:39;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;10139:39:0;9852:433;;:::o;8904:161::-;205:5;;-1:-1:-1;;;;;205:5:0;191:10;:19;183:28;;;;;;-1:-1:-1;;;;;8984:21:0;;;;;;:13;:21;;;;;;;;;:30;;-1:-1:-1;;8984:30:0;;;;;;;;;;9030:27;;;;;;;;;;;;;;;;;;;;;8904:161;;:::o;239:97::-;205:5;;-1:-1:-1;;;;;205:5:0;191:10;:19;183:28;;;;;;312:5;:16;;-1:-1:-1;;312:16:0;-1:-1:-1;;;;;312:16:0;;;;;;;;;;239:97::o;7421:810::-;-1:-1:-1;;;;;7510:19:0;;;;7501:29;;;;;;-1:-1:-1;;;;;7630:16:0;;;;;;:9;:16;;;;;;:26;-1:-1:-1;7630:26:0;7621:36;;;;;;-1:-1:-1;;;;;7756:14:0;;;;;;:9;:14;;;;;;7729:23;;;:41;;7720:51;;;;;;-1:-1:-1;;;;;7817:20:0;;;;;;:13;:20;;;;;;;;7816:21;7808:30;;;;;;-1:-1:-1;;;;;7911:18:0;;;;;;:13;:18;;;;;;;;7910:19;7902:28;;;;;;-1:-1:-1;;;;;7999:16:0;;;;;;;:9;:16;;;;;;;;:26;;;;;;;8092:14;;;;;;;;;;:24;;;;;;8195:28;;;;;;;8092:14;;8195:28;;;;;;;;;;;7421:810;;;:::o

Swarm Source

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