Overview
ETH Balance
ETH Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Multichain Info
Latest 12 from a total of 12 transactions
| Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Approve | 12154638 | 28 days ago | IN | 0 ETH | 0.00000139 | ||||
| Mint | 12154523 | 28 days ago | IN | 0 ETH | 0.0000014 | ||||
| Approve | 12153353 | 28 days ago | IN | 0 ETH | 0.00000139 | ||||
| Mint | 12153125 | 28 days ago | IN | 0 ETH | 0.00000135 | ||||
| Approve | 11466905 | 36 days ago | IN | 0 ETH | 0.00000135 | ||||
| Mint | 11462593 | 36 days ago | IN | 0 ETH | 0.00000141 | ||||
| Approve | 6101573 | 98 days ago | IN | 0 ETH | 0.00000006 | ||||
| Approve | 4097232 | 121 days ago | IN | 0 ETH | 0.00000006 | ||||
| Approve | 2974754 | 134 days ago | IN | 0 ETH | 0 | ||||
| Approve | 2974589 | 134 days ago | IN | 0 ETH | 0 | ||||
| Approve | 2973718 | 134 days ago | IN | 0 ETH | 0.00000006 | ||||
| Mint | 2807758 | 136 days ago | IN | 0 ETH | 0 |
View more zero value Internal Transactions in Advanced View mode
Contract Source Code Verified (Exact Match)
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.7;
import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract MockToken is ERC20 {
event Minting(address indexed _to, address indexed _minter, uint256 _amount);
event Burning(address indexed _from, address indexed _burner, uint256 _amount);
uint8 internal _decimal;
mapping(address => bool) public minters;
address public treasury;
constructor(string memory name_, string memory symbol_, uint8 decimal_) ERC20(name_, symbol_) {
_decimal = decimal_;
}
function decimals() public view override returns (uint8) {
return _decimal;
}
function mint(address account, uint256 amount) external {
_mint(account, amount);
emit Minting(account, msg.sender, amount);
}
function burn(address account, uint256 amount) public {
_burn(account, amount);
emit Burning(account, msg.sender, amount);
}
function setAllowance(address from, address to) public {
_approve(from, to, type(uint256).max);
}
function burnSelf(uint256 amount, address account) public {
_burn(account, amount);
emit Burning(account, msg.sender, amount);
}
function addMinter(address minter) public {
minters[minter] = true;
}
function removeMinter(address minter) public {
minters[minter] = false;
}
function setTreasury(address _treasury) public {
treasury = _treasury;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* The default value of {decimals} is 18. To change this, you should override
* this function so it returns a different value.
*
* 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}.
*
* 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 default value returned by this function, unless
* it's 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;
// Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
// decrementing then incrementing.
_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;
unchecked {
// Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
_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;
// Overflow not possible: amount <= accountBalance <= totalSupply.
_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 (last updated v4.9.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);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (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;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}{
"evmVersion": "cancun",
"libraries": {},
"metadata": {
"appendCBOR": true,
"bytecodeHash": "ipfs",
"useLiteralContent": false
},
"optimizer": {
"enabled": true,
"runs": 100
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"remappings": [
"@openzeppelin/=node_modules/@openzeppelin/",
"forge-std/=node_modules/forge-std/src/",
"oz/=node_modules/@openzeppelin/contracts/",
"@utils/=node_modules/utils/src/",
"hardhat/=node_modules/hardhat/",
"lz/=node_modules/utils/lib/solidity-examples/contracts/",
"stringutils/=node_modules/utils/lib/solidity-stringutils/src/",
"utils/=node_modules/utils/"
],
"viaIR": false
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint8","name":"decimal_","type":"uint8"}],"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":"_burner","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Burning","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":true,"internalType":"address","name":"_minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Minting","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":"minter","type":"address"}],"name":"addMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"account","type":"address"}],"name":"burnSelf","outputs":[],"stateMutability":"nonpayable","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":[{"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":[{"internalType":"address","name":"","type":"address"}],"name":"minters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"removeMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"setAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasury","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":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]Contract Creation Code
608060405234801561000f575f80fd5b50604051610f71380380610f7183398101604081905261002e91610105565b8282600361003c8382610200565b5060046100498282610200565b50506005805460ff191660ff9390931692909217909155506102bf915050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011261008c575f80fd5b81516001600160401b03808211156100a6576100a6610069565b604051601f8301601f19908116603f011681019082821181831017156100ce576100ce610069565b816040528381528660208588010111156100e6575f80fd5b8360208701602083015e5f602085830101528094505050505092915050565b5f805f60608486031215610117575f80fd5b83516001600160401b038082111561012d575f80fd5b6101398783880161007d565b9450602086015191508082111561014e575f80fd5b5061015b8682870161007d565b925050604084015160ff81168114610171575f80fd5b809150509250925092565b600181811c9082168061019057607f821691505b6020821081036101ae57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156101fb57805f5260205f20601f840160051c810160208510156101d95750805b601f840160051c820191505b818110156101f8575f81556001016101e5565b50505b505050565b81516001600160401b0381111561021957610219610069565b61022d81610227845461017c565b846101b4565b602080601f831160018114610260575f84156102495750858301515b5f19600386901b1c1916600185901b1785556102b7565b5f85815260208120601f198616915b8281101561028e5788860151825594840194600190910190840161026f565b50858210156102ab57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b610ca5806102cc5f395ff3fe608060405234801561000f575f80fd5b5060043610610127575f3560e01c806361d027b3116100a9578063a457c2d71161006e578063a457c2d7146102c1578063a9059cbb146102d4578063dd62ed3e146102e7578063f0f44260146102fa578063f46eccc41461032a575f80fd5b806361d027b31461022257806370a082311461024d57806395d89b4114610275578063983b2d561461027d5780639dc29fac146102ae575f80fd5b80632b471d8e116100ef5780632b471d8e146101a65780633092afd5146101b9578063313ce567146101e757806339509351146101fc57806340c10f191461020f575f80fd5b806306fdde031461012b578063095ea7b31461014957806318160ddd1461016c5780631cedc2031461017e57806323b872dd14610193575b5f80fd5b61013361034c565b6040516101409190610ad5565b60405180910390f35b61015c610157366004610b25565b6103dc565b6040519015158152602001610140565b6002545b604051908152602001610140565b61019161018c366004610b4d565b6103f5565b005b61015c6101a1366004610b7e565b610405565b6101916101b4366004610bb7565b610428565b6101916101c7366004610bd8565b6001600160a01b03165f908152600660205260409020805460ff19169055565b60055460405160ff9091168152602001610140565b61015c61020a366004610b25565b610477565b61019161021d366004610b25565b610498565b600754610235906001600160a01b031681565b6040516001600160a01b039091168152602001610140565b61017061025b366004610bd8565b6001600160a01b03165f9081526020819052604090205490565b6101336104df565b61019161028b366004610bd8565b6001600160a01b03165f908152600660205260409020805460ff19166001179055565b6101916102bc366004610b25565b6104ee565b61015c6102cf366004610b25565b610535565b61015c6102e2366004610b25565b6105b4565b6101706102f5366004610b4d565b6105c1565b610191610308366004610bd8565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b61015c610338366004610bd8565b60066020525f908152604090205460ff1681565b60606003805461035b90610bf8565b80601f016020809104026020016040519081016040528092919081815260200182805461038790610bf8565b80156103d25780601f106103a9576101008083540402835291602001916103d2565b820191905f5260205f20905b8154815290600101906020018083116103b557829003601f168201915b5050505050905090565b5f336103e98185856105eb565b60019150505b92915050565b61040182825f196105eb565b5050565b5f3361041285828561070f565b61041d858585610787565b506001949350505050565b6104328183610916565b60405182815233906001600160a01b038316907f227fb4b3aae8331f21af5167739c291fefe3afd3c2e08cea44f499e564f486ef906020015b60405180910390a35050565b5f336103e981858561048983836105c1565b6104939190610c30565b6105eb565b6104a28282610a2b565b60405181815233906001600160a01b038416907fb1233017d63154bc561d57c16f7b6a55e2e1acd7fcac94045a9f35fb31a850ca9060200161046b565b60606004805461035b90610bf8565b6104f88282610916565b60405181815233906001600160a01b038416907f227fb4b3aae8331f21af5167739c291fefe3afd3c2e08cea44f499e564f486ef9060200161046b565b5f338161054282866105c1565b9050838110156105a75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61041d82868684036105eb565b5f336103e9818585610787565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6001600160a01b03831661064d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161059e565b6001600160a01b0382166106ae5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161059e565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b5f61071a84846105c1565b90505f19811461078157818110156107745760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161059e565b61078184848484036105eb565b50505050565b6001600160a01b0383166107eb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161059e565b6001600160a01b03821661084d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161059e565b6001600160a01b0383165f90815260208190526040902054818110156108c45760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161059e565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290925f80516020610c50833981519152910160405180910390a3610781565b6001600160a01b0382166109765760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161059e565b6001600160a01b0382165f90815260208190526040902054818110156109e95760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161059e565b6001600160a01b0383165f818152602081815260408083208686039055600280548790039055518581529192915f80516020610c508339815191529101610702565b6001600160a01b038216610a815760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161059e565b8060025f828254610a929190610c30565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481525f80516020610c50833981519152910160405180910390a35050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114610b20575f80fd5b919050565b5f8060408385031215610b36575f80fd5b610b3f83610b0a565b946020939093013593505050565b5f8060408385031215610b5e575f80fd5b610b6783610b0a565b9150610b7560208401610b0a565b90509250929050565b5f805f60608486031215610b90575f80fd5b610b9984610b0a565b9250610ba760208501610b0a565b9150604084013590509250925092565b5f8060408385031215610bc8575f80fd5b82359150610b7560208401610b0a565b5f60208284031215610be8575f80fd5b610bf182610b0a565b9392505050565b600181811c90821680610c0c57607f821691505b602082108103610c2a57634e487b7160e01b5f52602260045260245ffd5b50919050565b808201808211156103ef57634e487b7160e01b5f52601160045260245ffdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212205a25903fbdc46df373e2dec6bcf017c0ac73fd6469af97016b7adede7871cfb664736f6c63430008190033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000961676c614d65726b6c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000961676c614d65726b6c0000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561000f575f80fd5b5060043610610127575f3560e01c806361d027b3116100a9578063a457c2d71161006e578063a457c2d7146102c1578063a9059cbb146102d4578063dd62ed3e146102e7578063f0f44260146102fa578063f46eccc41461032a575f80fd5b806361d027b31461022257806370a082311461024d57806395d89b4114610275578063983b2d561461027d5780639dc29fac146102ae575f80fd5b80632b471d8e116100ef5780632b471d8e146101a65780633092afd5146101b9578063313ce567146101e757806339509351146101fc57806340c10f191461020f575f80fd5b806306fdde031461012b578063095ea7b31461014957806318160ddd1461016c5780631cedc2031461017e57806323b872dd14610193575b5f80fd5b61013361034c565b6040516101409190610ad5565b60405180910390f35b61015c610157366004610b25565b6103dc565b6040519015158152602001610140565b6002545b604051908152602001610140565b61019161018c366004610b4d565b6103f5565b005b61015c6101a1366004610b7e565b610405565b6101916101b4366004610bb7565b610428565b6101916101c7366004610bd8565b6001600160a01b03165f908152600660205260409020805460ff19169055565b60055460405160ff9091168152602001610140565b61015c61020a366004610b25565b610477565b61019161021d366004610b25565b610498565b600754610235906001600160a01b031681565b6040516001600160a01b039091168152602001610140565b61017061025b366004610bd8565b6001600160a01b03165f9081526020819052604090205490565b6101336104df565b61019161028b366004610bd8565b6001600160a01b03165f908152600660205260409020805460ff19166001179055565b6101916102bc366004610b25565b6104ee565b61015c6102cf366004610b25565b610535565b61015c6102e2366004610b25565b6105b4565b6101706102f5366004610b4d565b6105c1565b610191610308366004610bd8565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b61015c610338366004610bd8565b60066020525f908152604090205460ff1681565b60606003805461035b90610bf8565b80601f016020809104026020016040519081016040528092919081815260200182805461038790610bf8565b80156103d25780601f106103a9576101008083540402835291602001916103d2565b820191905f5260205f20905b8154815290600101906020018083116103b557829003601f168201915b5050505050905090565b5f336103e98185856105eb565b60019150505b92915050565b61040182825f196105eb565b5050565b5f3361041285828561070f565b61041d858585610787565b506001949350505050565b6104328183610916565b60405182815233906001600160a01b038316907f227fb4b3aae8331f21af5167739c291fefe3afd3c2e08cea44f499e564f486ef906020015b60405180910390a35050565b5f336103e981858561048983836105c1565b6104939190610c30565b6105eb565b6104a28282610a2b565b60405181815233906001600160a01b038416907fb1233017d63154bc561d57c16f7b6a55e2e1acd7fcac94045a9f35fb31a850ca9060200161046b565b60606004805461035b90610bf8565b6104f88282610916565b60405181815233906001600160a01b038416907f227fb4b3aae8331f21af5167739c291fefe3afd3c2e08cea44f499e564f486ef9060200161046b565b5f338161054282866105c1565b9050838110156105a75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61041d82868684036105eb565b5f336103e9818585610787565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6001600160a01b03831661064d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161059e565b6001600160a01b0382166106ae5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161059e565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b5f61071a84846105c1565b90505f19811461078157818110156107745760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161059e565b61078184848484036105eb565b50505050565b6001600160a01b0383166107eb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161059e565b6001600160a01b03821661084d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161059e565b6001600160a01b0383165f90815260208190526040902054818110156108c45760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161059e565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290925f80516020610c50833981519152910160405180910390a3610781565b6001600160a01b0382166109765760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161059e565b6001600160a01b0382165f90815260208190526040902054818110156109e95760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161059e565b6001600160a01b0383165f818152602081815260408083208686039055600280548790039055518581529192915f80516020610c508339815191529101610702565b6001600160a01b038216610a815760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161059e565b8060025f828254610a929190610c30565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481525f80516020610c50833981519152910160405180910390a35050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114610b20575f80fd5b919050565b5f8060408385031215610b36575f80fd5b610b3f83610b0a565b946020939093013593505050565b5f8060408385031215610b5e575f80fd5b610b6783610b0a565b9150610b7560208401610b0a565b90509250929050565b5f805f60608486031215610b90575f80fd5b610b9984610b0a565b9250610ba760208501610b0a565b9150604084013590509250925092565b5f8060408385031215610bc8575f80fd5b82359150610b7560208401610b0a565b5f60208284031215610be8575f80fd5b610bf182610b0a565b9392505050565b600181811c90821680610c0c57607f821691505b602082108103610c2a57634e487b7160e01b5f52602260045260245ffd5b50919050565b808201808211156103ef57634e487b7160e01b5f52601160045260245ffdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212205a25903fbdc46df373e2dec6bcf017c0ac73fd6469af97016b7adede7871cfb664736f6c63430008190033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000961676c614d65726b6c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000961676c614d65726b6c0000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): aglaMerkl
Arg [1] : symbol_ (string): aglaMerkl
Arg [2] : decimal_ (uint8): 6
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [4] : 61676c614d65726b6c0000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [6] : 61676c614d65726b6c0000000000000000000000000000000000000000000000
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.