Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Loading...
Loading
Contract Name:
AiboCoin
Compiler Version
v0.4.18+commit.9cf6e910
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-10-12 */ pragma solidity ^0.4.18; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 is ERC20Basic { function allowance(address owner, address spender) public view returns (uint256); function transferFrom(address from, address to, uint256 value) public returns (bool); function approve(address spender, uint256 value) public returns (bool); event Approval(address indexed owner, address indexed spender, uint256 value); } /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { // assert(b > 0); // Solidity automatically throws when dividing by 0 uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); return a - b; } function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } } /** * @title Basic token * @dev Basic version of StandardToken, with no allowances. */ contract BasicToken is ERC20Basic { using SafeMath for uint256; mapping(address => uint256) balances; /** * @dev transfer token for a specified address * @param _to The address to transfer to. * @param _value The amount to be transferred. */ function transfer(address _to, uint256 _value) public returns (bool) { require(_to != address(0)); require(_value <= balances[msg.sender]); // SafeMath.sub will throw if there is not enough balance. balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); Transfer(msg.sender, _to, _value); return true; } /** * @dev Gets the balance of the specified address. * @param _owner The address to query the the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf(address _owner) public view returns (uint256 balance) { return balances[_owner]; } } /** * @title Standard ERC20 token * * @dev Implementation of the basic standard token. * @dev https://github.com/ethereum/EIPs/issues/20 * @dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol */ contract StandardToken is ERC20, BasicToken { mapping (address => mapping (address => uint256)) internal allowed; /** * @dev Transfer tokens from one address to another * @param _from address The address which you want to send tokens from * @param _to address The address which you want to transfer to * @param _value uint256 the amount of tokens to be transferred */ function transferFrom(address _from, address _to, uint256 _value) public returns (bool) { require(_to != address(0)); require(_value <= balances[_from]); require(_value <= allowed[_from][msg.sender]); balances[_from] = balances[_from].sub(_value); balances[_to] = balances[_to].add(_value); allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value); Transfer(_from, _to, _value); return true; } /** * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender. * * Beware that changing an allowance with this method brings the risk that someone may use both the old * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * @param _spender The address which will spend the funds. * @param _value The amount of tokens to be spent. */ function approve(address _spender, uint256 _value) public returns (bool) { allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } /** * @dev Function to check the amount of tokens that an owner allowed to a spender. * @param _owner address The address which owns the funds. * @param _spender address The address which will spend the funds. * @return A uint256 specifying the amount of tokens still available for the spender. */ function allowance(address _owner, address _spender) public view returns (uint256) { return allowed[_owner][_spender]; } /** * approve should be called when allowed[_spender] == 0. To increment * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol */ function increaseApproval(address _spender, uint _addedValue) public returns (bool) { allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue); Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool) { uint oldValue = allowed[msg.sender][_spender]; if (_subtractedValue > oldValue) { allowed[msg.sender][_spender] = 0; } else { allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue); } Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } } /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ function Ownable() public { owner = msg.sender; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(msg.sender == owner); _; } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function transferOwnership(address newOwner) public onlyOwner { require(newOwner != address(0)); OwnershipTransferred(owner, newOwner); owner = newOwner; } } /** * @title Pausable * @dev Base contract which allows children to implement an emergency stop mechanism. */ contract Pausable is Ownable { event PausePublic(bool newState); event PauseOwnerAdmin(bool newState); bool public pausedPublic = false; bool public pausedOwnerAdmin = false; address public admin; /** * @dev Modifier to make a function callable based on pause states. */ modifier whenNotPaused() { if(pausedPublic) { if(!pausedOwnerAdmin) { require(msg.sender == admin || msg.sender == owner); } else { revert(); } } _; } /** * @dev called by the owner to set new pause flags * pausedPublic can't be false while pausedOwnerAdmin is true */ function pause(bool newPausedPublic, bool newPausedOwnerAdmin) onlyOwner public { require(!(newPausedPublic == false && newPausedOwnerAdmin == true)); pausedPublic = newPausedPublic; pausedOwnerAdmin = newPausedOwnerAdmin; PausePublic(newPausedPublic); PauseOwnerAdmin(newPausedOwnerAdmin); } } contract PausableToken is StandardToken, Pausable { function transfer(address _to, uint256 _value) public whenNotPaused returns (bool) { return super.transfer(_to, _value); } function transferFrom(address _from, address _to, uint256 _value) public whenNotPaused returns (bool) { return super.transferFrom(_from, _to, _value); } function approve(address _spender, uint256 _value) public whenNotPaused returns (bool) { return super.approve(_spender, _value); } function increaseApproval(address _spender, uint _addedValue) public whenNotPaused returns (bool success) { return super.increaseApproval(_spender, _addedValue); } function decreaseApproval(address _spender, uint _subtractedValue) public whenNotPaused returns (bool success) { return super.decreaseApproval(_spender, _subtractedValue); } } contract AiboCoin is PausableToken { string public constant name = "AiboCoin"; string public constant symbol = "Acoin"; uint8 public constant decimals = 18; modifier validDestination( address to ) { require(to != address(0x0)); require(to != address(this)); _; } function AiboCoin( address _admin, uint _totalTokenAmount ) { // assign the admin account admin = _admin; // assign the total tokens to AiboCoin totalSupply = _totalTokenAmount; balances[msg.sender] = _totalTokenAmount; Transfer(address(0x0), msg.sender, _totalTokenAmount); } function transfer(address _to, uint _value) validDestination(_to) returns (bool) { return super.transfer(_to, _value); } function transferFrom(address _from, address _to, uint _value) validDestination(_to) returns (bool) { return super.transferFrom(_from, _to, _value); } event Burn(address indexed _burner, uint _value); function burn(uint _value) returns (bool) { balances[msg.sender] = balances[msg.sender].sub(_value); totalSupply = totalSupply.sub(_value); Burn(msg.sender, _value); Transfer(msg.sender, address(0x0), _value); return true; } // save some gas by making only one contract call function burnFrom(address _from, uint256 _value) returns (bool) { assert( transferFrom( _from, msg.sender, _value ) ); return burn(_value); } function emergencyERC20Drain( ERC20 token, uint amount ) onlyOwner { // owner can drain tokens that are sent here by mistake token.transfer( owner, amount ); } event AdminTransferred(address indexed previousAdmin, address indexed newAdmin); function changeAdmin(address newAdmin) onlyOwner { // owner can re-assign the admin AdminTransferred(admin, newAdmin); admin = newAdmin; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":"","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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"pausedPublic","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"pausedOwnerAdmin","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_value","type":"uint256"}],"name":"burnFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newAdmin","type":"address"}],"name":"changeAdmin","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":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"token","type":"address"},{"name":"amount","type":"uint256"}],"name":"emergencyERC20Drain","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newPausedPublic","type":"bool"},{"name":"newPausedOwnerAdmin","type":"bool"}],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"admin","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_admin","type":"address"},{"name":"_totalTokenAmount","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_burner","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousAdmin","type":"address"},{"indexed":true,"name":"newAdmin","type":"address"}],"name":"AdminTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"newState","type":"bool"}],"name":"PausePublic","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"newState","type":"bool"}],"name":"PauseOwnerAdmin","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"}]
Contract Creation Code
60606040526003805460a060020a61ffff0219169055341561002057600080fd5b604051604080611134833981016040528080519190602001805160038054600160a060020a03338116600160a060020a031992831681179093556004805491881691909216179055600082815581815260016020526040808220849055929450909250907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a3505061106c806100c86000396000f30060606040526004361061011c5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610121578063095ea7b3146101ab57806318160ddd146101e157806323b872dd1461020657806324bb7c261461022e578063313ce5671461024157806342966c681461026a57806364779ad714610280578063661884631461029357806370a08231146102b557806379cc6790146102d45780638da5cb5b146102f65780638f2839701461032557806395d89b4114610346578063a9059cbb14610359578063d73dd6231461037b578063db0e16f11461039d578063dd62ed3e146103bf578063ddeb5094146103e4578063f2fde38b14610401578063f851a44014610420575b600080fd5b341561012c57600080fd5b610134610433565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610170578082015183820152602001610158565b50505050905090810190601f16801561019d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101b657600080fd5b6101cd600160a060020a036004351660243561046a565b604051901515815260200160405180910390f35b34156101ec57600080fd5b6101f46104d9565b60405190815260200160405180910390f35b341561021157600080fd5b6101cd600160a060020a03600435811690602435166044356104df565b341561023957600080fd5b6101cd61052c565b341561024c57600080fd5b61025461053c565b60405160ff909116815260200160405180910390f35b341561027557600080fd5b6101cd600435610541565b341561028b57600080fd5b6101cd61061e565b341561029e57600080fd5b6101cd600160a060020a036004351660243561062e565b34156102c057600080fd5b6101f4600160a060020a0360043516610696565b34156102df57600080fd5b6101cd600160a060020a03600435166024356106b1565b341561030157600080fd5b6103096106cf565b604051600160a060020a03909116815260200160405180910390f35b341561033057600080fd5b610344600160a060020a03600435166106de565b005b341561035157600080fd5b610134610764565b341561036457600080fd5b6101cd600160a060020a036004351660243561079b565b341561038657600080fd5b6101cd600160a060020a03600435166024356107e6565b34156103a857600080fd5b610344600160a060020a036004351660243561084e565b34156103ca57600080fd5b6101f4600160a060020a0360043581169060243516610904565b34156103ef57600080fd5b6103446004351515602435151561092f565b341561040c57600080fd5b610344600160a060020a0360043516610a1d565b341561042b57600080fd5b610309610ab8565b60408051908101604052600881527f4169626f436f696e000000000000000000000000000000000000000000000000602082015281565b60035460009060a060020a900460ff16156104c85760035460a860020a900460ff16151561011c5760045433600160a060020a03908116911614806104bd575060035433600160a060020a039081169116145b15156104c857600080fd5b6104d28383610ac7565b9392505050565b60005481565b600082600160a060020a03811615156104f757600080fd5b30600160a060020a031681600160a060020a03161415151561051857600080fd5b610523858585610b33565b95945050505050565b60035460a060020a900460ff1681565b601281565b600160a060020a03331660009081526001602052604081205461056a908363ffffffff610b9c16565b600160a060020a03331660009081526001602052604081209190915554610597908363ffffffff610b9c16565b600055600160a060020a0333167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58360405190815260200160405180910390a2600033600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a3506001919050565b60035460a860020a900460ff1681565b60035460009060a060020a900460ff161561068c5760035460a860020a900460ff16151561011c5760045433600160a060020a0390811691161480610681575060035433600160a060020a039081169116145b151561068c57600080fd5b6104d28383610bae565b600160a060020a031660009081526001602052604090205490565b60006106be8333846104df565b15156106c657fe5b6104d282610541565b600354600160a060020a031681565b60035433600160a060020a039081169116146106f957600080fd5b600454600160a060020a0380831691167ff8ccb027dfcd135e000e9d45e6cc2d662578a8825d4c45b5e32e0adf67e79ec660405160405180910390a36004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60408051908101604052600581527f41636f696e000000000000000000000000000000000000000000000000000000602082015281565b600082600160a060020a03811615156107b357600080fd5b30600160a060020a031681600160a060020a0316141515156107d457600080fd5b6107de8484610ca8565b949350505050565b60035460009060a060020a900460ff16156108445760035460a860020a900460ff16151561011c5760045433600160a060020a0390811691161480610839575060035433600160a060020a039081169116145b151561084457600080fd5b6104d28383610d10565b60035433600160a060020a0390811691161461086957600080fd5b600354600160a060020a038084169163a9059cbb9116836000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156108e557600080fd5b6102c65a03f115156108f657600080fd5b505050604051805150505050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60035433600160a060020a0390811691161461094a57600080fd5b8115801561095a57506001811515145b1561096457600080fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a841515021775ff000000000000000000000000000000000000000000191660a860020a831515021790557fa14d191ca4f53bfcf003c65d429362010a2d3d68bc0c50cce4bdc0fccf661fb082604051901515815260200160405180910390a17fc77636fc4a62a1fa193ef538c0b7993a1313a0d9c0a9173058cebcd3239ef7b581604051901515815260200160405180910390a15050565b60035433600160a060020a03908116911614610a3857600080fd5b600160a060020a0381161515610a4d57600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600454600160a060020a031681565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60035460009060a060020a900460ff1615610b915760035460a860020a900460ff16151561011c5760045433600160a060020a0390811691161480610b86575060035433600160a060020a039081169116145b1515610b9157600080fd5b6107de848484610db4565b600082821115610ba857fe5b50900390565b600160a060020a03338116600090815260026020908152604080832093861683529290529081205480831115610c0b57600160a060020a033381166000908152600260209081526040808320938816835292905290812055610c42565b610c1b818463ffffffff610b9c16565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b60035460009060a060020a900460ff1615610d065760035460a860020a900460ff16151561011c5760045433600160a060020a0390811691161480610cfb575060035433600160a060020a039081169116145b1515610d0657600080fd5b6104d28383610f36565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054610d48908363ffffffff61103116565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b6000600160a060020a0383161515610dcb57600080fd5b600160a060020a038416600090815260016020526040902054821115610df057600080fd5b600160a060020a0380851660009081526002602090815260408083203390941683529290522054821115610e2357600080fd5b600160a060020a038416600090815260016020526040902054610e4c908363ffffffff610b9c16565b600160a060020a038086166000908152600160205260408082209390935590851681522054610e81908363ffffffff61103116565b600160a060020a03808516600090815260016020908152604080832094909455878316825260028152838220339093168252919091522054610ec9908363ffffffff610b9c16565b600160a060020a03808616600081815260026020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b6000600160a060020a0383161515610f4d57600080fd5b600160a060020a033316600090815260016020526040902054821115610f7257600080fd5b600160a060020a033316600090815260016020526040902054610f9b908363ffffffff610b9c16565b600160a060020a033381166000908152600160205260408082209390935590851681522054610fd0908363ffffffff61103116565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b6000828201838110156104d257fe00a165627a7a723058202c96a1fe29f96ec4aa6afc46c2897522aa35bc2ade5946ed54406b598a60ab91002900000000000000000000000085a2175018143c1d008907afc406d7174cd3a3a90000000000000000000000000000000000000000019d971e4fe8401e74000000
Deployed Bytecode
0x60606040526004361061011c5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610121578063095ea7b3146101ab57806318160ddd146101e157806323b872dd1461020657806324bb7c261461022e578063313ce5671461024157806342966c681461026a57806364779ad714610280578063661884631461029357806370a08231146102b557806379cc6790146102d45780638da5cb5b146102f65780638f2839701461032557806395d89b4114610346578063a9059cbb14610359578063d73dd6231461037b578063db0e16f11461039d578063dd62ed3e146103bf578063ddeb5094146103e4578063f2fde38b14610401578063f851a44014610420575b600080fd5b341561012c57600080fd5b610134610433565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610170578082015183820152602001610158565b50505050905090810190601f16801561019d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101b657600080fd5b6101cd600160a060020a036004351660243561046a565b604051901515815260200160405180910390f35b34156101ec57600080fd5b6101f46104d9565b60405190815260200160405180910390f35b341561021157600080fd5b6101cd600160a060020a03600435811690602435166044356104df565b341561023957600080fd5b6101cd61052c565b341561024c57600080fd5b61025461053c565b60405160ff909116815260200160405180910390f35b341561027557600080fd5b6101cd600435610541565b341561028b57600080fd5b6101cd61061e565b341561029e57600080fd5b6101cd600160a060020a036004351660243561062e565b34156102c057600080fd5b6101f4600160a060020a0360043516610696565b34156102df57600080fd5b6101cd600160a060020a03600435166024356106b1565b341561030157600080fd5b6103096106cf565b604051600160a060020a03909116815260200160405180910390f35b341561033057600080fd5b610344600160a060020a03600435166106de565b005b341561035157600080fd5b610134610764565b341561036457600080fd5b6101cd600160a060020a036004351660243561079b565b341561038657600080fd5b6101cd600160a060020a03600435166024356107e6565b34156103a857600080fd5b610344600160a060020a036004351660243561084e565b34156103ca57600080fd5b6101f4600160a060020a0360043581169060243516610904565b34156103ef57600080fd5b6103446004351515602435151561092f565b341561040c57600080fd5b610344600160a060020a0360043516610a1d565b341561042b57600080fd5b610309610ab8565b60408051908101604052600881527f4169626f436f696e000000000000000000000000000000000000000000000000602082015281565b60035460009060a060020a900460ff16156104c85760035460a860020a900460ff16151561011c5760045433600160a060020a03908116911614806104bd575060035433600160a060020a039081169116145b15156104c857600080fd5b6104d28383610ac7565b9392505050565b60005481565b600082600160a060020a03811615156104f757600080fd5b30600160a060020a031681600160a060020a03161415151561051857600080fd5b610523858585610b33565b95945050505050565b60035460a060020a900460ff1681565b601281565b600160a060020a03331660009081526001602052604081205461056a908363ffffffff610b9c16565b600160a060020a03331660009081526001602052604081209190915554610597908363ffffffff610b9c16565b600055600160a060020a0333167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58360405190815260200160405180910390a2600033600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a3506001919050565b60035460a860020a900460ff1681565b60035460009060a060020a900460ff161561068c5760035460a860020a900460ff16151561011c5760045433600160a060020a0390811691161480610681575060035433600160a060020a039081169116145b151561068c57600080fd5b6104d28383610bae565b600160a060020a031660009081526001602052604090205490565b60006106be8333846104df565b15156106c657fe5b6104d282610541565b600354600160a060020a031681565b60035433600160a060020a039081169116146106f957600080fd5b600454600160a060020a0380831691167ff8ccb027dfcd135e000e9d45e6cc2d662578a8825d4c45b5e32e0adf67e79ec660405160405180910390a36004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60408051908101604052600581527f41636f696e000000000000000000000000000000000000000000000000000000602082015281565b600082600160a060020a03811615156107b357600080fd5b30600160a060020a031681600160a060020a0316141515156107d457600080fd5b6107de8484610ca8565b949350505050565b60035460009060a060020a900460ff16156108445760035460a860020a900460ff16151561011c5760045433600160a060020a0390811691161480610839575060035433600160a060020a039081169116145b151561084457600080fd5b6104d28383610d10565b60035433600160a060020a0390811691161461086957600080fd5b600354600160a060020a038084169163a9059cbb9116836000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156108e557600080fd5b6102c65a03f115156108f657600080fd5b505050604051805150505050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60035433600160a060020a0390811691161461094a57600080fd5b8115801561095a57506001811515145b1561096457600080fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a841515021775ff000000000000000000000000000000000000000000191660a860020a831515021790557fa14d191ca4f53bfcf003c65d429362010a2d3d68bc0c50cce4bdc0fccf661fb082604051901515815260200160405180910390a17fc77636fc4a62a1fa193ef538c0b7993a1313a0d9c0a9173058cebcd3239ef7b581604051901515815260200160405180910390a15050565b60035433600160a060020a03908116911614610a3857600080fd5b600160a060020a0381161515610a4d57600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600454600160a060020a031681565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60035460009060a060020a900460ff1615610b915760035460a860020a900460ff16151561011c5760045433600160a060020a0390811691161480610b86575060035433600160a060020a039081169116145b1515610b9157600080fd5b6107de848484610db4565b600082821115610ba857fe5b50900390565b600160a060020a03338116600090815260026020908152604080832093861683529290529081205480831115610c0b57600160a060020a033381166000908152600260209081526040808320938816835292905290812055610c42565b610c1b818463ffffffff610b9c16565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b60035460009060a060020a900460ff1615610d065760035460a860020a900460ff16151561011c5760045433600160a060020a0390811691161480610cfb575060035433600160a060020a039081169116145b1515610d0657600080fd5b6104d28383610f36565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054610d48908363ffffffff61103116565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b6000600160a060020a0383161515610dcb57600080fd5b600160a060020a038416600090815260016020526040902054821115610df057600080fd5b600160a060020a0380851660009081526002602090815260408083203390941683529290522054821115610e2357600080fd5b600160a060020a038416600090815260016020526040902054610e4c908363ffffffff610b9c16565b600160a060020a038086166000908152600160205260408082209390935590851681522054610e81908363ffffffff61103116565b600160a060020a03808516600090815260016020908152604080832094909455878316825260028152838220339093168252919091522054610ec9908363ffffffff610b9c16565b600160a060020a03808616600081815260026020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b6000600160a060020a0383161515610f4d57600080fd5b600160a060020a033316600090815260016020526040902054821115610f7257600080fd5b600160a060020a033316600090815260016020526040902054610f9b908363ffffffff610b9c16565b600160a060020a033381166000908152600160205260408082209390935590851681522054610fd0908363ffffffff61103116565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b6000828201838110156104d257fe00a165627a7a723058202c96a1fe29f96ec4aa6afc46c2897522aa35bc2ade5946ed54406b598a60ab910029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000085a2175018143c1d008907afc406d7174cd3a3a90000000000000000000000000000000000000000019d971e4fe8401e74000000
-----Decoded View---------------
Arg [0] : _admin (address): 0x85a2175018143c1d008907afc406d7174cd3A3A9
Arg [1] : _totalTokenAmount (uint256): 500000000000000000000000000
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000085a2175018143c1d008907afc406d7174cd3a3a9
Arg [1] : 0000000000000000000000000000000000000000019d971e4fe8401e74000000
Swarm Source
bzzr://2c96a1fe29f96ec4aa6afc46c2897522aa35bc2ade5946ed54406b598a60ab91
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.