Contract
0x245f0fd9f2f759aef82935a6f933f786c37bfbfe
1
Contract Overview
Balance:
0 MATIC
Token:
My Name Tag:
Not Available
TokenTracker:
[ Download CSV Export ]
Contract Source Code Verified (Exact Match)
Contract Name:
TestToken
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; import "./Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; contract TestToken is ERC20, Ownable { constructor(address _owner, uint256 intialSupply) ERC20("DexWin Token", "$DWIN") Ownable(_owner) { _mint(getOwner(), intialSupply * (10**decimals())); } function ownerMints(uint256 amount) public onlyOwner { _mint(msg.sender, amount * (10**decimals())); } } //Final
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; contract Ownable { /*State variables */ address private s_owner; /*events */ event TransferOwnership(address indexed oldOwner, address indexed newOwner); constructor(address _owner) { s_owner = _owner; emit TransferOwnership(address(0), s_owner); } modifier onlyOwner() { require(msg.sender == s_owner, "Only Owner can call this function"); _; } function getOwner() public view returns (address) { return s_owner; } function transferOwnership(address newOwner) public onlyOwner { _transferOwnership(newOwner); } function _transferOwnership(address newOwner) internal { require(newOwner != address(0), "Inccorect address"); s_owner = newOwner; emit TransferOwnership(s_owner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: 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 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"intialSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"TransferOwnership","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ownerMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200255b3803806200255b833981810160405281019062000037919062000436565b816040518060400160405280600c81526020017f44657857696e20546f6b656e00000000000000000000000000000000000000008152506040518060400160405280600581526020017f244457494e0000000000000000000000000000000000000000000000000000008152508160039081620000b59190620006ed565b508060049081620000c79190620006ed565b50505080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f5c486528ec3e3f0ea91181cff8116f02bfa350e03b8b6f12e00765adbb5af85c60405160405180910390a350620001d46200019d620001dc60201b60201c565b620001ad6200020660201b60201c565b600a620001bb919062000964565b83620001c89190620009b5565b6200020f60201b60201c565b505062000aec565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006012905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000281576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002789062000a61565b60405180910390fd5b62000295600083836200038760201b60201c565b8060026000828254620002a9919062000a83565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000300919062000a83565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000367919062000acf565b60405180910390a362000383600083836200038c60201b60201c565b5050565b505050565b505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003c38262000396565b9050919050565b620003d581620003b6565b8114620003e157600080fd5b50565b600081519050620003f581620003ca565b92915050565b6000819050919050565b6200041081620003fb565b81146200041c57600080fd5b50565b600081519050620004308162000405565b92915050565b6000806040838503121562000450576200044f62000391565b5b60006200046085828601620003e4565b925050602062000473858286016200041f565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004ff57607f821691505b602082108103620005155762000514620004b7565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200057f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000540565b6200058b868362000540565b95508019841693508086168417925050509392505050565b6000819050919050565b6000620005ce620005c8620005c284620003fb565b620005a3565b620003fb565b9050919050565b6000819050919050565b620005ea83620005ad565b62000602620005f982620005d5565b8484546200054d565b825550505050565b600090565b620006196200060a565b62000626818484620005df565b505050565b5b818110156200064e57620006426000826200060f565b6001810190506200062c565b5050565b601f8211156200069d5762000667816200051b565b620006728462000530565b8101602085101562000682578190505b6200069a620006918562000530565b8301826200062b565b50505b505050565b600082821c905092915050565b6000620006c260001984600802620006a2565b1980831691505092915050565b6000620006dd8383620006af565b9150826002028217905092915050565b620006f8826200047d565b67ffffffffffffffff81111562000714576200071362000488565b5b620007208254620004e6565b6200072d82828562000652565b600060209050601f83116001811462000765576000841562000750578287015190505b6200075c8582620006cf565b865550620007cc565b601f19841662000775866200051b565b60005b828110156200079f5784890151825560018201915060208501945060208101905062000778565b86831015620007bf5784890151620007bb601f891682620006af565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b600185111562000862578086048111156200083a5762000839620007d4565b5b60018516156200084a5780820291505b80810290506200085a8562000803565b94506200081a565b94509492505050565b6000826200087d576001905062000950565b816200088d576000905062000950565b8160018114620008a65760028114620008b157620008e7565b600191505062000950565b60ff841115620008c657620008c5620007d4565b5b8360020a915084821115620008e057620008df620007d4565b5b5062000950565b5060208310610133831016604e8410600b8410161715620009215782820a9050838111156200091b576200091a620007d4565b5b62000950565b62000930848484600162000810565b925090508184048111156200094a5762000949620007d4565b5b81810290505b9392505050565b600060ff82169050919050565b60006200097182620003fb565b91506200097e8362000957565b9250620009ad7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846200086b565b905092915050565b6000620009c282620003fb565b9150620009cf83620003fb565b9250828202620009df81620003fb565b91508282048414831517620009f957620009f8620007d4565b5b5092915050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000a49601f8362000a00565b915062000a568262000a11565b602082019050919050565b6000602082019050818103600083015262000a7c8162000a3a565b9050919050565b600062000a9082620003fb565b915062000a9d83620003fb565b925082820190508082111562000ab85762000ab7620007d4565b5b92915050565b62000ac981620003fb565b82525050565b600060208201905062000ae6600083018462000abe565b92915050565b611a5f8062000afc6000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a457c2d711610066578063a457c2d714610261578063a9059cbb14610291578063dd62ed3e146102c1578063f2fde38b146102f1576100ea565b806370a08231146101f5578063893d20e81461022557806395d89b4114610243576100ea565b806323b872dd116100c857806323b872dd1461015b578063313ce5671461018b57806339509351146101a957806352766bb2146101d9576100ea565b806306fdde03146100ef578063095ea7b31461010d57806318160ddd1461013d575b600080fd5b6100f761030d565b6040516101049190610fbb565b60405180910390f35b61012760048036038101906101229190611076565b61039f565b60405161013491906110d1565b60405180910390f35b6101456103c2565b60405161015291906110fb565b60405180910390f35b61017560048036038101906101709190611116565b6103cc565b60405161018291906110d1565b60405180910390f35b6101936103fb565b6040516101a09190611185565b60405180910390f35b6101c360048036038101906101be9190611076565b610404565b6040516101d091906110d1565b60405180910390f35b6101f360048036038101906101ee91906111a0565b61043b565b005b61020f600480360381019061020a91906111cd565b6104f6565b60405161021c91906110fb565b60405180910390f35b61022d61053e565b60405161023a9190611209565b60405180910390f35b61024b610568565b6040516102589190610fbb565b60405180910390f35b61027b60048036038101906102769190611076565b6105fa565b60405161028891906110d1565b60405180910390f35b6102ab60048036038101906102a69190611076565b610671565b6040516102b891906110d1565b60405180910390f35b6102db60048036038101906102d69190611224565b610694565b6040516102e891906110fb565b60405180910390f35b61030b600480360381019061030691906111cd565b61071b565b005b60606003805461031c90611293565b80601f016020809104026020016040519081016040528092919081815260200182805461034890611293565b80156103955780601f1061036a57610100808354040283529160200191610395565b820191906000526020600020905b81548152906001019060200180831161037857829003601f168201915b5050505050905090565b6000806103aa6107b7565b90506103b78185856107bf565b600191505092915050565b6000600254905090565b6000806103d76107b7565b90506103e4858285610988565b6103ef858585610a14565b60019150509392505050565b60006012905090565b60008061040f6107b7565b90506104308185856104218589610694565b61042b91906112f3565b6107bf565b600191505092915050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104c290611399565b60405180910390fd5b6104f3336104d76103fb565b600a6104e391906114ec565b836104ee9190611537565b610c93565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461057790611293565b80601f01602080910402602001604051908101604052809291908181526020018280546105a390611293565b80156105f05780601f106105c5576101008083540402835291602001916105f0565b820191906000526020600020905b8154815290600101906020018083116105d357829003601f168201915b5050505050905090565b6000806106056107b7565b905060006106138286610694565b905083811015610658576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064f906115eb565b60405180910390fd5b61066582868684036107bf565b60019250505092915050565b60008061067c6107b7565b9050610689818585610a14565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146107ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a290611399565b60405180910390fd5b6107b481610df2565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361082e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108259061167d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361089d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108949061170f565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161097b91906110fb565b60405180910390a3505050565b60006109948484610694565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610a0e5781811015610a00576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f79061177b565b60405180910390fd5b610a0d84848484036107bf565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7a9061180d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610af2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae99061189f565b60405180910390fd5b610afd838383610f21565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610b83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7a90611931565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610c1691906112f3565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610c7a91906110fb565b60405180910390a3610c8d848484610f26565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf99061199d565b60405180910390fd5b610d0e60008383610f21565b8060026000828254610d2091906112f3565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610d7591906112f3565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610dda91906110fb565b60405180910390a3610dee60008383610f26565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5890611a09565b60405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f5c486528ec3e3f0ea91181cff8116f02bfa350e03b8b6f12e00765adbb5af85c60405160405180910390a350565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610f65578082015181840152602081019050610f4a565b60008484015250505050565b6000601f19601f8301169050919050565b6000610f8d82610f2b565b610f978185610f36565b9350610fa7818560208601610f47565b610fb081610f71565b840191505092915050565b60006020820190508181036000830152610fd58184610f82565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061100d82610fe2565b9050919050565b61101d81611002565b811461102857600080fd5b50565b60008135905061103a81611014565b92915050565b6000819050919050565b61105381611040565b811461105e57600080fd5b50565b6000813590506110708161104a565b92915050565b6000806040838503121561108d5761108c610fdd565b5b600061109b8582860161102b565b92505060206110ac85828601611061565b9150509250929050565b60008115159050919050565b6110cb816110b6565b82525050565b60006020820190506110e660008301846110c2565b92915050565b6110f581611040565b82525050565b600060208201905061111060008301846110ec565b92915050565b60008060006060848603121561112f5761112e610fdd565b5b600061113d8682870161102b565b935050602061114e8682870161102b565b925050604061115f86828701611061565b9150509250925092565b600060ff82169050919050565b61117f81611169565b82525050565b600060208201905061119a6000830184611176565b92915050565b6000602082840312156111b6576111b5610fdd565b5b60006111c484828501611061565b91505092915050565b6000602082840312156111e3576111e2610fdd565b5b60006111f18482850161102b565b91505092915050565b61120381611002565b82525050565b600060208201905061121e60008301846111fa565b92915050565b6000806040838503121561123b5761123a610fdd565b5b60006112498582860161102b565b925050602061125a8582860161102b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806112ab57607f821691505b6020821081036112be576112bd611264565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006112fe82611040565b915061130983611040565b9250828201905080821115611321576113206112c4565b5b92915050565b7f4f6e6c79204f776e65722063616e2063616c6c20746869732066756e6374696f60008201527f6e00000000000000000000000000000000000000000000000000000000000000602082015250565b6000611383602183610f36565b915061138e82611327565b604082019050919050565b600060208201905081810360008301526113b281611376565b9050919050565b60008160011c9050919050565b6000808291508390505b6001851115611410578086048111156113ec576113eb6112c4565b5b60018516156113fb5780820291505b8081029050611409856113b9565b94506113d0565b94509492505050565b60008261142957600190506114e5565b8161143757600090506114e5565b816001811461144d576002811461145757611486565b60019150506114e5565b60ff841115611469576114686112c4565b5b8360020a9150848211156114805761147f6112c4565b5b506114e5565b5060208310610133831016604e8410600b84101617156114bb5782820a9050838111156114b6576114b56112c4565b5b6114e5565b6114c884848460016113c6565b925090508184048111156114df576114de6112c4565b5b81810290505b9392505050565b60006114f782611040565b915061150283611169565b925061152f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484611419565b905092915050565b600061154282611040565b915061154d83611040565b925082820261155b81611040565b91508282048414831517611572576115716112c4565b5b5092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006115d5602583610f36565b91506115e082611579565b604082019050919050565b60006020820190508181036000830152611604816115c8565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000611667602483610f36565b91506116728261160b565b604082019050919050565b600060208201905081810360008301526116968161165a565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006116f9602283610f36565b91506117048261169d565b604082019050919050565b60006020820190508181036000830152611728816116ec565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000611765601d83610f36565b91506117708261172f565b602082019050919050565b6000602082019050818103600083015261179481611758565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006117f7602583610f36565b91506118028261179b565b604082019050919050565b60006020820190508181036000830152611826816117ea565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000611889602383610f36565b91506118948261182d565b604082019050919050565b600060208201905081810360008301526118b88161187c565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b600061191b602683610f36565b9150611926826118bf565b604082019050919050565b6000602082019050818103600083015261194a8161190e565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000611987601f83610f36565b915061199282611951565b602082019050919050565b600060208201905081810360008301526119b68161197a565b9050919050565b7f496e63636f726563742061646472657373000000000000000000000000000000600082015250565b60006119f3601183610f36565b91506119fe826119bd565b602082019050919050565b60006020820190508181036000830152611a22816119e6565b905091905056fea2646970667358221220bb3ea2fd7de8adadd64df50b4d2c37b4e929d748c7d4b5103f985920ee953b3664736f6c63430008110033000000000000000000000000d2766137bde519f7abc34205ffa51ee2b2bfa2900000000000000000000000000000000000000000000000000000000000989680
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000d2766137bde519f7abc34205ffa51ee2b2bfa2900000000000000000000000000000000000000000000000000000000000989680
-----Decoded View---------------
Arg [0] : _owner (address): 0xd2766137bde519f7abc34205ffa51ee2b2bfa290
Arg [1] : intialSupply (uint256): 10000000
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000d2766137bde519f7abc34205ffa51ee2b2bfa290
Arg [1] : 0000000000000000000000000000000000000000000000000000000000989680
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|