BscScan - Sponsored slots available. Book your slot here!
BEP-20
Overview
Max Total Supply
11,507,574.188356ATD
Holders
1,301
Market
Price
$0.00 @ 0.000000 BNB
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.000000183370072199 ATDValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
SubchainToken
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 1500 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "./interfaces/IClaimable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
/**
* @title Implementation of a contract that acts a token in a non-main chain
*
* This is a ERC20 token implementation with one slight difference:
* It mints a given amount for a user who deposited this amount in the ETH chain.
* The amount is burned when a user transfers value back to the main chain.
* The mint operation is checked by Signer, the signature is validated by the
* Bridge Service making sure that the deposit has been made in another chain.
*
* HINT: you can set signer to address(0) to pause claims.
*
* See {SubchainBridgeAgent} and {claim()} for more information.
*/
contract SubchainToken is ERC20, Ownable, IClaimable {
using ECDSA for bytes32;
// Remembers used signatures to avoid reuse and re-entry
mapping(bytes32 => bool) internal signatureUsed;
// Signer that is used to validate {claim()} operations
address internal signer;
// Emitted when amount of this token has been minted
event Claim(
bytes32 indexed depositTx,
address indexed receiver,
uint256 amount
);
// Emitted when a token being deposited back and the amount is burned
event Burn(address indexed wallet, uint256 amount);
// Emitted when the signer is changed
event SetSigner(
address indexed changedBy,
address indexed previousSigner,
address indexed newSigner
);
/**
* @dev Initializes the subchain token contract
*
* @param name_ name of a subchain token contract, see {IERC20.name()}
* @param symbol_ symbol name of a subchain token contract, see {IERC20.symbol()}
* @param owner_ owner who can change signer
* @param signer_ signer that is used to validate {claim()} operations
*/
constructor(
string memory name_,
string memory symbol_,
address owner_,
address signer_
) ERC20(name_, symbol_) {
transferOwnership(owner_);
signer = signer_;
}
/**
* @notice sets a new signer
*
* Emits {SetSigner}
*
* HINT: set signer to address(0) to pause claims.
*
* Requirements
* - Caller must be token owner
*/
function setSigner(address newSigner) external onlyOwner {
emit SetSigner(_msgSender(), signer, newSigner);
signer = newSigner;
}
/**
* @notice Returns current token signer
* @return address
*/
function getSigner() external view returns (address) {
return signer;
}
/**
* @notice Mints the amount for a given {receiver}
*
* @param amount wei amount to be minted
* @param receiver walled to be minted to
* @param depositHash hash of the deposit transaction in another chain
* @param tokenSig signature of the {signer} that validates the deposit
*
* Emits {Claim}
*
* The {signer} signature is checked in order to validate the
* amount about to claim is being deposited in another chain.
*
* Requirements:
* - Valid {tokenSig} obtained from the Bridge Srvice, cannot be reused.
* - {signer} currently set for the token cannot be empty address(0).
*/
function claim(
uint256 amount,
address receiver,
bytes32 depositHash,
bytes memory tokenSig
) external override {
bytes32 sigHash = keccak256(tokenSig);
require(!signatureUsed[sigHash], "cannot reuse signature");
signatureUsed[sigHash] = true;
// Can set signer to address(0) to pause claims
require(signer != address(0), "empty signer");
// check signature
bytes32 messageHash = keccak256(
abi.encode(
msg.sender, // calling contract
depositHash,
address(this),
block.chainid,
receiver,
amount
)
);
bytes32 ethHash = messageHash.toEthSignedMessageHash();
require(ethHash.recover(tokenSig) == signer, "invalid token signature");
emit Claim(depositHash, receiver, amount);
_mint(receiver, amount);
}
/**
* @notice Burns the amount for a caller
*
* @param amount wei amount to be burned
*
* Emits {Burn}
*
* Requirements:
* - Caller should have enough balance to burn the given amount
*/
function burn(uint256 amount) external override {
emit Burn(_msgSender(), amount);
_burn(_msgSender(), amount);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
/**
* @dev Used to represent the claim and burn operations of the
* Subchain token for the Subchain agent.
*/
interface IClaimable {
// See {SubchainToken.claim()}
function claim(
uint256 amount,
address receiver,
bytes32 depositTx,
bytes memory tokenSig
) external;
// See {SubchainToken.burn()}
function burn(uint256 amount) external;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor () {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), msgSender);
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
emit OwnershipTransferred(_owner, address(0));
_owner = address(0);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC20.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 guidelines: functions revert instead
* of 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 {
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* The defaut value of {decimals} is 18. To select a different value for
* {decimals} you should overload it.
*
* All three 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 returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual 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
* overloaded;
*
* 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 returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `recipient` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
_transfer(_msgSender(), recipient, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
_approve(_msgSender(), spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* Requirements:
*
* - `sender` and `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
* - the caller must have allowance for ``sender``'s tokens of at least
* `amount`.
*/
function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
_transfer(sender, recipient, amount);
uint256 currentAllowance = _allowances[sender][_msgSender()];
require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
_approve(sender, _msgSender(), currentAllowance - amount);
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
uint256 currentAllowance = _allowances[_msgSender()][spender];
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
_approve(_msgSender(), spender, currentAllowance - subtractedValue);
return true;
}
/**
* @dev Moves tokens `amount` from `sender` to `recipient`.
*
* This is internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
* - `sender` cannot be the zero address.
* - `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
*/
function _transfer(address sender, address recipient, uint256 amount) internal virtual {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(sender, recipient, amount);
uint256 senderBalance = _balances[sender];
require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
_balances[sender] = senderBalance - amount;
_balances[recipient] += amount;
emit Transfer(sender, recipient, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `to` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
_balances[account] += amount;
emit Transfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
_balances[account] = accountBalance - amount;
_totalSupply -= amount;
emit Transfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(address owner, address spender, uint256 amount) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be to transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @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;
/**
* @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
*
* These functions can be used to verify that a message was signed by the holder
* of the private keys of a given address.
*/
library ECDSA {
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature`. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
* IMPORTANT: `hash` _must_ be the result of a hash operation for the
* verification to be secure: it is possible to craft signatures that
* recover to arbitrary addresses for non-hashed data. A safe way to ensure
* this is by receiving a hash of the original message (which may otherwise
* be too long), and then calling {toEthSignedMessageHash} on it.
*/
function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
// Check the signature length
if (signature.length != 65) {
revert("ECDSA: invalid signature length");
}
// Divide the signature in r, s and v variables
bytes32 r;
bytes32 s;
uint8 v;
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.
// solhint-disable-next-line no-inline-assembly
assembly {
r := mload(add(signature, 0x20))
s := mload(add(signature, 0x40))
v := byte(0, mload(add(signature, 0x60)))
}
return recover(hash, v, r, s);
}
/**
* @dev Overload of {ECDSA-recover} that receives the `v`,
* `r` and `s` signature fields separately.
*/
function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
// EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
// unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
// the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most
// signatures from current libraries generate a unique signature with an s-value in the lower half order.
//
// If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
// with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
// vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
// these malleable signatures as well.
require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value");
require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value");
// If the signature is valid (and not malleable), return the signer address
address signer = ecrecover(hash, v, r, s);
require(signer != address(0), "ECDSA: invalid signature");
return signer;
}
/**
* @dev Returns an Ethereum Signed Message, created from a `hash`. This
* produces hash corresponding to the one signed with the
* https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
* JSON-RPC method as part of EIP-191.
*
* See {recover}.
*/
function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
// 32 is the length in bytes of hash,
// enforced by the type signature above
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
}
/**
* @dev Returns an Ethereum Signed Typed Data, created from a
* `domainSeparator` and a `structHash`. This produces hash corresponding
* to the one signed with the
* https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
* JSON-RPC method as part of EIP-712.
*
* See {recover}.
*/
function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}{
"optimizer": {
"enabled": true,
"runs": 1500
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"abi"
]
}
},
"metadata": {
"useLiteralContent": true
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"owner_","type":"address"},{"internalType":"address","name":"signer_","type":"address"}],"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":"wallet","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"depositTx","type":"bytes32"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"changedBy","type":"address"},{"indexed":true,"internalType":"address","name":"previousSigner","type":"address"},{"indexed":true,"internalType":"address","name":"newSigner","type":"address"}],"name":"SetSigner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"bytes32","name":"depositHash","type":"bytes32"},{"internalType":"bytes","name":"tokenSig","type":"bytes"}],"name":"claim","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":"getSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSigner","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040523480156200001157600080fd5b50604051620019e9380380620019e9833981016040819052620000349162000376565b8351849084906200004d90600390602085019062000200565b5080516200006390600490602084019062000200565b505050600062000078620000ea60201b60201c565b600580546001600160a01b0319166001600160a01b03831690811790915560405191925090600090600080516020620019c9833981519152908290a350620000c082620000ee565b600780546001600160a01b0319166001600160a01b03929092169190911790555062000455915050565b3390565b6005546001600160a01b031633146200014e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b038116620001b55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840162000145565b6005546040516001600160a01b03808416921690600080516020620019c983398151915290600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b8280546200020e9062000402565b90600052602060002090601f0160209004810192826200023257600085556200027d565b82601f106200024d57805160ff19168380011785556200027d565b828001600101855582156200027d579182015b828111156200027d57825182559160200191906001019062000260565b506200028b9291506200028f565b5090565b5b808211156200028b576000815560010162000290565b80516001600160a01b0381168114620002be57600080fd5b919050565b600082601f830112620002d4578081fd5b81516001600160401b0380821115620002f157620002f16200043f565b604051601f8301601f19908116603f011681019082821181831017156200031c576200031c6200043f565b8160405283815260209250868385880101111562000338578485fd5b8491505b838210156200035b57858201830151818301840152908201906200033c565b838211156200036c57848385830101525b9695505050505050565b600080600080608085870312156200038c578384fd5b84516001600160401b0380821115620003a3578586fd5b620003b188838901620002c3565b95506020870151915080821115620003c7578485fd5b50620003d687828801620002c3565b935050620003e760408601620002a6565b9150620003f760608601620002a6565b905092959194509250565b600181811c908216806200041757607f821691505b602082108114156200043957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61156480620004656000396000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c8063715018a6116100b2578063a457c2d711610081578063dd62ed3e11610066578063dd62ed3e14610280578063e31f8c03146102b9578063f2fde38b146102cc57600080fd5b8063a457c2d71461025a578063a9059cbb1461026d57600080fd5b8063715018a6146102145780637ac3c02f1461021c5780638da5cb5b1461024157806395d89b411461025257600080fd5b8063313ce5671161010957806342966c68116100ee57806342966c68146101c35780636c19e783146101d857806370a08231146101eb57600080fd5b8063313ce567146101a157806339509351146101b057600080fd5b806306fdde031461013b578063095ea7b31461015957806318160ddd1461017c57806323b872dd1461018e575b600080fd5b6101436102df565b6040516101509190611445565b60405180910390f35b61016c610167366004611336565b610371565b6040519015158152602001610150565b6002545b604051908152602001610150565b61016c61019c3660046112fb565b610387565b60405160128152602001610150565b61016c6101be366004611336565b610452565b6101d66101d136600461135f565b610489565b005b6101d66101e63660046112a8565b6104cb565b6101806101f93660046112a8565b6001600160a01b031660009081526020819052604090205490565b6101d6610590565b6007546001600160a01b03165b6040516001600160a01b039091168152602001610150565b6005546001600160a01b0316610229565b610143610641565b61016c610268366004611336565b610650565b61016c61027b366004611336565b610703565b61018061028e3660046112c9565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101d66102c7366004611377565b610710565b6101d66102da3660046112a8565b61094a565b6060600380546102ee906114c7565b80601f016020809104026020016040519081016040528092919081815260200182805461031a906114c7565b80156103675780601f1061033c57610100808354040283529160200191610367565b820191906000526020600020905b81548152906001019060200180831161034a57829003601f168201915b5050505050905090565b600061037e338484610a89565b50600192915050565b6000610394848484610be2565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156104335760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610447853361044286856114b0565b610a89565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161037e918590610442908690611498565b60405181815233907fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59060200160405180910390a26104c83382610e03565b50565b6005546001600160a01b031633146105255760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161042a565b6007546040516001600160a01b0383811692169033907f2f3eaea7781736e13837359c7ce1c212e5a4ffdb48c742d06167328d1b556e1b90600090a46007805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6005546001600160a01b031633146105ea5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161042a565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36005805473ffffffffffffffffffffffffffffffffffffffff19169055565b6060600480546102ee906114c7565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156106ea5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161042a565b6106f9338561044286856114b0565b5060019392505050565b600061037e338484610be2565b80516020808301919091206000818152600690925260409091205460ff161561077b5760405162461bcd60e51b815260206004820152601660248201527f63616e6e6f74207265757365207369676e617475726500000000000000000000604482015260640161042a565b6000818152600660205260409020805460ff191660011790556007546001600160a01b03166107ec5760405162461bcd60e51b815260206004820152600c60248201527f656d707479207369676e65720000000000000000000000000000000000000000604482015260640161042a565b60408051336020808301919091528183018690523060608301524660808301526001600160a01b03871660a083015260c08083018990528351808403909101815260e0830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000061010084015261011c8084018290528451808503909101815261013c90930190935281519101206000906007549091506001600160a01b031661089d8286610f89565b6001600160a01b0316146108f35760405162461bcd60e51b815260206004820152601760248201527f696e76616c696420746f6b656e207369676e6174757265000000000000000000604482015260640161042a565b856001600160a01b0316857f46e470efd1d5601791612d2263f0a4437104a35be37a932cdc59dfe948c8dfbc8960405161092f91815260200190565b60405180910390a36109418688611004565b50505050505050565b6005546001600160a01b031633146109a45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161042a565b6001600160a01b038116610a205760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161042a565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36005805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6001600160a01b038316610b045760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161042a565b6001600160a01b038216610b805760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161042a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610c5e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161042a565b6001600160a01b038216610cda5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161042a565b6001600160a01b03831660009081526020819052604090205481811015610d695760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161042a565b610d7382826114b0565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290610da9908490611498565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610df591815260200190565b60405180910390a350505050565b6001600160a01b038216610e7f5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f7300000000000000000000000000000000000000000000000000000000000000606482015260840161042a565b6001600160a01b03821660009081526020819052604090205481811015610f0e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f6365000000000000000000000000000000000000000000000000000000000000606482015260840161042a565b610f1882826114b0565b6001600160a01b03841660009081526020819052604081209190915560028054849290610f469084906114b0565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610bd5565b60008151604114610fdc5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161042a565b60208201516040830151606084015160001a610ffa868285856110e3565b9695505050505050565b6001600160a01b03821661105a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161042a565b806002600082825461106c9190611498565b90915550506001600160a01b03821660009081526020819052604081208054839290611099908490611498565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156111605760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161042a565b8360ff16601b148061117557508360ff16601c145b6111cc5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161042a565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015611220573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166112835760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161042a565b95945050505050565b80356001600160a01b03811681146112a357600080fd5b919050565b6000602082840312156112b9578081fd5b6112c28261128c565b9392505050565b600080604083850312156112db578081fd5b6112e48361128c565b91506112f26020840161128c565b90509250929050565b60008060006060848603121561130f578081fd5b6113188461128c565b92506113266020850161128c565b9150604084013590509250925092565b60008060408385031215611348578182fd5b6113518361128c565b946020939093013593505050565b600060208284031215611370578081fd5b5035919050565b6000806000806080858703121561138c578081fd5b8435935061139c6020860161128c565b925060408501359150606085013567ffffffffffffffff808211156113bf578283fd5b818701915087601f8301126113d2578283fd5b8135818111156113e4576113e4611518565b604051601f8201601f19908116603f0116810190838211818310171561140c5761140c611518565b816040528281528a6020848701011115611424578586fd5b82602086016020830137918201602001949094529598949750929550505050565b6000602080835283518082850152825b8181101561147157858101830151858201604001528201611455565b818111156114825783604083870101525b50601f01601f1916929092016040019392505050565b600082198211156114ab576114ab611502565b500190565b6000828210156114c2576114c2611502565b500390565b600181811c908216806114db57607f821691505b602082108114156114fc57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220313a56f4aa8431ceb40cbb637a86161ff78504f44bf70ca68d5eb01951c0c15764736f6c634300080400338be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000d020f2160cef2e4d70431c2f3bba506ea6a618d40000000000000000000000000103947ecfde7a4c765051b9fd6fd354ae115e03000000000000000000000000000000000000000000000000000000000000000b413244414f20546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034154440000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101365760003560e01c8063715018a6116100b2578063a457c2d711610081578063dd62ed3e11610066578063dd62ed3e14610280578063e31f8c03146102b9578063f2fde38b146102cc57600080fd5b8063a457c2d71461025a578063a9059cbb1461026d57600080fd5b8063715018a6146102145780637ac3c02f1461021c5780638da5cb5b1461024157806395d89b411461025257600080fd5b8063313ce5671161010957806342966c68116100ee57806342966c68146101c35780636c19e783146101d857806370a08231146101eb57600080fd5b8063313ce567146101a157806339509351146101b057600080fd5b806306fdde031461013b578063095ea7b31461015957806318160ddd1461017c57806323b872dd1461018e575b600080fd5b6101436102df565b6040516101509190611445565b60405180910390f35b61016c610167366004611336565b610371565b6040519015158152602001610150565b6002545b604051908152602001610150565b61016c61019c3660046112fb565b610387565b60405160128152602001610150565b61016c6101be366004611336565b610452565b6101d66101d136600461135f565b610489565b005b6101d66101e63660046112a8565b6104cb565b6101806101f93660046112a8565b6001600160a01b031660009081526020819052604090205490565b6101d6610590565b6007546001600160a01b03165b6040516001600160a01b039091168152602001610150565b6005546001600160a01b0316610229565b610143610641565b61016c610268366004611336565b610650565b61016c61027b366004611336565b610703565b61018061028e3660046112c9565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101d66102c7366004611377565b610710565b6101d66102da3660046112a8565b61094a565b6060600380546102ee906114c7565b80601f016020809104026020016040519081016040528092919081815260200182805461031a906114c7565b80156103675780601f1061033c57610100808354040283529160200191610367565b820191906000526020600020905b81548152906001019060200180831161034a57829003601f168201915b5050505050905090565b600061037e338484610a89565b50600192915050565b6000610394848484610be2565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156104335760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610447853361044286856114b0565b610a89565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161037e918590610442908690611498565b60405181815233907fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59060200160405180910390a26104c83382610e03565b50565b6005546001600160a01b031633146105255760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161042a565b6007546040516001600160a01b0383811692169033907f2f3eaea7781736e13837359c7ce1c212e5a4ffdb48c742d06167328d1b556e1b90600090a46007805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6005546001600160a01b031633146105ea5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161042a565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36005805473ffffffffffffffffffffffffffffffffffffffff19169055565b6060600480546102ee906114c7565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156106ea5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161042a565b6106f9338561044286856114b0565b5060019392505050565b600061037e338484610be2565b80516020808301919091206000818152600690925260409091205460ff161561077b5760405162461bcd60e51b815260206004820152601660248201527f63616e6e6f74207265757365207369676e617475726500000000000000000000604482015260640161042a565b6000818152600660205260409020805460ff191660011790556007546001600160a01b03166107ec5760405162461bcd60e51b815260206004820152600c60248201527f656d707479207369676e65720000000000000000000000000000000000000000604482015260640161042a565b60408051336020808301919091528183018690523060608301524660808301526001600160a01b03871660a083015260c08083018990528351808403909101815260e0830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000061010084015261011c8084018290528451808503909101815261013c90930190935281519101206000906007549091506001600160a01b031661089d8286610f89565b6001600160a01b0316146108f35760405162461bcd60e51b815260206004820152601760248201527f696e76616c696420746f6b656e207369676e6174757265000000000000000000604482015260640161042a565b856001600160a01b0316857f46e470efd1d5601791612d2263f0a4437104a35be37a932cdc59dfe948c8dfbc8960405161092f91815260200190565b60405180910390a36109418688611004565b50505050505050565b6005546001600160a01b031633146109a45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161042a565b6001600160a01b038116610a205760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161042a565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36005805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6001600160a01b038316610b045760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161042a565b6001600160a01b038216610b805760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161042a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610c5e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161042a565b6001600160a01b038216610cda5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161042a565b6001600160a01b03831660009081526020819052604090205481811015610d695760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161042a565b610d7382826114b0565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290610da9908490611498565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610df591815260200190565b60405180910390a350505050565b6001600160a01b038216610e7f5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f7300000000000000000000000000000000000000000000000000000000000000606482015260840161042a565b6001600160a01b03821660009081526020819052604090205481811015610f0e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f6365000000000000000000000000000000000000000000000000000000000000606482015260840161042a565b610f1882826114b0565b6001600160a01b03841660009081526020819052604081209190915560028054849290610f469084906114b0565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610bd5565b60008151604114610fdc5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161042a565b60208201516040830151606084015160001a610ffa868285856110e3565b9695505050505050565b6001600160a01b03821661105a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161042a565b806002600082825461106c9190611498565b90915550506001600160a01b03821660009081526020819052604081208054839290611099908490611498565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156111605760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161042a565b8360ff16601b148061117557508360ff16601c145b6111cc5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161042a565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015611220573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166112835760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161042a565b95945050505050565b80356001600160a01b03811681146112a357600080fd5b919050565b6000602082840312156112b9578081fd5b6112c28261128c565b9392505050565b600080604083850312156112db578081fd5b6112e48361128c565b91506112f26020840161128c565b90509250929050565b60008060006060848603121561130f578081fd5b6113188461128c565b92506113266020850161128c565b9150604084013590509250925092565b60008060408385031215611348578182fd5b6113518361128c565b946020939093013593505050565b600060208284031215611370578081fd5b5035919050565b6000806000806080858703121561138c578081fd5b8435935061139c6020860161128c565b925060408501359150606085013567ffffffffffffffff808211156113bf578283fd5b818701915087601f8301126113d2578283fd5b8135818111156113e4576113e4611518565b604051601f8201601f19908116603f0116810190838211818310171561140c5761140c611518565b816040528281528a6020848701011115611424578586fd5b82602086016020830137918201602001949094529598949750929550505050565b6000602080835283518082850152825b8181101561147157858101830151858201604001528201611455565b818111156114825783604083870101525b50601f01601f1916929092016040019392505050565b600082198211156114ab576114ab611502565b500190565b6000828210156114c2576114c2611502565b500390565b600181811c908216806114db57607f821691505b602082108114156114fc57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220313a56f4aa8431ceb40cbb637a86161ff78504f44bf70ca68d5eb01951c0c15764736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000d020f2160cef2e4d70431c2f3bba506ea6a618d40000000000000000000000000103947ecfde7a4c765051b9fd6fd354ae115e03000000000000000000000000000000000000000000000000000000000000000b413244414f20546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034154440000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): A2DAO Token
Arg [1] : symbol_ (string): ATD
Arg [2] : owner_ (address): 0xD020f2160cef2e4d70431c2f3BBA506eA6a618D4
Arg [3] : signer_ (address): 0x0103947EcFde7a4c765051b9fd6Fd354AE115E03
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000d020f2160cef2e4d70431c2f3bba506ea6a618d4
Arg [3] : 0000000000000000000000000103947ecfde7a4c765051b9fd6fd354ae115e03
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [5] : 413244414f20546f6b656e000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 4154440000000000000000000000000000000000000000000000000000000000
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.
Add Token to MetaMask (Web3)