Contract
0xa6083abe845fbb8649d98b8586cbf50b7f233612
4
Contract Overview
[ Download CSV Export ]
Contract Name:
PaycerToken
Compiler Version
v0.8.0+commit.c7dfd78e
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/token/ERC20/extensions/ERC20Capped.sol'; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Snapshot.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/draft-ERC20Permit.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Votes.sol"; contract PaycerToken is ERC20Capped, ERC20Burnable, ERC20Snapshot, Ownable, ERC20Permit, ERC20Votes { constructor(uint256 _totalSupply) ERC20("Paycer", "PCR") ERC20Permit("Paycer") ERC20Capped(_totalSupply) { } function snapshot() public onlyOwner { _snapshot(); } function mint(address to, uint256 amount) public onlyOwner { _mint(to, amount); } function getChainId() external view returns (uint256) { uint256 chainId; assembly { chainId := chainid() } return chainId; } function _beforeTokenTransfer(address from, address to, uint256 amount) internal override(ERC20, ERC20Snapshot) { super._beforeTokenTransfer(from, to, amount); } function _afterTokenTransfer(address from, address to, uint256 amount) internal override(ERC20, ERC20Votes) { super._afterTokenTransfer(from, to, amount); } function _mint(address to, uint256 amount) internal override(ERC20, ERC20Capped, ERC20Votes) { super._mint(to, amount); } function _burn(address account, uint256 amount) internal override(ERC20, ERC20Votes) { super._burn(account, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/ERC20Capped.sol) pragma solidity ^0.8.0; import "../ERC20.sol"; /** * @dev Extension of {ERC20} that adds a cap to the supply of tokens. */ abstract contract ERC20Capped is ERC20 { uint256 private immutable _cap; /** * @dev Sets the value of the `cap`. This value is immutable, it can only be * set once during construction. */ constructor(uint256 cap_) { require(cap_ > 0, "ERC20Capped: cap is 0"); _cap = cap_; } /** * @dev Returns the cap on the token's total supply. */ function cap() public view virtual returns (uint256) { return _cap; } /** * @dev See {ERC20-_mint}. */ function _mint(address account, uint256 amount) internal virtual override { require(ERC20.totalSupply() + amount <= cap(), "ERC20Capped: cap exceeded"); super._mint(account, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../utils/Context.sol"; /** * @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 currentAllowance = allowance(account, _msgSender()); require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance"); unchecked { _approve(account, _msgSender(), currentAllowance - amount); } _burn(account, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/ERC20Snapshot.sol) pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../utils/Arrays.sol"; import "../../../utils/Counters.sol"; /** * @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. * * NOTE: Snapshot policy can be customized by overriding the {_getCurrentSnapshotId} method. For example, having it * return `block.number` will trigger the creation of snapshot at the begining of each new block. When overridding this * function, be careful about the monotonicity of its result. Non-monotonic snapshot ids will break the contract. * * Implementing snapshots for every block using this method will incur significant gas costs. For a gas-efficient * alternative consider {ERC20Votes}. * * ==== 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 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 = _getCurrentSnapshotId(); emit Snapshot(currentId); return currentId; } /** * @dev Get the current snapshotId */ function _getCurrentSnapshotId() internal view virtual returns (uint256) { return _currentSnapshotId.current(); } /** * @dev Retrieves the balance of `account` at the time `snapshotId` was created. */ function balanceOfAt(address account, uint256 snapshotId) public view virtual 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 virtual returns (uint256) { (bool snapshotted, uint256 value) = _valueAt(snapshotId, _totalSupplySnapshots); return snapshotted ? value : totalSupply(); } // Update balance and/or total supply snapshots before the values are modified. This is implemented // in the _beforeTokenTransfer hook, which is executed for _mint, _burn, and _transfer operations. function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual override { super._beforeTokenTransfer(from, to, amount); if (from == address(0)) { // mint _updateAccountSnapshot(to); _updateTotalSupplySnapshot(); } else if (to == address(0)) { // burn _updateAccountSnapshot(from); _updateTotalSupplySnapshot(); } else { // transfer _updateAccountSnapshot(from); _updateAccountSnapshot(to); } } function _valueAt(uint256 snapshotId, Snapshots storage snapshots) private view returns (bool, uint256) { require(snapshotId > 0, "ERC20Snapshot: id is 0"); require(snapshotId <= _getCurrentSnapshotId(), "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 = _getCurrentSnapshotId(); 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]; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(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"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-ERC20Permit.sol) pragma solidity ^0.8.0; import "./draft-IERC20Permit.sol"; import "../ERC20.sol"; import "../../../utils/cryptography/draft-EIP712.sol"; import "../../../utils/cryptography/ECDSA.sol"; import "../../../utils/Counters.sol"; /** * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * _Available since v3.4._ */ abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 { using Counters for Counters.Counter; mapping(address => Counters.Counter) private _nonces; // solhint-disable-next-line var-name-mixedcase bytes32 private immutable _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); /** * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`. * * It's a good idea to use the same `name` that is defined as the ERC20 token name. */ constructor(string memory name) EIP712(name, "1") {} /** * @dev See {IERC20Permit-permit}. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual override { require(block.timestamp <= deadline, "ERC20Permit: expired deadline"); bytes32 structHash = keccak256(abi.encode(_PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline)); bytes32 hash = _hashTypedDataV4(structHash); address signer = ECDSA.recover(hash, v, r, s); require(signer == owner, "ERC20Permit: invalid signature"); _approve(owner, spender, value); } /** * @dev See {IERC20Permit-nonces}. */ function nonces(address owner) public view virtual override returns (uint256) { return _nonces[owner].current(); } /** * @dev See {IERC20Permit-DOMAIN_SEPARATOR}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view override returns (bytes32) { return _domainSeparatorV4(); } /** * @dev "Consume a nonce": return the current value and increment. * * _Available since v4.1._ */ function _useNonce(address owner) internal virtual returns (uint256 current) { Counters.Counter storage nonce = _nonces[owner]; current = nonce.current(); nonce.increment(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/ERC20Votes.sol) pragma solidity ^0.8.0; import "./draft-ERC20Permit.sol"; import "../../../utils/math/Math.sol"; import "../../../utils/math/SafeCast.sol"; import "../../../utils/cryptography/ECDSA.sol"; /** * @dev Extension of ERC20 to support Compound-like voting and delegation. This version is more generic than Compound's, * and supports token supply up to 2^224^ - 1, while COMP is limited to 2^96^ - 1. * * NOTE: If exact COMP compatibility is required, use the {ERC20VotesComp} variant of this module. * * This extension keeps a history (checkpoints) of each account's vote power. Vote power can be delegated either * by calling the {delegate} function directly, or by providing a signature to be used with {delegateBySig}. Voting * power can be queried through the public accessors {getVotes} and {getPastVotes}. * * By default, token balance does not account for voting power. This makes transfers cheaper. The downside is that it * requires users to delegate to themselves in order to activate checkpoints and have their voting power tracked. * Enabling self-delegation can easily be done by overriding the {delegates} function. Keep in mind however that this * will significantly increase the base gas cost of transfers. * * _Available since v4.2._ */ abstract contract ERC20Votes is ERC20Permit { struct Checkpoint { uint32 fromBlock; uint224 votes; } bytes32 private constant _DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)"); mapping(address => address) private _delegates; mapping(address => Checkpoint[]) private _checkpoints; Checkpoint[] private _totalSupplyCheckpoints; /** * @dev Emitted when an account changes their delegate. */ event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate); /** * @dev Emitted when a token transfer or delegate change results in changes to an account's voting power. */ event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance); /** * @dev Get the `pos`-th checkpoint for `account`. */ function checkpoints(address account, uint32 pos) public view virtual returns (Checkpoint memory) { return _checkpoints[account][pos]; } /** * @dev Get number of checkpoints for `account`. */ function numCheckpoints(address account) public view virtual returns (uint32) { return SafeCast.toUint32(_checkpoints[account].length); } /** * @dev Get the address `account` is currently delegating to. */ function delegates(address account) public view virtual returns (address) { return _delegates[account]; } /** * @dev Gets the current votes balance for `account` */ function getVotes(address account) public view returns (uint256) { uint256 pos = _checkpoints[account].length; return pos == 0 ? 0 : _checkpoints[account][pos - 1].votes; } /** * @dev Retrieve the number of votes for `account` at the end of `blockNumber`. * * Requirements: * * - `blockNumber` must have been already mined */ function getPastVotes(address account, uint256 blockNumber) public view returns (uint256) { require(blockNumber < block.number, "ERC20Votes: block not yet mined"); return _checkpointsLookup(_checkpoints[account], blockNumber); } /** * @dev Retrieve the `totalSupply` at the end of `blockNumber`. Note, this value is the sum of all balances. * It is but NOT the sum of all the delegated votes! * * Requirements: * * - `blockNumber` must have been already mined */ function getPastTotalSupply(uint256 blockNumber) public view returns (uint256) { require(blockNumber < block.number, "ERC20Votes: block not yet mined"); return _checkpointsLookup(_totalSupplyCheckpoints, blockNumber); } /** * @dev Lookup a value in a list of (sorted) checkpoints. */ function _checkpointsLookup(Checkpoint[] storage ckpts, uint256 blockNumber) private view returns (uint256) { // We run a binary search to look for the earliest checkpoint taken after `blockNumber`. // // During the loop, the index of the wanted checkpoint remains in the range [low-1, high). // With each iteration, either `low` or `high` is moved towards the middle of the range to maintain the invariant. // - If the middle checkpoint is after `blockNumber`, we look in [low, mid) // - If the middle checkpoint is before or equal to `blockNumber`, we look in [mid+1, high) // Once we reach a single value (when low == high), we've found the right checkpoint at the index high-1, if not // out of bounds (in which case we're looking too far in the past and the result is 0). // Note that if the latest checkpoint available is exactly for `blockNumber`, we end up with an index that is // past the end of the array, so we technically don't find a checkpoint after `blockNumber`, but it works out // the same. uint256 high = ckpts.length; uint256 low = 0; while (low < high) { uint256 mid = Math.average(low, high); if (ckpts[mid].fromBlock > blockNumber) { high = mid; } else { low = mid + 1; } } return high == 0 ? 0 : ckpts[high - 1].votes; } /** * @dev Delegate votes from the sender to `delegatee`. */ function delegate(address delegatee) public virtual { _delegate(_msgSender(), delegatee); } /** * @dev Delegates votes from signer to `delegatee` */ function delegateBySig( address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s ) public virtual { require(block.timestamp <= expiry, "ERC20Votes: signature expired"); address signer = ECDSA.recover( _hashTypedDataV4(keccak256(abi.encode(_DELEGATION_TYPEHASH, delegatee, nonce, expiry))), v, r, s ); require(nonce == _useNonce(signer), "ERC20Votes: invalid nonce"); _delegate(signer, delegatee); } /** * @dev Maximum token supply. Defaults to `type(uint224).max` (2^224^ - 1). */ function _maxSupply() internal view virtual returns (uint224) { return type(uint224).max; } /** * @dev Snapshots the totalSupply after it has been increased. */ function _mint(address account, uint256 amount) internal virtual override { super._mint(account, amount); require(totalSupply() <= _maxSupply(), "ERC20Votes: total supply risks overflowing votes"); _writeCheckpoint(_totalSupplyCheckpoints, _add, amount); } /** * @dev Snapshots the totalSupply after it has been decreased. */ function _burn(address account, uint256 amount) internal virtual override { super._burn(account, amount); _writeCheckpoint(_totalSupplyCheckpoints, _subtract, amount); } /** * @dev Move voting power when tokens are transferred. * * Emits a {DelegateVotesChanged} event. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual override { super._afterTokenTransfer(from, to, amount); _moveVotingPower(delegates(from), delegates(to), amount); } /** * @dev Change delegation for `delegator` to `delegatee`. * * Emits events {DelegateChanged} and {DelegateVotesChanged}. */ function _delegate(address delegator, address delegatee) internal virtual { address currentDelegate = delegates(delegator); uint256 delegatorBalance = balanceOf(delegator); _delegates[delegator] = delegatee; emit DelegateChanged(delegator, currentDelegate, delegatee); _moveVotingPower(currentDelegate, delegatee, delegatorBalance); } function _moveVotingPower( address src, address dst, uint256 amount ) private { if (src != dst && amount > 0) { if (src != address(0)) { (uint256 oldWeight, uint256 newWeight) = _writeCheckpoint(_checkpoints[src], _subtract, amount); emit DelegateVotesChanged(src, oldWeight, newWeight); } if (dst != address(0)) { (uint256 oldWeight, uint256 newWeight) = _writeCheckpoint(_checkpoints[dst], _add, amount); emit DelegateVotesChanged(dst, oldWeight, newWeight); } } } function _writeCheckpoint( Checkpoint[] storage ckpts, function(uint256, uint256) view returns (uint256) op, uint256 delta ) private returns (uint256 oldWeight, uint256 newWeight) { uint256 pos = ckpts.length; oldWeight = pos == 0 ? 0 : ckpts[pos - 1].votes; newWeight = op(oldWeight, delta); if (pos > 0 && ckpts[pos - 1].fromBlock == block.number) { ckpts[pos - 1].votes = SafeCast.toUint224(newWeight); } else { ckpts.push(Checkpoint({fromBlock: SafeCast.toUint32(block.number), votes: SafeCast.toUint224(newWeight)})); } } function _add(uint256 a, uint256 b) private pure returns (uint256) { return a + b; } function _subtract(uint256 a, uint256 b) private pure returns (uint256) { return a - b; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Arrays.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @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; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. 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;` */ library Counters { 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 { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/Math.sol) pragma solidity ^0.8.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. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a / b + (a % b == 0 ? 0 : 1); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol) pragma solidity ^0.8.0; import "./ECDSA.sol"; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * _Available since v3.4._ */ abstract contract EIP712 { /* solhint-disable var-name-mixedcase */ // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to // invalidate the cached domain separator if the chain id changes. bytes32 private immutable _CACHED_DOMAIN_SEPARATOR; uint256 private immutable _CACHED_CHAIN_ID; address private immutable _CACHED_THIS; bytes32 private immutable _HASHED_NAME; bytes32 private immutable _HASHED_VERSION; bytes32 private immutable _TYPE_HASH; /* solhint-enable var-name-mixedcase */ /** * @dev Initializes the domain separator and parameter caches. * * The meaning of `name` and `version` is specified in * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: * * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. * - `version`: the current major version of the signing domain. * * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart * contract upgrade]. */ constructor(string memory name, string memory version) { bytes32 hashedName = keccak256(bytes(name)); bytes32 hashedVersion = keccak256(bytes(version)); bytes32 typeHash = keccak256( "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)" ); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; _CACHED_CHAIN_ID = block.chainid; _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion); _CACHED_THIS = address(this); _TYPE_HASH = typeHash; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) { return _CACHED_DOMAIN_SEPARATOR; } else { return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION); } } function _buildDomainSeparator( bytes32 typeHash, bytes32 nameHash, bytes32 versionHash ) private view returns (bytes32) { return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this))); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeCast.sol) pragma solidity ^0.8.0; /** * @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow * checks. * * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can * easily result in undesired exploitation or bugs, since developers usually * assume that overflows raise errors. `SafeCast` restores this intuition by * reverting the transaction when such 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. * * Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing * all math on `uint256` and `int256` and then downcasting. */ library SafeCast { /** * @dev Returns the downcasted uint224 from uint256, reverting on * overflow (when the input is greater than largest uint224). * * Counterpart to Solidity's `uint224` operator. * * Requirements: * * - input must fit into 224 bits */ function toUint224(uint256 value) internal pure returns (uint224) { require(value <= type(uint224).max, "SafeCast: value doesn't fit in 224 bits"); return uint224(value); } /** * @dev Returns the downcasted uint128 from uint256, reverting on * overflow (when the input is greater than largest uint128). * * Counterpart to Solidity's `uint128` operator. * * Requirements: * * - input must fit into 128 bits */ function toUint128(uint256 value) internal pure returns (uint128) { require(value <= type(uint128).max, "SafeCast: value doesn't fit in 128 bits"); return uint128(value); } /** * @dev Returns the downcasted uint96 from uint256, reverting on * overflow (when the input is greater than largest uint96). * * Counterpart to Solidity's `uint96` operator. * * Requirements: * * - input must fit into 96 bits */ function toUint96(uint256 value) internal pure returns (uint96) { require(value <= type(uint96).max, "SafeCast: value doesn't fit in 96 bits"); return uint96(value); } /** * @dev Returns the downcasted uint64 from uint256, reverting on * overflow (when the input is greater than largest uint64). * * Counterpart to Solidity's `uint64` operator. * * Requirements: * * - input must fit into 64 bits */ function toUint64(uint256 value) internal pure returns (uint64) { require(value <= type(uint64).max, "SafeCast: value doesn't fit in 64 bits"); return uint64(value); } /** * @dev Returns the downcasted uint32 from uint256, reverting on * overflow (when the input is greater than largest uint32). * * Counterpart to Solidity's `uint32` operator. * * Requirements: * * - input must fit into 32 bits */ function toUint32(uint256 value) internal pure returns (uint32) { require(value <= type(uint32).max, "SafeCast: value doesn't fit in 32 bits"); return uint32(value); } /** * @dev Returns the downcasted uint16 from uint256, reverting on * overflow (when the input is greater than largest uint16). * * Counterpart to Solidity's `uint16` operator. * * Requirements: * * - input must fit into 16 bits */ function toUint16(uint256 value) internal pure returns (uint16) { require(value <= type(uint16).max, "SafeCast: value doesn't fit in 16 bits"); return uint16(value); } /** * @dev Returns the downcasted uint8 from uint256, reverting on * overflow (when the input is greater than largest uint8). * * Counterpart to Solidity's `uint8` operator. * * Requirements: * * - input must fit into 8 bits. */ function toUint8(uint256 value) internal pure returns (uint8) { require(value <= type(uint8).max, "SafeCast: value doesn't fit in 8 bits"); return uint8(value); } /** * @dev Converts a signed int256 into an unsigned uint256. * * Requirements: * * - input must be greater than or equal to 0. */ function toUint256(int256 value) internal pure returns (uint256) { require(value >= 0, "SafeCast: value must be positive"); return uint256(value); } /** * @dev Returns the downcasted int128 from int256, reverting on * overflow (when the input is less than smallest int128 or * greater than largest int128). * * Counterpart to Solidity's `int128` operator. * * Requirements: * * - input must fit into 128 bits * * _Available since v3.1._ */ function toInt128(int256 value) internal pure returns (int128) { require(value >= type(int128).min && value <= type(int128).max, "SafeCast: value doesn't fit in 128 bits"); return int128(value); } /** * @dev Returns the downcasted int64 from int256, reverting on * overflow (when the input is less than smallest int64 or * greater than largest int64). * * Counterpart to Solidity's `int64` operator. * * Requirements: * * - input must fit into 64 bits * * _Available since v3.1._ */ function toInt64(int256 value) internal pure returns (int64) { require(value >= type(int64).min && value <= type(int64).max, "SafeCast: value doesn't fit in 64 bits"); return int64(value); } /** * @dev Returns the downcasted int32 from int256, reverting on * overflow (when the input is less than smallest int32 or * greater than largest int32). * * Counterpart to Solidity's `int32` operator. * * Requirements: * * - input must fit into 32 bits * * _Available since v3.1._ */ function toInt32(int256 value) internal pure returns (int32) { require(value >= type(int32).min && value <= type(int32).max, "SafeCast: value doesn't fit in 32 bits"); return int32(value); } /** * @dev Returns the downcasted int16 from int256, reverting on * overflow (when the input is less than smallest int16 or * greater than largest int16). * * Counterpart to Solidity's `int16` operator. * * Requirements: * * - input must fit into 16 bits * * _Available since v3.1._ */ function toInt16(int256 value) internal pure returns (int16) { require(value >= type(int16).min && value <= type(int16).max, "SafeCast: value doesn't fit in 16 bits"); return int16(value); } /** * @dev Returns the downcasted int8 from int256, reverting on * overflow (when the input is less than smallest int8 or * greater than largest int8). * * Counterpart to Solidity's `int8` operator. * * Requirements: * * - input must fit into 8 bits. * * _Available since v3.1._ */ function toInt8(int256 value) internal pure returns (int8) { require(value >= type(int8).min && value <= type(int8).max, "SafeCast: value doesn't fit in 8 bits"); return int8(value); } /** * @dev Converts an unsigned uint256 into a signed int256. * * Requirements: * * - input must be less than or equal to maxInt256. */ function toInt256(uint256 value) internal pure returns (int256) { // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive require(value <= uint256(type(int256).max), "SafeCast: value doesn't fit in an int256"); return int256(value); } }
{ "optimizer": { "enabled": true, "runs": 800 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "metadata": { "useLiteralContent": true } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_totalSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","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":"uint256","name":"id","type":"uint256"}],"name":"Snapshot","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"balanceOfAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint32","name":"pos","type":"uint32"}],"name":"checkpoints","outputs":[{"components":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint224","name":"votes","type":"uint224"}],"internalType":"struct ERC20Votes.Checkpoint","name":"","type":"tuple"}],"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":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPastTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPastVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"snapshot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"totalSupplyAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6101806040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610160523480156200003757600080fd5b5060405162002ddf38038062002ddf8339810160408190526200005a91620002e9565b604051806040016040528060068152602001652830bcb1b2b960d11b81525080604051806040016040528060018152602001603160f81b81525083604051806040016040528060068152602001652830bcb1b2b960d11b815250604051806040016040528060038152602001622821a960e91b8152508160039080519060200190620000e892919062000243565b508051620000fe90600490602084019062000243565b505050600081116200012d5760405162461bcd60e51b815260040162000124906200032e565b60405180910390fd5b608052620001446200013e620001b1565b620001b5565b81516020808401919091208251918301919091206101008290526101208190524660c0527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6200019681848462000207565b60a0523060601b60e0526101405250620003a2945050505050565b3390565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600083838346306040516020016200022495949392919062000302565b6040516020818303038152906040528051906020012090509392505050565b828054620002519062000365565b90600052602060002090601f016020900481019282620002755760008555620002c0565b82601f106200029057805160ff1916838001178555620002c0565b82800160010185558215620002c0579182015b82811115620002c0578251825591602001919060010190620002a3565b50620002ce929150620002d2565b5090565b5b80821115620002ce5760008155600101620002d3565b600060208284031215620002fb578081fd5b5051919050565b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b60208082526015908201527f45524332304361707065643a2063617020697320300000000000000000000000604082015260600190565b6002810460018216806200037a57607f821691505b602082108114156200039c57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e05160601c610100516101205161014051610160516129d46200040b6000396000610b4201526000610f8b01526000610fcd01526000610fac01526000610f0e01526000610f3801526000610f62015260006105d601526129d46000f3fe608060405234801561001057600080fd5b506004361061020b5760003560e01c806370a082311161012a578063981b24d0116100bd578063c3cda5201161008c578063dd62ed3e11610071578063dd62ed3e14610435578063f1127ed814610448578063f2fde38b146104685761020b565b8063c3cda5201461040f578063d505accf146104225761020b565b8063981b24d0146103c35780639ab24eb0146103d6578063a457c2d7146103e9578063a9059cbb146103fc5761020b565b80638da5cb5b116100f95780638da5cb5b146103985780638e539e8c146103a057806395d89b41146103b35780639711715a146103bb5761020b565b806370a0823114610357578063715018a61461036a57806379cc6790146103725780637ecebe00146103855761020b565b806339509351116101a25780634ee2cd7e116101715780634ee2cd7e146102f1578063587cde1e146103045780635c19a95c146103245780636fcfff45146103375761020b565b806339509351146102a35780633a46b1a8146102b657806340c10f19146102c957806342966c68146102de5761020b565b8063313ce567116101de578063313ce567146102765780633408e4701461028b578063355274ea146102935780633644e5151461029b5761020b565b806306fdde0314610210578063095ea7b31461022e57806318160ddd1461024e57806323b872dd14610263575b600080fd5b61021861047b565b60405161022591906120d0565b60405180910390f35b61024161023c366004611f15565b61050e565b604051610225919061201a565b61025661052c565b6040516102259190612025565b610241610271366004611e71565b610532565b61027e6105cb565b60405161022591906128f6565b6102566105d0565b6102566105d4565b6102566105f8565b6102416102b1366004611f15565b610607565b6102566102c4366004611f15565b61065b565b6102dc6102d7366004611f15565b6106a5565b005b6102dc6102ec366004611fd3565b6106f2565b6102566102ff366004611f15565b610706565b610317610312366004611e25565b61074f565b6040516102259190612006565b6102dc610332366004611e25565b610770565b61034a610345366004611e25565b610781565b60405161022591906128e5565b610256610365366004611e25565b6107a3565b6102dc6107be565b6102dc610380366004611f15565b610809565b610256610393366004611e25565b61085c565b61031761087d565b6102566103ae366004611fd3565b61088c565b6102186108b8565b6102dc6108c7565b6102566103d1366004611fd3565b61090e565b6102566103e4366004611e25565b61093e565b6102416103f7366004611f15565b6109d3565b61024161040a366004611f15565b610a4c565b6102dc61041d366004611f3e565b610a60565b6102dc610430366004611eac565b610b1e565b610256610443366004611e3f565b610c00565b61045b610456366004611f95565b610c2b565b60405161022591906128b1565b6102dc610476366004611e25565b610cb1565b60606003805461048a90612953565b80601f01602080910402602001604051908101604052809291908181526020018280546104b690612953565b80156105035780601f106104d857610100808354040283529160200191610503565b820191906000526020600020905b8154815290600101906020018083116104e657829003601f168201915b505050505090505b90565b600061052261051b610d1f565b8484610d23565b5060015b92915050565b60025490565b600061053f848484610dd7565b6001600160a01b038416600090815260016020526040812081610560610d1f565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050828110156105ac5760405162461bcd60e51b81526004016105a3906124e0565b60405180910390fd5b6105c0856105b8610d1f565b858403610d23565b506001949350505050565b601290565b4690565b7f000000000000000000000000000000000000000000000000000000000000000090565b6000610602610f01565b905090565b6000610522610614610d1f565b848460016000610622610d1f565b6001600160a01b03908116825260208083019390935260409182016000908120918b16815292529020546106569190612904565b610d23565b600043821061067c5760405162461bcd60e51b81526004016105a3906121d4565b6001600160a01b0383166000908152600c6020526040902061069e9083610ff8565b9392505050565b6106ad610d1f565b6001600160a01b03166106be61087d565b6001600160a01b0316146106e45760405162461bcd60e51b81526004016105a39061259a565b6106ee82826110d1565b5050565b6107036106fd610d1f565b826110db565b50565b6001600160a01b03821660009081526005602052604081208190819061072d9085906110e5565b91509150816107445761073f856107a3565b610746565b805b95945050505050565b6001600160a01b038082166000908152600b6020526040902054165b919050565b61070361077b610d1f565b82611191565b6001600160a01b0381166000908152600c60205260408120546105269061121e565b6001600160a01b031660009081526020819052604090205490565b6107c6610d1f565b6001600160a01b03166107d761087d565b6001600160a01b0316146107fd5760405162461bcd60e51b81526004016105a39061259a565b6108076000611248565b565b600061081783610443610d1f565b9050818110156108395760405162461bcd60e51b81526004016105a39061262c565b61084d83610845610d1f565b848403610d23565b61085783836110db565b505050565b6001600160a01b0381166000908152600a60205260408120610526906112a7565b6009546001600160a01b031690565b60004382106108ad5760405162461bcd60e51b81526004016105a3906121d4565b610526600d83610ff8565b60606004805461048a90612953565b6108cf610d1f565b6001600160a01b03166108e061087d565b6001600160a01b0316146109065760405162461bcd60e51b81526004016105a39061259a565b6107036112ab565b600080600061091e8460066110e5565b91509150816109345761092f61052c565b610936565b805b949350505050565b6001600160a01b0381166000908152600c602052604081205480156109c0576001600160a01b0383166000908152600c6020526040902061098060018361293c565b8154811061099e57634e487b7160e01b600052603260045260246000fd5b60009182526020909120015464010000000090046001600160e01b03166109c3565b60005b6001600160e01b03169392505050565b600080600160006109e2610d1f565b6001600160a01b0390811682526020808301939093526040918201600090812091881681529252902054905082811015610a2e5760405162461bcd60e51b81526004016105a39061281d565b610a42610a39610d1f565b85858403610d23565b5060019392505050565b6000610522610a59610d1f565b8484610dd7565b83421115610a805760405162461bcd60e51b81526004016105a39061220b565b6000610ae2610ada7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf898989604051602001610abf9493929190612062565b604051602081830303815290604052805190602001206112ff565b858585611312565b9050610aed8161133a565b8614610b0b5760405162461bcd60e51b81526004016105a3906122bb565b610b158188611191565b50505050505050565b83421115610b3e5760405162461bcd60e51b81526004016105a390612391565b60007f0000000000000000000000000000000000000000000000000000000000000000888888610b6d8c61133a565b89604051602001610b839695949392919061202e565b6040516020818303038152906040528051906020012090506000610ba6826112ff565b90506000610bb682878787611312565b9050896001600160a01b0316816001600160a01b031614610be95760405162461bcd60e51b81526004016105a3906124a9565b610bf48a8a8a610d23565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610c33611de6565b6001600160a01b0383166000908152600c60205260409020805463ffffffff8416908110610c7157634e487b7160e01b600052603260045260246000fd5b60009182526020918290206040805180820190915291015463ffffffff8116825264010000000090046001600160e01b0316918101919091529392505050565b610cb9610d1f565b6001600160a01b0316610cca61087d565b6001600160a01b031614610cf05760405162461bcd60e51b81526004016105a39061259a565b6001600160a01b038116610d165760405162461bcd60e51b81526004016105a3906122f2565b61070381611248565b3390565b6001600160a01b038316610d495760405162461bcd60e51b81526004016105a3906127a2565b6001600160a01b038216610d6f5760405162461bcd60e51b81526004016105a39061234f565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610dca908590612025565b60405180910390a3505050565b6001600160a01b038316610dfd5760405162461bcd60e51b81526004016105a3906126b1565b6001600160a01b038216610e235760405162461bcd60e51b81526004016105a390612191565b610e2e83838361136c565b6001600160a01b03831660009081526020819052604090205481811015610e675760405162461bcd60e51b81526004016105a3906123c8565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610e9e908490612904565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ee89190612025565b60405180910390a3610efb848484611377565b50505050565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015610f5a57507f000000000000000000000000000000000000000000000000000000000000000046145b15610f8657507f000000000000000000000000000000000000000000000000000000000000000061050b565b610ff17f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000611382565b905061050b565b8154600090815b8181101561106a57600061101382846113bc565b90508486828154811061103657634e487b7160e01b600052603260045260246000fd5b60009182526020909120015463ffffffff16111561105657809250611064565b611061816001612904565b91505b50610fff565b81156110bc578461107c60018461293c565b8154811061109a57634e487b7160e01b600052603260045260246000fd5b60009182526020909120015464010000000090046001600160e01b03166110bf565b60005b6001600160e01b031695945050505050565b6106ee82826113d7565b6106ee8282611426565b600080600084116111085760405162461bcd60e51b81526004016105a3906127e6565b61111061143e565b84111561112f5760405162461bcd60e51b81526004016105a39061215a565b600061113b848661144a565b845490915081141561115457600080925092505061118a565b600184600101828154811061117957634e487b7160e01b600052603260045260246000fd5b906000526020600020015492509250505b9250929050565b600061119c8361074f565b905060006111a9846107a3565b6001600160a01b038581166000818152600b6020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610efb828483611529565b600063ffffffff8211156112445760405162461bcd60e51b81526004016105a390612745565b5090565b600980546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b5490565b60006112b76008611654565b60006112c161143e565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67816040516112f29190612025565b60405180910390a1905090565b600061052661130c610f01565b8361165d565b600080600061132387878787611690565b9150915061133081611770565b5095945050505050565b6001600160a01b0381166000908152600a6020526040812061135b816112a7565b915061136681611654565b50919050565b61085783838361189d565b6108578383836118f5565b6000838383463060405160200161139d959493929190612086565b6040516020818303038152906040528051906020012090509392505050565b60006113cb600284841861291c565b61069e90848416612904565b6113e1828261191b565b6113e961195e565b6001600160e01b03166113fa61052c565b11156114185760405162461bcd60e51b81526004016105a39061253d565b610efb600d61196983611975565b6114308282611b26565b610efb600d611c1783611975565b600061060260086112a7565b815460009061145b57506000610526565b82546000905b808210156114c557600061147583836113bc565b90508486828154811061149857634e487b7160e01b600052603260045260246000fd5b906000526020600020015411156114b1578091506114bf565b6114bc816001612904565b92505b50611461565b600082118015611508575083856114dd60018561293c565b815481106114fb57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154145b156115215761151860018361293c565b92505050610526565b509050610526565b816001600160a01b0316836001600160a01b03161415801561154b5750600081115b15610857576001600160a01b038316156115d0576001600160a01b0383166000908152600c60205260408120819061158690611c1785611975565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72483836040516115c59291906128d7565b60405180910390a250505b6001600160a01b03821615610857576001600160a01b0382166000908152600c6020526040812081906116069061196985611975565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72483836040516116459291906128d7565b60405180910390a25050505050565b80546001019055565b60008282604051602001611672929190611feb565b60405160208183030381529060405280519060200120905092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156116c75750600090506003611767565b8460ff16601b141580156116df57508460ff16601c14155b156116f05750600090506004611767565b60006001878787876040516000815260200160405260405161171594939291906120b2565b6020604051602081039080840390855afa158015611737573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661176057600060019250925050611767565b9150600090505b94509492505050565b600081600481111561179257634e487b7160e01b600052602160045260246000fd5b141561179d57610703565b60018160048111156117bf57634e487b7160e01b600052602160045260246000fd5b14156117dd5760405162461bcd60e51b81526004016105a390612123565b60028160048111156117ff57634e487b7160e01b600052602160045260246000fd5b141561181d5760405162461bcd60e51b81526004016105a390612284565b600381600481111561183f57634e487b7160e01b600052602160045260246000fd5b141561185d5760405162461bcd60e51b81526004016105a390612425565b600481600481111561187f57634e487b7160e01b600052602160045260246000fd5b14156107035760405162461bcd60e51b81526004016105a390612467565b6118a8838383610857565b6001600160a01b0383166118cc576118bf82611c23565b6118c7611c4d565b610857565b6001600160a01b0382166118e3576118bf83611c23565b6118ec83611c23565b61085782611c23565b611900838383610857565b61085761190c8461074f565b6119158461074f565b83611529565b6119236105d4565b8161192c61052c565b6119369190612904565b11156119545760405162461bcd60e51b81526004016105a39061270e565b6106ee8282611c5a565b6001600160e01b0390565b600061069e8284612904565b8254600090819080156119ce578561198e60018361293c565b815481106119ac57634e487b7160e01b600052603260045260246000fd5b60009182526020909120015464010000000090046001600160e01b03166119d1565b60005b6001600160e01b031692506119ea83858763ffffffff16565b9150600081118015611a3657504386611a0460018461293c565b81548110611a2257634e487b7160e01b600052603260045260246000fd5b60009182526020909120015463ffffffff16145b15611aa457611a4482611d22565b86611a5060018461293c565b81548110611a6e57634e487b7160e01b600052603260045260246000fd5b9060005260206000200160000160046101000a8154816001600160e01b0302191690836001600160e01b03160217905550611b1d565b856040518060400160405280611ab94361121e565b63ffffffff168152602001611acd85611d22565b6001600160e01b039081169091528254600181018455600093845260209384902083519101805493909401519091166401000000000263ffffffff91821663ffffffff1990931692909217161790555b50935093915050565b6001600160a01b038216611b4c5760405162461bcd60e51b81526004016105a390612670565b611b588260008361136c565b6001600160a01b03821660009081526020819052604090205481811015611b915760405162461bcd60e51b81526004016105a390612242565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611bc090849061293c565b90915550506040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611c03908690612025565b60405180910390a361085783600084611377565b600061069e828461293c565b6001600160a01b038116600090815260056020526040902061070390611c48836107a3565b611d4b565b6108076006611c4861052c565b6001600160a01b038216611c805760405162461bcd60e51b81526004016105a39061287a565b611c8c6000838361136c565b8060026000828254611c9e9190612904565b90915550506001600160a01b03821660009081526020819052604081208054839290611ccb908490612904565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611d0e908590612025565b60405180910390a36106ee60008383611377565b60006001600160e01b038211156112445760405162461bcd60e51b81526004016105a3906125cf565b6000611d5561143e565b905080611d6184611d95565b1015610857578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b8054600090611da65750600061076b565b81548290611db69060019061293c565b81548110611dd457634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905061076b565b604080518082019091526000808252602082015290565b80356001600160a01b038116811461076b57600080fd5b803560ff8116811461076b57600080fd5b600060208284031215611e36578081fd5b61069e82611dfd565b60008060408385031215611e51578081fd5b611e5a83611dfd565b9150611e6860208401611dfd565b90509250929050565b600080600060608486031215611e85578081fd5b611e8e84611dfd565b9250611e9c60208501611dfd565b9150604084013590509250925092565b600080600080600080600060e0888a031215611ec6578283fd5b611ecf88611dfd565b9650611edd60208901611dfd565b95506040880135945060608801359350611ef960808901611e14565b925060a0880135915060c0880135905092959891949750929550565b60008060408385031215611f27578182fd5b611f3083611dfd565b946020939093013593505050565b60008060008060008060c08789031215611f56578182fd5b611f5f87611dfd565b95506020870135945060408701359350611f7b60608801611e14565b92506080870135915060a087013590509295509295509295565b60008060408385031215611fa7578182fd5b611fb083611dfd565b9150602083013563ffffffff81168114611fc8578182fd5b809150509250929050565b600060208284031215611fe4578081fd5b5035919050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b901515815260200190565b90815260200190565b9586526001600160a01b0394851660208701529290931660408501526060840152608083019190915260a082015260c00190565b9384526001600160a01b039290921660208401526040830152606082015260800190565b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b93845260ff9290921660208401526040830152606082015260800190565b6000602080835283518082850152825b818110156120fc578581018301518582016040015282016120e0565b8181111561210d5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526018908201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604082015260600190565b6020808252601d908201527f4552433230536e617073686f743a206e6f6e6578697374656e74206964000000604082015260600190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252601f908201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e656400604082015260600190565b6020808252601d908201527f4552433230566f7465733a207369676e61747572652065787069726564000000604082015260600190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604082015261636560f01b606082015260800190565b6020808252601f908201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604082015260600190565b60208082526019908201527f4552433230566f7465733a20696e76616c6964206e6f6e636500000000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601d908201527f45524332305065726d69743a206578706972656420646561646c696e65000000604082015260600190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260408201527f616c616e63650000000000000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604082015261756560f01b606082015260800190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604082015261756560f01b606082015260800190565b6020808252601e908201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604082015260600190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160408201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000606082015260800190565b60208082526030908201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60408201527f766572666c6f77696e6720766f74657300000000000000000000000000000000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526027908201527f53616665436173743a2076616c756520646f65736e27742066697420696e203260408201527f3234206269747300000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604082015263616e636560e01b606082015260800190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526019908201527f45524332304361707065643a2063617020657863656564656400000000000000604082015260600190565b60208082526026908201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360408201527f3220626974730000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526016908201527f4552433230536e617073686f743a206964206973203000000000000000000000604082015260600190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760408201527f207a65726f000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b815163ffffffff1681526020918201516001600160e01b03169181019190915260400190565b918252602082015260400190565b63ffffffff91909116815260200190565b60ff91909116815260200190565b6000821982111561291757612917612988565b500190565b60008261293757634e487b7160e01b81526012600452602481fd5b500490565b60008282101561294e5761294e612988565b500390565b60028104600182168061296757607f821691505b6020821081141561136657634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fdfea264697066735822122063a275091de57ee4b4aba4115557d0fbb48f824fe70da115e40928db3e5561a264736f6c634300080000330000000000000000000000000000000000000000026c62ad77dc602dae000000
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000026c62ad77dc602dae000000
-----Decoded View---------------
Arg [0] : _totalSupply (uint256): 750000000000000000000000000
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000026c62ad77dc602dae000000
Deployed ByteCode Sourcemap
485:1319:18:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2141:98:1;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4238:166;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;3229:106::-;;;:::i;:::-;;;;;;;:::i;4871:478::-;;;;;;:::i;:::-;;:::i;3078:91::-;;;:::i;:::-;;;;;;;:::i;912:182:18:-;;;:::i;635:81:4:-;;;:::i;2506:113:8:-;;;:::i;5744:212:1:-;;;;;;:::i;:::-;;:::i;3329:248:6:-;;;;;;:::i;:::-;;:::i;813:93:18:-;;;;;;:::i;:::-;;:::i;:::-;;563:89:3;;;;;;:::i;:::-;;:::i;4983:262:5:-;;;;;;:::i;:::-;;:::i;2748:117:6:-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;5718:103::-;;;;;;:::i;:::-;;:::i;2511:149::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;3393:125:1:-;;;;;;:::i;:::-;;:::i;1668:101:0:-;;;:::i;958:361:3:-;;;;;;:::i;:::-;;:::i;2256:126:8:-;;;;;;:::i;:::-;;:::i;1036:85:0:-;;;:::i;3856:239:6:-;;;;;;:::i;:::-;;:::i;2352:102:1:-;;;:::i;742:65:18:-;;;:::i;5344:230:5:-;;;;;;:::i;:::-;;:::i;2944:192:6:-;;;;;;:::i;:::-;;:::i;6443:405:1:-;;;;;;:::i;:::-;;:::i;3721:172::-;;;;;;:::i;:::-;;:::i;5898:565:6:-;;;;;;:::i;:::-;;:::i;1569:626:8:-;;;;;;:::i;:::-;;:::i;3951:149:1:-;;;;;;:::i;:::-;;:::i;2288:148:6:-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;1918:198:0:-;;;;;;:::i;:::-;;:::i;2141:98:1:-;2195:13;2227:5;2220:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2141:98;;:::o;4238:166::-;4321:4;4337:39;4346:12;:10;:12::i;:::-;4360:7;4369:6;4337:8;:39::i;:::-;-1:-1:-1;4393:4:1;4238:166;;;;;:::o;3229:106::-;3316:12;;3229:106;:::o;4871:478::-;5007:4;5023:36;5033:6;5041:9;5052:6;5023:9;:36::i;:::-;-1:-1:-1;;;;;5097:19:1;;5070:24;5097:19;;;:11;:19;;;;;5070:24;5117:12;:10;:12::i;:::-;-1:-1:-1;;;;;5097:33:1;-1:-1:-1;;;;;5097:33:1;;;;;;;;;;;;;5070:60;;5168:6;5148:16;:26;;5140:79;;;;-1:-1:-1;;;5140:79:1;;;;;;;:::i;:::-;;;;;;;;;5253:57;5262:6;5270:12;:10;:12::i;:::-;5303:6;5284:16;:25;5253:8;:57::i;:::-;-1:-1:-1;5338:4:1;;4871:478;-1:-1:-1;;;;4871:478:1:o;3078:91::-;3160:2;3078:91;:::o;912:182:18:-;1044:9;912:182;:::o;635:81:4:-;705:4;635:81;:::o;2506:113:8:-;2566:7;2592:20;:18;:20::i;:::-;2585:27;;2506:113;:::o;5744:212:1:-;5832:4;5848:80;5857:12;:10;:12::i;:::-;5871:7;5917:10;5880:11;:25;5892:12;:10;:12::i;:::-;-1:-1:-1;;;;;5880:25:1;;;;;;;;;;;;;;;;;-1:-1:-1;5880:25:1;;;:34;;;;;;;;;;:47;;;;:::i;:::-;5848:8;:80::i;3329:248:6:-;3410:7;3451:12;3437:11;:26;3429:70;;;;-1:-1:-1;;;3429:70:6;;;;;;;:::i;:::-;-1:-1:-1;;;;;3535:21:6;;;;;;:12;:21;;;;;3516:54;;3558:11;3516:18;:54::i;:::-;3509:61;3329:248;-1:-1:-1;;;3329:248:6:o;813:93:18:-;1259:12:0;:10;:12::i;:::-;-1:-1:-1;;;;;1248:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1248:23:0;;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;882:17:18::1;888:2;892:6;882:5;:17::i;:::-;813:93:::0;;:::o;563:89:3:-;618:27;624:12;:10;:12::i;:::-;638:6;618:5;:27::i;:::-;563:89;:::o;4983:262:5:-;-1:-1:-1;;;;;5146:33:5;;5070:7;5146:33;;;:24;:33;;;;;5070:7;;;;5125:55;;5134:10;;5125:8;:55::i;:::-;5089:91;;;;5198:11;:40;;5220:18;5230:7;5220:9;:18::i;:::-;5198:40;;;5212:5;5198:40;5191:47;4983:262;-1:-1:-1;;;;;4983:262:5:o;2748:117:6:-;-1:-1:-1;;;;;2839:19:6;;;2813:7;2839:19;;;:10;:19;;;;;;;2748:117;;;;:::o;5718:103::-;5780:34;5790:12;:10;:12::i;:::-;5804:9;5780;:34::i;2511:149::-;-1:-1:-1;;;;;2624:21:6;;2581:6;2624:21;;;:12;:21;;;;;:28;2606:47;;:17;:47::i;3393:125:1:-;-1:-1:-1;;;;;3493:18:1;3467:7;3493:18;;;;;;;;;;;;3393:125::o;1668:101:0:-;1259:12;:10;:12::i;:::-;-1:-1:-1;;;;;1248:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1248:23:0;;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;1732:30:::1;1759:1;1732:18;:30::i;:::-;1668:101::o:0;958:361:3:-;1034:24;1061:32;1071:7;1080:12;:10;:12::i;1061:32::-;1034:59;;1131:6;1111:16;:26;;1103:75;;;;-1:-1:-1;;;1103:75:3;;;;;;;:::i;:::-;1212:58;1221:7;1230:12;:10;:12::i;:::-;1263:6;1244:16;:25;1212:8;:58::i;:::-;1290:22;1296:7;1305:6;1290:5;:22::i;:::-;958:361;;;:::o;2256:126:8:-;-1:-1:-1;;;;;2351:14:8;;2325:7;2351:14;;;:7;:14;;;;;:24;;:22;:24::i;1036:85:0:-;1108:6;;-1:-1:-1;;;;;1108:6:0;1036:85;:::o;3856:239:6:-;3926:7;3967:12;3953:11;:26;3945:70;;;;-1:-1:-1;;;3945:70:6;;;;;;;:::i;:::-;4032:56;4051:23;4076:11;4032:18;:56::i;2352:102:1:-;2408:13;2440:7;2433:14;;;;;:::i;742:65:18:-;1259:12:0;:10;:12::i;:::-;-1:-1:-1;;;;;1248:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1248:23:0;;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;789:11:18::1;:9;:11::i;5344:230:5:-:0;5416:7;5436:16;5454:13;5471:43;5480:10;5492:21;5471:8;:43::i;:::-;5435:79;;;;5532:11;:35;;5554:13;:11;:13::i;:::-;5532:35;;;5546:5;5532:35;5525:42;5344:230;-1:-1:-1;;;;5344:230:5:o;2944:192:6:-;-1:-1:-1;;;;;3033:21:6;;3000:7;3033:21;;;:12;:21;;;;;:28;3078:8;;:51;;-1:-1:-1;;;;;3093:21:6;;;;;;:12;:21;;;;;3115:7;3121:1;3115:3;:7;:::i;:::-;3093:30;;;;;;-1:-1:-1;;;3093:30:6;;;;;;;;;;;;;;;;;;:36;;;;-1:-1:-1;;;;;3093:36:6;3078:51;;;3089:1;3078:51;-1:-1:-1;;;;;3071:58:6;;2944:192;-1:-1:-1;;;2944:192:6:o;6443:405:1:-;6536:4;6552:24;6579:11;:25;6591:12;:10;:12::i;:::-;-1:-1:-1;;;;;6579:25:1;;;;;;;;;;;;;;;;;-1:-1:-1;6579:25:1;;;:34;;;;;;;;;;;-1:-1:-1;6631:35:1;;;;6623:85;;;;-1:-1:-1;;;6623:85:1;;;;;;;:::i;:::-;6742:67;6751:12;:10;:12::i;:::-;6765:7;6793:15;6774:16;:34;6742:8;:67::i;:::-;-1:-1:-1;6837:4:1;;6443:405;-1:-1:-1;;;6443:405:1:o;3721:172::-;3807:4;3823:42;3833:12;:10;:12::i;:::-;3847:9;3858:6;3823:9;:42::i;5898:565:6:-;6108:6;6089:15;:25;;6081:67;;;;-1:-1:-1;;;6081:67:6;;;;;;;:::i;:::-;6158:14;6175:169;6202:87;1558:71;6262:9;6273:5;6280:6;6229:58;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;6219:69;;;;;;6202:16;:87::i;:::-;6303:1;6318;6333;6175:13;:169::i;:::-;6158:186;;6371:17;6381:6;6371:9;:17::i;:::-;6362:5;:26;6354:64;;;;-1:-1:-1;;;6354:64:6;;;;;;;:::i;:::-;6428:28;6438:6;6446:9;6428;:28::i;:::-;5898:565;;;;;;;:::o;1569:626:8:-;1804:8;1785:15;:27;;1777:69;;;;-1:-1:-1;;;1777:69:8;;;;;;;:::i;:::-;1857:18;1899:16;1917:5;1924:7;1933:5;1940:16;1950:5;1940:9;:16::i;:::-;1958:8;1888:79;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;1878:90;;;;;;1857:111;;1979:12;1994:28;2011:10;1994:16;:28::i;:::-;1979:43;;2033:14;2050:28;2064:4;2070:1;2073;2076;2050:13;:28::i;:::-;2033:45;;2106:5;-1:-1:-1;;;;;2096:15:8;:6;-1:-1:-1;;;;;2096:15:8;;2088:58;;;;-1:-1:-1;;;2088:58:8;;;;;;;:::i;:::-;2157:31;2166:5;2173:7;2182:5;2157:8;:31::i;:::-;1569:626;;;;;;;;;;:::o;3951:149:1:-;-1:-1:-1;;;;;4066:18:1;;;4040:7;4066:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3951:149::o;2288:148:6:-;2367:17;;:::i;:::-;-1:-1:-1;;;;;2403:21:6;;;;;;:12;:21;;;;;:26;;;;;;;;;;-1:-1:-1;;;2403:26:6;;;;;;;;;;;;;;;;;;2396:33;;;;;;;;;2403:26;;2396:33;;;;;;;;;-1:-1:-1;;;;;2396:33:6;;;;;;;;;2288:148;-1:-1:-1;;;2288:148:6:o;1918:198:0:-;1259:12;:10;:12::i;:::-;-1:-1:-1;;;;;1248:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1248:23:0;;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2006:22:0;::::1;1998:73;;;;-1:-1:-1::0;;;1998:73:0::1;;;;;;;:::i;:::-;2081:28;2100:8;2081:18;:28::i;640:96:11:-:0;719:10;640:96;:::o;10019:370:1:-;-1:-1:-1;;;;;10150:19:1;;10142:68;;;;-1:-1:-1;;;10142:68:1;;;;;;;:::i;:::-;-1:-1:-1;;;;;10228:21:1;;10220:68;;;;-1:-1:-1;;;10220:68:1;;;;;;;:::i;:::-;-1:-1:-1;;;;;10299:18:1;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;;:36;;;10350:32;;;;;10329:6;;10350:32;:::i;:::-;;;;;;;;10019:370;;;:::o;7322:713::-;-1:-1:-1;;;;;7457:20:1;;7449:70;;;;-1:-1:-1;;;7449:70:1;;;;;;;:::i;:::-;-1:-1:-1;;;;;7537:23:1;;7529:71;;;;-1:-1:-1;;;7529:71:1;;;;;;;:::i;:::-;7611:47;7632:6;7640:9;7651:6;7611:20;:47::i;:::-;-1:-1:-1;;;;;7693:17:1;;7669:21;7693:17;;;;;;;;;;;7728:23;;;;7720:74;;;;-1:-1:-1;;;7720:74:1;;;;;;;:::i;:::-;-1:-1:-1;;;;;7828:17:1;;;:9;:17;;;;;;;;;;;7848:22;;;7828:42;;7890:20;;;;;;;;:30;;7864:6;;7828:9;7890:30;;7864:6;;7890:30;:::i;:::-;;;;;;;;7953:9;-1:-1:-1;;;;;7936:35:1;7945:6;-1:-1:-1;;;;;7936:35:1;;7964:6;7936:35;;;;;;:::i;:::-;;;;;;;;7982:46;8002:6;8010:9;8021:6;7982:19;:46::i;:::-;7322:713;;;;:::o;3143:308:15:-;3196:7;3227:4;-1:-1:-1;;;;;3236:12:15;3219:29;;:66;;;;;3269:16;3252:13;:33;3219:66;3215:230;;;-1:-1:-1;3308:24:15;3301:31;;3215:230;3370:64;3392:10;3404:12;3418:15;3370:21;:64::i;:::-;3363:71;;;;4179:1458:6;5300:12;;4278:7;;;5347:229;5360:4;5354:3;:10;5347:229;;;5380:11;5394:23;5407:3;5412:4;5394:12;:23::i;:::-;5380:37;;5458:11;5435:5;5441:3;5435:10;;;;;;-1:-1:-1;;;5435:10:6;;;;;;;;;;;;;;;;;;:20;;;:34;5431:135;;;5496:3;5489:10;;5431:135;;;5544:7;:3;5550:1;5544:7;:::i;:::-;5538:13;;5431:135;5347:229;;;;5593:9;;:37;;5609:5;5615:8;5622:1;5615:4;:8;:::i;:::-;5609:15;;;;;;-1:-1:-1;;;5609:15:6;;;;;;;;;;;;;;;;;;:21;;;;-1:-1:-1;;;;;5609:21:6;5593:37;;;5605:1;5593:37;-1:-1:-1;;;;;5586:44:6;;4179:1458;-1:-1:-1;;;;;4179:1458:6:o;1493:153:18:-;1616:23;1628:2;1632:6;1616:11;:23::i;1652:150::-;1767:28;1779:7;1788:6;1767:11;:28::i;6395:1594:5:-;6484:4;6490:7;6530:1;6517:10;:14;6509:49;;;;-1:-1:-1;;;6509:49:5;;;;;;;:::i;:::-;6590:23;:21;:23::i;:::-;6576:10;:37;;6568:79;;;;-1:-1:-1;;;6568:79:5;;;;;;;:::i;:::-;7770:13;7786:40;:9;7815:10;7786:28;:40::i;:::-;7850:20;;7770:56;;-1:-1:-1;7841:29:5;;7837:146;;;7894:5;7901:1;7886:17;;;;;;;7837:146;7942:4;7948:9;:16;;7965:5;7948:23;;;;;;-1:-1:-1;;;7948:23:5;;;;;;;;;;;;;;;;;7934:38;;;;;6395:1594;;;;;;:::o;7865:380:6:-;7949:23;7975:20;7985:9;7975;:20::i;:::-;7949:46;;8005:24;8032:20;8042:9;8032;:20::i;:::-;-1:-1:-1;;;;;8062:21:6;;;;;;;:10;:21;;;;;;:33;;-1:-1:-1;;8062:33:6;;;;;;;;;;8111:54;;8005:47;;-1:-1:-1;8062:33:6;8111:54;;;;;;8062:21;8111:54;8176:62;8193:15;8210:9;8221:16;8176;:62::i;3045:187:17:-;3101:6;3136:16;3127:25;;;3119:76;;;;-1:-1:-1;;;3119:76:17;;;;;;;:::i;:::-;-1:-1:-1;3219:5:17;3045:187::o;2270::0:-;2362:6;;;-1:-1:-1;;;;;2378:17:0;;;-1:-1:-1;;2378:17:0;;;;;;;2410:40;;2362:6;;;2378:17;2362:6;;2410:40;;2343:16;;2410:40;2270:187;;:::o;827:112:12:-;918:14;;827:112::o;4473:217:5:-;4520:7;4539:30;:18;:28;:30::i;:::-;4580:17;4600:23;:21;:23::i;:::-;4580:43;;4638:19;4647:9;4638:19;;;;;;:::i;:::-;;;;;;;;4674:9;-1:-1:-1;4473:217:5;:::o;4339:165:15:-;4416:7;4442:55;4464:20;:18;:20::i;:::-;4486:10;4442:21;:55::i;7480:270:14:-;7603:7;7623:17;7642:18;7664:25;7675:4;7681:1;7684;7687;7664:10;:25::i;:::-;7622:67;;;;7699:18;7711:5;7699:11;:18::i;:::-;-1:-1:-1;7734:9:14;7480:270;-1:-1:-1;;;;;7480:270:14:o;2750:203:8:-;-1:-1:-1;;;;;2870:14:8;;2810:15;2870:14;;;:7;:14;;;;;2904:15;2870:14;2904:13;:15::i;:::-;2894:25;;2929:17;:5;:15;:17::i;:::-;2750:203;;;;:::o;1100:193:18:-;1242:44;1269:4;1275:2;1279:6;1242:26;:44::i;1299:188::-;1437:43;1463:4;1469:2;1473:6;1437:25;:43::i;3457:257:15:-;3597:7;3644:8;3654;3664:11;3677:13;3700:4;3633:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;3623:84;;;;;;3616:91;;3457:257;;;;;:::o;663:153:16:-;725:7;798:11;808:1;799:5;;;798:11;:::i;:::-;788:21;;789:5;;;788:21;:::i;6757:285:6:-;6841:28;6853:7;6862:6;6841:11;:28::i;:::-;6904:12;:10;:12::i;:::-;-1:-1:-1;;;;;6887:29:6;:13;:11;:13::i;:::-;:29;;6879:90;;;;-1:-1:-1;;;6879:90:6;;;;;;;:::i;:::-;6980:55;6997:23;7022:4;7028:6;6980:16;:55::i;7131:190::-;7215:28;7227:7;7236:6;7215:11;:28::i;:::-;7254:60;7271:23;7296:9;7307:6;7254:16;:60::i;4751:125:5:-;4815:7;4841:28;:18;:26;:28::i;634:892:10:-;746:12;;723:7;;742:56;;-1:-1:-1;786:1:10;779:8;;742:56;848:12;;808:11;;871:414;884:4;878:3;:10;871:414;;;904:11;918:23;931:3;936:4;918:12;:23::i;:::-;904:37;;1171:7;1158:5;1164:3;1158:10;;;;;;-1:-1:-1;;;1158:10:10;;;;;;;;;;;;;;;;;:20;1154:121;;;1205:3;1198:10;;1154:121;;;1253:7;:3;1259:1;1253:7;:::i;:::-;1247:13;;1154:121;871:414;;;;1408:1;1402:3;:7;:36;;;;-1:-1:-1;1431:7:10;1413:5;1419:7;1425:1;1419:3;:7;:::i;:::-;1413:14;;;;;;-1:-1:-1;;;1413:14:10;;;;;;;;;;;;;;;;;:25;1402:36;1398:122;;;1461:7;1467:1;1461:3;:7;:::i;:::-;1454:14;;;;;;1398:122;-1:-1:-1;1506:3:10;-1:-1:-1;1499:10:10;;8251:627:6;8378:3;-1:-1:-1;;;;;8371:10:6;:3;-1:-1:-1;;;;;8371:10:6;;;:24;;;;;8394:1;8385:6;:10;8371:24;8367:505;;;-1:-1:-1;;;;;8415:17:6;;;8411:221;;-1:-1:-1;;;;;8510:17:6;;8453;8510;;;:12;:17;;;;;8453;;8493:54;;8529:9;8540:6;8493:16;:54::i;:::-;8452:95;;;;8591:3;-1:-1:-1;;;;;8570:47:6;;8596:9;8607;8570:47;;;;;;;:::i;:::-;;;;;;;;8411:221;;;-1:-1:-1;;;;;8650:17:6;;;8646:216;;-1:-1:-1;;;;;8745:17:6;;8688;8745;;;:12;:17;;;;;8688;;8728:49;;8764:4;8770:6;8728:16;:49::i;:::-;8687:90;;;;8821:3;-1:-1:-1;;;;;8800:47:6;;8826:9;8837;8800:47;;;;;;;:::i;:::-;;;;;;;;8646:216;;8251:627;;;:::o;945:123:12:-;1032:19;;1050:1;1032:19;;;945:123::o;9125:194:14:-;9218:7;9283:15;9300:10;9254:57;;;;;;;;;:::i;:::-;;;;;;;;;;;;;9244:68;;;;;;9237:75;;9125:194;;;;:::o;5744:1603::-;5870:7;;6794:66;6781:79;;6777:161;;;-1:-1:-1;6892:1:14;;-1:-1:-1;6896:30:14;6876:51;;6777:161;6951:1;:7;;6956:2;6951:7;;:18;;;;;6962:1;:7;;6967:2;6962:7;;6951:18;6947:100;;;-1:-1:-1;7001:1:14;;-1:-1:-1;7005:30:14;6985:51;;6947:100;7141:14;7158:24;7168:4;7174:1;7177;7180;7158:24;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7158:24:14;;-1:-1:-1;;7158:24:14;;;-1:-1:-1;;;;;;;7196:20:14;;7192:101;;7248:1;7252:29;7232:50;;;;;;;7192:101;7311:6;-1:-1:-1;7319:20:14;;-1:-1:-1;5744:1603:14;;;;;;;;:::o;533:631::-;610:20;601:5;:29;;;;;;-1:-1:-1;;;601:29:14;;;;;;;;;;597:561;;;646:7;;597:561;706:29;697:5;:38;;;;;;-1:-1:-1;;;697:38:14;;;;;;;;;;693:465;;;751:34;;-1:-1:-1;;;751:34:14;;;;;;;:::i;693:465::-;815:35;806:5;:44;;;;;;-1:-1:-1;;;806:44:14;;;;;;;;;;802:356;;;866:41;;-1:-1:-1;;;866:41:14;;;;;;;:::i;802:356::-;937:30;928:5;:39;;;;;;-1:-1:-1;;;928:39:14;;;;;;;;;;924:234;;;983:44;;-1:-1:-1;;;983:44:14;;;;;;;:::i;924:234::-;1057:30;1048:5;:39;;;;;;-1:-1:-1;;;1048:39:14;;;;;;;;;;1044:114;;;1103:44;;-1:-1:-1;;;1103:44:14;;;;;;;:::i;5787:602:5:-;5925:44;5952:4;5958:2;5962:6;5925:26;:44::i;:::-;-1:-1:-1;;;;;5984:18:5;;5980:403;;6038:26;6061:2;6038:22;:26::i;:::-;6078:28;:26;:28::i;:::-;5980:403;;;-1:-1:-1;;;;;6127:16:5;;6123:260;;6179:28;6202:4;6179:22;:28::i;6123:260::-;6304:28;6327:4;6304:22;:28::i;:::-;6346:26;6369:2;6346:22;:26::i;7454:254:6:-;7591:43;7617:4;7623:2;7627:6;7591:25;:43::i;:::-;7645:56;7662:15;7672:4;7662:9;:15::i;:::-;7679:13;7689:2;7679:9;:13::i;:::-;7694:6;7645:16;:56::i;769:204:4:-;893:5;:3;:5::i;:::-;883:6;861:19;:17;:19::i;:::-;:28;;;;:::i;:::-;:37;;853:75;;;;-1:-1:-1;;;853:75:4;;;;;;;:::i;:::-;938:28;950:7;959:6;938:11;:28::i;6565:103:6:-;-1:-1:-1;;;;;6565:103:6;:::o;9521:96::-;9579:7;9605:5;9609:1;9605;:5;:::i;8884:631::-;9116:12;;9054:17;;;;9150:8;;:35;;9165:5;9171:7;9177:1;9171:3;:7;:::i;:::-;9165:14;;;;;;-1:-1:-1;;;9165:14:6;;;;;;;;;;;;;;;;;;:20;;;;-1:-1:-1;;;;;9165:20:6;9150:35;;;9161:1;9150:35;-1:-1:-1;;;;;9138:47:6;;;9207:20;9210:9;9221:5;9207:2;:20;;:::i;:::-;9195:32;;9248:1;9242:3;:7;:51;;;;-1:-1:-1;9281:12:6;9253:5;9259:7;9265:1;9259:3;:7;:::i;:::-;9253:14;;;;;;-1:-1:-1;;;9253:14:6;;;;;;;;;;;;;;;;;;:24;;;:40;9242:51;9238:271;;;9332:29;9351:9;9332:18;:29::i;:::-;9309:5;9315:7;9321:1;9315:3;:7;:::i;:::-;9309:14;;;;;;-1:-1:-1;;;9309:14:6;;;;;;;;;;;;;;;;:20;;;:52;;;;;-1:-1:-1;;;;;9309:52:6;;;;;-1:-1:-1;;;;;9309:52:6;;;;;;9238:271;;;9392:5;9403:94;;;;;;;;9426:31;9444:12;9426:17;:31::i;:::-;9403:94;;;;;;9466:29;9485:9;9466:18;:29::i;:::-;-1:-1:-1;;;;;9403:94:6;;;;;;9392:106;;;;;;;-1:-1:-1;9392:106:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;9392:106:6;;;;;;;;;;;9238:271;8884:631;;;;;;;:::o;9020:576:1:-;-1:-1:-1;;;;;9103:21:1;;9095:67;;;;-1:-1:-1;;;9095:67:1;;;;;;;:::i;:::-;9173:49;9194:7;9211:1;9215:6;9173:20;:49::i;:::-;-1:-1:-1;;;;;9258:18:1;;9233:22;9258:18;;;;;;;;;;;9294:24;;;;9286:71;;;;-1:-1:-1;;;9286:71:1;;;;;;;:::i;:::-;-1:-1:-1;;;;;9391:18:1;;:9;:18;;;;;;;;;;9412:23;;;9391:44;;9455:12;:22;;9429:6;;9391:9;9455:22;;9429:6;;9455:22;:::i;:::-;;;;-1:-1:-1;;9493:37:1;;9519:1;;-1:-1:-1;;;;;9493:37:1;;;;;;;9523:6;;9493:37;:::i;:::-;;;;;;;;9541:48;9561:7;9578:1;9582:6;9541:19;:48::i;9623:101:6:-;9686:7;9712:5;9716:1;9712;:5;:::i;7995:144:5:-;-1:-1:-1;;;;;8078:33:5;;;;;;:24;:33;;;;;8062:70;;8113:18;8103:7;8113:9;:18::i;:::-;8062:15;:70::i;8145:116::-;8201:53;8217:21;8240:13;:11;:13::i;8311:389:1:-;-1:-1:-1;;;;;8394:21:1;;8386:65;;;;-1:-1:-1;;;8386:65:1;;;;;;;:::i;:::-;8462:49;8491:1;8495:7;8504:6;8462:20;:49::i;:::-;8538:6;8522:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;8554:18:1;;:9;:18;;;;;;;;;;:28;;8576:6;;8554:9;:28;;8576:6;;8554:28;:::i;:::-;;;;-1:-1:-1;;8597:37:1;;-1:-1:-1;;;;;8597:37:1;;;8614:1;;8597:37;;;;8627:6;;8597:37;:::i;:::-;;;;;;;;8645:48;8673:1;8677:7;8686:6;8645:19;:48::i;1135:192:17:-;1192:7;-1:-1:-1;;;;;1219:26:17;;;1211:78;;;;-1:-1:-1;;;1211:78:17;;;;;;;:::i;8267:304:5:-;8361:17;8381:23;:21;:23::i;:::-;8361:43;-1:-1:-1;8361:43:5;8418:30;8434:9;8418:15;:30::i;:::-;:42;8414:151;;;8476:29;;;;;;;;-1:-1:-1;8476:29:5;;;;;;;;;;;;;;8519:16;;;:35;;;;;;;;;;;;;;;8267:304::o;8577:206::-;8670:10;;8647:7;;8666:111;;-1:-1:-1;8708:1:5;8701:8;;8666:111;8751:10;;8747:3;;8751:14;;8764:1;;8751:14;:::i;:::-;8747:19;;;;;;-1:-1:-1;;;8747:19:5;;;;;;;;;;;;;;;;;8740:26;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;:::o;14:198:19:-;84:20;;-1:-1:-1;;;;;133:54:19;;123:65;;113:2;;202:1;199;192:12;217:158;285:20;;345:4;334:16;;324:27;;314:2;;365:1;362;355:12;380:198;;492:2;480:9;471:7;467:23;463:32;460:2;;;513:6;505;498:22;460:2;541:31;562:9;541:31;:::i;583:274::-;;;712:2;700:9;691:7;687:23;683:32;680:2;;;733:6;725;718:22;680:2;761:31;782:9;761:31;:::i;:::-;751:41;;811:40;847:2;836:9;832:18;811:40;:::i;:::-;801:50;;670:187;;;;;:::o;862:342::-;;;;1008:2;996:9;987:7;983:23;979:32;976:2;;;1029:6;1021;1014:22;976:2;1057:31;1078:9;1057:31;:::i;:::-;1047:41;;1107:40;1143:2;1132:9;1128:18;1107:40;:::i;:::-;1097:50;;1194:2;1183:9;1179:18;1166:32;1156:42;;966:238;;;;;:::o;1209:622::-;;;;;;;;1421:3;1409:9;1400:7;1396:23;1392:33;1389:2;;;1443:6;1435;1428:22;1389:2;1471:31;1492:9;1471:31;:::i;:::-;1461:41;;1521:40;1557:2;1546:9;1542:18;1521:40;:::i;:::-;1511:50;;1608:2;1597:9;1593:18;1580:32;1570:42;;1659:2;1648:9;1644:18;1631:32;1621:42;;1682:39;1716:3;1705:9;1701:19;1682:39;:::i;:::-;1672:49;;1768:3;1757:9;1753:19;1740:33;1730:43;;1820:3;1809:9;1805:19;1792:33;1782:43;;1379:452;;;;;;;;;;:::o;1836:266::-;;;1965:2;1953:9;1944:7;1940:23;1936:32;1933:2;;;1986:6;1978;1971:22;1933:2;2014:31;2035:9;2014:31;:::i;:::-;2004:41;2092:2;2077:18;;;;2064:32;;-1:-1:-1;;;1923:179:19:o;2107:545::-;;;;;;;2302:3;2290:9;2281:7;2277:23;2273:33;2270:2;;;2324:6;2316;2309:22;2270:2;2352:31;2373:9;2352:31;:::i;:::-;2342:41;;2430:2;2419:9;2415:18;2402:32;2392:42;;2481:2;2470:9;2466:18;2453:32;2443:42;;2504:38;2538:2;2527:9;2523:18;2504:38;:::i;:::-;2494:48;;2589:3;2578:9;2574:19;2561:33;2551:43;;2641:3;2630:9;2626:19;2613:33;2603:43;;2260:392;;;;;;;;:::o;2657:372::-;;;2785:2;2773:9;2764:7;2760:23;2756:32;2753:2;;;2806:6;2798;2791:22;2753:2;2834:31;2855:9;2834:31;:::i;:::-;2824:41;;2915:2;2904:9;2900:18;2887:32;2959:10;2952:5;2948:22;2941:5;2938:33;2928:2;;2990:6;2982;2975:22;2928:2;3018:5;3008:15;;;2743:286;;;;;:::o;3034:190::-;;3146:2;3134:9;3125:7;3121:23;3117:32;3114:2;;;3167:6;3159;3152:22;3114:2;-1:-1:-1;3195:23:19;;3104:120;-1:-1:-1;3104:120:19:o;3229:392::-;-1:-1:-1;;;3487:27:19;;3539:1;3530:11;;3523:27;;;;3575:2;3566:12;;3559:28;3612:2;3603:12;;3477:144::o;3626:226::-;-1:-1:-1;;;;;3790:55:19;;;;3772:74;;3760:2;3745:18;;3727:125::o;3857:187::-;4022:14;;4015:22;3997:41;;3985:2;3970:18;;3952:92::o;4049:177::-;4195:25;;;4183:2;4168:18;;4150:76::o;4231:614::-;4518:25;;;-1:-1:-1;;;;;4640:15:19;;;4635:2;4620:18;;4613:43;4692:15;;;;4687:2;4672:18;;4665:43;4739:2;4724:18;;4717:34;4782:3;4767:19;;4760:35;;;;4826:3;4811:19;;4804:35;4505:3;4490:19;;4472:373::o;4850:440::-;5081:25;;;-1:-1:-1;;;;;5142:55:19;;;;5137:2;5122:18;;5115:83;5229:2;5214:18;;5207:34;5272:2;5257:18;;5250:34;5068:3;5053:19;;5035:255::o;5295:512::-;5554:25;;;5610:2;5595:18;;5588:34;;;;5653:2;5638:18;;5631:34;;;;5696:2;5681:18;;5674:34;-1:-1:-1;;;;;5745:55:19;5739:3;5724:19;;5717:84;5541:3;5526:19;;5508:299::o;5812:398::-;6039:25;;;6112:4;6100:17;;;;6095:2;6080:18;;6073:45;6149:2;6134:18;;6127:34;6192:2;6177:18;;6170:34;6026:3;6011:19;;5993:217::o;6215:603::-;;6356:2;6385;6374:9;6367:21;6417:6;6411:13;6460:6;6455:2;6444:9;6440:18;6433:34;6485:4;6498:140;6512:6;6509:1;6506:13;6498:140;;;6607:14;;;6603:23;;6597:30;6573:17;;;6592:2;6569:26;6562:66;6527:10;;6498:140;;;6656:6;6653:1;6650:13;6647:2;;;6726:4;6721:2;6712:6;6701:9;6697:22;6693:31;6686:45;6647:2;-1:-1:-1;6802:2:19;6781:15;-1:-1:-1;;6777:29:19;6762:45;;;;6809:2;6758:54;;6336:482;-1:-1:-1;;;6336:482:19:o;6823:348::-;7025:2;7007:21;;;7064:2;7044:18;;;7037:30;7103:26;7098:2;7083:18;;7076:54;7162:2;7147:18;;6997:174::o;7176:353::-;7378:2;7360:21;;;7417:2;7397:18;;;7390:30;7456:31;7451:2;7436:18;;7429:59;7520:2;7505:18;;7350:179::o;7534:399::-;7736:2;7718:21;;;7775:2;7755:18;;;7748:30;7814:34;7809:2;7794:18;;7787:62;-1:-1:-1;;;7880:2:19;7865:18;;7858:33;7923:3;7908:19;;7708:225::o;7938:355::-;8140:2;8122:21;;;8179:2;8159:18;;;8152:30;8218:33;8213:2;8198:18;;8191:61;8284:2;8269:18;;8112:181::o;8298:353::-;8500:2;8482:21;;;8539:2;8519:18;;;8512:30;8578:31;8573:2;8558:18;;8551:59;8642:2;8627:18;;8472:179::o;8656:398::-;8858:2;8840:21;;;8897:2;8877:18;;;8870:30;8936:34;8931:2;8916:18;;8909:62;-1:-1:-1;;;9002:2:19;8987:18;;8980:32;9044:3;9029:19;;8830:224::o;9059:355::-;9261:2;9243:21;;;9300:2;9280:18;;;9273:30;9339:33;9334:2;9319:18;;9312:61;9405:2;9390:18;;9233:181::o;9419:349::-;9621:2;9603:21;;;9660:2;9640:18;;;9633:30;9699:27;9694:2;9679:18;;9672:55;9759:2;9744:18;;9593:175::o;9773:402::-;9975:2;9957:21;;;10014:2;9994:18;;;9987:30;10053:34;10048:2;10033:18;;10026:62;10124:8;10119:2;10104:18;;10097:36;10165:3;10150:19;;9947:228::o;10180:398::-;10382:2;10364:21;;;10421:2;10401:18;;;10394:30;10460:34;10455:2;10440:18;;10433:62;-1:-1:-1;;;10526:2:19;10511:18;;10504:32;10568:3;10553:19;;10354:224::o;10583:353::-;10785:2;10767:21;;;10824:2;10804:18;;;10797:30;10863:31;10858:2;10843:18;;10836:59;10927:2;10912:18;;10757:179::o;10941:402::-;11143:2;11125:21;;;11182:2;11162:18;;;11155:30;11221:34;11216:2;11201:18;;11194:62;11292:8;11287:2;11272:18;;11265:36;11333:3;11318:19;;11115:228::o;11348:398::-;11550:2;11532:21;;;11589:2;11569:18;;;11562:30;11628:34;11623:2;11608:18;;11601:62;-1:-1:-1;;;11694:2:19;11679:18;;11672:32;11736:3;11721:19;;11522:224::o;11751:398::-;11953:2;11935:21;;;11992:2;11972:18;;;11965:30;12031:34;12026:2;12011:18;;12004:62;-1:-1:-1;;;12097:2:19;12082:18;;12075:32;12139:3;12124:19;;11925:224::o;12154:354::-;12356:2;12338:21;;;12395:2;12375:18;;;12368:30;12434:32;12429:2;12414:18;;12407:60;12499:2;12484:18;;12328:180::o;12513:404::-;12715:2;12697:21;;;12754:2;12734:18;;;12727:30;12793:34;12788:2;12773:18;;12766:62;12864:10;12859:2;12844:18;;12837:38;12907:3;12892:19;;12687:230::o;12922:412::-;13124:2;13106:21;;;13163:2;13143:18;;;13136:30;13202:34;13197:2;13182:18;;13175:62;13273:18;13268:2;13253:18;;13246:46;13324:3;13309:19;;13096:238::o;13339:356::-;13541:2;13523:21;;;13560:18;;;13553:30;13619:34;13614:2;13599:18;;13592:62;13686:2;13671:18;;13513:182::o;13700:403::-;13902:2;13884:21;;;13941:2;13921:18;;;13914:30;13980:34;13975:2;13960:18;;13953:62;14051:9;14046:2;14031:18;;14024:37;14093:3;14078:19;;13874:229::o;14108:400::-;14310:2;14292:21;;;14349:2;14329:18;;;14322:30;14388:34;14383:2;14368:18;;14361:62;-1:-1:-1;;;14454:2:19;14439:18;;14432:34;14498:3;14483:19;;14282:226::o;14513:397::-;14715:2;14697:21;;;14754:2;14734:18;;;14727:30;14793:34;14788:2;14773:18;;14766:62;-1:-1:-1;;;14859:2:19;14844:18;;14837:31;14900:3;14885:19;;14687:223::o;14915:401::-;15117:2;15099:21;;;15156:2;15136:18;;;15129:30;15195:34;15190:2;15175:18;;15168:62;15266:7;15261:2;15246:18;;15239:35;15306:3;15291:19;;15089:227::o;15321:349::-;15523:2;15505:21;;;15562:2;15542:18;;;15535:30;15601:27;15596:2;15581:18;;15574:55;15661:2;15646:18;;15495:175::o;15675:402::-;15877:2;15859:21;;;15916:2;15896:18;;;15889:30;15955:34;15950:2;15935:18;;15928:62;16026:8;16021:2;16006:18;;15999:36;16067:3;16052:19;;15849:228::o;16082:400::-;16284:2;16266:21;;;16323:2;16303:18;;;16296:30;16362:34;16357:2;16342:18;;16335:62;-1:-1:-1;;;16428:2:19;16413:18;;16406:34;16472:3;16457:19;;16256:226::o;16487:346::-;16689:2;16671:21;;;16728:2;16708:18;;;16701:30;16767:24;16762:2;16747:18;;16740:52;16824:2;16809:18;;16661:172::o;16838:401::-;17040:2;17022:21;;;17079:2;17059:18;;;17052:30;17118:34;17113:2;17098:18;;17091:62;17189:7;17184:2;17169:18;;17162:35;17229:3;17214:19;;17012:227::o;17244:355::-;17446:2;17428:21;;;17485:2;17465:18;;;17458:30;17524:33;17519:2;17504:18;;17497:61;17590:2;17575:18;;17418:181::o;17604:385::-;17828:13;;17843:10;17824:30;17806:49;;17915:4;17903:17;;;17897:24;-1:-1:-1;;;;;17893:89:19;17871:20;;;17864:119;;;;17794:2;17779:18;;17761:228::o;18176:248::-;18350:25;;;18406:2;18391:18;;18384:34;18338:2;18323:18;;18305:119::o;18429:192::-;18603:10;18591:23;;;;18573:42;;18561:2;18546:18;;18528:93::o;18626:184::-;18798:4;18786:17;;;;18768:36;;18756:2;18741:18;;18723:87::o;18815:128::-;;18886:1;18882:6;18879:1;18876:13;18873:2;;;18892:18;;:::i;:::-;-1:-1:-1;18928:9:19;;18863:80::o;18948:217::-;;19014:1;19004:2;;-1:-1:-1;;;19039:31:19;;19093:4;19090:1;19083:15;19121:4;19046:1;19111:15;19004:2;-1:-1:-1;19150:9:19;;18994:171::o;19170:125::-;;19238:1;19235;19232:8;19229:2;;;19243:18;;:::i;:::-;-1:-1:-1;19280:9:19;;19219:76::o;19300:380::-;19385:1;19375:12;;19432:1;19422:12;;;19443:2;;19497:4;19489:6;19485:17;19475:27;;19443:2;19550;19542:6;19539:14;19519:18;19516:38;19513:2;;;19596:10;19591:3;19587:20;19584:1;19577:31;19631:4;19628:1;19621:15;19659:4;19656:1;19649:15;19685:127;19746:10;19741:3;19737:20;19734:1;19727:31;19777:4;19774:1;19767:15;19801:4;19798:1;19791:15
Swarm Source
ipfs://63a275091de57ee4b4aba4115557d0fbb48f824fe70da115e40928db3e5561a2
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.