Source Code
Overview
ETH Balance
5 wei
Eth Value
Less Than $0.01 (@ $1,966.81/ETH)More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 43 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Approve | 19753902 | 673 days ago | IN | 0 ETH | 0.00029701 | ||||
| Approve | 12051937 | 1812 days ago | IN | 0 ETH | 0.0066798 | ||||
| Approve | 11141491 | 1952 days ago | IN | 0 ETH | 0.00089064 | ||||
| Approve | 11141322 | 1952 days ago | IN | 0 ETH | 0.00102423 | ||||
| Approve | 11141109 | 1952 days ago | IN | 0 ETH | 0.00102423 | ||||
| Approve | 11140958 | 1952 days ago | IN | 0 ETH | 0.00102423 | ||||
| Approve | 11140871 | 1952 days ago | IN | 0 ETH | 0.00089064 | ||||
| Transfer | 11140865 | 1952 days ago | IN | 0 ETH | 0.00081501 | ||||
| Transfer | 11140860 | 1952 days ago | IN | 0 ETH | 0.00101013 | ||||
| Approve | 11140850 | 1952 days ago | IN | 0 ETH | 0.00133596 | ||||
| Approve | 11140846 | 1952 days ago | IN | 0 ETH | 0.00133596 | ||||
| Approve | 11140843 | 1952 days ago | IN | 0 ETH | 0.00102423 | ||||
| _set CMURL | 11140841 | 1952 days ago | IN | 0 ETH | 0.0019993 | ||||
| Transfer | 11140839 | 1952 days ago | IN | 0 ETH | 0.00081573 | ||||
| Transfer | 11140837 | 1952 days ago | IN | 0 ETH | 0.00087049 | ||||
| Transfer | 11140836 | 1952 days ago | IN | 0 ETH | 0.00087049 | ||||
| Approve | 11140829 | 1952 days ago | IN | 0 ETH | 0.00400788 | ||||
| Approve | 11140823 | 1952 days ago | IN | 0 ETH | 0.00066798 | ||||
| Approve | 11140820 | 1952 days ago | IN | 0 ETH | 0.00133596 | ||||
| Approve | 11140816 | 1952 days ago | IN | 0 ETH | 0.0044532 | ||||
| Approve | 11140811 | 1952 days ago | IN | 0 ETH | 0.00066798 | ||||
| Approve | 11140805 | 1952 days ago | IN | 0 ETH | 0.00400788 | ||||
| Approve | 11140803 | 1952 days ago | IN | 0 ETH | 0.00267192 | ||||
| Approve | 11140802 | 1952 days ago | IN | 0 ETH | 0.00133596 | ||||
| Approve | 11140801 | 1952 days ago | IN | 0 ETH | 0.00133596 |
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| - | 11140465 | 1952 days ago | 0.045 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
CMErc20Snap
Compiler Version
v0.6.8+commit.0bbfe453
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2020-10-27
*/
// Partial License: MIT
pragma solidity ^0.6.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 GSN 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 payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}
// Partial License: MIT
pragma solidity ^0.6.0;
/**
* @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.
*/
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 () internal {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), msgSender);
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view 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;
}
}
pragma solidity ^0.6.0;
contract CM is Ownable {
string public cmContractType = "erc20";
string public cmImage = "";
string public cmURL = "";
function _setCMImage(string memory image) public onlyOwner {
cmImage = image;
}
function _setCMURL(string memory url) public onlyOwner {
cmURL = url;
}
function _supportCM() internal {
require(msg.value > 45000000000000000 wei);
payable(0x98035297b70Cc88fbC064340Fa52344308eC8910).transfer(45000000000000000 wei);
// Thanks for supporting coinmechanics development!
}
}
// Partial License: MIT
pragma solidity ^0.6.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);
}
// Partial License: MIT
pragma solidity ^0.6.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high level programming languages.
* `SafeMath` restores this intuition by reverting the transaction when an
* operation overflows.
*
* Using this library instead of the unchecked operations eliminates an entire
* class of bugs, so it's recommended to use it always.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b, "SafeMath: subtraction overflow");
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return div(a, b, "SafeMath: division by zero");
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b > 0, errorMessage);
uint256 c = a / b;
// assert(a == b * c + a % b); // There is no case in which this doesn't hold
return c;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return mod(a, b, "SafeMath: modulo by zero");
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts with custom message when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b != 0, errorMessage);
return a % b;
}
}
// Partial License: MIT
pragma solidity ^0.6.2;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// According to EIP-1052, 0x0 is the value returned for not-yet created accounts
// and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
// for accounts without code, i.e. `keccak256('')`
bytes32 codehash;
bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
// solhint-disable-next-line no-inline-assembly
assembly { codehash := extcodehash(account) }
return (codehash != accountHash && codehash != 0x0);
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
// solhint-disable-next-line avoid-low-level-calls, avoid-call-value
(bool success, ) = recipient.call{ value: amount }("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain`call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
return _functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
return _functionCallWithValue(target, data, value, errorMessage);
}
function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
require(isContract(target), "Address: call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
// solhint-disable-next-line no-inline-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}
// Partial License: MIT
pragma solidity ^0.6.0;
/**
* @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 {
using SafeMath for uint256;
using Address for address;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
uint8 private _decimals;
/**
* @dev Sets the values for {name} and {symbol}, initializes {decimals} with
* a default value of 18.
*
* To select a different value for {decimals}, use {_setupDecimals}.
*
* All three of these values are immutable: they can only be set once during
* construction.
*/
constructor (string memory name, string memory symbol) public {
_name = name;
_symbol = symbol;
_decimals = 18;
}
/**
* @dev Returns the name of the token.
*/
function name() public view returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view 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 {_setupDecimals} is
* called.
*
* 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 returns (uint8) {
return _decimals;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view 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);
_approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
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].add(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) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
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);
_balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
_balances[recipient] = _balances[recipient].add(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 = _totalSupply.add(amount);
_balances[account] = _balances[account].add(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);
_balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
_totalSupply = _totalSupply.sub(amount);
emit Transfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
*
* This is 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 Sets {decimals} to a value other than the default one of 18.
*
* WARNING: This function should only be called from the constructor. Most
* applications that interact with token contracts will not expect
* {decimals} to ever change, and may work incorrectly if it does.
*/
function _setupDecimals(uint8 decimals_) internal {
_decimals = decimals_;
}
/**
* @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 { }
}
// Partial License: MIT
pragma solidity ^0.6.0;
/**
* @dev Library for managing
* https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
* types.
*
* Sets have the following properties:
*
* - Elements are added, removed, and checked for existence in constant time
* (O(1)).
* - Elements are enumerated in O(n). No guarantees are made on the ordering.
*
* ```
* contract Example {
* // Add the library methods
* using EnumerableSet for EnumerableSet.AddressSet;
*
* // Declare a set state variable
* EnumerableSet.AddressSet private mySet;
* }
* ```
*
* As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256`
* (`UintSet`) are supported.
*/
library EnumerableSet {
// To implement this library for multiple types with as little code
// repetition as possible, we write it in terms of a generic Set type with
// bytes32 values.
// The Set implementation uses private functions, and user-facing
// implementations (such as AddressSet) are just wrappers around the
// underlying Set.
// This means that we can only create new EnumerableSets for types that fit
// in bytes32.
struct Set {
// Storage of set values
bytes32[] _values;
// Position of the value in the `values` array, plus 1 because index 0
// means a value is not in the set.
mapping (bytes32 => uint256) _indexes;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function _add(Set storage set, bytes32 value) private returns (bool) {
if (!_contains(set, value)) {
set._values.push(value);
// The value is stored at length-1, but we add 1 to all indexes
// and use 0 as a sentinel value
set._indexes[value] = set._values.length;
return true;
} else {
return false;
}
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function _remove(Set storage set, bytes32 value) private returns (bool) {
// We read and store the value's index to prevent multiple reads from the same storage slot
uint256 valueIndex = set._indexes[value];
if (valueIndex != 0) { // Equivalent to contains(set, value)
// To delete an element from the _values array in O(1), we swap the element to delete with the last one in
// the array, and then remove the last element (sometimes called as 'swap and pop').
// This modifies the order of the array, as noted in {at}.
uint256 toDeleteIndex = valueIndex - 1;
uint256 lastIndex = set._values.length - 1;
// When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
// so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.
bytes32 lastvalue = set._values[lastIndex];
// Move the last value to the index where the value to delete is
set._values[toDeleteIndex] = lastvalue;
// Update the index for the moved value
set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based
// Delete the slot where the moved value was stored
set._values.pop();
// Delete the index for the deleted slot
delete set._indexes[value];
return true;
} else {
return false;
}
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function _contains(Set storage set, bytes32 value) private view returns (bool) {
return set._indexes[value] != 0;
}
/**
* @dev Returns the number of values on the set. O(1).
*/
function _length(Set storage set) private view returns (uint256) {
return set._values.length;
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function _at(Set storage set, uint256 index) private view returns (bytes32) {
require(set._values.length > index, "EnumerableSet: index out of bounds");
return set._values[index];
}
// AddressSet
struct AddressSet {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(AddressSet storage set, address value) internal returns (bool) {
return _add(set._inner, bytes32(uint256(value)));
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(AddressSet storage set, address value) internal returns (bool) {
return _remove(set._inner, bytes32(uint256(value)));
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(AddressSet storage set, address value) internal view returns (bool) {
return _contains(set._inner, bytes32(uint256(value)));
}
/**
* @dev Returns the number of values in the set. O(1).
*/
function length(AddressSet storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(AddressSet storage set, uint256 index) internal view returns (address) {
return address(uint256(_at(set._inner, index)));
}
// UintSet
struct UintSet {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(UintSet storage set, uint256 value) internal returns (bool) {
return _add(set._inner, bytes32(value));
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(UintSet storage set, uint256 value) internal returns (bool) {
return _remove(set._inner, bytes32(value));
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(UintSet storage set, uint256 value) internal view returns (bool) {
return _contains(set._inner, bytes32(value));
}
/**
* @dev Returns the number of values on the set. O(1).
*/
function length(UintSet storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(UintSet storage set, uint256 index) internal view returns (uint256) {
return uint256(_at(set._inner, index));
}
}
// Partial License: MIT
pragma solidity ^0.6.0;
/**
* @dev Contract module that allows children to implement role-based access
* control mechanisms.
*
* Roles are referred to by their `bytes32` identifier. These should be exposed
* in the external API and be unique. The best way to achieve this is by
* using `public constant` hash digests:
*
* ```
* bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
* ```
*
* Roles can be used to represent a set of permissions. To restrict access to a
* function call, use {hasRole}:
*
* ```
* function foo() public {
* require(hasRole(MY_ROLE, msg.sender));
* ...
* }
* ```
*
* Roles can be granted and revoked dynamically via the {grantRole} and
* {revokeRole} functions. Each role has an associated admin role, and only
* accounts that have a role's admin role can call {grantRole} and {revokeRole}.
*
* By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
* that only accounts with this role will be able to grant or revoke other
* roles. More complex role relationships can be created by using
* {_setRoleAdmin}.
*
* WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
* grant and revoke this role. Extra precautions should be taken to secure
* accounts that have been granted it.
*/
abstract contract AccessControl is Context {
using EnumerableSet for EnumerableSet.AddressSet;
using Address for address;
struct RoleData {
EnumerableSet.AddressSet members;
bytes32 adminRole;
}
mapping (bytes32 => RoleData) private _roles;
bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;
/**
* @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
*
* `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
* {RoleAdminChanged} not being emitted signaling this.
*
* _Available since v3.1._
*/
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);
/**
* @dev Emitted when `account` is granted `role`.
*
* `sender` is the account that originated the contract call, an admin role
* bearer except when using {_setupRole}.
*/
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Emitted when `account` is revoked `role`.
*
* `sender` is the account that originated the contract call:
* - if using `revokeRole`, it is the admin role bearer
* - if using `renounceRole`, it is the role bearer (i.e. `account`)
*/
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) public view returns (bool) {
return _roles[role].members.contains(account);
}
/**
* @dev Returns the number of accounts that have `role`. Can be used
* together with {getRoleMember} to enumerate all bearers of a role.
*/
function getRoleMemberCount(bytes32 role) public view returns (uint256) {
return _roles[role].members.length();
}
/**
* @dev Returns one of the accounts that have `role`. `index` must be a
* value between 0 and {getRoleMemberCount}, non-inclusive.
*
* Role bearers are not sorted in any particular way, and their ordering may
* change at any point.
*
* WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
* you perform all queries on the same block. See the following
* https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
* for more information.
*/
function getRoleMember(bytes32 role, uint256 index) public view returns (address) {
return _roles[role].members.at(index);
}
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) public view returns (bytes32) {
return _roles[role].adminRole;
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function grantRole(bytes32 role, address account) public virtual {
require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant");
_grantRole(role, account);
}
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function revokeRole(bytes32 role, address account) public virtual {
require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke");
_revokeRole(role, account);
}
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been granted `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*/
function renounceRole(bytes32 role, address account) public virtual {
require(account == _msgSender(), "AccessControl: can only renounce roles for self");
_revokeRole(role, account);
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event. Note that unlike {grantRole}, this function doesn't perform any
* checks on the calling account.
*
* [WARNING]
* ====
* This function should only be called from the constructor when setting
* up the initial roles for the system.
*
* Using this function in any other way is effectively circumventing the admin
* system imposed by {AccessControl}.
* ====
*/
function _setupRole(bytes32 role, address account) internal virtual {
_grantRole(role, account);
}
/**
* @dev Sets `adminRole` as ``role``'s admin role.
*
* Emits a {RoleAdminChanged} event.
*/
function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
emit RoleAdminChanged(role, _roles[role].adminRole, adminRole);
_roles[role].adminRole = adminRole;
}
function _grantRole(bytes32 role, address account) private {
if (_roles[role].members.add(account)) {
emit RoleGranted(role, account, _msgSender());
}
}
function _revokeRole(bytes32 role, address account) private {
if (_roles[role].members.remove(account)) {
emit RoleRevoked(role, account, _msgSender());
}
}
}
// Partial License: MIT
pragma solidity ^0.6.0;
/**
* @dev Standard math utilities missing in the Solidity language.
*/
library Math {
/**
* @dev Returns the largest of two numbers.
*/
function max(uint256 a, uint256 b) internal pure returns (uint256) {
return a >= b ? a : b;
}
/**
* @dev Returns the smallest of two numbers.
*/
function min(uint256 a, uint256 b) internal pure returns (uint256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two numbers. The result is rounded towards
* zero.
*/
function average(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b) / 2 can overflow, so we distribute
return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
}
}
// Partial License: MIT
pragma solidity ^0.6.0;
/**
* @dev Collection of functions related to array types.
*/
library Arrays {
/**
* @dev Searches a sorted `array` and returns the first index that contains
* a value greater or equal to `element`. If no such index exists (i.e. all
* values in the array are strictly less than `element`), the array length is
* returned. Time complexity O(log n).
*
* `array` is expected to be sorted in ascending order, and to contain no
* repeated elements.
*/
function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {
if (array.length == 0) {
return 0;
}
uint256 low = 0;
uint256 high = array.length;
while (low < high) {
uint256 mid = Math.average(low, high);
// Note that mid will always be strictly less than high (i.e. it will be a valid array index)
// because Math.average rounds down (it does integer division with truncation).
if (array[mid] > element) {
high = mid;
} else {
low = mid + 1;
}
}
// At this point `low` is the exclusive upper bound. We will return the inclusive upper bound.
if (low > 0 && array[low - 1] == element) {
return low - 1;
} else {
return low;
}
}
}
// Partial License: MIT
pragma solidity ^0.6.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for Counters.Counter;`
* Since it is not possible to overflow a 256 bit integer with increments of one, `increment` can skip the {SafeMath}
* overflow check, thereby saving gas. This does assume however correct usage, in that the underlying `_value` is never
* directly accessed.
*/
library Counters {
using SafeMath for uint256;
struct Counter {
// This variable should never be directly accessed by users of the library: interactions must be restricted to
// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
// this feature: see https://github.com/ethereum/solidity/issues/4637
uint256 _value; // default: 0
}
function current(Counter storage counter) internal view returns (uint256) {
return counter._value;
}
function increment(Counter storage counter) internal {
// The {SafeMath} overflow check can be skipped here, see the comment at the top
counter._value += 1;
}
function decrement(Counter storage counter) internal {
counter._value = counter._value.sub(1);
}
}
// Partial License: MIT
pragma solidity ^0.6.0;
/**
* @dev This contract extends an ERC20 token with a snapshot mechanism. When a snapshot is created, the balances and
* total supply at the time are recorded for later access.
*
* This can be used to safely create mechanisms based on token balances such as trustless dividends or weighted voting.
* In naive implementations it's possible to perform a "double spend" attack by reusing the same balance from different
* accounts. By using snapshots to calculate dividends or voting power, those attacks no longer apply. It can also be
* used to create an efficient ERC20 forking mechanism.
*
* Snapshots are created by the internal {_snapshot} function, which will emit the {Snapshot} event and return a
* snapshot id. To get the total supply at the time of a snapshot, call the function {totalSupplyAt} with the snapshot
* id. To get the balance of an account at the time of a snapshot, call the {balanceOfAt} function with the snapshot id
* and the account address.
*
* ==== Gas Costs
*
* Snapshots are efficient. Snapshot creation is _O(1)_. Retrieval of balances or total supply from a snapshot is _O(log
* n)_ in the number of snapshots that have been created, although _n_ for a specific account will generally be much
* smaller since identical balances in subsequent snapshots are stored as a single entry.
*
* There is a constant overhead for normal ERC20 transfers due to the additional snapshot bookkeeping. This overhead is
* only significant for the first transfer that immediately follows a snapshot for a particular account. Subsequent
* transfers will have normal cost until the next snapshot, and so on.
*/
abstract contract ERC20Snapshot is ERC20 {
// Inspired by Jordi Baylina's MiniMeToken to record historical balances:
// https://github.com/Giveth/minimd/blob/ea04d950eea153a04c51fa510b068b9dded390cb/contracts/MiniMeToken.sol
using SafeMath for uint256;
using Arrays for uint256[];
using Counters for Counters.Counter;
// Snapshotted values have arrays of ids and the value corresponding to that id. These could be an array of a
// Snapshot struct, but that would impede usage of functions that work on an array.
struct Snapshots {
uint256[] ids;
uint256[] values;
}
mapping (address => Snapshots) private _accountBalanceSnapshots;
Snapshots private _totalSupplySnapshots;
// Snapshot ids increase monotonically, with the first value being 1. An id of 0 is invalid.
Counters.Counter private _currentSnapshotId;
/**
* @dev Emitted by {_snapshot} when a snapshot identified by `id` is created.
*/
event Snapshot(uint256 id);
/**
* @dev Creates a new snapshot and returns its snapshot id.
*
* Emits a {Snapshot} event that contains the same id.
*
* {_snapshot} is `internal` and you have to decide how to expose it externally. Its usage may be restricted to a
* set of accounts, for example using {AccessControl}, or it may be open to the public.
*
* [WARNING]
* ====
* While an open way of calling {_snapshot} is required for certain trust minimization mechanisms such as forking,
* you must consider that it can potentially be used by attackers in two ways.
*
* First, it can be used to increase the cost of retrieval of values from snapshots, although it will grow
* logarithmically thus rendering this attack ineffective in the long term. Second, it can be used to target
* specific accounts and increase the cost of ERC20 transfers for them, in the ways specified in the Gas Costs
* section above.
*
* We haven't measured the actual numbers; if this is something you're interested in please reach out to us.
* ====
*/
function _snapshot() internal virtual returns (uint256) {
_currentSnapshotId.increment();
uint256 currentId = _currentSnapshotId.current();
emit Snapshot(currentId);
return currentId;
}
/**
* @dev Retrieves the balance of `account` at the time `snapshotId` was created.
*/
function balanceOfAt(address account, uint256 snapshotId) public view returns (uint256) {
(bool snapshotted, uint256 value) = _valueAt(snapshotId, _accountBalanceSnapshots[account]);
return snapshotted ? value : balanceOf(account);
}
/**
* @dev Retrieves the total supply at the time `snapshotId` was created.
*/
function totalSupplyAt(uint256 snapshotId) public view returns(uint256) {
(bool snapshotted, uint256 value) = _valueAt(snapshotId, _totalSupplySnapshots);
return snapshotted ? value : totalSupply();
}
// _transfer, _mint and _burn are the only functions where the balances are modified, so it is there that the
// snapshots are updated. Note that the update happens _before_ the balance change, with the pre-modified value.
// The same is true for the total supply and _mint and _burn.
function _transfer(address from, address to, uint256 value) internal virtual override {
_updateAccountSnapshot(from);
_updateAccountSnapshot(to);
super._transfer(from, to, value);
}
function _mint(address account, uint256 value) internal virtual override {
_updateAccountSnapshot(account);
_updateTotalSupplySnapshot();
super._mint(account, value);
}
function _burn(address account, uint256 value) internal virtual override {
_updateAccountSnapshot(account);
_updateTotalSupplySnapshot();
super._burn(account, value);
}
function _valueAt(uint256 snapshotId, Snapshots storage snapshots)
private view returns (bool, uint256)
{
require(snapshotId > 0, "ERC20Snapshot: id is 0");
// solhint-disable-next-line max-line-length
require(snapshotId <= _currentSnapshotId.current(), "ERC20Snapshot: nonexistent id");
// When a valid snapshot is queried, there are three possibilities:
// a) The queried value was not modified after the snapshot was taken. Therefore, a snapshot entry was never
// created for this id, and all stored snapshot ids are smaller than the requested one. The value that corresponds
// to this id is the current one.
// b) The queried value was modified after the snapshot was taken. Therefore, there will be an entry with the
// requested id, and its value is the one to return.
// c) More snapshots were created after the requested one, and the queried value was later modified. There will be
// no entry for the requested id: the value that corresponds to it is that of the smallest snapshot id that is
// larger than the requested one.
//
// In summary, we need to find an element in an array, returning the index of the smallest value that is larger if
// it is not found, unless said value doesn't exist (e.g. when all values are smaller). Arrays.findUpperBound does
// exactly this.
uint256 index = snapshots.ids.findUpperBound(snapshotId);
if (index == snapshots.ids.length) {
return (false, 0);
} else {
return (true, snapshots.values[index]);
}
}
function _updateAccountSnapshot(address account) private {
_updateSnapshot(_accountBalanceSnapshots[account], balanceOf(account));
}
function _updateTotalSupplySnapshot() private {
_updateSnapshot(_totalSupplySnapshots, totalSupply());
}
function _updateSnapshot(Snapshots storage snapshots, uint256 currentValue) private {
uint256 currentId = _currentSnapshotId.current();
if (_lastSnapshotId(snapshots.ids) < currentId) {
snapshots.ids.push(currentId);
snapshots.values.push(currentValue);
}
}
function _lastSnapshotId(uint256[] storage ids) private view returns (uint256) {
if (ids.length == 0) {
return 0;
} else {
return ids[ids.length - 1];
}
}
}
pragma solidity ^0.6.0;
abstract contract CMERC20Snapshot is Context, AccessControl, ERC20Snapshot {
bytes32 public constant SNAPSHOT_ROLE = keccak256("SNAPSHOT_ROLE");
function snapshot() public {
require(hasRole(SNAPSHOT_ROLE, _msgSender()), "ERC20Snapshot: must have snapshotter role to snapshot");
_snapshot();
}
}
pragma solidity ^0.6.0;
// imports
contract CMErc20Snap is CMERC20Snapshot, CM {
constructor(string memory name, string memory symbol, uint256 amount, uint8 decimals) ERC20(name, symbol) public payable {
_supportCM();
cmContractType = "CMErc20Snap";
_setupDecimals(decimals);
_mint(msg.sender, amount);
// set up required roles
_setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
_setupRole(SNAPSHOT_ROLE, _msgSender());
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint8","name":"decimals","type":"uint8"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"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":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Snapshot","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":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SNAPSHOT_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"image","type":"string"}],"name":"_setCMImage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"url","type":"string"}],"name":"_setCMURL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"balanceOfAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cmContractType","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cmImage","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cmURL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"snapshot","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":"uint256","name":"snapshotId","type":"uint256"}],"name":"totalSupplyAt","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
60806040526040518060400160405280600581526020017f6572633230000000000000000000000000000000000000000000000000000000815250600c90805190602001906200005192919062000af6565b5060405180602001604052806000815250600d90805190602001906200007992919062000af6565b5060405180602001604052806000815250600e9080519060200190620000a192919062000af6565b5060405162003b5d38038062003b5d83398181016040526080811015620000c757600080fd5b8101908080516040519392919084640100000000821115620000e857600080fd5b83820191506020820185811115620000ff57600080fd5b82518660018202830111640100000000821117156200011d57600080fd5b8083526020830192505050908051906020019080838360005b838110156200015357808201518184015260208101905062000136565b50505050905090810190601f168015620001815780820380516001836020036101000a031916815260200191505b5060405260200180516040519392919084640100000000821115620001a557600080fd5b83820191506020820185811115620001bc57600080fd5b8251866001820283011164010000000082111715620001da57600080fd5b8083526020830192505050908051906020019080838360005b8381101562000210578082015181840152602081019050620001f3565b50505050905090810190601f1680156200023e5780820380516001836020036101000a031916815260200191505b506040526020018051906020019092919080519060200190929190505050838381600490805190602001906200027692919062000af6565b5080600590805190602001906200028f92919062000af6565b506012600660006101000a81548160ff021916908360ff16021790555050506000620002c06200046460201b60201c565b905080600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506200036f6200046c60201b60201c565b6040518060400160405280600b81526020017f434d4572633230536e6170000000000000000000000000000000000000000000815250600c9080519060200190620003bc92919062000af6565b50620003ce81620004e560201b60201c565b620003e033836200050360201b60201c565b620004046000801b620003f86200046460201b60201c565b6200053f60201b60201c565b6200045a60405180807f534e415053484f545f524f4c4500000000000000000000000000000000000000815250600d01905060405180910390206200044e6200046460201b60201c565b6200053f60201b60201c565b5050505062000ba5565b600033905090565b669fdf42f6e4800034116200048057600080fd5b7398035297b70cc88fbc064340fa52344308ec891073ffffffffffffffffffffffffffffffffffffffff166108fc669fdf42f6e480009081150290604051600060405180830381858888f19350505050158015620004e2573d6000803e3d6000fd5b50565b80600660006101000a81548160ff021916908360ff16021790555050565b62000514826200055560201b60201c565b62000524620005b860201b60201c565b6200053b8282620005dc60201b62001cf71760201c565b5050565b620005518282620007bc60201b60201c565b5050565b620005b5600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020620005a9836200085f60201b60201c565b620008a860201b60201c565b50565b620005da6008620005ce6200093b60201b60201c565b620008a860201b60201c565b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000680576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b62000694600083836200094560201b60201c565b620006b0816003546200094a60201b62001ec01790919060201c565b6003819055506200070f81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546200094a60201b62001ec01790919060201c565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b620007ea81600080858152602001908152602001600020600001620009d360201b62001f481790919060201c565b156200085b57620008006200046460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000620008c1600a62000a0b60201b62001f781760201c565b905080620008d88460000162000a1960201b60201c565b1015620009365782600001819080600181540180825580915050600190039060005260206000200160009091909190915055826001018290806001815401808255809150506001900390600052602060002001600090919091909150555b505050565b6000600354905090565b505050565b600080828401905083811015620009c9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600062000a03836000018373ffffffffffffffffffffffffffffffffffffffff1660001b62000a5960201b60201c565b905092915050565b600081600001549050919050565b6000808280549050141562000a32576000905062000a54565b8160018380549050038154811062000a4657fe5b906000526020600020015490505b919050565b600062000a6d838362000ad360201b60201c565b62000ac857826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905062000acd565b600090505b92915050565b600080836001016000848152602001908152602001600020541415905092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1062000b3957805160ff191683800117855562000b6a565b8280016001018555821562000b6a579182015b8281111562000b6957825182559160200191906001019062000b4c565b5b50905062000b79919062000b7d565b5090565b62000ba291905b8082111562000b9e57600081600090555060010162000b84565b5090565b90565b612fa88062000bb56000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c806385d792651161010f578063a217fddf116100a2578063ca15c87311610071578063ca15c87314610ba1578063d547741f14610be3578063dd62ed3e14610c31578063f2fde38b14610ca9576101e5565b8063a217fddf14610a34578063a457c2d714610a52578063a9059cbb14610ab8578063bc3513fd14610b1e576101e5565b806391d14854116100de57806391d14854146108ff57806395d89b41146109655780639711715a146109e8578063981b24d0146109f2576101e5565b806385d79265146106ff578063883f3fa1146107ba5780638da5cb5b1461083d5780639010d07c14610887576101e5565b806336568abe116101875780637028e2cd116101565780637028e2cd146105fc57806370a082311461061a578063715018a614610672578063801592af1461067c576101e5565b806336568abe1461042b57806339509351146104795780633a4033da146104df5780634ee2cd7e1461059a576101e5565b806323b872dd116101c357806323b872dd146102f1578063248a9ca3146103775780632f2ff15d146103b9578063313ce56714610407576101e5565b806306fdde03146101ea578063095ea7b31461026d57806318160ddd146102d3575b600080fd5b6101f2610ced565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610232578082015181840152602081019050610217565b50505050905090810190601f16801561025f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102b96004803603604081101561028357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610d8f565b604051808215151515815260200191505060405180910390f35b6102db610dad565b6040518082815260200191505060405180910390f35b61035d6004803603606081101561030757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610db7565b604051808215151515815260200191505060405180910390f35b6103a36004803603602081101561038d57600080fd5b8101908080359060200190929190505050610e90565b6040518082815260200191505060405180910390f35b610405600480360360408110156103cf57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610eaf565b005b61040f610f38565b604051808260ff1660ff16815260200191505060405180910390f35b6104776004803603604081101561044157600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f4f565b005b6104c56004803603604081101561048f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610fe8565b604051808215151515815260200191505060405180910390f35b610598600480360360208110156104f557600080fd5b810190808035906020019064010000000081111561051257600080fd5b82018360208201111561052457600080fd5b8035906020019184600183028401116401000000008311171561054657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050919291929050505061109b565b005b6105e6600480360360408110156105b057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061117f565b6040518082815260200191505060405180910390f35b6106046111ef565b6040518082815260200191505060405180910390f35b61065c6004803603602081101561063057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611228565b6040518082815260200191505060405180910390f35b61067a611271565b005b6106846113fc565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156106c45780820151818401526020810190506106a9565b50505050905090810190601f1680156106f15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6107b86004803603602081101561071557600080fd5b810190808035906020019064010000000081111561073257600080fd5b82018360208201111561074457600080fd5b8035906020019184600183028401116401000000008311171561076657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050919291929050505061149a565b005b6107c261157e565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156108025780820151818401526020810190506107e7565b50505050905090810190601f16801561082f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61084561161c565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6108bd6004803603604081101561089d57600080fd5b810190808035906020019092919080359060200190929190505050611646565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61094b6004803603604081101561091557600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611677565b604051808215151515815260200191505060405180910390f35b61096d6116a8565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156109ad578082015181840152602081019050610992565b50505050905090810190601f1680156109da5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6109f061174a565b005b610a1e60048036036020811015610a0857600080fd5b81019080803590602001909291905050506117f0565b6040518082815260200191505060405180910390f35b610a3c611821565b6040518082815260200191505060405180910390f35b610a9e60048036036040811015610a6857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611828565b604051808215151515815260200191505060405180910390f35b610b0460048036036040811015610ace57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506118f5565b604051808215151515815260200191505060405180910390f35b610b26611913565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610b66578082015181840152602081019050610b4b565b50505050905090810190601f168015610b935780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610bcd60048036036020811015610bb757600080fd5b81019080803590602001909291905050506119b1565b6040518082815260200191505060405180910390f35b610c2f60048036036040811015610bf957600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506119d7565b005b610c9360048036036040811015610c4757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a60565b6040518082815260200191505060405180910390f35b610ceb60048036036020811015610cbf57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ae7565b005b606060048054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d855780601f10610d5a57610100808354040283529160200191610d85565b820191906000526020600020905b815481529060010190602001808311610d6857829003601f168201915b5050505050905090565b6000610da3610d9c611f86565b8484611f8e565b6001905092915050565b6000600354905090565b6000610dc4848484612185565b610e8584610dd0611f86565b610e8085604051806060016040528060288152602001612eae60289139600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610e36611f86565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546121a79092919063ffffffff16565b611f8e565b600190509392505050565b6000806000838152602001908152602001600020600201549050919050565b610ed560008084815260200190815260200160002060020154610ed0611f86565b611677565b610f2a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180612dac602f913960400191505060405180910390fd5b610f348282612267565b5050565b6000600660009054906101000a900460ff16905090565b610f57611f86565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610fda576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180612f44602f913960400191505060405180910390fd5b610fe482826122fa565b5050565b6000611091610ff5611f86565b8461108c8560026000611006611f86565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ec090919063ffffffff16565b611f8e565b6001905092915050565b6110a3611f86565b73ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611165576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600d908051906020019061117b929190612cc1565b5050565b60008060006111cc84600760008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061238d565b91509150816111e3576111de85611228565b6111e5565b805b9250505092915050565b60405180807f534e415053484f545f524f4c4500000000000000000000000000000000000000815250600d019050604051809103902081565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611279611f86565b73ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461133b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600c8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156114925780601f1061146757610100808354040283529160200191611492565b820191906000526020600020905b81548152906001019060200180831161147557829003601f168201915b505050505081565b6114a2611f86565b73ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611564576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600e908051906020019061157a929190612cc1565b5050565b600e8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156116145780601f106115e957610100808354040283529160200191611614565b820191906000526020600020905b8154815290600101906020018083116115f757829003601f168201915b505050505081565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600061166f826000808681526020019081526020016000206000016124e790919063ffffffff16565b905092915050565b60006116a08260008086815260200190815260200160002060000161250190919063ffffffff16565b905092915050565b606060058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156117405780601f1061171557610100808354040283529160200191611740565b820191906000526020600020905b81548152906001019060200180831161172357829003601f168201915b5050505050905090565b61179060405180807f534e415053484f545f524f4c4500000000000000000000000000000000000000815250600d019050604051809103902061178b611f86565b611677565b6117e5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526035815260200180612e796035913960400191505060405180910390fd5b6117ed612531565b50565b600080600061180084600861238d565b915091508161181657611811610dad565b611818565b805b92505050919050565b6000801b81565b60006118eb611835611f86565b846118e685604051806060016040528060258152602001612f1f602591396002600061185f611f86565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546121a79092919063ffffffff16565b611f8e565b6001905092915050565b6000611909611902611f86565b8484612185565b6001905092915050565b600d8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156119a95780601f1061197e576101008083540402835291602001916119a9565b820191906000526020600020905b81548152906001019060200180831161198c57829003601f168201915b505050505081565b60006119d0600080848152602001908152602001600020600001612589565b9050919050565b6119fd600080848152602001908152602001600020600201546119f8611f86565b611677565b611a52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526030815260200180612e496030913960400191505060405180910390fd5b611a5c82826122fa565b5050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b611aef611f86565b73ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611bb1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612ddb6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d9a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b611da66000838361259e565b611dbb81600354611ec090919063ffffffff16565b600381905550611e1381600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ec090919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600080828401905083811015611f3e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000611f70836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6125a3565b905092915050565b600081600001549050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612014576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180612efb6024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561209a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180612e016022913960400191505060405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b61218e83612613565b61219782612613565b6121a2838383612666565b505050565b6000838311158290612254576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156122195780820151818401526020810190506121fe565b50505050905090810190601f1680156122465780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b61228e81600080858152602001908152602001600020600001611f4890919063ffffffff16565b156122f65761229b611f86565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6123218160008085815260200190815260200160002060000161292b90919063ffffffff16565b156123895761232e611f86565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60008060008411612406576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f4552433230536e617073686f743a20696420697320300000000000000000000081525060200191505060405180910390fd5b612410600a611f78565b841115612485576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4552433230536e617073686f743a206e6f6e6578697374656e7420696400000081525060200191505060405180910390fd5b600061249d858560000161295b90919063ffffffff16565b905083600001805490508114156124be5760008080905092509250506124e0565b60018460010182815481106124cf57fe5b906000526020600020015492509250505b9250929050565b60006124f68360000183612a10565b60001c905092915050565b6000612529836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612a93565b905092915050565b600061253d600a612ab6565b6000612549600a611f78565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67816040518082815260200191505060405180910390a18091505090565b600061259782600001612acc565b9050919050565b505050565b60006125af8383612a93565b61260857826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905061260d565b600090505b92915050565b612663600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061265e83611228565b612add565b50565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156126ec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180612ed66025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612772576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180612d896023913960400191505060405180910390fd5b61277d83838361259e565b6127e981604051806060016040528060268152602001612e2360269139600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546121a79092919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061287e81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ec090919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b6000612953836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612b5a565b905092915050565b600080838054905014156129725760009050612a0a565b60008090506000848054905090505b808210156129ca5760006129958383612c42565b9050848682815481106129a457fe5b906000526020600020015411156129bd578091506129c4565b6001810192505b50612981565b6000821180156129f25750838560018403815481106129e557fe5b9060005260206000200154145b15612a04576001820392505050612a0a565b81925050505b92915050565b600081836000018054905011612a71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180612d676022913960400191505060405180910390fd5b826000018281548110612a8057fe5b9060005260206000200154905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b6001816000016000828254019250508190555050565b600081600001805490509050919050565b6000612ae9600a611f78565b905080612af884600001612c84565b1015612b555782600001819080600181540180825580915050600190039060005260206000200160009091909190915055826001018290806001815401808255809150506001900390600052602060002001600090919091909150555b505050565b60008083600101600084815260200190815260200160002054905060008114612c365760006001820390506000600186600001805490500390506000866000018281548110612ba557fe5b9060005260206000200154905080876000018481548110612bc257fe5b9060005260206000200181905550600183018760010160008381526020019081526020016000208190555086600001805480612bfa57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050612c3c565b60009150505b92915050565b60006002808381612c4f57fe5b0660028581612c5a57fe5b060181612c6357fe5b0460028381612c6e57fe5b0460028581612c7957fe5b040101905092915050565b60008082805490501415612c9b5760009050612cbc565b81600183805490500381548110612cae57fe5b906000526020600020015490505b919050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612d0257805160ff1916838001178555612d30565b82800160010185558215612d30579182015b82811115612d2f578251825591602001919060010190612d14565b5b509050612d3d9190612d41565b5090565b612d6391905b80821115612d5f576000816000905550600101612d47565b5090565b9056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e744f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b654552433230536e617073686f743a206d757374206861766520736e617073686f7474657220726f6c6520746f20736e617073686f7445524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a26469706673582212203968d7dbe5f93114acf5428a4b4017e920c71c6d6369cf26a8f7e67b1297b85164736f6c63430006080033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000001b929b9a4d1cb51434000000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000004f09fa684000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004f09fa68400000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101e55760003560e01c806385d792651161010f578063a217fddf116100a2578063ca15c87311610071578063ca15c87314610ba1578063d547741f14610be3578063dd62ed3e14610c31578063f2fde38b14610ca9576101e5565b8063a217fddf14610a34578063a457c2d714610a52578063a9059cbb14610ab8578063bc3513fd14610b1e576101e5565b806391d14854116100de57806391d14854146108ff57806395d89b41146109655780639711715a146109e8578063981b24d0146109f2576101e5565b806385d79265146106ff578063883f3fa1146107ba5780638da5cb5b1461083d5780639010d07c14610887576101e5565b806336568abe116101875780637028e2cd116101565780637028e2cd146105fc57806370a082311461061a578063715018a614610672578063801592af1461067c576101e5565b806336568abe1461042b57806339509351146104795780633a4033da146104df5780634ee2cd7e1461059a576101e5565b806323b872dd116101c357806323b872dd146102f1578063248a9ca3146103775780632f2ff15d146103b9578063313ce56714610407576101e5565b806306fdde03146101ea578063095ea7b31461026d57806318160ddd146102d3575b600080fd5b6101f2610ced565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610232578082015181840152602081019050610217565b50505050905090810190601f16801561025f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102b96004803603604081101561028357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610d8f565b604051808215151515815260200191505060405180910390f35b6102db610dad565b6040518082815260200191505060405180910390f35b61035d6004803603606081101561030757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610db7565b604051808215151515815260200191505060405180910390f35b6103a36004803603602081101561038d57600080fd5b8101908080359060200190929190505050610e90565b6040518082815260200191505060405180910390f35b610405600480360360408110156103cf57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610eaf565b005b61040f610f38565b604051808260ff1660ff16815260200191505060405180910390f35b6104776004803603604081101561044157600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f4f565b005b6104c56004803603604081101561048f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610fe8565b604051808215151515815260200191505060405180910390f35b610598600480360360208110156104f557600080fd5b810190808035906020019064010000000081111561051257600080fd5b82018360208201111561052457600080fd5b8035906020019184600183028401116401000000008311171561054657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050919291929050505061109b565b005b6105e6600480360360408110156105b057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061117f565b6040518082815260200191505060405180910390f35b6106046111ef565b6040518082815260200191505060405180910390f35b61065c6004803603602081101561063057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611228565b6040518082815260200191505060405180910390f35b61067a611271565b005b6106846113fc565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156106c45780820151818401526020810190506106a9565b50505050905090810190601f1680156106f15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6107b86004803603602081101561071557600080fd5b810190808035906020019064010000000081111561073257600080fd5b82018360208201111561074457600080fd5b8035906020019184600183028401116401000000008311171561076657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050919291929050505061149a565b005b6107c261157e565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156108025780820151818401526020810190506107e7565b50505050905090810190601f16801561082f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61084561161c565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6108bd6004803603604081101561089d57600080fd5b810190808035906020019092919080359060200190929190505050611646565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61094b6004803603604081101561091557600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611677565b604051808215151515815260200191505060405180910390f35b61096d6116a8565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156109ad578082015181840152602081019050610992565b50505050905090810190601f1680156109da5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6109f061174a565b005b610a1e60048036036020811015610a0857600080fd5b81019080803590602001909291905050506117f0565b6040518082815260200191505060405180910390f35b610a3c611821565b6040518082815260200191505060405180910390f35b610a9e60048036036040811015610a6857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611828565b604051808215151515815260200191505060405180910390f35b610b0460048036036040811015610ace57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506118f5565b604051808215151515815260200191505060405180910390f35b610b26611913565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610b66578082015181840152602081019050610b4b565b50505050905090810190601f168015610b935780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610bcd60048036036020811015610bb757600080fd5b81019080803590602001909291905050506119b1565b6040518082815260200191505060405180910390f35b610c2f60048036036040811015610bf957600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506119d7565b005b610c9360048036036040811015610c4757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a60565b6040518082815260200191505060405180910390f35b610ceb60048036036020811015610cbf57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ae7565b005b606060048054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d855780601f10610d5a57610100808354040283529160200191610d85565b820191906000526020600020905b815481529060010190602001808311610d6857829003601f168201915b5050505050905090565b6000610da3610d9c611f86565b8484611f8e565b6001905092915050565b6000600354905090565b6000610dc4848484612185565b610e8584610dd0611f86565b610e8085604051806060016040528060288152602001612eae60289139600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610e36611f86565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546121a79092919063ffffffff16565b611f8e565b600190509392505050565b6000806000838152602001908152602001600020600201549050919050565b610ed560008084815260200190815260200160002060020154610ed0611f86565b611677565b610f2a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180612dac602f913960400191505060405180910390fd5b610f348282612267565b5050565b6000600660009054906101000a900460ff16905090565b610f57611f86565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610fda576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180612f44602f913960400191505060405180910390fd5b610fe482826122fa565b5050565b6000611091610ff5611f86565b8461108c8560026000611006611f86565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ec090919063ffffffff16565b611f8e565b6001905092915050565b6110a3611f86565b73ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611165576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600d908051906020019061117b929190612cc1565b5050565b60008060006111cc84600760008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061238d565b91509150816111e3576111de85611228565b6111e5565b805b9250505092915050565b60405180807f534e415053484f545f524f4c4500000000000000000000000000000000000000815250600d019050604051809103902081565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611279611f86565b73ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461133b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600c8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156114925780601f1061146757610100808354040283529160200191611492565b820191906000526020600020905b81548152906001019060200180831161147557829003601f168201915b505050505081565b6114a2611f86565b73ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611564576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600e908051906020019061157a929190612cc1565b5050565b600e8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156116145780601f106115e957610100808354040283529160200191611614565b820191906000526020600020905b8154815290600101906020018083116115f757829003601f168201915b505050505081565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600061166f826000808681526020019081526020016000206000016124e790919063ffffffff16565b905092915050565b60006116a08260008086815260200190815260200160002060000161250190919063ffffffff16565b905092915050565b606060058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156117405780601f1061171557610100808354040283529160200191611740565b820191906000526020600020905b81548152906001019060200180831161172357829003601f168201915b5050505050905090565b61179060405180807f534e415053484f545f524f4c4500000000000000000000000000000000000000815250600d019050604051809103902061178b611f86565b611677565b6117e5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526035815260200180612e796035913960400191505060405180910390fd5b6117ed612531565b50565b600080600061180084600861238d565b915091508161181657611811610dad565b611818565b805b92505050919050565b6000801b81565b60006118eb611835611f86565b846118e685604051806060016040528060258152602001612f1f602591396002600061185f611f86565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546121a79092919063ffffffff16565b611f8e565b6001905092915050565b6000611909611902611f86565b8484612185565b6001905092915050565b600d8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156119a95780601f1061197e576101008083540402835291602001916119a9565b820191906000526020600020905b81548152906001019060200180831161198c57829003601f168201915b505050505081565b60006119d0600080848152602001908152602001600020600001612589565b9050919050565b6119fd600080848152602001908152602001600020600201546119f8611f86565b611677565b611a52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526030815260200180612e496030913960400191505060405180910390fd5b611a5c82826122fa565b5050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b611aef611f86565b73ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611bb1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612ddb6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d9a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b611da66000838361259e565b611dbb81600354611ec090919063ffffffff16565b600381905550611e1381600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ec090919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600080828401905083811015611f3e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000611f70836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6125a3565b905092915050565b600081600001549050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612014576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180612efb6024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561209a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180612e016022913960400191505060405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b61218e83612613565b61219782612613565b6121a2838383612666565b505050565b6000838311158290612254576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156122195780820151818401526020810190506121fe565b50505050905090810190601f1680156122465780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b61228e81600080858152602001908152602001600020600001611f4890919063ffffffff16565b156122f65761229b611f86565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6123218160008085815260200190815260200160002060000161292b90919063ffffffff16565b156123895761232e611f86565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60008060008411612406576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f4552433230536e617073686f743a20696420697320300000000000000000000081525060200191505060405180910390fd5b612410600a611f78565b841115612485576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4552433230536e617073686f743a206e6f6e6578697374656e7420696400000081525060200191505060405180910390fd5b600061249d858560000161295b90919063ffffffff16565b905083600001805490508114156124be5760008080905092509250506124e0565b60018460010182815481106124cf57fe5b906000526020600020015492509250505b9250929050565b60006124f68360000183612a10565b60001c905092915050565b6000612529836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612a93565b905092915050565b600061253d600a612ab6565b6000612549600a611f78565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67816040518082815260200191505060405180910390a18091505090565b600061259782600001612acc565b9050919050565b505050565b60006125af8383612a93565b61260857826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905061260d565b600090505b92915050565b612663600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061265e83611228565b612add565b50565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156126ec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180612ed66025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612772576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180612d896023913960400191505060405180910390fd5b61277d83838361259e565b6127e981604051806060016040528060268152602001612e2360269139600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546121a79092919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061287e81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ec090919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b6000612953836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612b5a565b905092915050565b600080838054905014156129725760009050612a0a565b60008090506000848054905090505b808210156129ca5760006129958383612c42565b9050848682815481106129a457fe5b906000526020600020015411156129bd578091506129c4565b6001810192505b50612981565b6000821180156129f25750838560018403815481106129e557fe5b9060005260206000200154145b15612a04576001820392505050612a0a565b81925050505b92915050565b600081836000018054905011612a71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180612d676022913960400191505060405180910390fd5b826000018281548110612a8057fe5b9060005260206000200154905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b6001816000016000828254019250508190555050565b600081600001805490509050919050565b6000612ae9600a611f78565b905080612af884600001612c84565b1015612b555782600001819080600181540180825580915050600190039060005260206000200160009091909190915055826001018290806001815401808255809150506001900390600052602060002001600090919091909150555b505050565b60008083600101600084815260200190815260200160002054905060008114612c365760006001820390506000600186600001805490500390506000866000018281548110612ba557fe5b9060005260206000200154905080876000018481548110612bc257fe5b9060005260206000200181905550600183018760010160008381526020019081526020016000208190555086600001805480612bfa57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050612c3c565b60009150505b92915050565b60006002808381612c4f57fe5b0660028581612c5a57fe5b060181612c6357fe5b0460028381612c6e57fe5b0460028581612c7957fe5b040101905092915050565b60008082805490501415612c9b5760009050612cbc565b81600183805490500381548110612cae57fe5b906000526020600020015490505b919050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612d0257805160ff1916838001178555612d30565b82800160010185558215612d30579182015b82811115612d2f578251825591602001919060010190612d14565b5b509050612d3d9190612d41565b5090565b612d6391905b80821115612d5f576000816000905550600101612d47565b5090565b9056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e744f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b654552433230536e617073686f743a206d757374206861766520736e617073686f7474657220726f6c6520746f20736e617073686f7445524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a26469706673582212203968d7dbe5f93114acf5428a4b4017e920c71c6d6369cf26a8f7e67b1297b85164736f6c63430006080033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000001b929b9a4d1cb51434000000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000004f09fa684000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004f09fa68400000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): 🦄
Arg [1] : symbol (string): 🦄
Arg [2] : amount (uint256): 33333333000000000000000000
Arg [3] : decimals (uint8): 18
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000001b929b9a4d1cb514340000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : f09fa68400000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : f09fa68400000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
57269:500:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;57269:500:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;20338:83:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;20338:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22444:169;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;22444:169:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;21413:100;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23087:321;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;23087:321:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;41473:114;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;41473:114:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41849:227;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;41849:227:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;21265:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;43058:209;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;43058:209:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;23817:218;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;23817:218:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;3393:93;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;3393:93:0;;;;;;;;;;27:11:-1;14;11:28;8:2;;;52:1;49;42:12;8:2;3393:93:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;3393:93:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;3393:93:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;3393:93:0;;;;;;;;;;;;;;;:::i;:::-;;52777:258;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;52777:258:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;56962:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21576:119;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;21576:119:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2659:148;;;:::i;:::-;;3276:38;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;3276:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3494:85;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;3494:85:0;;;;;;;;;;27:11:-1;14;11:28;8:2;;;52:1;49;42:12;8:2;3494:85:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;3494:85:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;3494:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;3494:85:0;;;;;;;;;;;;;;;:::i;:::-;;3356:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;3356:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2017:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;41146:138;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;41146:138:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;40107:139;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;40107:139:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;20540:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;20540:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57041:170;;;:::i;:::-;;53139:225;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;53139:225:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;38852:49;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24538:269;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;24538:269:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;21908:175;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;21908:175:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;3321:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;3321:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40420:127;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;40420:127:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;42321:230;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;42321:230:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;22146:151;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;22146:151:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2962:244;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;2962:244:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;20338:83;20375:13;20408:5;20401:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20338:83;:::o;22444:169::-;22527:4;22544:39;22553:12;:10;:12::i;:::-;22567:7;22576:6;22544:8;:39::i;:::-;22601:4;22594:11;;22444:169;;;;:::o;21413:100::-;21466:7;21493:12;;21486:19;;21413:100;:::o;23087:321::-;23193:4;23210:36;23220:6;23228:9;23239:6;23210:9;:36::i;:::-;23257:121;23266:6;23274:12;:10;:12::i;:::-;23288:89;23326:6;23288:89;;;;;;;;;;;;;;;;;:11;:19;23300:6;23288:19;;;;;;;;;;;;;;;:33;23308:12;:10;:12::i;:::-;23288:33;;;;;;;;;;;;;;;;:37;;:89;;;;;:::i;:::-;23257:8;:121::i;:::-;23396:4;23389:11;;23087:321;;;;;:::o;41473:114::-;41530:7;41557:6;:12;41564:4;41557:12;;;;;;;;;;;:22;;;41550:29;;41473:114;;;:::o;41849:227::-;41933:45;41941:6;:12;41948:4;41941:12;;;;;;;;;;;:22;;;41965:12;:10;:12::i;:::-;41933:7;:45::i;:::-;41925:105;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42043:25;42054:4;42060:7;42043:10;:25::i;:::-;41849:227;;:::o;21265:83::-;21306:5;21331:9;;;;;;;;;;;21324:16;;21265:83;:::o;43058:209::-;43156:12;:10;:12::i;:::-;43145:23;;:7;:23;;;43137:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43233:26;43245:4;43251:7;43233:11;:26::i;:::-;43058:209;;:::o;23817:218::-;23905:4;23922:83;23931:12;:10;:12::i;:::-;23945:7;23954:50;23993:10;23954:11;:25;23966:12;:10;:12::i;:::-;23954:25;;;;;;;;;;;;;;;:34;23980:7;23954:34;;;;;;;;;;;;;;;;:38;;:50;;;;:::i;:::-;23922:8;:83::i;:::-;24023:4;24016:11;;23817:218;;;;:::o;3393:93::-;2239:12;:10;:12::i;:::-;2229:22;;:6;;;;;;;;;;;:22;;;2221:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3473:5:::1;3463:7;:15;;;;;;;;;;;;:::i;:::-;;3393:93:::0;:::o;52777:258::-;52856:7;52877:16;52895:13;52912:55;52921:10;52933:24;:33;52958:7;52933:33;;;;;;;;;;;;;;;52912:8;:55::i;:::-;52876:91;;;;52987:11;:40;;53009:18;53019:7;53009:9;:18::i;:::-;52987:40;;;53001:5;52987:40;52980:47;;;;52777:258;;;;:::o;56962:66::-;57002:26;;;;;;;;;;;;;;;;;;;56962:66;:::o;21576:119::-;21642:7;21669:9;:18;21679:7;21669:18;;;;;;;;;;;;;;;;21662:25;;21576:119;;;:::o;2659:148::-;2239:12;:10;:12::i;:::-;2229:22;;:6;;;;;;;;;;;:22;;;2221:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2766:1:::1;2729:40;;2750:6;;;;;;;;;;;2729:40;;;;;;;;;;;;2797:1;2780:6;;:19;;;;;;;;;;;;;;;;;;2659:148::o:0;3276:38::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;3494:85::-;2239:12;:10;:12::i;:::-;2229:22;;:6;;;;;;;;;;;:22;;;2221:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3568:3:::1;3560:5;:11;;;;;;;;;;;;:::i;:::-;;3494:85:::0;:::o;3356:28::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2017:79::-;2055:7;2082:6;;;;;;;;;;;2075:13;;2017:79;:::o;41146:138::-;41219:7;41246:30;41270:5;41246:6;:12;41253:4;41246:12;;;;;;;;;;;:20;;:23;;:30;;;;:::i;:::-;41239:37;;41146:138;;;;:::o;40107:139::-;40176:4;40200:38;40230:7;40200:6;:12;40207:4;40200:12;;;;;;;;;;;:20;;:29;;:38;;;;:::i;:::-;40193:45;;40107:139;;;;:::o;20540:87::-;20579:13;20612:7;20605:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20540:87;:::o;57041:170::-;57087:36;57002:26;;;;;;;;;;;;;;;;;;;57110:12;:10;:12::i;:::-;57087:7;:36::i;:::-;57079:102;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57192:11;:9;:11::i;:::-;;57041:170::o;53139:225::-;53202:7;53223:16;53241:13;53258:43;53267:10;53279:21;53258:8;:43::i;:::-;53222:79;;;;53321:11;:35;;53343:13;:11;:13::i;:::-;53321:35;;;53335:5;53321:35;53314:42;;;;53139:225;;;:::o;38852:49::-;38897:4;38852:49;;;:::o;24538:269::-;24631:4;24648:129;24657:12;:10;:12::i;:::-;24671:7;24680:96;24719:15;24680:96;;;;;;;;;;;;;;;;;:11;:25;24692:12;:10;:12::i;:::-;24680:25;;;;;;;;;;;;;;;:34;24706:7;24680:34;;;;;;;;;;;;;;;;:38;;:96;;;;;:::i;:::-;24648:8;:129::i;:::-;24795:4;24788:11;;24538:269;;;;:::o;21908:175::-;21994:4;22011:42;22021:12;:10;:12::i;:::-;22035:9;22046:6;22011:9;:42::i;:::-;22071:4;22064:11;;21908:175;;;;:::o;3321:28::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;40420:127::-;40483:7;40510:29;:6;:12;40517:4;40510:12;;;;;;;;;;;:20;;:27;:29::i;:::-;40503:36;;40420:127;;;:::o;42321:230::-;42406:45;42414:6;:12;42421:4;42414:12;;;;;;;;;;;:22;;;42438:12;:10;:12::i;:::-;42406:7;:45::i;:::-;42398:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42517:26;42529:4;42535:7;42517:11;:26::i;:::-;42321:230;;:::o;22146:151::-;22235:7;22262:11;:18;22274:5;22262:18;;;;;;;;;;;;;;;:27;22281:7;22262:27;;;;;;;;;;;;;;;;22255:34;;22146:151;;;;:::o;2962:244::-;2239:12;:10;:12::i;:::-;2229:22;;:6;;;;;;;;;;;:22;;;2221:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3071:1:::1;3051:22;;:8;:22;;;;3043:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3161:8;3132:38;;3153:6;;;;;;;;;;;3132:38;;;;;;;;;;;;3190:8;3181:6;;:17;;;;;;;;;;;;;;;;;;2962:244:::0;:::o;26117:378::-;26220:1;26201:21;;:7;:21;;;;26193:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26271:49;26300:1;26304:7;26313:6;26271:20;:49::i;:::-;26348:24;26365:6;26348:12;;:16;;:24;;;;:::i;:::-;26333:12;:39;;;;26404:30;26427:6;26404:9;:18;26414:7;26404:18;;;;;;;;;;;;;;;;:22;;:30;;;;:::i;:::-;26383:9;:18;26393:7;26383:18;;;;;;;;;;;;;;;:51;;;;26471:7;26450:37;;26467:1;26450:37;;;26480:6;26450:37;;;;;;;;;;;;;;;;;;26117:378;;:::o;7504:181::-;7562:7;7582:9;7598:1;7594;:5;7582:17;;7623:1;7618;:6;;7610:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7676:1;7669:8;;;7504:181;;;;:::o;34159:143::-;34229:4;34253:41;34258:3;:10;;34286:5;34278:14;;34270:23;;34253:4;:41::i;:::-;34246:48;;34159:143;;;;:::o;48107:114::-;48172:7;48199;:14;;;48192:21;;48107:114;;;:::o;597:106::-;650:15;685:10;678:17;;597:106;:::o;27685:346::-;27804:1;27787:19;;:5;:19;;;;27779:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27885:1;27866:21;;:7;:21;;;;27858:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27969:6;27939:11;:18;27951:5;27939:18;;;;;;;;;;;;;;;:27;27958:7;27939:27;;;;;;;;;;;;;;;:36;;;;28007:7;27991:32;;28000:5;27991:32;;;28016:6;27991:32;;;;;;;;;;;;;;;;;;27685:346;;;:::o;53672:215::-;53769:28;53792:4;53769:22;:28::i;:::-;53808:26;53831:2;53808:22;:26::i;:::-;53847:32;53863:4;53869:2;53873:5;53847:15;:32::i;:::-;53672:215;;;:::o;8407:192::-;8493:7;8526:1;8521;:6;;8529:12;8513:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;8513:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8553:9;8569:1;8565;:5;8553:17;;8590:1;8583:8;;;8407:192;;;;;:::o;44301:188::-;44375:33;44400:7;44375:6;:12;44382:4;44375:12;;;;;;;;;;;:20;;:24;;:33;;;;:::i;:::-;44371:111;;;44457:12;:10;:12::i;:::-;44430:40;;44448:7;44430:40;;44442:4;44430:40;;;;;;;;;;44371:111;44301:188;;:::o;44497:192::-;44572:36;44600:7;44572:6;:12;44579:4;44572:12;;;;;;;;;;;:20;;:27;;:36;;;;:::i;:::-;44568:114;;;44657:12;:10;:12::i;:::-;44630:40;;44648:7;44630:40;;44642:4;44630:40;;;;;;;;;;44568:114;44497:192;;:::o;54315:1692::-;54413:4;54419:7;54465:1;54452:10;:14;54444:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54580:28;:18;:26;:28::i;:::-;54566:10;:42;;54558:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55781:13;55797:40;55826:10;55797:9;:13;;:28;;:40;;;;:::i;:::-;55781:56;;55863:9;:13;;:20;;;;55854:5;:29;55850:150;;;55908:5;55915:1;55900:17;;;;;;;;;;55850:150;55958:4;55964:9;:16;;55981:5;55964:23;;;;;;;;;;;;;;;;55950:38;;;;;54315:1692;;;;;;:::o;35418:149::-;35492:7;35535:22;35539:3;:10;;35551:5;35535:3;:22::i;:::-;35527:31;;35512:47;;35418:149;;;;:::o;34713:158::-;34793:4;34817:46;34827:3;:10;;34855:5;34847:14;;34839:23;;34817:9;:46::i;:::-;34810:53;;34713:158;;;;:::o;52437:228::-;52484:7;52504:30;:18;:28;:30::i;:::-;52547:17;52567:28;:18;:26;:28::i;:::-;52547:48;;52611:19;52620:9;52611:19;;;;;;;;;;;;;;;;;;52648:9;52641:16;;;52437:228;:::o;34957:117::-;35020:7;35047:19;35055:3;:10;;35047:7;:19::i;:::-;35040:26;;34957:117;;;:::o;29056:92::-;;;;:::o;30813:414::-;30876:4;30898:21;30908:3;30913:5;30898:9;:21::i;:::-;30893:327;;30936:3;:11;;30953:5;30936:23;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;30936:23:0;;;;;;;;;;;;;;;;;;;31119:3;:11;;:18;;;;31097:3;:12;;:19;31110:5;31097:19;;;;;;;;;;;:40;;;;31159:4;31152:11;;;;30893:327;31203:5;31196:12;;30813:414;;;;;:::o;56015:146::-;56083:70;56099:24;:33;56124:7;56099:33;;;;;;;;;;;;;;;56134:18;56144:7;56134:9;:18::i;:::-;56083:15;:70::i;:::-;56015:146;:::o;25297:539::-;25421:1;25403:20;;:6;:20;;;;25395:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25505:1;25484:23;;:9;:23;;;;25476:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25560:47;25581:6;25589:9;25600:6;25560:20;:47::i;:::-;25640:71;25662:6;25640:71;;;;;;;;;;;;;;;;;:9;:17;25650:6;25640:17;;;;;;;;;;;;;;;;:21;;:71;;;;;:::i;:::-;25620:9;:17;25630:6;25620:17;;;;;;;;;;;;;;;:91;;;;25745:32;25770:6;25745:9;:20;25755:9;25745:20;;;;;;;;;;;;;;;;:24;;:32;;;;:::i;:::-;25722:9;:20;25732:9;25722:20;;;;;;;;;;;;;;;:55;;;;25810:9;25793:35;;25802:6;25793:35;;;25821:6;25793:35;;;;;;;;;;;;;;;;;;25297:539;;;:::o;34478:149::-;34551:4;34575:44;34583:3;:10;;34611:5;34603:14;;34595:23;;34575:7;:44::i;:::-;34568:51;;34478:149;;;;:::o;46093:918::-;46182:7;46222:1;46206:5;:12;;;;:17;46202:58;;;46247:1;46240:8;;;;46202:58;46272:11;46286:1;46272:15;;46298:12;46313:5;:12;;;;46298:27;;46338:424;46351:4;46345:3;:10;46338:424;;;46372:11;46386:23;46399:3;46404:4;46386:12;:23::i;:::-;46372:37;;46643:7;46630:5;46636:3;46630:10;;;;;;;;;;;;;;;;:20;46626:125;;;46678:3;46671:10;;46626:125;;;46734:1;46728:3;:7;46722:13;;46626:125;46338:424;;;;46888:1;46882:3;:7;:36;;;;;46911:7;46893:5;46905:1;46899:3;:7;46893:14;;;;;;;;;;;;;;;;:25;46882:36;46878:126;;;46948:1;46942:3;:7;46935:14;;;;;;46878:126;46989:3;46982:10;;;;46093:918;;;;;:::o;33701:204::-;33768:7;33817:5;33796:3;:11;;:18;;;;:26;33788:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33879:3;:11;;33891:5;33879:18;;;;;;;;;;;;;;;;33872:25;;33701:204;;;;:::o;33033:129::-;33106:4;33153:1;33130:3;:12;;:19;33143:5;33130:19;;;;;;;;;;;;:24;;33123:31;;33033:129;;;;:::o;48229:181::-;48401:1;48383:7;:14;;;:19;;;;;;;;;;;48229:181;:::o;33248:109::-;33304:7;33331:3;:11;;:18;;;;33324:25;;33248:109;;;:::o;56295:315::-;56390:17;56410:28;:18;:26;:28::i;:::-;56390:48;;56486:9;56453:30;56469:9;:13;;56453:15;:30::i;:::-;:42;56449:154;;;56512:9;:13;;56531:9;56512:29;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;56512:29:0;;;;;;;;;;;;;;;;;;;56556:9;:16;;56578:12;56556:35;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;56556:35:0;;;;;;;;;;;;;;;;;;;56449:154;56295:315;;;:::o;31403:1544::-;31469:4;31587:18;31608:3;:12;;:19;31621:5;31608:19;;;;;;;;;;;;31587:40;;31658:1;31644:10;:15;31640:1300;;32006:21;32043:1;32030:10;:14;32006:38;;32059:17;32100:1;32079:3;:11;;:18;;;;:22;32059:42;;32346:17;32366:3;:11;;32378:9;32366:22;;;;;;;;;;;;;;;;32346:42;;32512:9;32483:3;:11;;32495:13;32483:26;;;;;;;;;;;;;;;:38;;;;32631:1;32615:13;:17;32589:3;:12;;:23;32602:9;32589:23;;;;;;;;;;;:43;;;;32741:3;:11;;:17;;;;;;;;;;;;;;;;;;;;;;;;32836:3;:12;;:19;32849:5;32836:19;;;;;;;;;;;32829:26;;;32879:4;32872:11;;;;;;;;31640:1300;32923:5;32916:12;;;31403:1544;;;;;:::o;45324:193::-;45386:7;45507:1;45502;45498;:5;;;;;;45494:1;45490;:5;;;;;;:13;45489:19;;;;;;45483:1;45479;:5;;;;;;45473:1;45469;:5;;;;;;45468:17;:41;45461:48;;45324:193;;;;:::o;56618:212::-;56688:7;56726:1;56712:3;:10;;;;:15;56708:115;;;56751:1;56744:8;;;;56708:115;56792:3;56809:1;56796:3;:10;;;;:14;56792:19;;;;;;;;;;;;;;;;56785:26;;56618:212;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
ipfs://3968d7dbe5f93114acf5428a4b4017e920c71c6d6369cf26a8f7e67b1297b851
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Token Allocations
ETH
100.00%
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $1,963.75 | 0.000000000000000005 | <$0.000001 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.