Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
8758659 | 1905 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Contract Name:
CommunityToken
Compiler Version
v0.5.2+commit.1df8f40c
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-10-17 */ // File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol pragma solidity ^0.5.2; /** * @title ERC20 interface * @dev see https://eips.ethereum.org/EIPS/eip-20 */ interface IERC20 { function transfer(address to, uint256 value) external returns (bool); function approve(address spender, uint256 value) external returns (bool); function transferFrom(address from, address to, uint256 value) external returns (bool); function totalSupply() external view returns (uint256); function balanceOf(address who) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } // File: openzeppelin-solidity/contracts/math/SafeMath.sol pragma solidity ^0.5.2; /** * @title SafeMath * @dev Unsigned math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two unsigned integers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b); return c; } /** * @dev Integer division of two unsigned integers truncating the quotient, reverts on division by zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Subtracts two unsigned integers, reverts on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a); uint256 c = a - b; return c; } /** * @dev Adds two unsigned integers, reverts on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a); return c; } /** * @dev Divides two unsigned integers and returns the remainder (unsigned integer modulo), * reverts when dividing by zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b != 0); return a % b; } } // File: openzeppelin-solidity/contracts/token/ERC20/ERC20.sol pragma solidity ^0.5.2; /** * @title Standard ERC20 token * * @dev Implementation of the basic standard token. * https://eips.ethereum.org/EIPS/eip-20 * Originally based on code by FirstBlood: * https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol * * This implementation emits additional Approval events, allowing applications to reconstruct the allowance status for * all accounts just by listening to said events. Note that this isn't required by the specification, and other * compliant implementations may not do it. */ contract ERC20 is IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowed; uint256 private _totalSupply; /** * @dev Total number of tokens in existence */ function totalSupply() public view returns (uint256) { return _totalSupply; } /** * @dev Gets the balance of the specified address. * @param owner The address to query the balance of. * @return A uint256 representing the amount owned by the passed address. */ function balanceOf(address owner) public view returns (uint256) { return _balances[owner]; } /** * @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]; } /** * @dev Transfer token to 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) { _transfer(msg.sender, 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) { _approve(msg.sender, spender, value); return true; } /** * @dev Transfer tokens from one address to another. * Note that while this function emits an Approval event, this is not required as per the specification, * and other compliant implementations may not emit the event. * @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) { _transfer(from, to, value); _approve(from, msg.sender, _allowed[from][msg.sender].sub(value)); return true; } /** * @dev Increase the amount of tokens that an owner allowed to a spender. * approve should be called when _allowed[msg.sender][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 * Emits an Approval event. * @param spender The address which will spend the funds. * @param addedValue The amount of tokens to increase the allowance by. */ function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { _approve(msg.sender, spender, _allowed[msg.sender][spender].add(addedValue)); return true; } /** * @dev Decrease the amount of tokens that an owner allowed to a spender. * approve should be called when _allowed[msg.sender][spender] == 0. To decrement * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * Emits an Approval event. * @param spender The address which will spend the funds. * @param subtractedValue The amount of tokens to decrease the allowance by. */ function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) { _approve(msg.sender, spender, _allowed[msg.sender][spender].sub(subtractedValue)); return true; } /** * @dev Transfer token for a specified addresses * @param from The address to transfer from. * @param to The address to transfer to. * @param value The amount to be transferred. */ function _transfer(address from, address to, uint256 value) internal { require(to != address(0)); _balances[from] = _balances[from].sub(value); _balances[to] = _balances[to].add(value); emit Transfer(from, to, value); } /** * @dev Internal function that mints an amount of the token and assigns it to * an account. This encapsulates the modification of balances such that the * proper events are emitted. * @param account The account that will receive the created tokens. * @param value The amount that will be created. */ function _mint(address account, uint256 value) internal { require(account != address(0)); _totalSupply = _totalSupply.add(value); _balances[account] = _balances[account].add(value); emit Transfer(address(0), account, value); } /** * @dev Internal function that burns an amount of the token of a given * account. * @param account The account whose tokens will be burnt. * @param value The amount that will be burnt. */ function _burn(address account, uint256 value) internal { require(account != address(0)); _totalSupply = _totalSupply.sub(value); _balances[account] = _balances[account].sub(value); emit Transfer(account, address(0), value); } /** * @dev Approve an address to spend another addresses' tokens. * @param owner The address that owns the tokens. * @param spender The address that will spend the tokens. * @param value The number of tokens that can be spent. */ function _approve(address owner, address spender, uint256 value) internal { require(spender != address(0)); require(owner != address(0)); _allowed[owner][spender] = value; emit Approval(owner, spender, value); } /** * @dev Internal function that burns an amount of the token of a given * account, deducting from the sender's allowance for said account. Uses the * internal burn function. * Emits an Approval event (reflecting the reduced allowance). * @param account The account whose tokens will be burnt. * @param value The amount that will be burnt. */ function _burnFrom(address account, uint256 value) internal { _burn(account, value); _approve(account, msg.sender, _allowed[account][msg.sender].sub(value)); } } // File: openzeppelin-solidity/contracts/access/Roles.sol pragma solidity ^0.5.2; /** * @title Roles * @dev Library for managing addresses assigned to a Role. */ library Roles { struct Role { mapping (address => bool) bearer; } /** * @dev give an account access to this role */ function add(Role storage role, address account) internal { require(account != address(0)); require(!has(role, account)); role.bearer[account] = true; } /** * @dev remove an account's access to this role */ function remove(Role storage role, address account) internal { require(account != address(0)); require(has(role, account)); role.bearer[account] = false; } /** * @dev check if an account has this role * @return bool */ function has(Role storage role, address account) internal view returns (bool) { require(account != address(0)); return role.bearer[account]; } } // File: openzeppelin-solidity/contracts/access/roles/MinterRole.sol pragma solidity ^0.5.2; contract MinterRole { using Roles for Roles.Role; event MinterAdded(address indexed account); event MinterRemoved(address indexed account); Roles.Role private _minters; constructor () internal { _addMinter(msg.sender); } modifier onlyMinter() { require(isMinter(msg.sender)); _; } function isMinter(address account) public view returns (bool) { return _minters.has(account); } function addMinter(address account) public onlyMinter { _addMinter(account); } function renounceMinter() public { _removeMinter(msg.sender); } function _addMinter(address account) internal { _minters.add(account); emit MinterAdded(account); } function _removeMinter(address account) internal { _minters.remove(account); emit MinterRemoved(account); } } // File: openzeppelin-solidity/contracts/token/ERC20/ERC20Mintable.sol pragma solidity ^0.5.2; /** * @title ERC20Mintable * @dev ERC20 minting logic */ contract ERC20Mintable is ERC20, MinterRole { /** * @dev Function to mint tokens * @param to The address that will receive the minted tokens. * @param value The amount of tokens to mint. * @return A boolean that indicates if the operation was successful. */ function mint(address to, uint256 value) public onlyMinter returns (bool) { _mint(to, value); return true; } } // File: openzeppelin-solidity/contracts/token/ERC20/ERC20Detailed.sol pragma solidity ^0.5.2; /** * @title ERC20Detailed token * @dev The decimals are only for visualization purposes. * All the operations are done using the smallest and indivisible token unit, * just as on Ethereum all the operations are done in wei. */ contract ERC20Detailed is IERC20 { string private _name; string private _symbol; uint8 private _decimals; constructor (string memory name, string memory symbol, uint8 decimals) public { _name = name; _symbol = symbol; _decimals = decimals; } /** * @return the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @return the symbol of the token. */ function symbol() public view returns (string memory) { return _symbol; } /** * @return the number of decimals of the token. */ function decimals() public view returns (uint8) { return _decimals; } } // File: contracts/CommunityToken.sol pragma solidity ^0.5.2; /** * @title CommunityToken * @dev Standard ERC20, but with disabled 'transfer' function to prevent Sybil attack * Owner (or a 'minter') is a community contract, and it has some extra privileges, * like burning tokens for a given holder */ contract CommunityToken is ERC20Mintable, ERC20Detailed { constructor (string memory name, string memory symbol) ERC20Detailed(name, symbol, 18) public { } /** * @dev Function that burns an amount of the token of a given * account, and DOES NOT require holder's approval * @param from The account whose tokens will be burnt. * @param value The amount that will be burnt. */ function burnFrom(address from, uint256 value) public onlyMinter { _burn(from, value); } function _transfer(address from, address to, uint256 value) internal { require(false, 'Community tokens can be only liquidated in the bonding curve'); } }
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":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"value","type":"uint256"}],"name":"burnFrom","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":"account","type":"address"}],"name":"addMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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":true,"inputs":[{"name":"account","type":"address"}],"name":"isMinter","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","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"},{"inputs":[{"name":"name","type":"string"},{"name":"symbol","type":"string"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"MinterRemoved","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"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162000d9c38038062000d9c833981018060405260408110156200003757600080fd5b8101908080516401000000008111156200005057600080fd5b820160208101848111156200006457600080fd5b81516401000000008111828201871017156200007f57600080fd5b505092919060200180516401000000008111156200009c57600080fd5b82016020810184811115620000b057600080fd5b8151640100000000811182820187101715620000cb57600080fd5b505092919050505081816012620000f1336200013c640100000000026401000000009004565b82516200010690600490602086019062000221565b5081516200011c90600590602085019062000221565b506006805460ff191660ff9290921691909117905550620002c692505050565b62000157600382640100000000620009c46200018e82021704565b604051600160a060020a038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b600160a060020a0381161515620001a457600080fd5b620001b98282640100000000620001e9810204565b15620001c457600080fd5b600160a060020a0316600090815260209190915260409020805460ff19166001179055565b6000600160a060020a03821615156200020157600080fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200026457805160ff191683800117855562000294565b8280016001018555821562000294579182015b828111156200029457825182559160200191906001019062000277565b50620002a2929150620002a6565b5090565b620002c391905b80821115620002a25760008155600101620002ad565b90565b610ac680620002d66000396000f3fe608060405234801561001057600080fd5b506004361061011d576000357c01000000000000000000000000000000000000000000000000000000009004806379cc6790116100b4578063a457c2d711610083578063a457c2d71461032f578063a9059cbb1461035b578063aa271e1a14610387578063dd62ed3e146103ad5761011d565b806379cc6790146102cb57806395d89b41146102f9578063983b2d561461030157806398650275146103275761011d565b8063313ce567116100f0578063313ce5671461022f578063395093511461024d57806340c10f191461027957806370a08231146102a55761011d565b806306fdde0314610122578063095ea7b31461019f57806318160ddd146101df57806323b872dd146101f9575b600080fd5b61012a6103db565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561016457818101518382015260200161014c565b50505050905090810190601f1680156101915780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101cb600480360360408110156101b557600080fd5b50600160a060020a038135169060200135610471565b604080519115158252519081900360200190f35b6101e7610487565b60408051918252519081900360200190f35b6101cb6004803603606081101561020f57600080fd5b50600160a060020a0381358116916020810135909116906040013561048d565b6102376104e4565b6040805160ff9092168252519081900360200190f35b6101cb6004803603604081101561026357600080fd5b50600160a060020a0381351690602001356104ed565b6101cb6004803603604081101561028f57600080fd5b50600160a060020a038135169060200135610529565b6101e7600480360360208110156102bb57600080fd5b5035600160a060020a0316610549565b6102f7600480360360408110156102e157600080fd5b50600160a060020a038135169060200135610564565b005b61012a610586565b6102f76004803603602081101561031757600080fd5b5035600160a060020a03166105e7565b6102f7610607565b6101cb6004803603604081101561034557600080fd5b50600160a060020a038135169060200135610612565b6101cb6004803603604081101561037157600080fd5b50600160a060020a03813516906020013561064e565b6101cb6004803603602081101561039d57600080fd5b5035600160a060020a031661065b565b6101e7600480360360408110156103c357600080fd5b50600160a060020a0381358116916020013516610674565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104675780601f1061043c57610100808354040283529160200191610467565b820191906000526020600020905b81548152906001019060200180831161044a57829003601f168201915b5050505050905090565b600061047e33848461069f565b50600192915050565b60025490565b600061049a84848461072b565b600160a060020a0384166000908152600160209081526040808320338085529252909120546104da9186916104d5908663ffffffff61077c16565b61069f565b5060019392505050565b60065460ff1690565b336000818152600160209081526040808320600160a060020a0387168452909152812054909161047e9185906104d5908663ffffffff61079116565b60006105343361065b565b151561053f57600080fd5b61047e83836107aa565b600160a060020a031660009081526020819052604090205490565b61056d3361065b565b151561057857600080fd5b6105828282610854565b5050565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104675780601f1061043c57610100808354040283529160200191610467565b6105f03361065b565b15156105fb57600080fd5b610604816108fd565b50565b61061033610945565b565b336000818152600160209081526040808320600160a060020a0387168452909152812054909161047e9185906104d5908663ffffffff61077c16565b600061047e33848461072b565b600061066e60038363ffffffff61098d16565b92915050565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b600160a060020a03821615156106b457600080fd5b600160a060020a03831615156106c957600080fd5b600160a060020a03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603c815260200180610a5f603c913960400191505060405180910390fd5b60008282111561078b57600080fd5b50900390565b6000828201838110156107a357600080fd5b9392505050565b600160a060020a03821615156107bf57600080fd5b6002546107d2908263ffffffff61079116565b600255600160a060020a0382166000908152602081905260409020546107fe908263ffffffff61079116565b600160a060020a0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600160a060020a038216151561086957600080fd5b60025461087c908263ffffffff61077c16565b600255600160a060020a0382166000908152602081905260409020546108a8908263ffffffff61077c16565b600160a060020a038316600081815260208181526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b61090e60038263ffffffff6109c416565b604051600160a060020a038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b61095660038263ffffffff610a1216565b604051600160a060020a038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b6000600160a060020a03821615156109a457600080fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b600160a060020a03811615156109d957600080fd5b6109e3828261098d565b156109ed57600080fd5b600160a060020a0316600090815260209190915260409020805460ff19166001179055565b600160a060020a0381161515610a2757600080fd5b610a31828261098d565b1515610a3c57600080fd5b600160a060020a0316600090815260209190915260409020805460ff1916905556fe436f6d6d756e69747920746f6b656e732063616e206265206f6e6c79206c69717569646174656420696e2074686520626f6e64696e67206375727665a165627a7a72305820bf639f6bbcc8e97f4643fda25bf8b031922ec55ccc27074e351e5c96b256ea1f00290000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000084368616e6365425900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064348414e43450000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061011d576000357c01000000000000000000000000000000000000000000000000000000009004806379cc6790116100b4578063a457c2d711610083578063a457c2d71461032f578063a9059cbb1461035b578063aa271e1a14610387578063dd62ed3e146103ad5761011d565b806379cc6790146102cb57806395d89b41146102f9578063983b2d561461030157806398650275146103275761011d565b8063313ce567116100f0578063313ce5671461022f578063395093511461024d57806340c10f191461027957806370a08231146102a55761011d565b806306fdde0314610122578063095ea7b31461019f57806318160ddd146101df57806323b872dd146101f9575b600080fd5b61012a6103db565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561016457818101518382015260200161014c565b50505050905090810190601f1680156101915780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101cb600480360360408110156101b557600080fd5b50600160a060020a038135169060200135610471565b604080519115158252519081900360200190f35b6101e7610487565b60408051918252519081900360200190f35b6101cb6004803603606081101561020f57600080fd5b50600160a060020a0381358116916020810135909116906040013561048d565b6102376104e4565b6040805160ff9092168252519081900360200190f35b6101cb6004803603604081101561026357600080fd5b50600160a060020a0381351690602001356104ed565b6101cb6004803603604081101561028f57600080fd5b50600160a060020a038135169060200135610529565b6101e7600480360360208110156102bb57600080fd5b5035600160a060020a0316610549565b6102f7600480360360408110156102e157600080fd5b50600160a060020a038135169060200135610564565b005b61012a610586565b6102f76004803603602081101561031757600080fd5b5035600160a060020a03166105e7565b6102f7610607565b6101cb6004803603604081101561034557600080fd5b50600160a060020a038135169060200135610612565b6101cb6004803603604081101561037157600080fd5b50600160a060020a03813516906020013561064e565b6101cb6004803603602081101561039d57600080fd5b5035600160a060020a031661065b565b6101e7600480360360408110156103c357600080fd5b50600160a060020a0381358116916020013516610674565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104675780601f1061043c57610100808354040283529160200191610467565b820191906000526020600020905b81548152906001019060200180831161044a57829003601f168201915b5050505050905090565b600061047e33848461069f565b50600192915050565b60025490565b600061049a84848461072b565b600160a060020a0384166000908152600160209081526040808320338085529252909120546104da9186916104d5908663ffffffff61077c16565b61069f565b5060019392505050565b60065460ff1690565b336000818152600160209081526040808320600160a060020a0387168452909152812054909161047e9185906104d5908663ffffffff61079116565b60006105343361065b565b151561053f57600080fd5b61047e83836107aa565b600160a060020a031660009081526020819052604090205490565b61056d3361065b565b151561057857600080fd5b6105828282610854565b5050565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104675780601f1061043c57610100808354040283529160200191610467565b6105f03361065b565b15156105fb57600080fd5b610604816108fd565b50565b61061033610945565b565b336000818152600160209081526040808320600160a060020a0387168452909152812054909161047e9185906104d5908663ffffffff61077c16565b600061047e33848461072b565b600061066e60038363ffffffff61098d16565b92915050565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b600160a060020a03821615156106b457600080fd5b600160a060020a03831615156106c957600080fd5b600160a060020a03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603c815260200180610a5f603c913960400191505060405180910390fd5b60008282111561078b57600080fd5b50900390565b6000828201838110156107a357600080fd5b9392505050565b600160a060020a03821615156107bf57600080fd5b6002546107d2908263ffffffff61079116565b600255600160a060020a0382166000908152602081905260409020546107fe908263ffffffff61079116565b600160a060020a0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600160a060020a038216151561086957600080fd5b60025461087c908263ffffffff61077c16565b600255600160a060020a0382166000908152602081905260409020546108a8908263ffffffff61077c16565b600160a060020a038316600081815260208181526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b61090e60038263ffffffff6109c416565b604051600160a060020a038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b61095660038263ffffffff610a1216565b604051600160a060020a038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b6000600160a060020a03821615156109a457600080fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b600160a060020a03811615156109d957600080fd5b6109e3828261098d565b156109ed57600080fd5b600160a060020a0316600090815260209190915260409020805460ff19166001179055565b600160a060020a0381161515610a2757600080fd5b610a31828261098d565b1515610a3c57600080fd5b600160a060020a0316600090815260209190915260409020805460ff1916905556fe436f6d6d756e69747920746f6b656e732063616e206265206f6e6c79206c69717569646174656420696e2074686520626f6e64696e67206375727665a165627a7a72305820bf639f6bbcc8e97f4643fda25bf8b031922ec55ccc27074e351e5c96b256ea1f0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000084368616e6365425900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064348414e43450000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): ChanceBY
Arg [1] : symbol (string): CHANCE
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [3] : 4368616e63654259000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [5] : 4348414e43450000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
14816:709:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;14816:709:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14087:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;14087:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5643:148;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;5643:148:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;3796:91;;;:::i;:::-;;;;;;;;;;;;;;;;6264:228;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;6264:228:0;;;;;;;;;;;;;;;;;:::i;14403:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;7018:203;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;7018:203:0;;;;;;;;:::i;13247:131::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;13247:131:0;;;;;;;;:::i;4106:106::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4106:106:0;-1:-1:-1;;;;;4106:106:0;;:::i;15244:102::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;15244:102:0;;;;;;;;:::i;:::-;;14237:87;;;:::i;12328:92::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12328:92:0;-1:-1:-1;;;;;12328:92:0;;:::i;12428:77::-;;;:::i;7752:213::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;7752:213:0;;;;;;;;:::i;4856:140::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;4856:140:0;;;;;;;;:::i;12211:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12211:109:0;-1:-1:-1;;;;;12211:109:0;;:::i;4551:131::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;4551:131:0;;;;;;;;;;:::i;14087:83::-;14157:5;14150:12;;;;;;;;-1:-1:-1;;14150:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14124:13;;14150:12;;14157:5;;14150:12;;14157:5;14150:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14087:83;:::o;5643:148::-;5708:4;5725:36;5734:10;5746:7;5755:5;5725:8;:36::i;:::-;-1:-1:-1;5779:4:0;5643:148;;;;:::o;3796:91::-;3867:12;;3796:91;:::o;6264:228::-;6343:4;6360:26;6370:4;6376:2;6380:5;6360:9;:26::i;:::-;-1:-1:-1;;;;;6424:14:0;;;;;;:8;:14;;;;;;;;6412:10;6424:26;;;;;;;;;6397:65;;6406:4;;6424:37;;6455:5;6424:37;:30;:37;:::i;:::-;6397:8;:65::i;:::-;-1:-1:-1;6480:4:0;6264:228;;;;;:::o;14403:83::-;14469:9;;;;14403:83;:::o;7018:203::-;7124:10;7098:4;7145:20;;;:8;:20;;;;;;;;-1:-1:-1;;;;;7145:29:0;;;;;;;;;;7098:4;;7115:76;;7136:7;;7145:45;;7179:10;7145:45;:33;:45;:::i;13247:131::-;13315:4;12162:20;12171:10;12162:8;:20::i;:::-;12154:29;;;;;;;;13332:16;13338:2;13342:5;13332;:16::i;4106:106::-;-1:-1:-1;;;;;4188:16:0;4161:7;4188:16;;;;;;;;;;;;4106:106::o;15244:102::-;12162:20;12171:10;12162:8;:20::i;:::-;12154:29;;;;;;;;15320:18;15326:4;15332:5;15320;:18::i;:::-;15244:102;;:::o;14237:87::-;14309:7;14302:14;;;;;;;;-1:-1:-1;;14302:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14276:13;;14302:14;;14309:7;;14302:14;;14309:7;14302:14;;;;;;;;;;;;;;;;;;;;;;;;12328:92;12162:20;12171:10;12162:8;:20::i;:::-;12154:29;;;;;;;;12393:19;12404:7;12393:10;:19::i;:::-;12328:92;:::o;12428:77::-;12472:25;12486:10;12472:13;:25::i;:::-;12428:77::o;7752:213::-;7863:10;7837:4;7884:20;;;:8;:20;;;;;;;;-1:-1:-1;;;;;7884:29:0;;;;;;;;;;7837:4;;7854:81;;7875:7;;7884:50;;7918:15;7884:50;:33;:50;:::i;4856:140::-;4917:4;4934:32;4944:10;4956:2;4960:5;4934:9;:32::i;12211:109::-;12267:4;12291:21;:8;12304:7;12291:21;:12;:21;:::i;:::-;12284:28;12211:109;-1:-1:-1;;12211:109:0:o;4551:131::-;-1:-1:-1;;;;;4650:15:0;;;4623:7;4650:15;;;:8;:15;;;;;;;;:24;;;;;;;;;;;;;4551:131::o;9851:254::-;-1:-1:-1;;;;;9944:21:0;;;;9936:30;;;;;;-1:-1:-1;;;;;9985:19:0;;;;9977:28;;;;;;-1:-1:-1;;;;;10018:15:0;;;;;;;:8;:15;;;;;;;;:24;;;;;;;;;;;;;:32;;;10066:31;;;;;;;;;;;;;;;;;9851:254;;;:::o;15354:166::-;15434:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2162:150;2220:7;2248:6;;;;2240:15;;;;;;-1:-1:-1;2278:5:0;;;2162:150::o;2400:::-;2458:7;2490:5;;;2514:6;;;;2506:15;;;;;;2541:1;2400:150;-1:-1:-1;;;2400:150:0:o;8806:269::-;-1:-1:-1;;;;;8881:21:0;;;;8873:30;;;;;;8931:12;;:23;;8948:5;8931:23;:16;:23;:::i;:::-;8916:12;:38;-1:-1:-1;;;;;8986:18:0;;:9;:18;;;;;;;;;;;:29;;9009:5;8986:29;:22;:29;:::i;:::-;-1:-1:-1;;;;;8965:18:0;;:9;:18;;;;;;;;;;;:50;;;;9031:36;;;;;;;8965:18;;:9;;9031:36;;;;;;;;;;8806:269;;:::o;9309:::-;-1:-1:-1;;;;;9384:21:0;;;;9376:30;;;;;;9434:12;;:23;;9451:5;9434:23;:16;:23;:::i;:::-;9419:12;:38;-1:-1:-1;;;;;9489:18:0;;:9;:18;;;;;;;;;;;:29;;9512:5;9489:29;:22;:29;:::i;:::-;-1:-1:-1;;;;;9468:18:0;;:9;:18;;;;;;;;;;;:50;;;;9534:36;;;;;;;9468:9;;9534:36;;;;;;;;;;;9309:269;;:::o;12513:122::-;12570:21;:8;12583:7;12570:21;:12;:21;:::i;:::-;12607:20;;-1:-1:-1;;;;;12607:20:0;;;;;;;;12513:122;:::o;12643:130::-;12703:24;:8;12719:7;12703:24;:15;:24;:::i;:::-;12743:22;;-1:-1:-1;;;;;12743:22:0;;;;;;;;12643:130;:::o;11575:165::-;11647:4;-1:-1:-1;;;;;11672:21:0;;;;11664:30;;;;;;-1:-1:-1;;;;;;11712:20:0;:11;:20;;;;;;;;;;;;;;;11575:165::o;11027:186::-;-1:-1:-1;;;;;11104:21:0;;;;11096:30;;;;;;11146:18;11150:4;11156:7;11146:3;:18::i;:::-;11145:19;11137:28;;;;;;-1:-1:-1;;;;;11178:20:0;:11;:20;;;;;;;;;;;:27;;-1:-1:-1;;11178:27:0;11201:4;11178:27;;;11027:186::o;11292:189::-;-1:-1:-1;;;;;11372:21:0;;;;11364:30;;;;;;11413:18;11417:4;11423:7;11413:3;:18::i;:::-;11405:27;;;;;;;;-1:-1:-1;;;;;11445:20:0;11468:5;11445:20;;;;;;;;;;;:28;;-1:-1:-1;;11445:28:0;;;11292:189::o
Swarm Source
bzzr://bf639f6bbcc8e97f4643fda25bf8b031922ec55ccc27074e351e5c96b256ea1f
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.