Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
5 wei
Eth Value
Less Than $0.01 (@ $1,987.06/ETH)More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 100 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Approve | 12552310 | 1735 days ago | IN | 0 ETH | 0.00097221 | ||||
| Approve | 12512750 | 1741 days ago | IN | 0 ETH | 0.00129628 | ||||
| Transfer | 12512637 | 1741 days ago | IN | 0 ETH | 0.00216177 | ||||
| Transfer | 12056900 | 1812 days ago | IN | 0 ETH | 0.0056354 | ||||
| Transfer | 12051127 | 1813 days ago | IN | 0 ETH | 0.01049201 | ||||
| Transfer | 12050971 | 1813 days ago | IN | 0 ETH | 0.0094963 | ||||
| Transfer | 12050966 | 1813 days ago | IN | 0 ETH | 0.0094963 | ||||
| Transfer | 12050950 | 1813 days ago | IN | 0 ETH | 0.0094963 | ||||
| Transfer | 11958839 | 1827 days ago | IN | 0 ETH | 0.00326327 | ||||
| Transfer | 11958821 | 1827 days ago | IN | 0 ETH | 0.00326327 | ||||
| Transfer | 11958818 | 1827 days ago | IN | 0 ETH | 0.00326327 | ||||
| Transfer | 11958814 | 1827 days ago | IN | 0 ETH | 0.00326327 | ||||
| Transfer | 11958728 | 1827 days ago | IN | 0 ETH | 0.00306471 | ||||
| Transfer | 11919891 | 1833 days ago | IN | 0 ETH | 0.00552512 | ||||
| Transfer | 11915257 | 1834 days ago | IN | 0 ETH | 0.00699273 | ||||
| Transfer | 11913682 | 1834 days ago | IN | 0 ETH | 0.01644586 | ||||
| Transfer | 11913680 | 1834 days ago | IN | 0 ETH | 0.01644586 | ||||
| Transfer | 11913679 | 1834 days ago | IN | 0 ETH | 0.01644586 | ||||
| Transfer | 11913679 | 1834 days ago | IN | 0 ETH | 0.01644586 | ||||
| Transfer | 11913673 | 1834 days ago | IN | 0 ETH | 0.01644586 | ||||
| Transfer | 11880646 | 1839 days ago | IN | 0 ETH | 0.00394646 | ||||
| Transfer | 11869872 | 1841 days ago | IN | 0 ETH | 0.0043165 | ||||
| Transfer | 11869870 | 1841 days ago | IN | 0 ETH | 0.0043165 | ||||
| Transfer | 11869848 | 1841 days ago | IN | 0 ETH | 0.0043165 | ||||
| Transfer | 11869846 | 1841 days ago | IN | 0 ETH | 0.0043165 |
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| - | 10969408 | 1979 days ago | 0.045 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
CMErc20MintBurnPauseSnap
Compiler Version
v0.6.8+commit.0bbfe453
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2020-11-05
*/
// Partial License: MIT
pragma solidity ^0.6.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with GSN meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}
// Partial License: MIT
pragma solidity ^0.6.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor () internal {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), msgSender);
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(_owner == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
emit OwnershipTransferred(_owner, address(0));
_owner = address(0);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
}
pragma solidity ^0.6.0;
contract CM is Ownable {
string public cmContractType = "erc20";
string public cmImage = "";
string public cmURL = "";
function _setCMImage(string memory image) public onlyOwner {
cmImage = image;
}
function _setCMURL(string memory url) public onlyOwner {
cmURL = url;
}
function _supportCM() internal {
require(msg.value > 45000000000000000 wei);
payable(0x98035297b70Cc88fbC064340Fa52344308eC8910).transfer(45000000000000000 wei);
// Thanks for supporting coinmechanics development!
}
}
// Partial License: MIT
pragma solidity ^0.6.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}
// Partial License: MIT
pragma solidity ^0.6.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high level programming languages.
* `SafeMath` restores this intuition by reverting the transaction when an
* operation overflows.
*
* Using this library instead of the unchecked operations eliminates an entire
* class of bugs, so it's recommended to use it always.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b, "SafeMath: subtraction overflow");
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return div(a, b, "SafeMath: division by zero");
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b > 0, errorMessage);
uint256 c = a / b;
// assert(a == b * c + a % b); // There is no case in which this doesn't hold
return c;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return mod(a, b, "SafeMath: modulo by zero");
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts with custom message when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b != 0, errorMessage);
return a % b;
}
}
// Partial License: MIT
pragma solidity ^0.6.2;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// According to EIP-1052, 0x0 is the value returned for not-yet created accounts
// and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
// for accounts without code, i.e. `keccak256('')`
bytes32 codehash;
bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
// solhint-disable-next-line no-inline-assembly
assembly { codehash := extcodehash(account) }
return (codehash != accountHash && codehash != 0x0);
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
// solhint-disable-next-line avoid-low-level-calls, avoid-call-value
(bool success, ) = recipient.call{ value: amount }("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain`call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
return _functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
return _functionCallWithValue(target, data, value, errorMessage);
}
function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
require(isContract(target), "Address: call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
// solhint-disable-next-line no-inline-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}
// Partial License: MIT
pragma solidity ^0.6.0;
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* We have followed general OpenZeppelin guidelines: functions revert instead
* of returning `false` on failure. This behavior is nonetheless conventional
* and does not conflict with the expectations of ERC20 applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
contract ERC20 is Context, IERC20 {
using SafeMath for uint256;
using Address for address;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
uint8 private _decimals;
/**
* @dev Sets the values for {name} and {symbol}, initializes {decimals} with
* a default value of 18.
*
* To select a different value for {decimals}, use {_setupDecimals}.
*
* All three of these values are immutable: they can only be set once during
* construction.
*/
constructor (string memory name, string memory symbol) public {
_name = name;
_symbol = symbol;
_decimals = 18;
}
/**
* @dev Returns the name of the token.
*/
function name() public view returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5,05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
* called.
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view returns (uint8) {
return _decimals;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `recipient` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
_transfer(_msgSender(), recipient, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
_approve(_msgSender(), spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20};
*
* Requirements:
* - `sender` and `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
* - the caller must have allowance for ``sender``'s tokens of at least
* `amount`.
*/
function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
_transfer(sender, recipient, amount);
_approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
return true;
}
/**
* @dev Moves tokens `amount` from `sender` to `recipient`.
*
* This is internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
* - `sender` cannot be the zero address.
* - `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
*/
function _transfer(address sender, address recipient, uint256 amount) internal virtual {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(sender, recipient, amount);
_balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
_balances[recipient] = _balances[recipient].add(amount);
emit Transfer(sender, recipient, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements
*
* - `to` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply = _totalSupply.add(amount);
_balances[account] = _balances[account].add(amount);
emit Transfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
_balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
_totalSupply = _totalSupply.sub(amount);
emit Transfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
*
* This is internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(address owner, address spender, uint256 amount) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Sets {decimals} to a value other than the default one of 18.
*
* WARNING: This function should only be called from the constructor. Most
* applications that interact with token contracts will not expect
* {decimals} to ever change, and may work incorrectly if it does.
*/
function _setupDecimals(uint8 decimals_) internal {
_decimals = decimals_;
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be to transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}
// Partial License: MIT
pragma solidity ^0.6.0;
/**
* @dev Library for managing
* https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
* types.
*
* Sets have the following properties:
*
* - Elements are added, removed, and checked for existence in constant time
* (O(1)).
* - Elements are enumerated in O(n). No guarantees are made on the ordering.
*
* ```
* contract Example {
* // Add the library methods
* using EnumerableSet for EnumerableSet.AddressSet;
*
* // Declare a set state variable
* EnumerableSet.AddressSet private mySet;
* }
* ```
*
* As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256`
* (`UintSet`) are supported.
*/
library EnumerableSet {
// To implement this library for multiple types with as little code
// repetition as possible, we write it in terms of a generic Set type with
// bytes32 values.
// The Set implementation uses private functions, and user-facing
// implementations (such as AddressSet) are just wrappers around the
// underlying Set.
// This means that we can only create new EnumerableSets for types that fit
// in bytes32.
struct Set {
// Storage of set values
bytes32[] _values;
// Position of the value in the `values` array, plus 1 because index 0
// means a value is not in the set.
mapping (bytes32 => uint256) _indexes;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function _add(Set storage set, bytes32 value) private returns (bool) {
if (!_contains(set, value)) {
set._values.push(value);
// The value is stored at length-1, but we add 1 to all indexes
// and use 0 as a sentinel value
set._indexes[value] = set._values.length;
return true;
} else {
return false;
}
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function _remove(Set storage set, bytes32 value) private returns (bool) {
// We read and store the value's index to prevent multiple reads from the same storage slot
uint256 valueIndex = set._indexes[value];
if (valueIndex != 0) { // Equivalent to contains(set, value)
// To delete an element from the _values array in O(1), we swap the element to delete with the last one in
// the array, and then remove the last element (sometimes called as 'swap and pop').
// This modifies the order of the array, as noted in {at}.
uint256 toDeleteIndex = valueIndex - 1;
uint256 lastIndex = set._values.length - 1;
// When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
// so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.
bytes32 lastvalue = set._values[lastIndex];
// Move the last value to the index where the value to delete is
set._values[toDeleteIndex] = lastvalue;
// Update the index for the moved value
set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based
// Delete the slot where the moved value was stored
set._values.pop();
// Delete the index for the deleted slot
delete set._indexes[value];
return true;
} else {
return false;
}
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function _contains(Set storage set, bytes32 value) private view returns (bool) {
return set._indexes[value] != 0;
}
/**
* @dev Returns the number of values on the set. O(1).
*/
function _length(Set storage set) private view returns (uint256) {
return set._values.length;
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function _at(Set storage set, uint256 index) private view returns (bytes32) {
require(set._values.length > index, "EnumerableSet: index out of bounds");
return set._values[index];
}
// AddressSet
struct AddressSet {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(AddressSet storage set, address value) internal returns (bool) {
return _add(set._inner, bytes32(uint256(value)));
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(AddressSet storage set, address value) internal returns (bool) {
return _remove(set._inner, bytes32(uint256(value)));
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(AddressSet storage set, address value) internal view returns (bool) {
return _contains(set._inner, bytes32(uint256(value)));
}
/**
* @dev Returns the number of values in the set. O(1).
*/
function length(AddressSet storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(AddressSet storage set, uint256 index) internal view returns (address) {
return address(uint256(_at(set._inner, index)));
}
// UintSet
struct UintSet {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(UintSet storage set, uint256 value) internal returns (bool) {
return _add(set._inner, bytes32(value));
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(UintSet storage set, uint256 value) internal returns (bool) {
return _remove(set._inner, bytes32(value));
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(UintSet storage set, uint256 value) internal view returns (bool) {
return _contains(set._inner, bytes32(value));
}
/**
* @dev Returns the number of values on the set. O(1).
*/
function length(UintSet storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(UintSet storage set, uint256 index) internal view returns (uint256) {
return uint256(_at(set._inner, index));
}
}
// Partial License: MIT
pragma solidity ^0.6.0;
/**
* @dev Contract module that allows children to implement role-based access
* control mechanisms.
*
* Roles are referred to by their `bytes32` identifier. These should be exposed
* in the external API and be unique. The best way to achieve this is by
* using `public constant` hash digests:
*
* ```
* bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
* ```
*
* Roles can be used to represent a set of permissions. To restrict access to a
* function call, use {hasRole}:
*
* ```
* function foo() public {
* require(hasRole(MY_ROLE, msg.sender));
* ...
* }
* ```
*
* Roles can be granted and revoked dynamically via the {grantRole} and
* {revokeRole} functions. Each role has an associated admin role, and only
* accounts that have a role's admin role can call {grantRole} and {revokeRole}.
*
* By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
* that only accounts with this role will be able to grant or revoke other
* roles. More complex role relationships can be created by using
* {_setRoleAdmin}.
*
* WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
* grant and revoke this role. Extra precautions should be taken to secure
* accounts that have been granted it.
*/
abstract contract AccessControl is Context {
using EnumerableSet for EnumerableSet.AddressSet;
using Address for address;
struct RoleData {
EnumerableSet.AddressSet members;
bytes32 adminRole;
}
mapping (bytes32 => RoleData) private _roles;
bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;
/**
* @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
*
* `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
* {RoleAdminChanged} not being emitted signaling this.
*
* _Available since v3.1._
*/
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);
/**
* @dev Emitted when `account` is granted `role`.
*
* `sender` is the account that originated the contract call, an admin role
* bearer except when using {_setupRole}.
*/
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Emitted when `account` is revoked `role`.
*
* `sender` is the account that originated the contract call:
* - if using `revokeRole`, it is the admin role bearer
* - if using `renounceRole`, it is the role bearer (i.e. `account`)
*/
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) public view returns (bool) {
return _roles[role].members.contains(account);
}
/**
* @dev Returns the number of accounts that have `role`. Can be used
* together with {getRoleMember} to enumerate all bearers of a role.
*/
function getRoleMemberCount(bytes32 role) public view returns (uint256) {
return _roles[role].members.length();
}
/**
* @dev Returns one of the accounts that have `role`. `index` must be a
* value between 0 and {getRoleMemberCount}, non-inclusive.
*
* Role bearers are not sorted in any particular way, and their ordering may
* change at any point.
*
* WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
* you perform all queries on the same block. See the following
* https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
* for more information.
*/
function getRoleMember(bytes32 role, uint256 index) public view returns (address) {
return _roles[role].members.at(index);
}
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) public view returns (bytes32) {
return _roles[role].adminRole;
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function grantRole(bytes32 role, address account) public virtual {
require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant");
_grantRole(role, account);
}
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function revokeRole(bytes32 role, address account) public virtual {
require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke");
_revokeRole(role, account);
}
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been granted `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*/
function renounceRole(bytes32 role, address account) public virtual {
require(account == _msgSender(), "AccessControl: can only renounce roles for self");
_revokeRole(role, account);
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event. Note that unlike {grantRole}, this function doesn't perform any
* checks on the calling account.
*
* [WARNING]
* ====
* This function should only be called from the constructor when setting
* up the initial roles for the system.
*
* Using this function in any other way is effectively circumventing the admin
* system imposed by {AccessControl}.
* ====
*/
function _setupRole(bytes32 role, address account) internal virtual {
_grantRole(role, account);
}
/**
* @dev Sets `adminRole` as ``role``'s admin role.
*
* Emits a {RoleAdminChanged} event.
*/
function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
emit RoleAdminChanged(role, _roles[role].adminRole, adminRole);
_roles[role].adminRole = adminRole;
}
function _grantRole(bytes32 role, address account) private {
if (_roles[role].members.add(account)) {
emit RoleGranted(role, account, _msgSender());
}
}
function _revokeRole(bytes32 role, address account) private {
if (_roles[role].members.remove(account)) {
emit RoleRevoked(role, account, _msgSender());
}
}
}
// Partial License: MIT
pragma solidity ^0.6.0;
/**
* @dev 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 {
_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 {
uint256 decreasedAllowance = allowance(account, _msgSender()).sub(amount, "ERC20: burn amount exceeds allowance");
_approve(account, _msgSender(), decreasedAllowance);
_burn(account, amount);
}
}
// Partial License: MIT
pragma solidity ^0.6.0;
/**
* @dev Contract module which allows children to implement an emergency stop
* mechanism that can be triggered by an authorized account.
*
* This module is used through inheritance. It will make available the
* modifiers `whenNotPaused` and `whenPaused`, which can be applied to
* the functions of your contract. Note that they will not be pausable by
* simply including this module, only once the modifiers are put in place.
*/
contract Pausable is Context {
/**
* @dev Emitted when the pause is triggered by `account`.
*/
event Paused(address account);
/**
* @dev Emitted when the pause is lifted by `account`.
*/
event Unpaused(address account);
bool private _paused;
/**
* @dev Initializes the contract in unpaused state.
*/
constructor () internal {
_paused = false;
}
/**
* @dev Returns true if the contract is paused, and false otherwise.
*/
function paused() public view returns (bool) {
return _paused;
}
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*
* Requirements:
*
* - The contract must not be paused.
*/
modifier whenNotPaused() {
require(!_paused, "Pausable: paused");
_;
}
/**
* @dev Modifier to make a function callable only when the contract is paused.
*
* Requirements:
*
* - The contract must be paused.
*/
modifier whenPaused() {
require(_paused, "Pausable: not paused");
_;
}
/**
* @dev Triggers stopped state.
*
* Requirements:
*
* - The contract must not be paused.
*/
function _pause() internal virtual whenNotPaused {
_paused = true;
emit Paused(_msgSender());
}
/**
* @dev Returns to normal state.
*
* Requirements:
*
* - The contract must be paused.
*/
function _unpause() internal virtual whenPaused {
_paused = false;
emit Unpaused(_msgSender());
}
}
// Partial License: MIT
pragma solidity ^0.6.0;
/**
* @dev ERC20 token with pausable token transfers, minting and burning.
*
* Useful for scenarios such as preventing trades until the end of an evaluation
* period, or having an emergency switch for freezing all token transfers in the
* event of a large bug.
*/
abstract contract ERC20Pausable is ERC20, Pausable {
/**
* @dev See {ERC20-_beforeTokenTransfer}.
*
* Requirements:
*
* - the contract must not be paused.
*/
function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override {
super._beforeTokenTransfer(from, to, amount);
require(!paused(), "ERC20Pausable: token transfer while paused");
}
}
pragma solidity ^0.6.0;
abstract contract CMERC20Mintable is Context, AccessControl, ERC20 {
bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
function mint(address to, uint256 amount) public {
require(hasRole(MINTER_ROLE, _msgSender()), "ERC20Minter: must have minter role to mint");
_mint(to, amount);
}
}
pragma solidity ^0.6.0;
abstract contract CMERC20Pausable is Context, AccessControl, ERC20Pausable {
bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");
function pause() public {
require(hasRole(PAUSER_ROLE, _msgSender()), "ERC20Pauser: must have pauser role to pause");
_pause();
}
function unpause() public {
require(hasRole(PAUSER_ROLE, _msgSender()), "ERC20Pauser: must have pauser role to unpause");
_unpause();
}
}
// Partial License: MIT
pragma solidity ^0.6.0;
/**
* @dev Standard math utilities missing in the Solidity language.
*/
library Math {
/**
* @dev Returns the largest of two numbers.
*/
function max(uint256 a, uint256 b) internal pure returns (uint256) {
return a >= b ? a : b;
}
/**
* @dev Returns the smallest of two numbers.
*/
function min(uint256 a, uint256 b) internal pure returns (uint256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two numbers. The result is rounded towards
* zero.
*/
function average(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b) / 2 can overflow, so we distribute
return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
}
}
// Partial License: MIT
pragma solidity ^0.6.0;
/**
* @dev Collection of functions related to array types.
*/
library Arrays {
/**
* @dev Searches a sorted `array` and returns the first index that contains
* a value greater or equal to `element`. If no such index exists (i.e. all
* values in the array are strictly less than `element`), the array length is
* returned. Time complexity O(log n).
*
* `array` is expected to be sorted in ascending order, and to contain no
* repeated elements.
*/
function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {
if (array.length == 0) {
return 0;
}
uint256 low = 0;
uint256 high = array.length;
while (low < high) {
uint256 mid = Math.average(low, high);
// Note that mid will always be strictly less than high (i.e. it will be a valid array index)
// because Math.average rounds down (it does integer division with truncation).
if (array[mid] > element) {
high = mid;
} else {
low = mid + 1;
}
}
// At this point `low` is the exclusive upper bound. We will return the inclusive upper bound.
if (low > 0 && array[low - 1] == element) {
return low - 1;
} else {
return low;
}
}
}
// Partial License: MIT
pragma solidity ^0.6.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for Counters.Counter;`
* Since it is not possible to overflow a 256 bit integer with increments of one, `increment` can skip the {SafeMath}
* overflow check, thereby saving gas. This does assume however correct usage, in that the underlying `_value` is never
* directly accessed.
*/
library Counters {
using SafeMath for uint256;
struct Counter {
// This variable should never be directly accessed by users of the library: interactions must be restricted to
// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
// this feature: see https://github.com/ethereum/solidity/issues/4637
uint256 _value; // default: 0
}
function current(Counter storage counter) internal view returns (uint256) {
return counter._value;
}
function increment(Counter storage counter) internal {
// The {SafeMath} overflow check can be skipped here, see the comment at the top
counter._value += 1;
}
function decrement(Counter storage counter) internal {
counter._value = counter._value.sub(1);
}
}
// Partial License: MIT
pragma solidity ^0.6.0;
/**
* @dev This contract extends an ERC20 token with a snapshot mechanism. When a snapshot is created, the balances and
* total supply at the time are recorded for later access.
*
* This can be used to safely create mechanisms based on token balances such as trustless dividends or weighted voting.
* In naive implementations it's possible to perform a "double spend" attack by reusing the same balance from different
* accounts. By using snapshots to calculate dividends or voting power, those attacks no longer apply. It can also be
* used to create an efficient ERC20 forking mechanism.
*
* Snapshots are created by the internal {_snapshot} function, which will emit the {Snapshot} event and return a
* snapshot id. To get the total supply at the time of a snapshot, call the function {totalSupplyAt} with the snapshot
* id. To get the balance of an account at the time of a snapshot, call the {balanceOfAt} function with the snapshot id
* and the account address.
*
* ==== Gas Costs
*
* Snapshots are efficient. Snapshot creation is _O(1)_. Retrieval of balances or total supply from a snapshot is _O(log
* n)_ in the number of snapshots that have been created, although _n_ for a specific account will generally be much
* smaller since identical balances in subsequent snapshots are stored as a single entry.
*
* There is a constant overhead for normal ERC20 transfers due to the additional snapshot bookkeeping. This overhead is
* only significant for the first transfer that immediately follows a snapshot for a particular account. Subsequent
* transfers will have normal cost until the next snapshot, and so on.
*/
abstract contract ERC20Snapshot is ERC20 {
// Inspired by Jordi Baylina's MiniMeToken to record historical balances:
// https://github.com/Giveth/minimd/blob/ea04d950eea153a04c51fa510b068b9dded390cb/contracts/MiniMeToken.sol
using SafeMath for uint256;
using Arrays for uint256[];
using Counters for Counters.Counter;
// Snapshotted values have arrays of ids and the value corresponding to that id. These could be an array of a
// Snapshot struct, but that would impede usage of functions that work on an array.
struct Snapshots {
uint256[] ids;
uint256[] values;
}
mapping (address => Snapshots) private _accountBalanceSnapshots;
Snapshots private _totalSupplySnapshots;
// Snapshot ids increase monotonically, with the first value being 1. An id of 0 is invalid.
Counters.Counter private _currentSnapshotId;
/**
* @dev Emitted by {_snapshot} when a snapshot identified by `id` is created.
*/
event Snapshot(uint256 id);
/**
* @dev Creates a new snapshot and returns its snapshot id.
*
* Emits a {Snapshot} event that contains the same id.
*
* {_snapshot} is `internal` and you have to decide how to expose it externally. Its usage may be restricted to a
* set of accounts, for example using {AccessControl}, or it may be open to the public.
*
* [WARNING]
* ====
* While an open way of calling {_snapshot} is required for certain trust minimization mechanisms such as forking,
* you must consider that it can potentially be used by attackers in two ways.
*
* First, it can be used to increase the cost of retrieval of values from snapshots, although it will grow
* logarithmically thus rendering this attack ineffective in the long term. Second, it can be used to target
* specific accounts and increase the cost of ERC20 transfers for them, in the ways specified in the Gas Costs
* section above.
*
* We haven't measured the actual numbers; if this is something you're interested in please reach out to us.
* ====
*/
function _snapshot() internal virtual returns (uint256) {
_currentSnapshotId.increment();
uint256 currentId = _currentSnapshotId.current();
emit Snapshot(currentId);
return currentId;
}
/**
* @dev Retrieves the balance of `account` at the time `snapshotId` was created.
*/
function balanceOfAt(address account, uint256 snapshotId) public view returns (uint256) {
(bool snapshotted, uint256 value) = _valueAt(snapshotId, _accountBalanceSnapshots[account]);
return snapshotted ? value : balanceOf(account);
}
/**
* @dev Retrieves the total supply at the time `snapshotId` was created.
*/
function totalSupplyAt(uint256 snapshotId) public view returns(uint256) {
(bool snapshotted, uint256 value) = _valueAt(snapshotId, _totalSupplySnapshots);
return snapshotted ? value : totalSupply();
}
// _transfer, _mint and _burn are the only functions where the balances are modified, so it is there that the
// snapshots are updated. Note that the update happens _before_ the balance change, with the pre-modified value.
// The same is true for the total supply and _mint and _burn.
function _transfer(address from, address to, uint256 value) internal virtual override {
_updateAccountSnapshot(from);
_updateAccountSnapshot(to);
super._transfer(from, to, value);
}
function _mint(address account, uint256 value) internal virtual override {
_updateAccountSnapshot(account);
_updateTotalSupplySnapshot();
super._mint(account, value);
}
function _burn(address account, uint256 value) internal virtual override {
_updateAccountSnapshot(account);
_updateTotalSupplySnapshot();
super._burn(account, value);
}
function _valueAt(uint256 snapshotId, Snapshots storage snapshots)
private view returns (bool, uint256)
{
require(snapshotId > 0, "ERC20Snapshot: id is 0");
// solhint-disable-next-line max-line-length
require(snapshotId <= _currentSnapshotId.current(), "ERC20Snapshot: nonexistent id");
// When a valid snapshot is queried, there are three possibilities:
// a) The queried value was not modified after the snapshot was taken. Therefore, a snapshot entry was never
// created for this id, and all stored snapshot ids are smaller than the requested one. The value that corresponds
// to this id is the current one.
// b) The queried value was modified after the snapshot was taken. Therefore, there will be an entry with the
// requested id, and its value is the one to return.
// c) More snapshots were created after the requested one, and the queried value was later modified. There will be
// no entry for the requested id: the value that corresponds to it is that of the smallest snapshot id that is
// larger than the requested one.
//
// In summary, we need to find an element in an array, returning the index of the smallest value that is larger if
// it is not found, unless said value doesn't exist (e.g. when all values are smaller). Arrays.findUpperBound does
// exactly this.
uint256 index = snapshots.ids.findUpperBound(snapshotId);
if (index == snapshots.ids.length) {
return (false, 0);
} else {
return (true, snapshots.values[index]);
}
}
function _updateAccountSnapshot(address account) private {
_updateSnapshot(_accountBalanceSnapshots[account], balanceOf(account));
}
function _updateTotalSupplySnapshot() private {
_updateSnapshot(_totalSupplySnapshots, totalSupply());
}
function _updateSnapshot(Snapshots storage snapshots, uint256 currentValue) private {
uint256 currentId = _currentSnapshotId.current();
if (_lastSnapshotId(snapshots.ids) < currentId) {
snapshots.ids.push(currentId);
snapshots.values.push(currentValue);
}
}
function _lastSnapshotId(uint256[] storage ids) private view returns (uint256) {
if (ids.length == 0) {
return 0;
} else {
return ids[ids.length - 1];
}
}
}
pragma solidity ^0.6.0;
abstract contract CMERC20Snapshot is Context, AccessControl, ERC20Snapshot {
bytes32 public constant SNAPSHOT_ROLE = keccak256("SNAPSHOT_ROLE");
function snapshot() public {
require(hasRole(SNAPSHOT_ROLE, _msgSender()), "ERC20Snapshot: must have snapshotter role to snapshot");
_snapshot();
}
}
pragma solidity ^0.6.0;
// imports
contract CMErc20MintBurnPauseSnap is CMERC20Mintable, ERC20Burnable, CMERC20Pausable, CMERC20Snapshot, CM {
constructor(string memory name, string memory symbol, uint256 amount, uint8 decimals) ERC20(name, symbol) public payable {
_supportCM();
cmContractType = "CMErc20MintBurnPauseSnap";
_setupDecimals(decimals);
_mint(msg.sender, amount);
// set up required roles
_setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
_setupRole(MINTER_ROLE, _msgSender());
_setupRole(PAUSER_ROLE, _msgSender());
_setupRole(SNAPSHOT_ROLE, _msgSender());
}
// overrides
function _beforeTokenTransfer(address from, address to, uint256 amount) internal override(ERC20, ERC20Pausable) {
super._beforeTokenTransfer(from, to, amount);
}function _burn(address account, uint256 value) internal override(ERC20, ERC20Snapshot) {
super._burn(account, value);
}
function _mint(address account, uint256 value) internal override(ERC20, ERC20Snapshot) {
super._mint(account, value);
}
function _transfer(address from, address to, uint256 value)internal override(ERC20, ERC20Snapshot) {
super._transfer(from, to, value);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint8","name":"decimals","type":"uint8"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SNAPSHOT_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"image","type":"string"}],"name":"_setCMImage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"url","type":"string"}],"name":"_setCMURL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"balanceOfAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cmContractType","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cmImage","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cmURL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"snapshot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"totalSupplyAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040526040518060400160405280600581526020017f6572633230000000000000000000000000000000000000000000000000000000815250600c90805190602001906200005192919062000c91565b5060405180602001604052806000815250600d90805190602001906200007992919062000c91565b5060405180602001604052806000815250600e9080519060200190620000a192919062000c91565b50604051620047da380380620047da83398181016040526080811015620000c757600080fd5b8101908080516040519392919084640100000000821115620000e857600080fd5b83820191506020820185811115620000ff57600080fd5b82518660018202830111640100000000821117156200011d57600080fd5b8083526020830192505050908051906020019080838360005b838110156200015357808201518184015260208101905062000136565b50505050905090810190601f168015620001815780820380516001836020036101000a031916815260200191505b5060405260200180516040519392919084640100000000821115620001a557600080fd5b83820191506020820185811115620001bc57600080fd5b8251866001820283011164010000000082111715620001da57600080fd5b8083526020830192505050908051906020019080838360005b8381101562000210578082015181840152602081019050620001f3565b50505050905090810190601f1680156200023e5780820380516001836020036101000a031916815260200191505b506040526020018051906020019092919080519060200190929190505050838381600490805190602001906200027692919062000c91565b5080600590805190602001906200028f92919062000c91565b506012600660006101000a81548160ff021916908360ff16021790555050506000600660016101000a81548160ff0219169083151502179055506000620002db6200052b60201b60201c565b905080600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506200038a6200053360201b60201c565b6040518060400160405280601881526020017f434d45726332304d696e744275726e5061757365536e61700000000000000000815250600c9080519060200190620003d792919062000c91565b50620003e981620005ac60201b60201c565b620003fb3383620005ca60201b60201c565b6200041f6000801b620004136200052b60201b60201c565b620005e560201b60201c565b6200047560405180807f4d494e5445525f524f4c45000000000000000000000000000000000000000000815250600b0190506040518091039020620004696200052b60201b60201c565b620005e560201b60201c565b620004cb60405180807f5041555345525f524f4c45000000000000000000000000000000000000000000815250600b0190506040518091039020620004bf6200052b60201b60201c565b620005e560201b60201c565b6200052160405180807f534e415053484f545f524f4c4500000000000000000000000000000000000000815250600d0190506040518091039020620005156200052b60201b60201c565b620005e560201b60201c565b5050505062000d40565b600033905090565b669fdf42f6e4800034116200054757600080fd5b7398035297b70cc88fbc064340fa52344308ec891073ffffffffffffffffffffffffffffffffffffffff166108fc669fdf42f6e480009081150290604051600060405180830381858888f19350505050158015620005a9573d6000803e3d6000fd5b50565b80600660006101000a81548160ff021916908360ff16021790555050565b620005e18282620005fb60201b6200217d1760201c565b5050565b620005f782826200063760201b60201c565b5050565b6200060c82620006da60201b60201c565b6200061c6200073d60201b60201c565b6200063382826200076160201b6200219c1760201c565b5050565b62000665816000808581526020019081526020016000206000016200094160201b620023651790919060201c565b15620006d6576200067b6200052b60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6200073a600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206200072e836200097960201b60201c565b620009c260201b60201c565b50565b6200075f60086200075362000a5560201b60201c565b620009c260201b60201c565b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000805576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b620008196000838362000a5f60201b60201c565b620008358160035462000a7c60201b620023951790919060201c565b6003819055506200089481600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205462000a7c60201b620023951790919060201c565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600062000971836000018373ffffffffffffffffffffffffffffffffffffffff1660001b62000b0560201b60201c565b905092915050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000620009db600a62000b7f60201b6200241d1760201c565b905080620009f28460000162000b8d60201b60201c565b101562000a505782600001819080600181540180825580915050600190039060005260206000200160009091909190915055826001018290806001815401808255809150506001900390600052602060002001600090919091909150555b505050565b6000600354905090565b62000a7783838362000bcd60201b6200242b1760201c565b505050565b60008082840190508381101562000afb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600062000b19838362000c5260201b60201c565b62000b7457826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905062000b79565b600090505b92915050565b600081600001549050919050565b6000808280549050141562000ba6576000905062000bc8565b8160018380549050038154811062000bba57fe5b906000526020600020015490505b919050565b62000be583838362000c7560201b620024991760201c565b62000bf562000c7a60201b60201c565b1562000c4d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180620047b0602a913960400191505060405180910390fd5b505050565b600080836001016000848152602001908152602001600020541415905092915050565b505050565b6000600660019054906101000a900460ff16905090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1062000cd457805160ff191683800117855562000d05565b8280016001018555821562000d05579182015b8281111562000d0457825182559160200191906001019062000ce7565b5b50905062000d14919062000d18565b5090565b62000d3d91905b8082111562000d3957600081600090555060010162000d1f565b5090565b90565b613a608062000d506000396000f3fe608060405234801561001057600080fd5b506004361061023d5760003560e01c8063801592af1161013b578063a217fddf116100b8578063d53913931161007c578063d539139314610d3b578063d547741f14610d59578063dd62ed3e14610da7578063e63ab1e914610e1f578063f2fde38b14610e3d5761023d565b8063a217fddf14610b8c578063a457c2d714610baa578063a9059cbb14610c10578063bc3513fd14610c76578063ca15c87314610cf95761023d565b80639010d07c116100ff5780639010d07c146109df57806391d1485414610a5757806395d89b4114610abd5780639711715a14610b40578063981b24d014610b4a5761023d565b8063801592af146107ca5780638456cb591461084d57806385d7926514610857578063883f3fa1146109125780638da5cb5b146109955761023d565b80633a4033da116101c95780635c975abb1161018d5780635c975abb146106da5780637028e2cd146106fc57806370a082311461071a578063715018a61461077257806379cc67901461077c5761023d565b80633a4033da146105375780633f4ba83a146105f257806340c10f19146105fc57806342966c681461064a5780634ee2cd7e146106785761023d565b8063248a9ca311610210578063248a9ca3146103cf5780632f2ff15d14610411578063313ce5671461045f57806336568abe1461048357806339509351146104d15761023d565b806306fdde0314610242578063095ea7b3146102c557806318160ddd1461032b57806323b872dd14610349575b600080fd5b61024a610e81565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561028a57808201518184015260208101905061026f565b50505050905090810190601f1680156102b75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610311600480360360408110156102db57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610f23565b604051808215151515815260200191505060405180910390f35b610333610f41565b6040518082815260200191505060405180910390f35b6103b56004803603606081101561035f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610f4b565b604051808215151515815260200191505060405180910390f35b6103fb600480360360208110156103e557600080fd5b8101908080359060200190929190505050611024565b6040518082815260200191505060405180910390f35b61045d6004803603604081101561042757600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611043565b005b6104676110cc565b604051808260ff1660ff16815260200191505060405180910390f35b6104cf6004803603604081101561049957600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110e3565b005b61051d600480360360408110156104e757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061117c565b604051808215151515815260200191505060405180910390f35b6105f06004803603602081101561054d57600080fd5b810190808035906020019064010000000081111561056a57600080fd5b82018360208201111561057c57600080fd5b8035906020019184600183028401116401000000008311171561059e57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050919291929050505061122f565b005b6105fa611313565b005b6106486004803603604081101561061257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506113b8565b005b6106766004803603602081101561066057600080fd5b8101908080359060200190929190505050611461565b005b6106c46004803603604081101561068e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611475565b6040518082815260200191505060405180910390f35b6106e26114e5565b604051808215151515815260200191505060405180910390f35b6107046114fc565b6040518082815260200191505060405180910390f35b61075c6004803603602081101561073057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611535565b6040518082815260200191505060405180910390f35b61077a61157e565b005b6107c86004803603604081101561079257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611709565b005b6107d261176b565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156108125780820151818401526020810190506107f7565b50505050905090810190601f16801561083f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610855611809565b005b6109106004803603602081101561086d57600080fd5b810190808035906020019064010000000081111561088a57600080fd5b82018360208201111561089c57600080fd5b803590602001918460018302840111640100000000831117156108be57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192905050506118ae565b005b61091a611992565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561095a57808201518184015260208101905061093f565b50505050905090810190601f1680156109875780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61099d611a30565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610a15600480360360408110156109f557600080fd5b810190808035906020019092919080359060200190929190505050611a5a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610aa360048036036040811015610a6d57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a8b565b604051808215151515815260200191505060405180910390f35b610ac5611abc565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610b05578082015181840152602081019050610aea565b50505050905090810190601f168015610b325780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610b48611b5e565b005b610b7660048036036020811015610b6057600080fd5b8101908080359060200190929190505050611c04565b6040518082815260200191505060405180910390f35b610b94611c35565b6040518082815260200191505060405180910390f35b610bf660048036036040811015610bc057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611c3c565b604051808215151515815260200191505060405180910390f35b610c5c60048036036040811015610c2657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611d09565b604051808215151515815260200191505060405180910390f35b610c7e611d27565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610cbe578082015181840152602081019050610ca3565b50505050905090810190601f168015610ceb5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610d2560048036036020811015610d0f57600080fd5b8101908080359060200190929190505050611dc5565b6040518082815260200191505060405180910390f35b610d43611deb565b6040518082815260200191505060405180910390f35b610da560048036036040811015610d6f57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611e24565b005b610e0960048036036040811015610dbd57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ead565b6040518082815260200191505060405180910390f35b610e27611f34565b6040518082815260200191505060405180910390f35b610e7f60048036036020811015610e5357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611f6d565b005b606060048054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610f195780601f10610eee57610100808354040283529160200191610f19565b820191906000526020600020905b815481529060010190602001808311610efc57829003601f168201915b5050505050905090565b6000610f37610f3061249e565b84846124a6565b6001905092915050565b6000600354905090565b6000610f5884848461269d565b61101984610f6461249e565b611014856040518060600160405280602881526020016138ca60289139600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610fca61249e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126ad9092919063ffffffff16565b6124a6565b600190509392505050565b6000806000838152602001908152602001600020600201549050919050565b6110696000808481526020019081526020016000206002015461106461249e565b611a8b565b6110be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f81526020018061377b602f913960400191505060405180910390fd5b6110c8828261276d565b5050565b6000600660009054906101000a900460ff16905090565b6110eb61249e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461116e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806139d2602f913960400191505060405180910390fd5b6111788282612800565b5050565b600061122561118961249e565b84611220856002600061119a61249e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461239590919063ffffffff16565b6124a6565b6001905092915050565b61123761249e565b73ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146112f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600d908051906020019061130f929190613666565b5050565b61135960405180807f5041555345525f524f4c45000000000000000000000000000000000000000000815250600b019050604051809103902061135461249e565b611a8b565b6113ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d815260200180613980602d913960400191505060405180910390fd5b6113b6612893565b565b6113fe60405180807f4d494e5445525f524f4c45000000000000000000000000000000000000000000815250600b01905060405180910390206113f961249e565b611a8b565b611453576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180613751602a913960400191505060405180910390fd5b61145d828261299c565b5050565b61147261146c61249e565b826129aa565b50565b60008060006114c284600760008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206129b8565b91509150816114d9576114d485611535565b6114db565b805b9250505092915050565b6000600660019054906101000a900460ff16905090565b60405180807f534e415053484f545f524f4c4500000000000000000000000000000000000000815250600d019050604051809103902081565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61158661249e565b73ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611648576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000611748826040518060600160405280602481526020016138f2602491396117398661173461249e565b611ead565b6126ad9092919063ffffffff16565b905061175c8361175661249e565b836124a6565b61176683836129aa565b505050565b600c8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156118015780601f106117d657610100808354040283529160200191611801565b820191906000526020600020905b8154815290600101906020018083116117e457829003601f168201915b505050505081565b61184f60405180807f5041555345525f524f4c45000000000000000000000000000000000000000000815250600b019050604051809103902061184a61249e565b611a8b565b6118a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b81526020018061389f602b913960400191505060405180910390fd5b6118ac612b12565b565b6118b661249e565b73ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611978576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600e908051906020019061198e929190613666565b5050565b600e8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611a285780601f106119fd57610100808354040283529160200191611a28565b820191906000526020600020905b815481529060010190602001808311611a0b57829003601f168201915b505050505081565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000611a8382600080868152602001908152602001600020600001612c1c90919063ffffffff16565b905092915050565b6000611ab482600080868152602001908152602001600020600001612c3690919063ffffffff16565b905092915050565b606060058054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611b545780601f10611b2957610100808354040283529160200191611b54565b820191906000526020600020905b815481529060010190602001808311611b3757829003601f168201915b5050505050905090565b611ba460405180807f534e415053484f545f524f4c4500000000000000000000000000000000000000815250600d0190506040518091039020611b9f61249e565b611a8b565b611bf9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603581526020018061386a6035913960400191505060405180910390fd5b611c01612c66565b50565b6000806000611c148460086129b8565b9150915081611c2a57611c25610f41565b611c2c565b805b92505050919050565b6000801b81565b6000611cff611c4961249e565b84611cfa856040518060600160405280602581526020016139ad6025913960026000611c7361249e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126ad9092919063ffffffff16565b6124a6565b6001905092915050565b6000611d1d611d1661249e565b848461269d565b6001905092915050565b600d8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611dbd5780601f10611d9257610100808354040283529160200191611dbd565b820191906000526020600020905b815481529060010190602001808311611da057829003601f168201915b505050505081565b6000611de4600080848152602001908152602001600020600001612cbe565b9050919050565b60405180807f4d494e5445525f524f4c45000000000000000000000000000000000000000000815250600b019050604051809103902081565b611e4a60008084815260200190815260200160002060020154611e4561249e565b611a8b565b611e9f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603081526020018061383a6030913960400191505060405180910390fd5b611ea98282612800565b5050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60405180807f5041555345525f524f4c45000000000000000000000000000000000000000000815250600b019050604051809103902081565b611f7561249e565b73ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612037576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806137cc6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61218682612cd3565b61218e612d26565b612198828261219c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561223f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b61224b60008383612d3a565b6122608160035461239590919063ffffffff16565b6003819055506122b881600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461239590919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600061238d836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612d4a565b905092915050565b600080828401905083811015612413576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600081600001549050919050565b612436838383612499565b61243e6114e5565b15612494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180613a01602a913960400191505060405180910390fd5b505050565b505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561252c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061395c6024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806137f26022913960400191505060405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b6126a8838383612dba565b505050565b600083831115829061275a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561271f578082015181840152602081019050612704565b50505050905090810190601f16801561274c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6127948160008085815260200190815260200160002060000161236590919063ffffffff16565b156127fc576127a161249e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b61282781600080858152602001908152602001600020600001612ddc90919063ffffffff16565b1561288f5761283461249e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600660019054906101000a900460ff16612915576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b6000600660016101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61295961249e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b6129a6828261217d565b5050565b6129b48282612e0c565b5050565b60008060008411612a31576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f4552433230536e617073686f743a20696420697320300000000000000000000081525060200191505060405180910390fd5b612a3b600a61241d565b841115612ab0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4552433230536e617073686f743a206e6f6e6578697374656e7420696400000081525060200191505060405180910390fd5b6000612ac88585600001612e2b90919063ffffffff16565b90508360000180549050811415612ae9576000808090509250925050612b0b565b6001846001018281548110612afa57fe5b906000526020600020015492509250505b9250929050565b600660019054906101000a900460ff1615612b95576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6001600660016101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612bd961249e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b6000612c2b8360000183612ee0565b60001c905092915050565b6000612c5e836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612f63565b905092915050565b6000612c72600a612f86565b6000612c7e600a61241d565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67816040518082815260200191505060405180910390a18091505090565b6000612ccc82600001612f9c565b9050919050565b612d23600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612d1e83611535565b612fad565b50565b612d386008612d33610f41565b612fad565b565b612d4583838361242b565b505050565b6000612d568383612f63565b612daf578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612db4565b600090505b92915050565b612dc383612cd3565b612dcc82612cd3565b612dd783838361302a565b505050565b6000612e04836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6132ef565b905092915050565b612e1582612cd3565b612e1d612d26565b612e2782826133d7565b5050565b60008083805490501415612e425760009050612eda565b60008090506000848054905090505b80821015612e9a576000612e65838361359d565b905084868281548110612e7457fe5b90600052602060002001541115612e8d57809150612e94565b6001810192505b50612e51565b600082118015612ec2575083856001840381548110612eb557fe5b9060005260206000200154145b15612ed4576001820392505050612eda565b81925050505b92915050565b600081836000018054905011612f41576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061370c6022913960400191505060405180910390fd5b826000018281548110612f5057fe5b9060005260206000200154905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b6001816000016000828254019250508190555050565b600081600001805490509050919050565b6000612fb9600a61241d565b905080612fc8846000016135df565b10156130255782600001819080600181540180825580915050600190039060005260206000200160009091909190915055826001018290806001815401808255809150506001900390600052602060002001600090919091909150555b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156130b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806139376025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061372e6023913960400191505060405180910390fd5b613141838383612d3a565b6131ad8160405180606001604052806026815260200161381460269139600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126ad9092919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061324281600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461239590919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b600080836001016000848152602001908152602001600020549050600081146133cb576000600182039050600060018660000180549050039050600086600001828154811061333a57fe5b906000526020600020015490508087600001848154811061335757fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061338f57fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506133d1565b60009150505b92915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561345d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806139166021913960400191505060405180910390fd5b61346982600083612d3a565b6134d5816040518060600160405280602281526020016137aa60229139600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126ad9092919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061352d8160035461361c90919063ffffffff16565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600060028083816135aa57fe5b06600285816135b557fe5b0601816135be57fe5b04600283816135c957fe5b04600285816135d457fe5b040101905092915050565b600080828054905014156135f65760009050613617565b8160018380549050038154811061360957fe5b906000526020600020015490505b919050565b600061365e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506126ad565b905092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106136a757805160ff19168380011785556136d5565b828001600101855582156136d5579182015b828111156136d45782518255916020019190600101906136b9565b5b5090506136e291906136e6565b5090565b61370891905b808211156137045760008160009055506001016136ec565b5090565b9056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332304d696e7465723a206d7573742068617665206d696e74657220726f6c6520746f206d696e74416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e7445524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b654552433230536e617073686f743a206d757374206861766520736e617073686f7474657220726f6c6520746f20736e617073686f7445524332305061757365723a206d75737420686176652070617573657220726f6c6520746f20706175736545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332305061757365723a206d75737420686176652070617573657220726f6c6520746f20756e706175736545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c6645524332305061757361626c653a20746f6b656e207472616e73666572207768696c6520706175736564a2646970667358221220dd30ed6f404b0d0d8062e79daaf5c1847b4b5e112e859698a9c9fa3b827351cf64736f6c6343000608003345524332305061757361626c653a20746f6b656e207472616e73666572207768696c6520706175736564000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000002540be4000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000643454e5455530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000643454e5455530000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061023d5760003560e01c8063801592af1161013b578063a217fddf116100b8578063d53913931161007c578063d539139314610d3b578063d547741f14610d59578063dd62ed3e14610da7578063e63ab1e914610e1f578063f2fde38b14610e3d5761023d565b8063a217fddf14610b8c578063a457c2d714610baa578063a9059cbb14610c10578063bc3513fd14610c76578063ca15c87314610cf95761023d565b80639010d07c116100ff5780639010d07c146109df57806391d1485414610a5757806395d89b4114610abd5780639711715a14610b40578063981b24d014610b4a5761023d565b8063801592af146107ca5780638456cb591461084d57806385d7926514610857578063883f3fa1146109125780638da5cb5b146109955761023d565b80633a4033da116101c95780635c975abb1161018d5780635c975abb146106da5780637028e2cd146106fc57806370a082311461071a578063715018a61461077257806379cc67901461077c5761023d565b80633a4033da146105375780633f4ba83a146105f257806340c10f19146105fc57806342966c681461064a5780634ee2cd7e146106785761023d565b8063248a9ca311610210578063248a9ca3146103cf5780632f2ff15d14610411578063313ce5671461045f57806336568abe1461048357806339509351146104d15761023d565b806306fdde0314610242578063095ea7b3146102c557806318160ddd1461032b57806323b872dd14610349575b600080fd5b61024a610e81565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561028a57808201518184015260208101905061026f565b50505050905090810190601f1680156102b75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610311600480360360408110156102db57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610f23565b604051808215151515815260200191505060405180910390f35b610333610f41565b6040518082815260200191505060405180910390f35b6103b56004803603606081101561035f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610f4b565b604051808215151515815260200191505060405180910390f35b6103fb600480360360208110156103e557600080fd5b8101908080359060200190929190505050611024565b6040518082815260200191505060405180910390f35b61045d6004803603604081101561042757600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611043565b005b6104676110cc565b604051808260ff1660ff16815260200191505060405180910390f35b6104cf6004803603604081101561049957600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110e3565b005b61051d600480360360408110156104e757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061117c565b604051808215151515815260200191505060405180910390f35b6105f06004803603602081101561054d57600080fd5b810190808035906020019064010000000081111561056a57600080fd5b82018360208201111561057c57600080fd5b8035906020019184600183028401116401000000008311171561059e57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050919291929050505061122f565b005b6105fa611313565b005b6106486004803603604081101561061257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506113b8565b005b6106766004803603602081101561066057600080fd5b8101908080359060200190929190505050611461565b005b6106c46004803603604081101561068e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611475565b6040518082815260200191505060405180910390f35b6106e26114e5565b604051808215151515815260200191505060405180910390f35b6107046114fc565b6040518082815260200191505060405180910390f35b61075c6004803603602081101561073057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611535565b6040518082815260200191505060405180910390f35b61077a61157e565b005b6107c86004803603604081101561079257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611709565b005b6107d261176b565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156108125780820151818401526020810190506107f7565b50505050905090810190601f16801561083f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610855611809565b005b6109106004803603602081101561086d57600080fd5b810190808035906020019064010000000081111561088a57600080fd5b82018360208201111561089c57600080fd5b803590602001918460018302840111640100000000831117156108be57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192905050506118ae565b005b61091a611992565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561095a57808201518184015260208101905061093f565b50505050905090810190601f1680156109875780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61099d611a30565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610a15600480360360408110156109f557600080fd5b810190808035906020019092919080359060200190929190505050611a5a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610aa360048036036040811015610a6d57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a8b565b604051808215151515815260200191505060405180910390f35b610ac5611abc565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610b05578082015181840152602081019050610aea565b50505050905090810190601f168015610b325780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610b48611b5e565b005b610b7660048036036020811015610b6057600080fd5b8101908080359060200190929190505050611c04565b6040518082815260200191505060405180910390f35b610b94611c35565b6040518082815260200191505060405180910390f35b610bf660048036036040811015610bc057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611c3c565b604051808215151515815260200191505060405180910390f35b610c5c60048036036040811015610c2657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611d09565b604051808215151515815260200191505060405180910390f35b610c7e611d27565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610cbe578082015181840152602081019050610ca3565b50505050905090810190601f168015610ceb5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610d2560048036036020811015610d0f57600080fd5b8101908080359060200190929190505050611dc5565b6040518082815260200191505060405180910390f35b610d43611deb565b6040518082815260200191505060405180910390f35b610da560048036036040811015610d6f57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611e24565b005b610e0960048036036040811015610dbd57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ead565b6040518082815260200191505060405180910390f35b610e27611f34565b6040518082815260200191505060405180910390f35b610e7f60048036036020811015610e5357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611f6d565b005b606060048054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610f195780601f10610eee57610100808354040283529160200191610f19565b820191906000526020600020905b815481529060010190602001808311610efc57829003601f168201915b5050505050905090565b6000610f37610f3061249e565b84846124a6565b6001905092915050565b6000600354905090565b6000610f5884848461269d565b61101984610f6461249e565b611014856040518060600160405280602881526020016138ca60289139600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610fca61249e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126ad9092919063ffffffff16565b6124a6565b600190509392505050565b6000806000838152602001908152602001600020600201549050919050565b6110696000808481526020019081526020016000206002015461106461249e565b611a8b565b6110be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f81526020018061377b602f913960400191505060405180910390fd5b6110c8828261276d565b5050565b6000600660009054906101000a900460ff16905090565b6110eb61249e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461116e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806139d2602f913960400191505060405180910390fd5b6111788282612800565b5050565b600061122561118961249e565b84611220856002600061119a61249e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461239590919063ffffffff16565b6124a6565b6001905092915050565b61123761249e565b73ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146112f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600d908051906020019061130f929190613666565b5050565b61135960405180807f5041555345525f524f4c45000000000000000000000000000000000000000000815250600b019050604051809103902061135461249e565b611a8b565b6113ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d815260200180613980602d913960400191505060405180910390fd5b6113b6612893565b565b6113fe60405180807f4d494e5445525f524f4c45000000000000000000000000000000000000000000815250600b01905060405180910390206113f961249e565b611a8b565b611453576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180613751602a913960400191505060405180910390fd5b61145d828261299c565b5050565b61147261146c61249e565b826129aa565b50565b60008060006114c284600760008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206129b8565b91509150816114d9576114d485611535565b6114db565b805b9250505092915050565b6000600660019054906101000a900460ff16905090565b60405180807f534e415053484f545f524f4c4500000000000000000000000000000000000000815250600d019050604051809103902081565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61158661249e565b73ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611648576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000611748826040518060600160405280602481526020016138f2602491396117398661173461249e565b611ead565b6126ad9092919063ffffffff16565b905061175c8361175661249e565b836124a6565b61176683836129aa565b505050565b600c8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156118015780601f106117d657610100808354040283529160200191611801565b820191906000526020600020905b8154815290600101906020018083116117e457829003601f168201915b505050505081565b61184f60405180807f5041555345525f524f4c45000000000000000000000000000000000000000000815250600b019050604051809103902061184a61249e565b611a8b565b6118a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b81526020018061389f602b913960400191505060405180910390fd5b6118ac612b12565b565b6118b661249e565b73ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611978576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600e908051906020019061198e929190613666565b5050565b600e8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611a285780601f106119fd57610100808354040283529160200191611a28565b820191906000526020600020905b815481529060010190602001808311611a0b57829003601f168201915b505050505081565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000611a8382600080868152602001908152602001600020600001612c1c90919063ffffffff16565b905092915050565b6000611ab482600080868152602001908152602001600020600001612c3690919063ffffffff16565b905092915050565b606060058054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611b545780601f10611b2957610100808354040283529160200191611b54565b820191906000526020600020905b815481529060010190602001808311611b3757829003601f168201915b5050505050905090565b611ba460405180807f534e415053484f545f524f4c4500000000000000000000000000000000000000815250600d0190506040518091039020611b9f61249e565b611a8b565b611bf9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603581526020018061386a6035913960400191505060405180910390fd5b611c01612c66565b50565b6000806000611c148460086129b8565b9150915081611c2a57611c25610f41565b611c2c565b805b92505050919050565b6000801b81565b6000611cff611c4961249e565b84611cfa856040518060600160405280602581526020016139ad6025913960026000611c7361249e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126ad9092919063ffffffff16565b6124a6565b6001905092915050565b6000611d1d611d1661249e565b848461269d565b6001905092915050565b600d8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611dbd5780601f10611d9257610100808354040283529160200191611dbd565b820191906000526020600020905b815481529060010190602001808311611da057829003601f168201915b505050505081565b6000611de4600080848152602001908152602001600020600001612cbe565b9050919050565b60405180807f4d494e5445525f524f4c45000000000000000000000000000000000000000000815250600b019050604051809103902081565b611e4a60008084815260200190815260200160002060020154611e4561249e565b611a8b565b611e9f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603081526020018061383a6030913960400191505060405180910390fd5b611ea98282612800565b5050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60405180807f5041555345525f524f4c45000000000000000000000000000000000000000000815250600b019050604051809103902081565b611f7561249e565b73ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612037576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806137cc6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61218682612cd3565b61218e612d26565b612198828261219c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561223f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b61224b60008383612d3a565b6122608160035461239590919063ffffffff16565b6003819055506122b881600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461239590919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600061238d836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612d4a565b905092915050565b600080828401905083811015612413576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600081600001549050919050565b612436838383612499565b61243e6114e5565b15612494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180613a01602a913960400191505060405180910390fd5b505050565b505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561252c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061395c6024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806137f26022913960400191505060405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b6126a8838383612dba565b505050565b600083831115829061275a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561271f578082015181840152602081019050612704565b50505050905090810190601f16801561274c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6127948160008085815260200190815260200160002060000161236590919063ffffffff16565b156127fc576127a161249e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b61282781600080858152602001908152602001600020600001612ddc90919063ffffffff16565b1561288f5761283461249e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600660019054906101000a900460ff16612915576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b6000600660016101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61295961249e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b6129a6828261217d565b5050565b6129b48282612e0c565b5050565b60008060008411612a31576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f4552433230536e617073686f743a20696420697320300000000000000000000081525060200191505060405180910390fd5b612a3b600a61241d565b841115612ab0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4552433230536e617073686f743a206e6f6e6578697374656e7420696400000081525060200191505060405180910390fd5b6000612ac88585600001612e2b90919063ffffffff16565b90508360000180549050811415612ae9576000808090509250925050612b0b565b6001846001018281548110612afa57fe5b906000526020600020015492509250505b9250929050565b600660019054906101000a900460ff1615612b95576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6001600660016101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612bd961249e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b6000612c2b8360000183612ee0565b60001c905092915050565b6000612c5e836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612f63565b905092915050565b6000612c72600a612f86565b6000612c7e600a61241d565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67816040518082815260200191505060405180910390a18091505090565b6000612ccc82600001612f9c565b9050919050565b612d23600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612d1e83611535565b612fad565b50565b612d386008612d33610f41565b612fad565b565b612d4583838361242b565b505050565b6000612d568383612f63565b612daf578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612db4565b600090505b92915050565b612dc383612cd3565b612dcc82612cd3565b612dd783838361302a565b505050565b6000612e04836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6132ef565b905092915050565b612e1582612cd3565b612e1d612d26565b612e2782826133d7565b5050565b60008083805490501415612e425760009050612eda565b60008090506000848054905090505b80821015612e9a576000612e65838361359d565b905084868281548110612e7457fe5b90600052602060002001541115612e8d57809150612e94565b6001810192505b50612e51565b600082118015612ec2575083856001840381548110612eb557fe5b9060005260206000200154145b15612ed4576001820392505050612eda565b81925050505b92915050565b600081836000018054905011612f41576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061370c6022913960400191505060405180910390fd5b826000018281548110612f5057fe5b9060005260206000200154905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b6001816000016000828254019250508190555050565b600081600001805490509050919050565b6000612fb9600a61241d565b905080612fc8846000016135df565b10156130255782600001819080600181540180825580915050600190039060005260206000200160009091909190915055826001018290806001815401808255809150506001900390600052602060002001600090919091909150555b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156130b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806139376025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061372e6023913960400191505060405180910390fd5b613141838383612d3a565b6131ad8160405180606001604052806026815260200161381460269139600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126ad9092919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061324281600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461239590919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b600080836001016000848152602001908152602001600020549050600081146133cb576000600182039050600060018660000180549050039050600086600001828154811061333a57fe5b906000526020600020015490508087600001848154811061335757fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061338f57fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506133d1565b60009150505b92915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561345d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806139166021913960400191505060405180910390fd5b61346982600083612d3a565b6134d5816040518060600160405280602281526020016137aa60229139600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126ad9092919063ffffffff16565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061352d8160035461361c90919063ffffffff16565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600060028083816135aa57fe5b06600285816135b557fe5b0601816135be57fe5b04600283816135c957fe5b04600285816135d457fe5b040101905092915050565b600080828054905014156135f65760009050613617565b8160018380549050038154811061360957fe5b906000526020600020015490505b919050565b600061365e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506126ad565b905092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106136a757805160ff19168380011785556136d5565b828001600101855582156136d5579182015b828111156136d45782518255916020019190600101906136b9565b5b5090506136e291906136e6565b5090565b61370891905b808211156137045760008160009055506001016136ec565b5090565b9056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332304d696e7465723a206d7573742068617665206d696e74657220726f6c6520746f206d696e74416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e7445524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b654552433230536e617073686f743a206d757374206861766520736e617073686f7474657220726f6c6520746f20736e617073686f7445524332305061757365723a206d75737420686176652070617573657220726f6c6520746f20706175736545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332305061757365723a206d75737420686176652070617573657220726f6c6520746f20756e706175736545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c6645524332305061757361626c653a20746f6b656e207472616e73666572207768696c6520706175736564a2646970667358221220dd30ed6f404b0d0d8062e79daaf5c1847b4b5e112e859698a9c9fa3b827351cf64736f6c63430006080033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000002540be4000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000643454e5455530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000643454e5455530000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): CENTUS
Arg [1] : symbol (string): CENTUS
Arg [2] : amount (uint256): 10000000000
Arg [3] : decimals (uint8): 2
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 00000000000000000000000000000000000000000000000000000002540be400
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [5] : 43454e5455530000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [7] : 43454e5455530000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
62349:1305:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;62349:1305:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;20338:83:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;20338:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22444:169;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;22444:169:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;21413:100;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23087:321;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;23087:321:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;41473:114;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;41473:114:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41849:227;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;41849:227:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;21265:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;43058:209;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;43058:209:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;23817:218;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;23817:218:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;3393:93;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;3393:93:0;;;;;;;;;;27:11:-1;14;11:28;8:2;;;52:1;49;42:12;8:2;3393:93:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;3393:93:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;3393:93:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;3393:93:0;;;;;;;;;;;;;;;:::i;:::-;;49605:158;;;:::i;:::-;;49053:185;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;49053:185:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;45137:91;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;45137:91:0;;;;;;;;;;;;;;;;;:::i;:::-;;57851:258;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;57851:258:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;46893:78;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;62036:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21576:119;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;21576:119:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2659:148;;;:::i;:::-;;45547:295;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;45547:295:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3276:38;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;3276:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49445:152;;;:::i;:::-;;3494:85;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;3494:85:0;;;;;;;;;;27:11:-1;14;11:28;8:2;;;52:1;49;42:12;8:2;3494:85:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;3494:85:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;3494:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;3494:85:0;;;;;;;;;;;;;;;:::i;:::-;;3356:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;3356:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2017:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;41146:138;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;41146:138:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;40107:139;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;40107:139:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;20540:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;20540:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62115:170;;;:::i;:::-;;58213:225;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;58213:225:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;38852:49;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24538:269;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;24538:269:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;21908:175;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;21908:175:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;3321:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;3321:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40420:127;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;40420:127:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;48978:62;;;:::i;:::-;;;;;;;;;;;;;;;;;;;42321:230;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;42321:230:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;22146:151;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;22146:151:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;49370:62;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2962:244;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;2962:244:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;20338:83;20375:13;20408:5;20401:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20338:83;:::o;22444:169::-;22527:4;22544:39;22553:12;:10;:12::i;:::-;22567:7;22576:6;22544:8;:39::i;:::-;22601:4;22594:11;;22444:169;;;;:::o;21413:100::-;21466:7;21493:12;;21486:19;;21413:100;:::o;23087:321::-;23193:4;23210:36;23220:6;23228:9;23239:6;23210:9;:36::i;:::-;23257:121;23266:6;23274:12;:10;:12::i;:::-;23288:89;23326:6;23288:89;;;;;;;;;;;;;;;;;:11;:19;23300:6;23288:19;;;;;;;;;;;;;;;:33;23308:12;:10;:12::i;:::-;23288:33;;;;;;;;;;;;;;;;:37;;:89;;;;;:::i;:::-;23257:8;:121::i;:::-;23396:4;23389:11;;23087:321;;;;;:::o;41473:114::-;41530:7;41557:6;:12;41564:4;41557:12;;;;;;;;;;;:22;;;41550:29;;41473:114;;;:::o;41849:227::-;41933:45;41941:6;:12;41948:4;41941:12;;;;;;;;;;;:22;;;41965:12;:10;:12::i;:::-;41933:7;:45::i;:::-;41925:105;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42043:25;42054:4;42060:7;42043:10;:25::i;:::-;41849:227;;:::o;21265:83::-;21306:5;21331:9;;;;;;;;;;;21324:16;;21265:83;:::o;43058:209::-;43156:12;:10;:12::i;:::-;43145:23;;:7;:23;;;43137:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43233:26;43245:4;43251:7;43233:11;:26::i;:::-;43058:209;;:::o;23817:218::-;23905:4;23922:83;23931:12;:10;:12::i;:::-;23945:7;23954:50;23993:10;23954:11;:25;23966:12;:10;:12::i;:::-;23954:25;;;;;;;;;;;;;;;:34;23980:7;23954:34;;;;;;;;;;;;;;;;:38;;:50;;;;:::i;:::-;23922:8;:83::i;:::-;24023:4;24016:11;;23817:218;;;;:::o;3393:93::-;2239:12;:10;:12::i;:::-;2229:22;;:6;;;;;;;;;;;:22;;;2221:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3473:5:::1;3463:7;:15;;;;;;;;;;;;:::i;:::-;;3393:93:::0;:::o;49605:158::-;49650:34;49408:24;;;;;;;;;;;;;;;;;;;49671:12;:10;:12::i;:::-;49650:7;:34::i;:::-;49642:92;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49745:10;:8;:10::i;:::-;49605:158::o;49053:185::-;49121:34;49016:24;;;;;;;;;;;;;;;;;;;49142:12;:10;:12::i;:::-;49121:7;:34::i;:::-;49113:89;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49213:17;49219:2;49223:6;49213:5;:17::i;:::-;49053:185;;:::o;45137:91::-;45193:27;45199:12;:10;:12::i;:::-;45213:6;45193:5;:27::i;:::-;45137:91;:::o;57851:258::-;57930:7;57951:16;57969:13;57986:55;57995:10;58007:24;:33;58032:7;58007:33;;;;;;;;;;;;;;;57986:8;:55::i;:::-;57950:91;;;;58061:11;:40;;58083:18;58093:7;58083:9;:18::i;:::-;58061:40;;;58075:5;58061:40;58054:47;;;;57851:258;;;;:::o;46893:78::-;46932:4;46956:7;;;;;;;;;;;46949:14;;46893:78;:::o;62036:66::-;62076:26;;;;;;;;;;;;;;;;;;;62036:66;:::o;21576:119::-;21642:7;21669:9;:18;21679:7;21669:18;;;;;;;;;;;;;;;;21662:25;;21576:119;;;:::o;2659:148::-;2239:12;:10;:12::i;:::-;2229:22;;:6;;;;;;;;;;;:22;;;2221:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2766:1:::1;2729:40;;2750:6;;;;;;;;;;;2729:40;;;;;;;;;;;;2797:1;2780:6;;:19;;;;;;;;;;;;;;;;;;2659:148::o:0;45547:295::-;45624:26;45653:84;45690:6;45653:84;;;;;;;;;;;;;;;;;:32;45663:7;45672:12;:10;:12::i;:::-;45653:9;:32::i;:::-;:36;;:84;;;;;:::i;:::-;45624:113;;45750:51;45759:7;45768:12;:10;:12::i;:::-;45782:18;45750:8;:51::i;:::-;45812:22;45818:7;45827:6;45812:5;:22::i;:::-;45547:295;;;:::o;3276:38::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;49445:152::-;49488:34;49408:24;;;;;;;;;;;;;;;;;;;49509:12;:10;:12::i;:::-;49488:7;:34::i;:::-;49480:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49581:8;:6;:8::i;:::-;49445:152::o;3494:85::-;2239:12;:10;:12::i;:::-;2229:22;;:6;;;;;;;;;;;:22;;;2221:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3568:3:::1;3560:5;:11;;;;;;;;;;;;:::i;:::-;;3494:85:::0;:::o;3356:28::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2017:79::-;2055:7;2082:6;;;;;;;;;;;2075:13;;2017:79;:::o;41146:138::-;41219:7;41246:30;41270:5;41246:6;:12;41253:4;41246:12;;;;;;;;;;;:20;;:23;;:30;;;;:::i;:::-;41239:37;;41146:138;;;;:::o;40107:139::-;40176:4;40200:38;40230:7;40200:6;:12;40207:4;40200:12;;;;;;;;;;;:20;;:29;;:38;;;;:::i;:::-;40193:45;;40107:139;;;;:::o;20540:87::-;20579:13;20612:7;20605:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20540:87;:::o;62115:170::-;62161:36;62076:26;;;;;;;;;;;;;;;;;;;62184:12;:10;:12::i;:::-;62161:7;:36::i;:::-;62153:102;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62266:11;:9;:11::i;:::-;;62115:170::o;58213:225::-;58276:7;58297:16;58315:13;58332:43;58341:10;58353:21;58332:8;:43::i;:::-;58296:79;;;;58395:11;:35;;58417:13;:11;:13::i;:::-;58395:35;;;58409:5;58395:35;58388:42;;;;58213:225;;;:::o;38852:49::-;38897:4;38852:49;;;:::o;24538:269::-;24631:4;24648:129;24657:12;:10;:12::i;:::-;24671:7;24680:96;24719:15;24680:96;;;;;;;;;;;;;;;;;:11;:25;24692:12;:10;:12::i;:::-;24680:25;;;;;;;;;;;;;;;:34;24706:7;24680:34;;;;;;;;;;;;;;;;:38;;:96;;;;;:::i;:::-;24648:8;:129::i;:::-;24795:4;24788:11;;24538:269;;;;:::o;21908:175::-;21994:4;22011:42;22021:12;:10;:12::i;:::-;22035:9;22046:6;22011:9;:42::i;:::-;22071:4;22064:11;;21908:175;;;;:::o;3321:28::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;40420:127::-;40483:7;40510:29;:6;:12;40517:4;40510:12;;;;;;;;;;;:20;;:27;:29::i;:::-;40503:36;;40420:127;;;:::o;48978:62::-;49016:24;;;;;;;;;;;;;;;;;;;48978:62;:::o;42321:230::-;42406:45;42414:6;:12;42421:4;42414:12;;;;;;;;;;;:22;;;42438:12;:10;:12::i;:::-;42406:7;:45::i;:::-;42398:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42517:26;42529:4;42535:7;42517:11;:26::i;:::-;42321:230;;:::o;22146:151::-;22235:7;22262:11;:18;22274:5;22262:18;;;;;;;;;;;;;;;:27;22281:7;22262:27;;;;;;;;;;;;;;;;22255:34;;22146:151;;;;:::o;49370:62::-;49408:24;;;;;;;;;;;;;;;;;;;49370:62;:::o;2962:244::-;2239:12;:10;:12::i;:::-;2229:22;;:6;;;;;;;;;;;:22;;;2221:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3071:1:::1;3051:22;;:8;:22;;;;3043:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3161:8;3132:38;;3153:6;;;;;;;;;;;3132:38;;;;;;;;;;;;3190:8;3181:6;;:17;;;;;;;;;;;;;;;;;;2962:244:::0;:::o;58969:202::-;59053:31;59076:7;59053:22;:31::i;:::-;59095:28;:26;:28::i;:::-;59136:27;59148:7;59157:5;59136:11;:27::i;:::-;58969:202;;:::o;26117:378::-;26220:1;26201:21;;:7;:21;;;;26193:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26271:49;26300:1;26304:7;26313:6;26271:20;:49::i;:::-;26348:24;26365:6;26348:12;;:16;;:24;;;;:::i;:::-;26333:12;:39;;;;26404:30;26427:6;26404:9;:18;26414:7;26404:18;;;;;;;;;;;;;;;;:22;;:30;;;;:::i;:::-;26383:9;:18;26393:7;26383:18;;;;;;;;;;;;;;;:51;;;;26471:7;26450:37;;26467:1;26450:37;;;26480:6;26450:37;;;;;;;;;;;;;;;;;;26117:378;;:::o;34159:143::-;34229:4;34253:41;34258:3;:10;;34286:5;34278:14;;34270:23;;34253:4;:41::i;:::-;34246:48;;34159:143;;;;:::o;7504:181::-;7562:7;7582:9;7598:1;7594;:5;7582:17;;7623:1;7618;:6;;7610:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7676:1;7669:8;;;7504:181;;;;:::o;53181:114::-;53246:7;53273;:14;;;53266:21;;53181:114;;;:::o;48612:238::-;48721:44;48748:4;48754:2;48758:6;48721:26;:44::i;:::-;48787:8;:6;:8::i;:::-;48786:9;48778:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48612:238;;;:::o;29056:92::-;;;;:::o;597:106::-;650:15;685:10;678:17;;597:106;:::o;27685:346::-;27804:1;27787:19;;:5;:19;;;;27779:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27885:1;27866:21;;:7;:21;;;;27858:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27969:6;27939:11;:18;27951:5;27939:18;;;;;;;;;;;;;;;:27;27958:7;27939:27;;;;;;;;;;;;;;;:36;;;;28007:7;27991:32;;28000:5;27991:32;;;28016:6;27991:32;;;;;;;;;;;;;;;;;;27685:346;;;:::o;63493:150::-;63603:32;63619:4;63625:2;63629:5;63603:15;:32::i;:::-;63493:150;;;:::o;8407:192::-;8493:7;8526:1;8521;:6;;8529:12;8513:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;8513:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8553:9;8569:1;8565;:5;8553:17;;8590:1;8583:8;;;8407:192;;;;;:::o;44301:188::-;44375:33;44400:7;44375:6;:12;44382:4;44375:12;;;;;;;;;;;:20;;:24;;:33;;;;:::i;:::-;44371:111;;;44457:12;:10;:12::i;:::-;44430:40;;44448:7;44430:40;;44442:4;44430:40;;;;;;;;;;44371:111;44301:188;;:::o;44497:192::-;44572:36;44600:7;44572:6;:12;44579:4;44572:12;;;;;;;;;;;:20;;:27;;:36;;;;:::i;:::-;44568:114;;;44657:12;:10;:12::i;:::-;44630:40;;44648:7;44630:40;;44642:4;44630:40;;;;;;;;;;44568:114;44497:192;;:::o;47942:120::-;47487:7;;;;;;;;;;;47479:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48011:5:::1;48001:7;;:15;;;;;;;;;;;;;;;;;;48032:22;48041:12;:10;:12::i;:::-;48032:22;;;;;;;;;;;;;;;;;;;;;;47942:120::o:0;63352:133::-;63450:27;63462:7;63471:5;63450:11;:27::i;:::-;63352:133;;:::o;63211:::-;63309:27;63321:7;63330:5;63309:11;:27::i;:::-;63211:133;;:::o;59389:1692::-;59487:4;59493:7;59539:1;59526:10;:14;59518:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59654:28;:18;:26;:28::i;:::-;59640:10;:42;;59632:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60855:13;60871:40;60900:10;60871:9;:13;;:28;;:40;;;;:::i;:::-;60855:56;;60937:9;:13;;:20;;;;60928:5;:29;60924:150;;;60982:5;60989:1;60974:17;;;;;;;;;;60924:150;61032:4;61038:9;:16;;61055:5;61038:23;;;;;;;;;;;;;;;;61024:38;;;;;59389:1692;;;;;;:::o;47683:118::-;47211:7;;;;;;;;;;;47210:8;47202:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47753:4:::1;47743:7;;:14;;;;;;;;;;;;;;;;;;47773:20;47780:12;:10;:12::i;:::-;47773:20;;;;;;;;;;;;;;;;;;;;;;47683:118::o:0;35418:149::-;35492:7;35535:22;35539:3;:10;;35551:5;35535:3;:22::i;:::-;35527:31;;35512:47;;35418:149;;;;:::o;34713:158::-;34793:4;34817:46;34827:3;:10;;34855:5;34847:14;;34839:23;;34817:9;:46::i;:::-;34810:53;;34713:158;;;;:::o;57511:228::-;57558:7;57578:30;:18;:28;:30::i;:::-;57621:17;57641:28;:18;:26;:28::i;:::-;57621:48;;57685:19;57694:9;57685:19;;;;;;;;;;;;;;;;;;57722:9;57715:16;;;57511:228;:::o;34957:117::-;35020:7;35047:19;35055:3;:10;;35047:7;:19::i;:::-;35040:26;;34957:117;;;:::o;61089:146::-;61157:70;61173:24;:33;61198:7;61173:33;;;;;;;;;;;;;;;61208:18;61218:7;61208:9;:18::i;:::-;61157:15;:70::i;:::-;61089:146;:::o;61243:118::-;61300:53;61316:21;61339:13;:11;:13::i;:::-;61300:15;:53::i;:::-;61243:118::o;63039:172::-;63162:44;63189:4;63195:2;63199:6;63162:26;:44::i;:::-;63039:172;;;:::o;30813:414::-;30876:4;30898:21;30908:3;30913:5;30898:9;:21::i;:::-;30893:327;;30936:3;:11;;30953:5;30936:23;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;30936:23:0;;;;;;;;;;;;;;;;;;;31119:3;:11;;:18;;;;31097:3;:12;;:19;31110:5;31097:19;;;;;;;;;;;:40;;;;31159:4;31152:11;;;;30893:327;31203:5;31196:12;;30813:414;;;;;:::o;58746:215::-;58843:28;58866:4;58843:22;:28::i;:::-;58882:26;58905:2;58882:22;:26::i;:::-;58921:32;58937:4;58943:2;58947:5;58921:15;:32::i;:::-;58746:215;;;:::o;34478:149::-;34551:4;34575:44;34583:3;:10;;34611:5;34603:14;;34595:23;;34575:7;:44::i;:::-;34568:51;;34478:149;;;;:::o;59179:202::-;59263:31;59286:7;59263:22;:31::i;:::-;59305:28;:26;:28::i;:::-;59346:27;59358:7;59367:5;59346:11;:27::i;:::-;59179:202;;:::o;51167:918::-;51256:7;51296:1;51280:5;:12;;;;:17;51276:58;;;51321:1;51314:8;;;;51276:58;51346:11;51360:1;51346:15;;51372:12;51387:5;:12;;;;51372:27;;51412:424;51425:4;51419:3;:10;51412:424;;;51446:11;51460:23;51473:3;51478:4;51460:12;:23::i;:::-;51446:37;;51717:7;51704:5;51710:3;51704:10;;;;;;;;;;;;;;;;:20;51700:125;;;51752:3;51745:10;;51700:125;;;51808:1;51802:3;:7;51796:13;;51700:125;51412:424;;;;51962:1;51956:3;:7;:36;;;;;51985:7;51967:5;51979:1;51973:3;:7;51967:14;;;;;;;;;;;;;;;;:25;51956:36;51952:126;;;52022:1;52016:3;:7;52009:14;;;;;;51952:126;52063:3;52056:10;;;;51167:918;;;;;:::o;33701:204::-;33768:7;33817:5;33796:3;:11;;:18;;;;:26;33788:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33879:3;:11;;33891:5;33879:18;;;;;;;;;;;;;;;;33872:25;;33701:204;;;;:::o;33033:129::-;33106:4;33153:1;33130:3;:12;;:19;33143:5;33130:19;;;;;;;;;;;;:24;;33123:31;;33033:129;;;;:::o;53303:181::-;53475:1;53457:7;:14;;;:19;;;;;;;;;;;53303:181;:::o;33248:109::-;33304:7;33331:3;:11;;:18;;;;33324:25;;33248:109;;;:::o;61369:315::-;61464:17;61484:28;:18;:26;:28::i;:::-;61464:48;;61560:9;61527:30;61543:9;:13;;61527:15;:30::i;:::-;:42;61523:154;;;61586:9;:13;;61605:9;61586:29;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;61586:29:0;;;;;;;;;;;;;;;;;;;61630:9;:16;;61652:12;61630:35;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;61630:35:0;;;;;;;;;;;;;;;;;;;61523:154;61369:315;;;:::o;25297:539::-;25421:1;25403:20;;:6;:20;;;;25395:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25505:1;25484:23;;:9;:23;;;;25476:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25560:47;25581:6;25589:9;25600:6;25560:20;:47::i;:::-;25640:71;25662:6;25640:71;;;;;;;;;;;;;;;;;:9;:17;25650:6;25640:17;;;;;;;;;;;;;;;;:21;;:71;;;;;:::i;:::-;25620:9;:17;25630:6;25620:17;;;;;;;;;;;;;;;:91;;;;25745:32;25770:6;25745:9;:20;25755:9;25745:20;;;;;;;;;;;;;;;;:24;;:32;;;;:::i;:::-;25722:9;:20;25732:9;25722:20;;;;;;;;;;;;;;;:55;;;;25810:9;25793:35;;25802:6;25793:35;;;25821:6;25793:35;;;;;;;;;;;;;;;;;;25297:539;;;:::o;31403:1544::-;31469:4;31587:18;31608:3;:12;;:19;31621:5;31608:19;;;;;;;;;;;;31587:40;;31658:1;31644:10;:15;31640:1300;;32006:21;32043:1;32030:10;:14;32006:38;;32059:17;32100:1;32079:3;:11;;:18;;;;:22;32059:42;;32346:17;32366:3;:11;;32378:9;32366:22;;;;;;;;;;;;;;;;32346:42;;32512:9;32483:3;:11;;32495:13;32483:26;;;;;;;;;;;;;;;:38;;;;32631:1;32615:13;:17;32589:3;:12;;:23;32602:9;32589:23;;;;;;;;;;;:43;;;;32741:3;:11;;:17;;;;;;;;;;;;;;;;;;;;;;;;32836:3;:12;;:19;32849:5;32836:19;;;;;;;;;;;32829:26;;;32879:4;32872:11;;;;;;;;31640:1300;32923:5;32916:12;;;31403:1544;;;;;:::o;26827:418::-;26930:1;26911:21;;:7;:21;;;;26903:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26983:49;27004:7;27021:1;27025:6;26983:20;:49::i;:::-;27066:68;27089:6;27066:68;;;;;;;;;;;;;;;;;:9;:18;27076:7;27066:18;;;;;;;;;;;;;;;;:22;;:68;;;;;:::i;:::-;27045:9;:18;27055:7;27045:18;;;;;;;;;;;;;;;:89;;;;27160:24;27177:6;27160:12;;:16;;:24;;;;:::i;:::-;27145:12;:39;;;;27226:1;27200:37;;27209:7;27200:37;;;27230:6;27200:37;;;;;;;;;;;;;;;;;;26827:418;;:::o;50398:193::-;50460:7;50581:1;50576;50572;:5;;;;;;50568:1;50564;:5;;;;;;:13;50563:19;;;;;;50557:1;50553;:5;;;;;;50547:1;50543;:5;;;;;;50542:17;:41;50535:48;;50398:193;;;;:::o;61692:212::-;61762:7;61800:1;61786:3;:10;;;;:15;61782:115;;;61825:1;61818:8;;;;61782:115;61866:3;61883:1;61870:3;:10;;;;:14;61866:19;;;;;;;;;;;;;;;;61859:26;;61692:212;;;;:::o;7968:136::-;8026:7;8053:43;8057:1;8060;8053:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;8046:50;;7968:136;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
ipfs://dd30ed6f404b0d0d8062e79daaf5c1847b4b5e112e859698a9c9fa3b827351cf
Loading...
Loading
Loading...
Loading
OVERVIEW
CENTUS is a seigniorage style Stable Cent that implements an algorithmically governed approach to expanding and contracting a stablecoin’s money supply. 100 US Stable Cent (CENTUS) ≈ 1 US Dollar Bill (USD).Net Worth in USD
$0.00
Net Worth in ETH
0
Token Allocations
ETH
100.00%
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $1,987.65 | 0.000000000000000005 | <$0.000001 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.