Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
7,096.6350696846855 α
Holders
347
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
90.70673124444 αValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Alpha
Compiler Version
v0.8.6+commit.11564f7e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @creator: URN DAO /// @author: Wizard /* ▄▓████████████▓▄ ,▄▄▓█████▌ ▄█████████████████▓▓▓ █████████ ▓███████▀ ╙███████▌ ▐████████ ┌████████ ╙██████▌ ████▓██▓ ╒████████▌ ██████▌┌███████▀ ████▓▓███ └█████████████▀ ╫████████▌ ╟███████████▀ █████████▌ ████▓█████▀ █████████▌ █████████▀ █████████▌ ╟███████▀ ╫█████████ ████████▌ ████▓▓███▌ ▓█████████ ╙█████████ ███████████▌ ╙█████████▄ ▄████▓███████▓▄ █████▓████▄▄▄▄▄▄▓█████▀ ╘█████████▓▄▄▓███▌ ▀█████████████████▀ ╙██▓███████████▀ ╙▀▀██ALPHA██▀▀ ╙▀██████▀▀ */ import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; interface IERC165 { function supportsInterface(bytes4 interfaceId) external view returns (bool); } interface IMerge is IERC165 { function transferFrom( address from, address to, uint256 tokenId ) external; function massOf(uint256 tokenId) external view returns (uint256); function tokenOf(address owner) external view returns (uint256); } interface IGenesis { function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; function balanceOf(address account, uint256 id) external view returns (uint256); } interface IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } interface IERC1155Receiver is IERC165 { function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); } contract Alpha is ERC20, IERC721Receiver, Pausable { uint256 public constant DENOMINATOR = 10000; uint256 public constant INTERN_VALUE = 1133834140555500000; IMerge public merge; IGenesis public genesis; address public dev; address public urn; address public vault; uint256 public devFee = 100; uint256 public urnFee = 400; uint256 public maxMass = 10; event Received(address from, uint256 tokenId, uint256 mass); modifier onlyUrn() { require(_msgSender() == urn, "caller is not urn"); _; } constructor( address _dev, address _urn, address _vault, address _genesis, address _merge, uint256 _alpha ) ERC20(".alpha", unicode"α") { dev = _dev; urn = _urn; vault = _vault; merge = IMerge(_merge); genesis = IGenesis(_genesis); // initial .merge supply _mint(_msgSender(), _alpha * (10**uint256(18))); } function setMaxMerge(uint256 _maxMass) public virtual onlyUrn { maxMass = _maxMass; } function setUrnFee(uint256 _fee) public virtual onlyUrn { urnFee = _fee; } function setDevFee(uint256 _fee) public virtual onlyUrn { devFee = _fee; } function setUrn(address _urn) public virtual onlyUrn { urn = _urn; } function setDev(address _dev) public virtual { require(_msgSender() == dev, "caller is not dev"); dev = _dev; } function setVault(address _vault) public virtual onlyUrn { vault = _vault; } function unpause() public virtual onlyUrn { _unpause(); } function pause() public virtual onlyUrn { _pause(); } function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } function burnFrom(address account, uint256 amount) public virtual { uint256 currentAllowance = allowance(account, _msgSender()); require( currentAllowance >= amount, "ERC20: burn amount exceeds allowance" ); unchecked { _approve(account, _msgSender(), currentAllowance - amount); } _burn(account, amount); } function _mint( address to, uint256 amount, bool hasFee ) internal virtual { if (hasFee) { uint256 toUrn = (amount * urnFee) / DENOMINATOR; uint256 toDev = (amount * devFee) / DENOMINATOR; uint256 lessTax = amount - (toUrn + toDev); super._mint(to, lessTax); super._mint(urn, toUrn); super._mint(dev, toDev); } else { super._mint(to, amount); } } function sweep() public onlyUrn { uint256 _token = merge.tokenOf(address(this)); require(_token > 0, "nothing to sweep"); uint256 _mass = merge.massOf(_token); // merge .mass with alpha merge.transferFrom(address(this), vault, _token); // mint .alpha _mint(urn, _mass * 1e18, false); } function onERC721Received( address _operator, address from, uint256 _tokenId, bytes calldata _data ) public virtual override whenNotPaused returns (bytes4) { // verify only merge tokens are sent require(msg.sender == address(merge), "only send merge"); // winning .merge token uint256 _token = merge.tokenOf(address(this)); // check if merge is allowed uint256 _mass = merge.massOf(_token); require(_mass <= maxMass, "mass higher than allowed"); // merge .mass with alpha merge.transferFrom(address(this), vault, _token); // mint .alpha _mint(from, _mass * 1e18, true); return IERC721Receiver.onERC721Received.selector; } function onERC1155Received( address _operator, address from, uint256 id, uint256 value, bytes calldata _data ) public virtual whenNotPaused returns (bytes4) { // verify only genesis tokens are sent require(msg.sender == address(genesis), "only send genesis"); require(id == uint256(1), "only send interns"); // burn The Internship token genesis.safeTransferFrom(address(this), address(0xdEaD), id, value, ""); require(genesis.balanceOf(address(this), id) == 0, "burn failed"); uint256 _alpha = value * INTERN_VALUE; // mint .alpha _mint(from, _alpha, false); return IERC1155Receiver.onERC1155Received.selector; } }
// SPDX-License-Identifier: MIT 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: * * - `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"); unchecked { _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"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * 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: * * - `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"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(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: * * - `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 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 pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount ) external returns (bool); /** * @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); }
// SPDX-License-Identifier: MIT 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 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; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_dev","type":"address"},{"internalType":"address","name":"_urn","type":"address"},{"internalType":"address","name":"_vault","type":"address"},{"internalType":"address","name":"_genesis","type":"address"},{"internalType":"address","name":"_merge","type":"address"},{"internalType":"uint256","name":"_alpha","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"mass","type":"uint256"}],"name":"Received","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INTERN_VALUE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"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":"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":"dev","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"genesis","outputs":[{"internalType":"contract IGenesis","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":"maxMass","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merge","outputs":[{"internalType":"contract IMerge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_dev","type":"address"}],"name":"setDev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setDevFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMass","type":"uint256"}],"name":"setMaxMerge","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_urn","type":"address"}],"name":"setUrn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setUrnFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_vault","type":"address"}],"name":"setVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sweep","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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"urn","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"urnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526064600a55610190600b55600a600c553480156200002157600080fd5b5060405162002068380380620020688339810160408190526200004491620002ed565b60408051808201825260068152652e616c70686160d01b602080830191825283518085019094526002845261ceb160f01b9084015281519192916200008c916003916200022a565b508051620000a29060049060208401906200022a565b505060058054600780546001600160a01b03199081166001600160a01b038c8116919091179092556008805482168b84161790556009805482168a84161790556001600160a81b03199092166101008783160217909255600680549091169186169190911790555062000136620001163390565b620001246012600a620003c9565b62000130908462000494565b62000142565b50505050505062000509565b6001600160a01b0382166200019d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620001b1919062000365565b90915550506001600160a01b03821660009081526020819052604081208054839290620001e090849062000365565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b8280546200023890620004b6565b90600052602060002090601f0160209004810192826200025c5760008555620002a7565b82601f106200027757805160ff1916838001178555620002a7565b82800160010185558215620002a7579182015b82811115620002a75782518255916020019190600101906200028a565b50620002b5929150620002b9565b5090565b5b80821115620002b55760008155600101620002ba565b80516001600160a01b0381168114620002e857600080fd5b919050565b60008060008060008060c087890312156200030757600080fd5b6200031287620002d0565b95506200032260208801620002d0565b94506200033260408801620002d0565b93506200034260608801620002d0565b92506200035260808801620002d0565b915060a087015190509295509295509295565b600082198211156200037b576200037b620004f3565b500190565b600181815b80851115620003c1578160001904821115620003a557620003a5620004f3565b80851615620003b357918102915b93841c939080029062000385565b509250929050565b6000620003d78383620003de565b9392505050565b600082620003ef575060016200048e565b81620003fe575060006200048e565b8160018114620004175760028114620004225762000442565b60019150506200048e565b60ff841115620004365762000436620004f3565b50506001821b6200048e565b5060208310610133831016604e8410600b841016171562000467575081810a6200048e565b62000473838362000380565b80600019048211156200048a576200048a620004f3565b0290505b92915050565b6000816000190483118215151615620004b157620004b1620004f3565b500290565b600181811c90821680620004cb57607f821691505b60208210811415620004ed57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b611b4f80620005196000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c80636827e76411610125578063a9059cbb116100ad578063dd62ed3e1161007c578063dd62ed3e14610468578063e5734100146104a1578063f23a6e61146104aa578063f6a535cc146104bd578063fbfa77cf146104c657600080fd5b8063a9059cbb14610420578063b819947f14610433578063c76e919414610442578063d477f05f1461045557600080fd5b8063918f8674116100f4578063918f8674146103d657806391cca3db146103df57806395d89b41146103f2578063a457c2d7146103fa578063a7f0b3de1461040d57600080fd5b80636827e7641461038957806370a082311461039257806379cc6790146103bb5780638456cb59146103ce57600080fd5b80632b9c7f70116101a85780633950935111610177578063395093511461033d5780633f4ba83a1461035057806342966c68146103585780635c975abb1461036b5780636817031b1461037657600080fd5b80632b9c7f70146103005780632f8080de14610313578063313ce5671461032657806335faa4161461033557600080fd5b806318160ddd116101e457806318160ddd146102b35780631c4c63dd146102c55780631c75b6b2146102da57806323b872dd146102ed57600080fd5b806306fdde0314610216578063095ea7b3146102345780630b65108b14610257578063150b7a0214610287575b600080fd5b61021e6104d9565b60405161022b91906119ae565b60405180910390f35b610247610242366004611952565b61056b565b604051901515815260200161022b565b60055461026f9061010090046001600160a01b031681565b6040516001600160a01b03909116815260200161022b565b61029a61029536600461186b565b610581565b6040516001600160e01b0319909116815260200161022b565b6002545b60405190815260200161022b565b6102d86102d336600461197c565b610807565b005b6102d86102e836600461197c565b61083f565b6102476102fb36600461182f565b610877565b6102d861030e36600461197c565b610921565b60085461026f906001600160a01b031681565b6040516012815260200161022b565b6102d8610959565b61024761034b366004611952565b610b78565b6102d8610bb4565b6102d861036636600461197c565b610bf1565b60055460ff16610247565b6102d86103843660046117da565b610bfe565b6102b7600a5481565b6102b76103a03660046117da565b6001600160a01b031660009081526020819052604090205490565b6102d86103c9366004611952565b610c53565b6102d8610cd9565b6102b761271081565b60075461026f906001600160a01b031681565b61021e610d14565b610247610408366004611952565b610d23565b60065461026f906001600160a01b031681565b61024761042e366004611952565b610dbc565b6102b7670fbc3024be0559e081565b6102d86104503660046117da565b610dc9565b6102d86104633660046117da565b610e1e565b6102b76104763660046117fc565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102b7600b5481565b61029a6104b83660046118da565b610e97565b6102b7600c5481565b60095461026f906001600160a01b031681565b6060600380546104e890611ac8565b80601f016020809104026020016040519081016040528092919081815260200182805461051490611ac8565b80156105615780601f1061053657610100808354040283529160200191610561565b820191906000526020600020905b81548152906001019060200180831161054457829003601f168201915b5050505050905090565b60006105783384846110c6565b50600192915050565b600061058f60055460ff1690565b156105b55760405162461bcd60e51b81526004016105ac90611a03565b60405180910390fd5b60055461010090046001600160a01b031633146106065760405162461bcd60e51b815260206004820152600f60248201526e6f6e6c792073656e64206d6572676560881b60448201526064016105ac565b6005546040516321761c7160e11b815230600482015260009161010090046001600160a01b0316906342ec38e29060240160206040518083038186803b15801561064f57600080fd5b505afa158015610663573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106879190611995565b6005546040516330f60ddb60e11b8152600481018390529192506000916101009091046001600160a01b0316906361ec1bb69060240160206040518083038186803b1580156106d557600080fd5b505afa1580156106e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061070d9190611995565b9050600c548111156107615760405162461bcd60e51b815260206004820152601860248201527f6d61737320686967686572207468616e20616c6c6f776564000000000000000060448201526064016105ac565b6005546009546040516323b872dd60e01b81523060048201526001600160a01b0391821660248201526044810185905261010090920416906323b872dd90606401600060405180830381600087803b1580156107bc57600080fd5b505af11580156107d0573d6000803e3d6000fd5b505050506107f38782670de0b6b3a76400006107ec9190611a92565b60016111ea565b50630a85bd0160e11b979650505050505050565b6008546001600160a01b0316336001600160a01b03161461083a5760405162461bcd60e51b81526004016105ac90611a2d565b600c55565b6008546001600160a01b0316336001600160a01b0316146108725760405162461bcd60e51b81526004016105ac90611a2d565b600a55565b600061088484848461128e565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156109095760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016105ac565b61091685338584036110c6565b506001949350505050565b6008546001600160a01b0316336001600160a01b0316146109545760405162461bcd60e51b81526004016105ac90611a2d565b600b55565b6008546001600160a01b0316336001600160a01b03161461098c5760405162461bcd60e51b81526004016105ac90611a2d565b6005546040516321761c7160e11b815230600482015260009161010090046001600160a01b0316906342ec38e29060240160206040518083038186803b1580156109d557600080fd5b505afa1580156109e9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0d9190611995565b905060008111610a525760405162461bcd60e51b815260206004820152601060248201526f06e6f7468696e6720746f2073776565760841b60448201526064016105ac565b6005546040516330f60ddb60e11b81526004810183905260009161010090046001600160a01b0316906361ec1bb69060240160206040518083038186803b158015610a9c57600080fd5b505afa158015610ab0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad49190611995565b6005546009546040516323b872dd60e01b81523060048201526001600160a01b0391821660248201526044810186905292935061010090910416906323b872dd90606401600060405180830381600087803b158015610b3257600080fd5b505af1158015610b46573d6000803e3d6000fd5b5050600854610b7492506001600160a01b03169050610b6d83670de0b6b3a7640000611a92565b60006111ea565b5050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610578918590610baf908690611a58565b6110c6565b6008546001600160a01b0316336001600160a01b031614610be75760405162461bcd60e51b81526004016105ac90611a2d565b610bef61145d565b565b610bfb33826114f0565b50565b6008546001600160a01b0316336001600160a01b031614610c315760405162461bcd60e51b81526004016105ac90611a2d565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6000610c5f8333610476565b905081811015610cbd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b60648201526084016105ac565b610cca83338484036110c6565b610cd483836114f0565b505050565b6008546001600160a01b0316336001600160a01b031614610d0c5760405162461bcd60e51b81526004016105ac90611a2d565b610bef61163e565b6060600480546104e890611ac8565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610da55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105ac565b610db233858584036110c6565b5060019392505050565b600061057833848461128e565b6008546001600160a01b0316336001600160a01b031614610dfc5760405162461bcd60e51b81526004016105ac90611a2d565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6007546001600160a01b0316336001600160a01b031614610e755760405162461bcd60e51b815260206004820152601160248201527031b0b63632b91034b9903737ba103232bb60791b60448201526064016105ac565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6000610ea560055460ff1690565b15610ec25760405162461bcd60e51b81526004016105ac90611a03565b6006546001600160a01b03163314610f105760405162461bcd60e51b81526020600482015260116024820152706f6e6c792073656e642067656e6573697360781b60448201526064016105ac565b60018514610f545760405162461bcd60e51b81526020600482015260116024820152706f6e6c792073656e6420696e7465726e7360781b60448201526064016105ac565b600654604051637921219560e11b815230600482015261dead6024820152604481018790526064810186905260a06084820152600060a48201526001600160a01b039091169063f242432a9060c401600060405180830381600087803b158015610fbd57600080fd5b505af1158015610fd1573d6000803e3d6000fd5b5050600654604051627eeac760e11b8152306004820152602481018990526001600160a01b03909116925062fdd58e915060440160206040518083038186803b15801561101d57600080fd5b505afa158015611031573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110559190611995565b156110905760405162461bcd60e51b815260206004820152600b60248201526a189d5c9b8819985a5b195960aa1b60448201526064016105ac565b60006110a4670fbc3024be0559e086611a92565b90506110b2878260006111ea565b5063f23a6e6160e01b979650505050505050565b6001600160a01b0383166111285760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105ac565b6001600160a01b0382166111895760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105ac565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b8015611284576000612710600b54846112039190611a92565b61120d9190611a70565b90506000612710600a54856112229190611a92565b61122c9190611a70565b9050600061123a8284611a58565b6112449086611ab1565b90506112508682611696565b600854611266906001600160a01b031684611696565b60075461127c906001600160a01b031683611696565b505050505050565b610cd48383611696565b6001600160a01b0383166112f25760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105ac565b6001600160a01b0382166113545760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105ac565b6001600160a01b038316600090815260208190526040902054818110156113cc5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105ac565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611403908490611a58565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161144f91815260200190565b60405180910390a350505050565b60055460ff166114a65760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016105ac565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b0382166115505760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105ac565b6001600160a01b038216600090815260208190526040902054818110156115c45760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105ac565b6001600160a01b03831660009081526020819052604081208383039055600280548492906115f3908490611ab1565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b60055460ff16156116615760405162461bcd60e51b81526004016105ac90611a03565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586114d33390565b6001600160a01b0382166116ec5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105ac565b80600260008282546116fe9190611a58565b90915550506001600160a01b0382166000908152602081905260408120805483929061172b908490611a58565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b80356001600160a01b038116811461178c57600080fd5b919050565b60008083601f8401126117a357600080fd5b50813567ffffffffffffffff8111156117bb57600080fd5b6020830191508360208285010111156117d357600080fd5b9250929050565b6000602082840312156117ec57600080fd5b6117f582611775565b9392505050565b6000806040838503121561180f57600080fd5b61181883611775565b915061182660208401611775565b90509250929050565b60008060006060848603121561184457600080fd5b61184d84611775565b925061185b60208501611775565b9150604084013590509250925092565b60008060008060006080868803121561188357600080fd5b61188c86611775565b945061189a60208701611775565b935060408601359250606086013567ffffffffffffffff8111156118bd57600080fd5b6118c988828901611791565b969995985093965092949392505050565b60008060008060008060a087890312156118f357600080fd5b6118fc87611775565b955061190a60208801611775565b94506040870135935060608701359250608087013567ffffffffffffffff81111561193457600080fd5b61194089828a01611791565b979a9699509497509295939492505050565b6000806040838503121561196557600080fd5b61196e83611775565b946020939093013593505050565b60006020828403121561198e57600080fd5b5035919050565b6000602082840312156119a757600080fd5b5051919050565b600060208083528351808285015260005b818110156119db578581018301518582016040015282016119bf565b818111156119ed576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526011908201527031b0b63632b91034b9903737ba103ab93760791b604082015260600190565b60008219821115611a6b57611a6b611b03565b500190565b600082611a8d57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611aac57611aac611b03565b500290565b600082821015611ac357611ac3611b03565b500390565b600181811c90821680611adc57607f821691505b60208210811415611afd57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea26469706673582212202f3a5112f3bb458a9e07f2b9adc4afdd9b16ecf9e0b4c3919b3a6cb747ae50db64736f6c63430008060033000000000000000000000000d556e3a0ed98f7a4abe56420eac5bec96ea21977000000000000000000000000ab1ff9b465c04503d0c5e462f10d800f6c790d56000000000000000000000000ab1ff9b465c04503d0c5e462f10d800f6c790d56000000000000000000000000a25bf81aacdb5e610eaf91a889975bba43398cf1000000000000000000000000c3f8a0f5841abff777d3eefa5047e8d413a1c9ab000000000000000000000000000000000000000000000000000000000000028a
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102115760003560e01c80636827e76411610125578063a9059cbb116100ad578063dd62ed3e1161007c578063dd62ed3e14610468578063e5734100146104a1578063f23a6e61146104aa578063f6a535cc146104bd578063fbfa77cf146104c657600080fd5b8063a9059cbb14610420578063b819947f14610433578063c76e919414610442578063d477f05f1461045557600080fd5b8063918f8674116100f4578063918f8674146103d657806391cca3db146103df57806395d89b41146103f2578063a457c2d7146103fa578063a7f0b3de1461040d57600080fd5b80636827e7641461038957806370a082311461039257806379cc6790146103bb5780638456cb59146103ce57600080fd5b80632b9c7f70116101a85780633950935111610177578063395093511461033d5780633f4ba83a1461035057806342966c68146103585780635c975abb1461036b5780636817031b1461037657600080fd5b80632b9c7f70146103005780632f8080de14610313578063313ce5671461032657806335faa4161461033557600080fd5b806318160ddd116101e457806318160ddd146102b35780631c4c63dd146102c55780631c75b6b2146102da57806323b872dd146102ed57600080fd5b806306fdde0314610216578063095ea7b3146102345780630b65108b14610257578063150b7a0214610287575b600080fd5b61021e6104d9565b60405161022b91906119ae565b60405180910390f35b610247610242366004611952565b61056b565b604051901515815260200161022b565b60055461026f9061010090046001600160a01b031681565b6040516001600160a01b03909116815260200161022b565b61029a61029536600461186b565b610581565b6040516001600160e01b0319909116815260200161022b565b6002545b60405190815260200161022b565b6102d86102d336600461197c565b610807565b005b6102d86102e836600461197c565b61083f565b6102476102fb36600461182f565b610877565b6102d861030e36600461197c565b610921565b60085461026f906001600160a01b031681565b6040516012815260200161022b565b6102d8610959565b61024761034b366004611952565b610b78565b6102d8610bb4565b6102d861036636600461197c565b610bf1565b60055460ff16610247565b6102d86103843660046117da565b610bfe565b6102b7600a5481565b6102b76103a03660046117da565b6001600160a01b031660009081526020819052604090205490565b6102d86103c9366004611952565b610c53565b6102d8610cd9565b6102b761271081565b60075461026f906001600160a01b031681565b61021e610d14565b610247610408366004611952565b610d23565b60065461026f906001600160a01b031681565b61024761042e366004611952565b610dbc565b6102b7670fbc3024be0559e081565b6102d86104503660046117da565b610dc9565b6102d86104633660046117da565b610e1e565b6102b76104763660046117fc565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102b7600b5481565b61029a6104b83660046118da565b610e97565b6102b7600c5481565b60095461026f906001600160a01b031681565b6060600380546104e890611ac8565b80601f016020809104026020016040519081016040528092919081815260200182805461051490611ac8565b80156105615780601f1061053657610100808354040283529160200191610561565b820191906000526020600020905b81548152906001019060200180831161054457829003601f168201915b5050505050905090565b60006105783384846110c6565b50600192915050565b600061058f60055460ff1690565b156105b55760405162461bcd60e51b81526004016105ac90611a03565b60405180910390fd5b60055461010090046001600160a01b031633146106065760405162461bcd60e51b815260206004820152600f60248201526e6f6e6c792073656e64206d6572676560881b60448201526064016105ac565b6005546040516321761c7160e11b815230600482015260009161010090046001600160a01b0316906342ec38e29060240160206040518083038186803b15801561064f57600080fd5b505afa158015610663573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106879190611995565b6005546040516330f60ddb60e11b8152600481018390529192506000916101009091046001600160a01b0316906361ec1bb69060240160206040518083038186803b1580156106d557600080fd5b505afa1580156106e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061070d9190611995565b9050600c548111156107615760405162461bcd60e51b815260206004820152601860248201527f6d61737320686967686572207468616e20616c6c6f776564000000000000000060448201526064016105ac565b6005546009546040516323b872dd60e01b81523060048201526001600160a01b0391821660248201526044810185905261010090920416906323b872dd90606401600060405180830381600087803b1580156107bc57600080fd5b505af11580156107d0573d6000803e3d6000fd5b505050506107f38782670de0b6b3a76400006107ec9190611a92565b60016111ea565b50630a85bd0160e11b979650505050505050565b6008546001600160a01b0316336001600160a01b03161461083a5760405162461bcd60e51b81526004016105ac90611a2d565b600c55565b6008546001600160a01b0316336001600160a01b0316146108725760405162461bcd60e51b81526004016105ac90611a2d565b600a55565b600061088484848461128e565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156109095760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016105ac565b61091685338584036110c6565b506001949350505050565b6008546001600160a01b0316336001600160a01b0316146109545760405162461bcd60e51b81526004016105ac90611a2d565b600b55565b6008546001600160a01b0316336001600160a01b03161461098c5760405162461bcd60e51b81526004016105ac90611a2d565b6005546040516321761c7160e11b815230600482015260009161010090046001600160a01b0316906342ec38e29060240160206040518083038186803b1580156109d557600080fd5b505afa1580156109e9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0d9190611995565b905060008111610a525760405162461bcd60e51b815260206004820152601060248201526f06e6f7468696e6720746f2073776565760841b60448201526064016105ac565b6005546040516330f60ddb60e11b81526004810183905260009161010090046001600160a01b0316906361ec1bb69060240160206040518083038186803b158015610a9c57600080fd5b505afa158015610ab0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad49190611995565b6005546009546040516323b872dd60e01b81523060048201526001600160a01b0391821660248201526044810186905292935061010090910416906323b872dd90606401600060405180830381600087803b158015610b3257600080fd5b505af1158015610b46573d6000803e3d6000fd5b5050600854610b7492506001600160a01b03169050610b6d83670de0b6b3a7640000611a92565b60006111ea565b5050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610578918590610baf908690611a58565b6110c6565b6008546001600160a01b0316336001600160a01b031614610be75760405162461bcd60e51b81526004016105ac90611a2d565b610bef61145d565b565b610bfb33826114f0565b50565b6008546001600160a01b0316336001600160a01b031614610c315760405162461bcd60e51b81526004016105ac90611a2d565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6000610c5f8333610476565b905081811015610cbd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b60648201526084016105ac565b610cca83338484036110c6565b610cd483836114f0565b505050565b6008546001600160a01b0316336001600160a01b031614610d0c5760405162461bcd60e51b81526004016105ac90611a2d565b610bef61163e565b6060600480546104e890611ac8565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610da55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105ac565b610db233858584036110c6565b5060019392505050565b600061057833848461128e565b6008546001600160a01b0316336001600160a01b031614610dfc5760405162461bcd60e51b81526004016105ac90611a2d565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6007546001600160a01b0316336001600160a01b031614610e755760405162461bcd60e51b815260206004820152601160248201527031b0b63632b91034b9903737ba103232bb60791b60448201526064016105ac565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6000610ea560055460ff1690565b15610ec25760405162461bcd60e51b81526004016105ac90611a03565b6006546001600160a01b03163314610f105760405162461bcd60e51b81526020600482015260116024820152706f6e6c792073656e642067656e6573697360781b60448201526064016105ac565b60018514610f545760405162461bcd60e51b81526020600482015260116024820152706f6e6c792073656e6420696e7465726e7360781b60448201526064016105ac565b600654604051637921219560e11b815230600482015261dead6024820152604481018790526064810186905260a06084820152600060a48201526001600160a01b039091169063f242432a9060c401600060405180830381600087803b158015610fbd57600080fd5b505af1158015610fd1573d6000803e3d6000fd5b5050600654604051627eeac760e11b8152306004820152602481018990526001600160a01b03909116925062fdd58e915060440160206040518083038186803b15801561101d57600080fd5b505afa158015611031573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110559190611995565b156110905760405162461bcd60e51b815260206004820152600b60248201526a189d5c9b8819985a5b195960aa1b60448201526064016105ac565b60006110a4670fbc3024be0559e086611a92565b90506110b2878260006111ea565b5063f23a6e6160e01b979650505050505050565b6001600160a01b0383166111285760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105ac565b6001600160a01b0382166111895760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105ac565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b8015611284576000612710600b54846112039190611a92565b61120d9190611a70565b90506000612710600a54856112229190611a92565b61122c9190611a70565b9050600061123a8284611a58565b6112449086611ab1565b90506112508682611696565b600854611266906001600160a01b031684611696565b60075461127c906001600160a01b031683611696565b505050505050565b610cd48383611696565b6001600160a01b0383166112f25760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105ac565b6001600160a01b0382166113545760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105ac565b6001600160a01b038316600090815260208190526040902054818110156113cc5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105ac565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611403908490611a58565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161144f91815260200190565b60405180910390a350505050565b60055460ff166114a65760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016105ac565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b0382166115505760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105ac565b6001600160a01b038216600090815260208190526040902054818110156115c45760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105ac565b6001600160a01b03831660009081526020819052604081208383039055600280548492906115f3908490611ab1565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b60055460ff16156116615760405162461bcd60e51b81526004016105ac90611a03565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586114d33390565b6001600160a01b0382166116ec5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105ac565b80600260008282546116fe9190611a58565b90915550506001600160a01b0382166000908152602081905260408120805483929061172b908490611a58565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b80356001600160a01b038116811461178c57600080fd5b919050565b60008083601f8401126117a357600080fd5b50813567ffffffffffffffff8111156117bb57600080fd5b6020830191508360208285010111156117d357600080fd5b9250929050565b6000602082840312156117ec57600080fd5b6117f582611775565b9392505050565b6000806040838503121561180f57600080fd5b61181883611775565b915061182660208401611775565b90509250929050565b60008060006060848603121561184457600080fd5b61184d84611775565b925061185b60208501611775565b9150604084013590509250925092565b60008060008060006080868803121561188357600080fd5b61188c86611775565b945061189a60208701611775565b935060408601359250606086013567ffffffffffffffff8111156118bd57600080fd5b6118c988828901611791565b969995985093965092949392505050565b60008060008060008060a087890312156118f357600080fd5b6118fc87611775565b955061190a60208801611775565b94506040870135935060608701359250608087013567ffffffffffffffff81111561193457600080fd5b61194089828a01611791565b979a9699509497509295939492505050565b6000806040838503121561196557600080fd5b61196e83611775565b946020939093013593505050565b60006020828403121561198e57600080fd5b5035919050565b6000602082840312156119a757600080fd5b5051919050565b600060208083528351808285015260005b818110156119db578581018301518582016040015282016119bf565b818111156119ed576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526011908201527031b0b63632b91034b9903737ba103ab93760791b604082015260600190565b60008219821115611a6b57611a6b611b03565b500190565b600082611a8d57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611aac57611aac611b03565b500290565b600082821015611ac357611ac3611b03565b500390565b600181811c90821680611adc57607f821691505b60208210811415611afd57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea26469706673582212202f3a5112f3bb458a9e07f2b9adc4afdd9b16ecf9e0b4c3919b3a6cb747ae50db64736f6c63430008060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000d556e3a0ed98f7a4abe56420eac5bec96ea21977000000000000000000000000ab1ff9b465c04503d0c5e462f10d800f6c790d56000000000000000000000000ab1ff9b465c04503d0c5e462f10d800f6c790d56000000000000000000000000a25bf81aacdb5e610eaf91a889975bba43398cf1000000000000000000000000c3f8a0f5841abff777d3eefa5047e8d413a1c9ab000000000000000000000000000000000000000000000000000000000000028a
-----Decoded View---------------
Arg [0] : _dev (address): 0xd556e3A0Ed98f7A4abe56420eaC5bEC96eA21977
Arg [1] : _urn (address): 0xAB1ff9B465C04503d0c5e462f10d800f6c790D56
Arg [2] : _vault (address): 0xAB1ff9B465C04503d0c5e462f10d800f6c790D56
Arg [3] : _genesis (address): 0xA25Bf81AaCdB5E610EaF91a889975BBA43398cF1
Arg [4] : _merge (address): 0xc3f8a0F5841aBFf777d3eefA5047e8D413a1C9AB
Arg [5] : _alpha (uint256): 650
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 000000000000000000000000d556e3a0ed98f7a4abe56420eac5bec96ea21977
Arg [1] : 000000000000000000000000ab1ff9b465c04503d0c5e462f10d800f6c790d56
Arg [2] : 000000000000000000000000ab1ff9b465c04503d0c5e462f10d800f6c790d56
Arg [3] : 000000000000000000000000a25bf81aacdb5e610eaf91a889975bba43398cf1
Arg [4] : 000000000000000000000000c3f8a0f5841abff777d3eefa5047e8d413a1c9ab
Arg [5] : 000000000000000000000000000000000000000000000000000000000000028a
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.