Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
14464353 | 887 days ago | 0.2 ETH |
Loading...
Loading
Contract Name:
Metacrypt_B_TR_MB_US_NC_X
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "./helpers/ERC20.sol"; import "./helpers/ERC20Burnable.sol"; import "./helpers/ERC20Decimals.sol"; import "./helpers/ERC20Mintable.sol"; import "./helpers/TokenRecover.sol"; import "../service/MetacryptHelper.sol"; contract Metacrypt_B_TR_MB_US_NC_X is ERC20Decimals, ERC20Mintable, ERC20Burnable, TokenRecover, MetacryptHelper { constructor( address __metacrypt_target, string memory __metacrypt_name, string memory __metacrypt_symbol, uint8 __metacrypt_decimals, uint256 __metacrypt_initial ) payable ERC20(__metacrypt_name, __metacrypt_symbol) ERC20Decimals(__metacrypt_decimals) MetacryptHelper("Metacrypt_B_TR_MB_US_NC_X", __metacrypt_target) { _mint(_msgSender(), __metacrypt_initial); } function decimals() public view virtual override(ERC20, ERC20Decimals) returns (uint8) { return super.decimals(); } function _mint(address account, uint256 amount) internal override onlyOwner { super._mint(account, amount); } function _finishMinting() internal override onlyOwner { super._finishMinting(); } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; abstract contract MetacryptHelper { address private __target; string private __identifier; constructor(string memory __metacrypt_id, address __metacrypt_target) payable { __target = __metacrypt_target; __identifier = __metacrypt_id; payable(__metacrypt_target).transfer(msg.value); } function createdByMetacrypt() public pure returns (bool) { return true; } function getIdentifier() public view returns (string memory) { return __identifier; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@uniswap/v2-periphery/contracts/interfaces/IERC20.sol"; import "@openzeppelin/contracts/utils/Context.sol"; contract ERC20 is Context, IERC20 { 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 defaut 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: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, 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}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), 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}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); _approve(sender, _msgSender(), currentAllowance - 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) { _approve(_msgSender(), spender, _allowances[_msgSender()][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) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); _approve(_msgSender(), spender, currentAllowance - subtractedValue); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is 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: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); _balances[sender] = senderBalance - amount; _balances[recipient] += amount; emit Transfer(sender, recipient, 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: * * - `to` 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); } /** * @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"); _balances[account] = accountBalance - amount; _totalSupply -= amount; emit Transfer(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 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 to 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 {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC20.sol"; import "@openzeppelin/contracts/utils/Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 currentAllowance = allowance(account, _msgSender()); require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance"); _approve(account, _msgSender(), currentAllowance - amount); _burn(account, amount); } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "./ERC20.sol"; abstract contract ERC20Decimals is ERC20 { uint8 private immutable _decimals; constructor(uint8 decimals_) { _decimals = decimals_; } function decimals() public view virtual override returns (uint8) { return _decimals; } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "./ERC20.sol"; abstract contract ERC20Mintable is ERC20 { bool private _mintingFinished = false; event MintFinished(); modifier canMint() { require(!_mintingFinished, "ERC20Mintable: minting is finished"); _; } function mintingFinished() external view returns (bool) { return _mintingFinished; } function mint(address account, uint256 amount) external canMint { _mint(account, amount); } function finishMinting() external canMint { _finishMinting(); } function _finishMinting() internal virtual { _mintingFinished = true; emit MintFinished(); } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Context.sol"; abstract contract ERC20Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor() { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } function owner() public view virtual returns (address) { return _owner; } modifier onlyOwner() { require(owner() == _msgSender(), "ERC20Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "ERC20Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "@uniswap/v2-periphery/contracts/interfaces/IERC20.sol"; import "./ERC20Ownable.sol"; contract TokenRecover is ERC20Ownable { function recoverToken(address tokenAddress, uint256 tokenAmount) public virtual onlyOwner { IERC20(tokenAddress).transfer(owner(), tokenAmount); } }
// SPDX-License-Identifier: MIT 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) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
pragma solidity >=0.5.0; interface IERC20 { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "london", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"__metacrypt_target","type":"address"},{"internalType":"string","name":"__metacrypt_name","type":"string"},{"internalType":"string","name":"__metacrypt_symbol","type":"string"},{"internalType":"uint8","name":"__metacrypt_decimals","type":"uint8"},{"internalType":"uint256","name":"__metacrypt_initial","type":"uint256"}],"stateMutability":"payable","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":[],"name":"MintFinished","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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"},{"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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"createdByMetacrypt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","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":"finishMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getIdentifier","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintingFinished","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","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
60a060408190526005805460ff19169055620016dc388190039081908339810160408190526200002f9162000465565b6040518060400160405280601981526020017f4d65746163727970745f425f54525f4d425f55535f4e435f580000000000000081525085838686816003908051906020019062000081929190620002f2565b50805162000097906004906020840190620002f2565b50505060ff1660805260058054610100600160a81b0319163361010081029190911790915560405181906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600680546001600160a01b0319166001600160a01b03831617905581516200011a906007906020850190620002f2565b506040516001600160a01b038216903480156108fc02916000818181858888f1935050505015801562000151573d6000803e3d6000fd5b5050506200016f620001686200017a60201b60201c565b826200017e565b505050505062000579565b3390565b6005546001600160a01b03610100909104163314620001f25760405162461bcd60e51b815260206004820152602560248201527f45524332304f776e61626c653a2063616c6c6572206973206e6f74207468652060448201526437bbb732b960d91b60648201526084015b60405180910390fd5b6200020982826200020d60201b620008d31760201c565b5050565b6001600160a01b038216620002655760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620001e9565b806002600082825462000279919062000515565b90915550506001600160a01b03821660009081526020819052604081208054839290620002a890849062000515565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b82805462000300906200053c565b90600052602060002090601f0160209004810192826200032457600085556200036f565b82601f106200033f57805160ff19168380011785556200036f565b828001600101855582156200036f579182015b828111156200036f57825182559160200191906001019062000352565b506200037d92915062000381565b5090565b5b808211156200037d576000815560010162000382565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620003c057600080fd5b81516001600160401b0380821115620003dd57620003dd62000398565b604051601f8301601f19908116603f0116810190828211818310171562000408576200040862000398565b816040528381526020925086838588010111156200042557600080fd5b600091505b838210156200044957858201830151818301840152908201906200042a565b838211156200045b5760008385830101525b9695505050505050565b600080600080600060a086880312156200047e57600080fd5b85516001600160a01b03811681146200049657600080fd5b60208701519095506001600160401b0380821115620004b457600080fd5b620004c289838a01620003ae565b95506040880151915080821115620004d957600080fd5b50620004e888828901620003ae565b935050606086015160ff811681146200050057600080fd5b80925050608086015190509295509295909350565b600082198211156200053757634e487b7160e01b600052601160045260246000fd5b500190565b600181811c908216806200055157607f821691505b602082108114156200057357634e487b7160e01b600052602260045260246000fd5b50919050565b6080516111476200059560003960006101b701526111476000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c806379cc6790116100b8578063a9059cbb1161007c578063a9059cbb146102ac578063aa23e03d146102bf578063b29a8140146102c7578063c2e7d95c146102da578063dd62ed3e146102e1578063f2fde38b1461031a57600080fd5b806379cc67901461024d5780637d64bcb4146102605780638da5cb5b1461026857806395d89b4114610291578063a457c2d71461029957600080fd5b8063313ce5671161010a578063313ce567146101b057806339509351146101e157806340c10f19146101f457806342966c681461020957806370a082311461021c578063715018a61461024557600080fd5b806305d2035b1461014757806306fdde0314610163578063095ea7b31461017857806318160ddd1461018b57806323b872dd1461019d575b600080fd5b60055460ff165b60405190151581526020015b60405180910390f35b61016b61032d565b60405161015a9190610ea3565b61014e610186366004610f14565b6103bf565b6002545b60405190815260200161015a565b61014e6101ab366004610f3e565b6103d5565b60405160ff7f000000000000000000000000000000000000000000000000000000000000000016815260200161015a565b61014e6101ef366004610f14565b61048b565b610207610202366004610f14565b6104c2565b005b610207610217366004610f7a565b6104f3565b61018f61022a366004610f93565b6001600160a01b031660009081526020819052604090205490565b610207610500565b61020761025b366004610f14565b610580565b610207610608565b60055461010090046001600160a01b03166040516001600160a01b03909116815260200161015a565b61016b610635565b61014e6102a7366004610f14565b610644565b61014e6102ba366004610f14565b6106df565b61016b6106ec565b6102076102d5366004610f14565b6106fb565b600161014e565b61018f6102ef366004610fb5565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610207610328366004610f93565b6107d2565b60606003805461033c90610fe8565b80601f016020809104026020016040519081016040528092919081815260200182805461036890610fe8565b80156103b55780601f1061038a576101008083540402835291602001916103b5565b820191906000526020600020905b81548152906001019060200180831161039857829003601f168201915b5050505050905090565b60006103cc3384846109b2565b50600192915050565b60006103e2848484610ad7565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561046c5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b610480853361047b8685611039565b6109b2565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103cc91859061047b908690611050565b60055460ff16156104e55760405162461bcd60e51b815260040161046390611068565b6104ef8282610caf565b5050565b6104fd3382610ce9565b50565b6005546001600160a01b036101009091041633146105305760405162461bcd60e51b8152600401610463906110aa565b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b600061058c83336102ef565b9050818110156105ea5760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b6064820152608401610463565b6105f9833361047b8585611039565b6106038383610ce9565b505050565b60055460ff161561062b5760405162461bcd60e51b815260040161046390611068565b610633610e38565b565b60606004805461033c90610fe8565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156106c65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610463565b6106d5338561047b8685611039565b5060019392505050565b60006103cc338484610ad7565b60606007805461033c90610fe8565b6005546001600160a01b0361010090910416331461072b5760405162461bcd60e51b8152600401610463906110aa565b816001600160a01b031663a9059cbb6107526005546001600160a01b036101009091041690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101849052604401602060405180830381600087803b15801561079a57600080fd5b505af11580156107ae573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060391906110ef565b6005546001600160a01b036101009091041633146108025760405162461bcd60e51b8152600401610463906110aa565b6001600160a01b03811661086c5760405162461bcd60e51b815260206004820152602b60248201527f45524332304f776e61626c653a206e6577206f776e657220697320746865207a60448201526a65726f206164647265737360a81b6064820152608401610463565b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6001600160a01b0382166109295760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610463565b806002600082825461093b9190611050565b90915550506001600160a01b03821660009081526020819052604081208054839290610968908490611050565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038316610a145760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610463565b6001600160a01b038216610a755760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610463565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610b3b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610463565b6001600160a01b038216610b9d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610463565b6001600160a01b03831660009081526020819052604090205481811015610c155760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610463565b610c1f8282611039565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290610c55908490611050565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ca191815260200190565b60405180910390a350505050565b6005546001600160a01b03610100909104163314610cdf5760405162461bcd60e51b8152600401610463906110aa565b6104ef82826108d3565b6001600160a01b038216610d495760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610463565b6001600160a01b03821660009081526020819052604090205481811015610dbd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610463565b610dc78282611039565b6001600160a01b03841660009081526020819052604081209190915560028054849290610df5908490611039565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610aca565b6005546001600160a01b03610100909104163314610e685760405162461bcd60e51b8152600401610463906110aa565b6106336005805460ff191660011790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a1565b600060208083528351808285015260005b81811015610ed057858101830151858201604001528201610eb4565b81811115610ee2576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610f0f57600080fd5b919050565b60008060408385031215610f2757600080fd5b610f3083610ef8565b946020939093013593505050565b600080600060608486031215610f5357600080fd5b610f5c84610ef8565b9250610f6a60208501610ef8565b9150604084013590509250925092565b600060208284031215610f8c57600080fd5b5035919050565b600060208284031215610fa557600080fd5b610fae82610ef8565b9392505050565b60008060408385031215610fc857600080fd5b610fd183610ef8565b9150610fdf60208401610ef8565b90509250929050565b600181811c90821680610ffc57607f821691505b6020821081141561101d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008282101561104b5761104b611023565b500390565b6000821982111561106357611063611023565b500190565b60208082526022908201527f45524332304d696e7461626c653a206d696e74696e672069732066696e697368604082015261195960f21b606082015260800190565b60208082526025908201527f45524332304f776e61626c653a2063616c6c6572206973206e6f74207468652060408201526437bbb732b960d91b606082015260800190565b60006020828403121561110157600080fd5b81518015158114610fae57600080fdfea2646970667358221220d7d338c90c8c68acd14950d0b78914a2cf417837c9e5087c6209377da038ef5b64736f6c634300080900330000000000000000000000003980a73f4159f867e6eec7555d26622e53d356b900000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000052b7d2dcc80cd2e40000000000000000000000000000000000000000000000000000000000000000000024476c6f62616c20477265656e686f75736520526564756374696f6e2045786368616e67650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044747525800000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101425760003560e01c806379cc6790116100b8578063a9059cbb1161007c578063a9059cbb146102ac578063aa23e03d146102bf578063b29a8140146102c7578063c2e7d95c146102da578063dd62ed3e146102e1578063f2fde38b1461031a57600080fd5b806379cc67901461024d5780637d64bcb4146102605780638da5cb5b1461026857806395d89b4114610291578063a457c2d71461029957600080fd5b8063313ce5671161010a578063313ce567146101b057806339509351146101e157806340c10f19146101f457806342966c681461020957806370a082311461021c578063715018a61461024557600080fd5b806305d2035b1461014757806306fdde0314610163578063095ea7b31461017857806318160ddd1461018b57806323b872dd1461019d575b600080fd5b60055460ff165b60405190151581526020015b60405180910390f35b61016b61032d565b60405161015a9190610ea3565b61014e610186366004610f14565b6103bf565b6002545b60405190815260200161015a565b61014e6101ab366004610f3e565b6103d5565b60405160ff7f000000000000000000000000000000000000000000000000000000000000001216815260200161015a565b61014e6101ef366004610f14565b61048b565b610207610202366004610f14565b6104c2565b005b610207610217366004610f7a565b6104f3565b61018f61022a366004610f93565b6001600160a01b031660009081526020819052604090205490565b610207610500565b61020761025b366004610f14565b610580565b610207610608565b60055461010090046001600160a01b03166040516001600160a01b03909116815260200161015a565b61016b610635565b61014e6102a7366004610f14565b610644565b61014e6102ba366004610f14565b6106df565b61016b6106ec565b6102076102d5366004610f14565b6106fb565b600161014e565b61018f6102ef366004610fb5565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610207610328366004610f93565b6107d2565b60606003805461033c90610fe8565b80601f016020809104026020016040519081016040528092919081815260200182805461036890610fe8565b80156103b55780601f1061038a576101008083540402835291602001916103b5565b820191906000526020600020905b81548152906001019060200180831161039857829003601f168201915b5050505050905090565b60006103cc3384846109b2565b50600192915050565b60006103e2848484610ad7565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561046c5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b610480853361047b8685611039565b6109b2565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103cc91859061047b908690611050565b60055460ff16156104e55760405162461bcd60e51b815260040161046390611068565b6104ef8282610caf565b5050565b6104fd3382610ce9565b50565b6005546001600160a01b036101009091041633146105305760405162461bcd60e51b8152600401610463906110aa565b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b600061058c83336102ef565b9050818110156105ea5760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b6064820152608401610463565b6105f9833361047b8585611039565b6106038383610ce9565b505050565b60055460ff161561062b5760405162461bcd60e51b815260040161046390611068565b610633610e38565b565b60606004805461033c90610fe8565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156106c65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610463565b6106d5338561047b8685611039565b5060019392505050565b60006103cc338484610ad7565b60606007805461033c90610fe8565b6005546001600160a01b0361010090910416331461072b5760405162461bcd60e51b8152600401610463906110aa565b816001600160a01b031663a9059cbb6107526005546001600160a01b036101009091041690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101849052604401602060405180830381600087803b15801561079a57600080fd5b505af11580156107ae573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060391906110ef565b6005546001600160a01b036101009091041633146108025760405162461bcd60e51b8152600401610463906110aa565b6001600160a01b03811661086c5760405162461bcd60e51b815260206004820152602b60248201527f45524332304f776e61626c653a206e6577206f776e657220697320746865207a60448201526a65726f206164647265737360a81b6064820152608401610463565b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6001600160a01b0382166109295760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610463565b806002600082825461093b9190611050565b90915550506001600160a01b03821660009081526020819052604081208054839290610968908490611050565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038316610a145760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610463565b6001600160a01b038216610a755760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610463565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610b3b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610463565b6001600160a01b038216610b9d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610463565b6001600160a01b03831660009081526020819052604090205481811015610c155760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610463565b610c1f8282611039565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290610c55908490611050565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ca191815260200190565b60405180910390a350505050565b6005546001600160a01b03610100909104163314610cdf5760405162461bcd60e51b8152600401610463906110aa565b6104ef82826108d3565b6001600160a01b038216610d495760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610463565b6001600160a01b03821660009081526020819052604090205481811015610dbd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610463565b610dc78282611039565b6001600160a01b03841660009081526020819052604081209190915560028054849290610df5908490611039565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610aca565b6005546001600160a01b03610100909104163314610e685760405162461bcd60e51b8152600401610463906110aa565b6106336005805460ff191660011790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a1565b600060208083528351808285015260005b81811015610ed057858101830151858201604001528201610eb4565b81811115610ee2576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610f0f57600080fd5b919050565b60008060408385031215610f2757600080fd5b610f3083610ef8565b946020939093013593505050565b600080600060608486031215610f5357600080fd5b610f5c84610ef8565b9250610f6a60208501610ef8565b9150604084013590509250925092565b600060208284031215610f8c57600080fd5b5035919050565b600060208284031215610fa557600080fd5b610fae82610ef8565b9392505050565b60008060408385031215610fc857600080fd5b610fd183610ef8565b9150610fdf60208401610ef8565b90509250929050565b600181811c90821680610ffc57607f821691505b6020821081141561101d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008282101561104b5761104b611023565b500390565b6000821982111561106357611063611023565b500190565b60208082526022908201527f45524332304d696e7461626c653a206d696e74696e672069732066696e697368604082015261195960f21b606082015260800190565b60208082526025908201527f45524332304f776e61626c653a2063616c6c6572206973206e6f74207468652060408201526437bbb732b960d91b606082015260800190565b60006020828403121561110157600080fd5b81518015158114610fae57600080fdfea2646970667358221220d7d338c90c8c68acd14950d0b78914a2cf417837c9e5087c6209377da038ef5b64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003980a73f4159f867e6eec7555d26622e53d356b900000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000052b7d2dcc80cd2e40000000000000000000000000000000000000000000000000000000000000000000024476c6f62616c20477265656e686f75736520526564756374696f6e2045786368616e67650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044747525800000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : __metacrypt_target (address): 0x3980A73f4159f867E6EEC7555D26622e53d356B9
Arg [1] : __metacrypt_name (string): Global Greenhouse Reduction Exchange
Arg [2] : __metacrypt_symbol (string): GGRX
Arg [3] : __metacrypt_decimals (uint8): 18
Arg [4] : __metacrypt_initial (uint256): 100000000000000000000000000
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000003980a73f4159f867e6eec7555d26622e53d356b9
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [4] : 00000000000000000000000000000000000000000052b7d2dcc80cd2e4000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000024
Arg [6] : 476c6f62616c20477265656e686f75736520526564756374696f6e2045786368
Arg [7] : 616e676500000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [9] : 4747525800000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ 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.