Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
349,900.478277839206672573 BCRED
Holders
1,462
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.575941089703689923 BCREDValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
BrainCredits
Compiler Version
v0.8.26+commit.8a97fa7a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.26; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; interface ITotalSupplyAdjuster { function increaseTotalSupply() external; function decreaseTotalSupply() external; } contract BrainCredits is ERC20, Ownable, ReentrancyGuard { ERC20Burnable public pepecoin; // Pricing uint256 public basePricePerThousand = 1000 * 1e18; uint256 public priceIncrementPerThousand = 200 * 1e18; uint256 public brainCreditsPerTier = 1000 * 10 ** decimals(); uint256 public SUPPLY = 1024000 * 10 ** decimals(); uint256 public SUPPLY_HARD_CAP = 1024000 * 10 ** decimals(); bool public mintingFrozen = true; address public totalSupplyAdjuster; uint256 constant MAX_ITERATIONS = 100; mapping(address => uint256) public pepecoinBurnedBy; // Kek rank mapping(address => uint256) public addressBurnOrder; // bonus uint256 public totalBurners = 0; event MintingFrozen(); event MintingUnfrozen(); event TotalSupplyAdjusterChanged(address adjuster); event TotalSupplyIncreased(uint256 amount); event TotalSupplyDecreased(uint256 amount); event TokensMinted(address indexed minter, uint256 tokenAmount, uint256 pepecoinsSpent); event PepecoinsBurned(address indexed burner, uint256 amountBurned, uint256 totalBurnedByAddress, uint256 burnOrder); constructor() ERC20("BRAIN CREDITS", "BCRED") Ownable(msg.sender) { pepecoin = ERC20Burnable(0xA9E8aCf069C58aEc8825542845Fd754e41a9489A); } function getCurrentTier() public view returns (uint256) { return totalSupply() / brainCreditsPerTier; } function getTierPricePerThousand(uint256 tier) public view returns (uint256) { return basePricePerThousand + (tier * priceIncrementPerThousand); } function estimateTokenAmount(uint256 pepecoinsToSpend) public view returns (uint256 totalTokensToMint) { require(pepecoinsToSpend > 0, "Must provide Pepecoins to spend"); uint256 remainingPepecoins = pepecoinsToSpend; uint256 currentSupply = totalSupply(); uint256 currentTier = currentSupply / brainCreditsPerTier; uint256 tokensInCurrentTier = brainCreditsPerTier - (currentSupply % brainCreditsPerTier); uint256 iterations = 0; totalTokensToMint = 0; while (remainingPepecoins > 0 && currentSupply < SUPPLY && iterations < MAX_ITERATIONS) { uint256 tierPricePerThousand = getTierPricePerThousand(currentTier); uint256 pricePerBrainCredit = (tierPricePerThousand * 1e18) / brainCreditsPerTier; uint256 costForTokensInCurrentTier = (tokensInCurrentTier * pricePerBrainCredit) / 1e18; uint256 tokensAffordable; if (remainingPepecoins >= costForTokensInCurrentTier) { tokensAffordable = tokensInCurrentTier; remainingPepecoins -= costForTokensInCurrentTier; } else { // Can only afford part of the tokens in current tier tokensAffordable = (remainingPepecoins * 1e18) / pricePerBrainCredit; remainingPepecoins = 0; } totalTokensToMint += tokensAffordable; currentSupply += tokensAffordable; // next tier currentTier += 1; tokensInCurrentTier = brainCreditsPerTier; iterations++; } // Adjust for supply cap if necessary if (currentSupply > SUPPLY) { uint256 excessTokens = currentSupply - SUPPLY; totalTokensToMint -= excessTokens; } return totalTokensToMint; } // Function to estimate the amount of Pepecoins required to mint a given number of tokens function estimatePrice(uint256 tokenAmount) public view returns (uint256 totalPepecoinsRequired) { require(tokenAmount > 0, "Must provide token amount"); uint256 remainingTokens = tokenAmount; uint256 currentSupply = totalSupply(); uint256 currentTier = currentSupply / brainCreditsPerTier; uint256 tokensInCurrentTier = brainCreditsPerTier - (currentSupply % brainCreditsPerTier); uint256 iterations = 0; totalPepecoinsRequired = 0; while (remainingTokens > 0 && currentSupply < SUPPLY && iterations < MAX_ITERATIONS) { uint256 tierPricePerThousand = getTierPricePerThousand(currentTier); // Calculate price per Brain Credit in Pepecoins with 18 decimals uint256 pricePerBrainCredit = (tierPricePerThousand * 1e18) / brainCreditsPerTier; uint256 tokensToBuy = tokensInCurrentTier; if (remainingTokens <= tokensInCurrentTier) { tokensToBuy = remainingTokens; } uint256 costForTokens = (tokensToBuy * pricePerBrainCredit) / 1e18; totalPepecoinsRequired += costForTokens; remainingTokens -= tokensToBuy; currentSupply += tokensToBuy; // Move to next tier currentTier += 1; tokensInCurrentTier = brainCreditsPerTier; iterations++; } // Adjust for supply cap if necessary if (currentSupply > SUPPLY && remainingTokens > 0) { // Can't mint more than the supply cap // Remaining tokens cannot be purchased remainingTokens = 0; } return totalPepecoinsRequired; } function mint(uint256 pepecoinsToSpend, uint256 maxPricePerThousandTokens) public nonReentrant { require(!mintingFrozen, "Minting is frozen"); require(pepecoinsToSpend > 0, "Must specify Pepecoins to spend"); uint256 remainingPepecoins = pepecoinsToSpend; uint256 totalTokensToMint = 0; uint256 currentSupply = totalSupply(); // Fetch the up-to-date total supply uint256 currentTier = currentSupply / brainCreditsPerTier; uint256 tokensInCurrentTier = brainCreditsPerTier - (currentSupply % brainCreditsPerTier); uint256 iterations = 0; while (remainingPepecoins > 0 && currentSupply < SUPPLY && iterations < MAX_ITERATIONS) { uint256 tierPricePerThousand = getTierPricePerThousand(currentTier); require( maxPricePerThousandTokens == 0 || tierPricePerThousand <= maxPricePerThousandTokens, "Price exceeds max price per 1,000 tokens" ); uint256 pricePerBrainCredit = (tierPricePerThousand * 1e18) / brainCreditsPerTier; uint256 costForTokensInCurrentTier = (tokensInCurrentTier * pricePerBrainCredit) / 1e18; uint256 tokensAffordable; if (remainingPepecoins >= costForTokensInCurrentTier) { // Can buy all tokens in tier tokensAffordable = tokensInCurrentTier; remainingPepecoins -= costForTokensInCurrentTier; } else { // Can partial buy tokensAffordable = (remainingPepecoins * 1e18) / pricePerBrainCredit; remainingPepecoins = 0; } totalTokensToMint += tokensAffordable; currentSupply += tokensAffordable; currentTier += 1; tokensInCurrentTier = brainCreditsPerTier; iterations++; } require(totalTokensToMint > 0, "Insufficient Pepecoins to mint any tokens"); // Adjust for supply cap if necessary if (currentSupply > SUPPLY) { uint256 excessTokens = currentSupply - SUPPLY; totalTokensToMint -= excessTokens; currentSupply = SUPPLY; // Refund Pepecoins for excess tokens uint256 tierPricePerThousand = getTierPricePerThousand(currentTier - 1); // Use the last tier uint256 pricePerBrainCredit = (tierPricePerThousand * 1e18) / brainCreditsPerTier; uint256 pepecoinsToRefund = (excessTokens * pricePerBrainCredit) / 1e18; remainingPepecoins += pepecoinsToRefund; } uint256 pepecoinsSpent = pepecoinsToSpend - remainingPepecoins; require(pepecoinsSpent > 0, "No Pepecoins spent"); // Transfer Pepecoins from user require(pepecoin.transferFrom(msg.sender, address(0x000000000000000000000000000000000000dEaD), pepecoinsSpent), "Pepecoin transfer failed"); pepecoinBurnedBy[msg.sender] += pepecoinsSpent; if (addressBurnOrder[msg.sender] == 0) { totalBurners += 1; // Set kek rank addressBurnOrder[msg.sender] = totalBurners; } // Emit event for Pepecoins burned emit PepecoinsBurned(msg.sender, pepecoinsSpent, pepecoinBurnedBy[msg.sender], addressBurnOrder[msg.sender]); // Mint Brain Credits to user _mint(msg.sender, totalTokensToMint); if (remainingPepecoins > 0) { require(pepecoin.transfer(msg.sender, remainingPepecoins), "Refund failed"); } emit TokensMinted(msg.sender, totalTokensToMint, pepecoinsSpent); } function setPepecoinAddress(address _pepecoinAddress) public onlyOwner { pepecoin = ERC20Burnable(_pepecoinAddress); } function checkPepecoinBalanceAndAllowance(address account) public view returns (uint256 balance, uint256 allowance) { balance = pepecoin.balanceOf(account); allowance = pepecoin.allowance(account, address(this)); } function emergencyRefund(address refundAddress) public onlyOwner { require(refundAddress != address(0), "Invalid refund address"); uint256 balance = pepecoin.balanceOf(address(this)); require(balance > 0, "No Pepecoin to refund"); require(pepecoin.transfer(refundAddress, balance), "Emergency refund failed"); } // Functions to adjust total supply function setTotalSupplyAdjuster(address _adjuster) public onlyOwner { totalSupplyAdjuster = _adjuster; emit TotalSupplyAdjusterChanged(_adjuster); } function increaseTotalSupply() external { require(msg.sender == totalSupplyAdjuster, "Unauthorized"); require(SUPPLY + (1000 * 10 ** decimals()) <= SUPPLY_HARD_CAP, "Total supply cannot exceed hard cap."); SUPPLY += (1000 * 10 ** decimals()); emit TotalSupplyIncreased(SUPPLY); } function decreaseTotalSupply() external { require(msg.sender == totalSupplyAdjuster, "Unauthorized"); require(SUPPLY >= (1000 * 10 ** decimals()), "There must be a minimum supply."); SUPPLY -= (1000 * 10 ** decimals()); emit TotalSupplyDecreased(SUPPLY); } // Functions to control minting function freezeMinting() public onlyOwner { mintingFrozen = true; emit MintingFrozen(); } function unfreezeMinting() public onlyOwner { mintingFrozen = false; emit MintingUnfrozen(); } function getBurnStats(address _address) public view returns (uint256 amountBurned, uint256 burnOrder) { amountBurned = pepecoinBurnedBy[_address]; burnOrder = addressBurnOrder[_address]; } // Override totalSupply function to ensure visibility function totalSupply() public view override returns (uint256) { return super.totalSupply(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling 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 { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _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 (last updated v4.9.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.20; import {ERC20} from "../ERC20.sol"; import {Context} from "../../../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 a `value` amount of tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 value) public virtual { _burn(_msgSender(), value); } /** * @dev Destroys a `value` amount of 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 * `value`. */ function burnFrom(address account, uint256 value) public virtual { _spendAllowance(account, _msgSender(), value); _burn(account, value); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "./IERC20.sol"; import {IERC20Metadata} from "./extensions/IERC20Metadata.sol"; import {Context} from "../../utils/Context.sol"; import {IERC20Errors} from "../../interfaces/draft-IERC6093.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}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * 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. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * 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 returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's 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 returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); 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}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` amount of tokens from `from` to `to`. * * 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. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` 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. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * ``` * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. */ 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 (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) 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 a `value` amount of tokens 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 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"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":[],"name":"MintingFrozen","type":"event"},{"anonymous":false,"inputs":[],"name":"MintingUnfrozen","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"burner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountBurned","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalBurnedByAddress","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"burnOrder","type":"uint256"}],"name":"PepecoinsBurned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"pepecoinsSpent","type":"uint256"}],"name":"TokensMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"adjuster","type":"address"}],"name":"TotalSupplyAdjusterChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TotalSupplyDecreased","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TotalSupplyIncreased","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":"SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUPPLY_HARD_CAP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressBurnOrder","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","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":[],"name":"basePricePerThousand","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"brainCreditsPerTier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"checkPepecoinBalanceAndAllowance","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"allowance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decreaseTotalSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"refundAddress","type":"address"}],"name":"emergencyRefund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"estimatePrice","outputs":[{"internalType":"uint256","name":"totalPepecoinsRequired","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"pepecoinsToSpend","type":"uint256"}],"name":"estimateTokenAmount","outputs":[{"internalType":"uint256","name":"totalTokensToMint","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freezeMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getBurnStats","outputs":[{"internalType":"uint256","name":"amountBurned","type":"uint256"},{"internalType":"uint256","name":"burnOrder","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentTier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tier","type":"uint256"}],"name":"getTierPricePerThousand","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"increaseTotalSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"pepecoinsToSpend","type":"uint256"},{"internalType":"uint256","name":"maxPricePerThousandTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintingFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pepecoin","outputs":[{"internalType":"contract ERC20Burnable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"pepecoinBurnedBy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceIncrementPerThousand","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pepecoinAddress","type":"address"}],"name":"setPepecoinAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_adjuster","type":"address"}],"name":"setTotalSupplyAdjuster","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBurners","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupplyAdjuster","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unfreezeMinting","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052683635c9adc5dea00000600855680ad78ebc5ac620000060095561002c61023860201b60201c565b600a6100389190610474565b6103e861004591906104be565b600a5561005661023860201b60201c565b600a6100629190610474565b620fa00061007091906104be565b600b5561008161023860201b60201c565b600a61008d9190610474565b620fa00061009b91906104be565b600c556001600d5f6101000a81548160ff0219169083151502179055505f6010553480156100c7575f80fd5b50336040518060400160405280600d81526020017f425241494e2043524544495453000000000000000000000000000000000000008152506040518060400160405280600581526020017f424352454400000000000000000000000000000000000000000000000000000081525081600390816101449190610730565b5080600490816101549190610730565b5050505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036101c7575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016101be919061083e565b60405180910390fd5b6101d68161024060201b60201c565b50600160068190555073a9e8acf069c58aec8825542845fd754e41a9489a60075f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610857565b5f6012905090565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b60018511156103855780860481111561036157610360610303565b5b60018516156103705780820291505b808102905061037e85610330565b9450610345565b94509492505050565b5f8261039d5760019050610458565b816103aa575f9050610458565b81600181146103c057600281146103ca576103f9565b6001915050610458565b60ff8411156103dc576103db610303565b5b8360020a9150848211156103f3576103f2610303565b5b50610458565b5060208310610133831016604e8410600b841016171561042e5782820a90508381111561042957610428610303565b5b610458565b61043b848484600161033c565b9250905081840481111561045257610451610303565b5b81810290505b9392505050565b5f819050919050565b5f60ff82169050919050565b5f61047e8261045f565b915061048983610468565b92506104b67fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848461038e565b905092915050565b5f6104c88261045f565b91506104d38361045f565b92508282026104e18161045f565b915082820484148315176104f8576104f7610303565b5b5092915050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061057a57607f821691505b60208210810361058d5761058c610536565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026105ef7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826105b4565b6105f986836105b4565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61063461062f61062a8461045f565b610611565b61045f565b9050919050565b5f819050919050565b61064d8361061a565b6106616106598261063b565b8484546105c0565b825550505050565b5f90565b610675610669565b610680818484610644565b505050565b5b818110156106a3576106985f8261066d565b600181019050610686565b5050565b601f8211156106e8576106b981610593565b6106c2846105a5565b810160208510156106d1578190505b6106e56106dd856105a5565b830182610685565b50505b505050565b5f82821c905092915050565b5f6107085f19846008026106ed565b1980831691505092915050565b5f61072083836106f9565b9150826002028217905092915050565b610739826104ff565b67ffffffffffffffff81111561075257610751610509565b5b61075c8254610563565b6107678282856106a7565b5f60209050601f831160018114610798575f8415610786578287015190505b6107908582610715565b8655506107f7565b601f1984166107a686610593565b5f5b828110156107cd578489015182556001820191506020850194506020810190506107a8565b868310156107ea57848901516107e6601f8916826106f9565b8355505b6001600288020188555050505b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610828826107ff565b9050919050565b6108388161081e565b82525050565b5f6020820190506108515f83018461082f565b92915050565b61356c806108645f395ff3fe608060405234801561000f575f80fd5b5060043610610225575f3560e01c806380b818fd1161012e578063b6b3d7e5116100b6578063dd62ed3e1161007a578063dd62ed3e1461065b578063de0f2be11461068b578063e7f061a014610695578063ea7e9cec146106c5578063f2fde38b146106cf57610225565b8063b6b3d7e5146105c6578063bae255b5146105e4578063bf59400514610602578063c013f30f14610633578063c50497ae1461063d57610225565b806390578ae1116100fd57806390578ae11461053257806395d89b411461053c578063a284de021461055a578063a9059cbb14610578578063b2f7d1ce146105a857610225565b806380b818fd146104aa57806380ddcc62146104da57806385b51478146104f85780638da5cb5b1461051457610225565b8063303e688f116101b15780636ebea6a9116101805780636ebea6a9146103f257806370a0823114610422578063715018a614610452578063730f78ee1461045c5780637412c2231461048c57610225565b8063303e688f14610369578063313ce5671461038757806345af1dd3146103a557806367266a8b146103c157610225565b80631b05ab79116101f85780631b05ab79146102b15780631b2ef1ca146102e1578063226064ec146102fd57806323b872dd1461031b57806326fcfced1461034b57610225565b8063045f70191461022957806306fdde0314610245578063095ea7b31461026357806318160ddd14610293575b5f80fd5b610243600480360381019061023e91906125d0565b6106eb565b005b61024d61091e565b60405161025a919061266b565b60405180910390f35b61027d600480360381019061027891906126be565b6109ae565b60405161028a9190612716565b60405180910390f35b61029b6109d0565b6040516102a8919061273e565b60405180910390f35b6102cb60048036038101906102c69190612757565b6109de565b6040516102d8919061273e565b60405180910390f35b6102fb60048036038101906102f69190612782565b610b96565b005b6103056112dd565b604051610312919061273e565b60405180910390f35b610335600480360381019061033091906127c0565b6112e3565b6040516103429190612716565b60405180910390f35b610353611311565b604051610360919061281f565b60405180910390f35b610371611337565b60405161037e919061273e565b60405180910390f35b61038f61133d565b60405161039c9190612853565b60405180910390f35b6103bf60048036038101906103ba91906125d0565b611345565b005b6103db60048036038101906103d691906125d0565b6113c8565b6040516103e992919061286c565b60405180910390f35b61040c600480360381019061040791906125d0565b61144f565b604051610419919061273e565b60405180910390f35b61043c600480360381019061043791906125d0565b611464565b604051610449919061273e565b60405180910390f35b61045a6114a9565b005b61047660048036038101906104719190612757565b6114bc565b604051610483919061273e565b60405180910390f35b6104946114df565b6040516104a1919061273e565b60405180910390f35b6104c460048036038101906104bf91906125d0565b6114fa565b6040516104d1919061273e565b60405180910390f35b6104e261150f565b6040516104ef919061273e565b60405180910390f35b610512600480360381019061050d91906125d0565b611515565b005b61051c611560565b604051610529919061281f565b60405180910390f35b61053a611588565b005b6105446116f0565b604051610551919061266b565b60405180910390f35b610562611780565b60405161056f9190612716565b60405180910390f35b610592600480360381019061058d91906126be565b611792565b60405161059f9190612716565b60405180910390f35b6105b06117b4565b6040516105bd91906128ee565b60405180910390f35b6105ce6117d9565b6040516105db919061273e565b60405180910390f35b6105ec6117df565b6040516105f9919061273e565b60405180910390f35b61061c600480360381019061061791906125d0565b6117e5565b60405161062a92919061286c565b60405180910390f35b61063b611924565b005b610645611974565b604051610652919061273e565b60405180910390f35b61067560048036038101906106709190612907565b61197a565b604051610682919061273e565b60405180910390f35b6106936119fc565b005b6106af60048036038101906106aa9190612757565b611b71565b6040516106bc919061273e565b60405180910390f35b6106cd611cf1565b005b6106e960048036038101906106e491906125d0565b611d40565b005b6106f3611dc4565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610761576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107589061298f565b60405180910390fd5b5f60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016107bc919061281f565b602060405180830381865afa1580156107d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107fb91906129c1565b90505f811161083f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083690612a36565b60405180910390fd5b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b815260040161089b929190612a54565b6020604051808303815f875af11580156108b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108db9190612aa5565b61091a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091190612b1a565b60405180910390fd5b5050565b60606003805461092d90612b65565b80601f016020809104026020016040519081016040528092919081815260200182805461095990612b65565b80156109a45780601f1061097b576101008083540402835291602001916109a4565b820191905f5260205f20905b81548152906001019060200180831161098757829003601f168201915b5050505050905090565b5f806109b8611e4b565b90506109c5818585611e52565b600191505092915050565b5f6109d9611e64565b905090565b5f808211610a21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1890612bdf565b60405180910390fd5b5f8290505f610a2e6109d0565b90505f600a5482610a3f9190612c57565b90505f600a5483610a509190612c87565b600a54610a5d9190612cb7565b90505f8095505b5f85118015610a745750600b5484105b8015610a805750606481105b15610b61575f610a8f846114bc565b90505f600a54670de0b6b3a764000083610aa99190612cea565b610ab39190612c57565b90505f670de0b6b3a76400008286610acb9190612cea565b610ad59190612c57565b90505f818910610af5578590508189610aee9190612cb7565b9850610b1a565b82670de0b6b3a76400008a610b0a9190612cea565b610b149190612c57565b90505f98505b808a610b269190612d2b565b99508088610b349190612d2b565b9750600187610b439190612d2b565b9650600a5495508480610b5590612d5e565b95505050505050610a64565b600b54841115610b8c575f600b5485610b7a9190612cb7565b90508087610b889190612cb7565b9650505b5050505050919050565b610b9e611e6d565b600d5f9054906101000a900460ff1615610bed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be490612def565b60405180910390fd5b5f8211610c2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2690612e57565b60405180910390fd5b5f8290505f80610c3d6109d0565b90505f600a5482610c4e9190612c57565b90505f600a5483610c5f9190612c87565b600a54610c6c9190612cb7565b90505f5b5f86118015610c805750600b5484105b8015610c8c5750606481105b15610dba575f610c9b846114bc565b90505f881480610cab5750878111155b610cea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce190612ee5565b60405180910390fd5b5f600a54670de0b6b3a764000083610d029190612cea565b610d0c9190612c57565b90505f670de0b6b3a76400008286610d249190612cea565b610d2e9190612c57565b90505f818a10610d4e57859050818a610d479190612cb7565b9950610d73565b82670de0b6b3a76400008b610d639190612cea565b610d6d9190612c57565b90505f99505b8089610d7f9190612d2b565b98508088610d8d9190612d2b565b9750600187610d9c9190612d2b565b9650600a5495508480610dae90612d5e565b95505050505050610c70565b5f8511610dfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df390612f73565b60405180910390fd5b600b54841115610e9b575f600b5485610e159190612cb7565b90508086610e239190612cb7565b9550600b5494505f610e40600186610e3b9190612cb7565b6114bc565b90505f600a54670de0b6b3a764000083610e5a9190612cea565b610e649190612c57565b90505f670de0b6b3a76400008285610e7c9190612cea565b610e869190612c57565b9050808a610e949190612d2b565b9950505050505b5f8689610ea89190612cb7565b90505f8111610eec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee390612fdb565b60405180910390fd5b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3361dead846040518463ffffffff1660e01b8152600401610f4c93929190612ff9565b6020604051808303815f875af1158015610f68573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f8c9190612aa5565b610fcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc290613078565b60405180910390fd5b80600e5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546110179190612d2b565b925050819055505f600f5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054036110c057600160105f8282546110749190612d2b565b92505081905550601054600f5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b3373ffffffffffffffffffffffffffffffffffffffff167f2f533a2c4daf58264a739a199def08122e49c5ee446e7de4d2339b18239258e582600e5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054600f5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205460405161118493929190613096565b60405180910390a26111963387611ebc565b5f87111561127a5760075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33896040518363ffffffff1660e01b81526004016111fa929190612a54565b6020604051808303815f875af1158015611216573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061123a9190612aa5565b611279576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127090613115565b60405180910390fd5b5b3373ffffffffffffffffffffffffffffffffffffffff167f2e8ac5177a616f2aec08c3048f5021e4e9743ece034e8d83ba5caf76688bb47587836040516112c292919061286c565b60405180910390a2505050505050506112d9611f3b565b5050565b60095481565b5f806112ed611e4b565b90506112fa858285611f45565b611305858585611fd7565b60019150509392505050565b600d60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60085481565b5f6012905090565b61134d611dc4565b80600d60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f4bf95ba2c31dde5c0ae66780389b91c59fe5e64a74593aea7691c81d63e1b361816040516113bd919061281f565b60405180910390a150565b5f80600e5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549150600f5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050915091565b600f602052805f5260405f205f915090505481565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6114b1611dc4565b6114ba5f6120c7565b565b5f600954826114cb9190612cea565b6008546114d89190612d2b565b9050919050565b5f600a546114eb6109d0565b6114f59190612c57565b905090565b600e602052805f5260405f205f915090505481565b600c5481565b61151d611dc4565b8060075f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600d60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611618576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160f9061317d565b60405180910390fd5b61162061133d565b600a61162c91906132ca565b6103e86116399190612cea565b600b54101561167d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116749061335e565b60405180910390fd5b61168561133d565b600a61169191906132ca565b6103e861169e9190612cea565b600b5f8282546116ae9190612cb7565b925050819055507f7cecaeb2d7d2005c8b5d3f72dc76c9434d9313d1f01bf63e3cf95f6f61fd9742600b546040516116e6919061273e565b60405180910390a1565b6060600480546116ff90612b65565b80601f016020809104026020016040519081016040528092919081815260200182805461172b90612b65565b80156117765780601f1061174d57610100808354040283529160200191611776565b820191905f5260205f20905b81548152906001019060200180831161175957829003601f168201915b5050505050905090565b600d5f9054906101000a900460ff1681565b5f8061179c611e4b565b90506117a9818585611fd7565b600191505092915050565b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60105481565b600a5481565b5f8060075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401611841919061281f565b602060405180830381865afa15801561185c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061188091906129c1565b915060075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e84306040518363ffffffff1660e01b81526004016118de92919061337c565b602060405180830381865afa1580156118f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061191d91906129c1565b9050915091565b61192c611dc4565b6001600d5f6101000a81548160ff0219169083151502179055507f3dc34c8d54038db7df8b5f173f23163503c50d053521beb84d9f2597a98a70d860405160405180910390a1565b600b5481565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b600d60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611a8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a839061317d565b60405180910390fd5b600c54611a9761133d565b600a611aa391906132ca565b6103e8611ab09190612cea565b600b54611abd9190612d2b565b1115611afe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af590613413565b60405180910390fd5b611b0661133d565b600a611b1291906132ca565b6103e8611b1f9190612cea565b600b5f828254611b2f9190612d2b565b925050819055507f3ed9f2ae524f56b7b1960ca403bfc34fc142aac14d5f298a2267871212ed0096600b54604051611b67919061273e565b60405180910390a1565b5f808211611bb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bab9061347b565b60405180910390fd5b5f8290505f611bc16109d0565b90505f600a5482611bd29190612c57565b90505f600a5483611be39190612c87565b600a54611bf09190612cb7565b90505f8095505b5f85118015611c075750600b5484105b8015611c135750606481105b15611cce575f611c22846114bc565b90505f600a54670de0b6b3a764000083611c3c9190612cea565b611c469190612c57565b90505f849050848811611c57578790505b5f670de0b6b3a76400008383611c6d9190612cea565b611c779190612c57565b9050808a611c859190612d2b565b99508189611c939190612cb7565b98508188611ca19190612d2b565b9750600187611cb09190612d2b565b9650600a5495508480611cc290612d5e565b95505050505050611bf7565b600b5484118015611cde57505f85115b15611ce7575f94505b5050505050919050565b611cf9611dc4565b5f600d5f6101000a81548160ff0219169083151502179055507fdcf81b1e28d58e650853b1f9d6f868c8101f1f9eb3382b458ef1adc2805b23fc60405160405180910390a1565b611d48611dc4565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611db8575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401611daf919061281f565b60405180910390fd5b611dc1816120c7565b50565b611dcc611e4b565b73ffffffffffffffffffffffffffffffffffffffff16611dea611560565b73ffffffffffffffffffffffffffffffffffffffff1614611e4957611e0d611e4b565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401611e40919061281f565b60405180910390fd5b565b5f33905090565b611e5f838383600161218a565b505050565b5f600254905090565b600260065403611eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea9906134e3565b60405180910390fd5b6002600681905550565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f2c575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401611f23919061281f565b60405180910390fd5b611f375f8383612359565b5050565b6001600681905550565b5f611f50848461197a565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611fd15781811015611fc2578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401611fb993929190613501565b60405180910390fd5b611fd084848484035f61218a565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612047575f6040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260040161203e919061281f565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036120b7575f6040517fec442f050000000000000000000000000000000000000000000000000000000081526004016120ae919061281f565b60405180910390fd5b6120c2838383612359565b505050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036121fa575f6040517fe602df050000000000000000000000000000000000000000000000000000000081526004016121f1919061281f565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361226a575f6040517f94280d62000000000000000000000000000000000000000000000000000000008152600401612261919061281f565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015612353578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161234a919061273e565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036123a9578060025f82825461239d9190612d2b565b92505081905550612477565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015612432578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161242993929190613501565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036124be578060025f8282540392505081905550612508565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612565919061273e565b60405180910390a3505050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61259f82612576565b9050919050565b6125af81612595565b81146125b9575f80fd5b50565b5f813590506125ca816125a6565b92915050565b5f602082840312156125e5576125e4612572565b5b5f6125f2848285016125bc565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f61263d826125fb565b6126478185612605565b9350612657818560208601612615565b61266081612623565b840191505092915050565b5f6020820190508181035f8301526126838184612633565b905092915050565b5f819050919050565b61269d8161268b565b81146126a7575f80fd5b50565b5f813590506126b881612694565b92915050565b5f80604083850312156126d4576126d3612572565b5b5f6126e1858286016125bc565b92505060206126f2858286016126aa565b9150509250929050565b5f8115159050919050565b612710816126fc565b82525050565b5f6020820190506127295f830184612707565b92915050565b6127388161268b565b82525050565b5f6020820190506127515f83018461272f565b92915050565b5f6020828403121561276c5761276b612572565b5b5f612779848285016126aa565b91505092915050565b5f806040838503121561279857612797612572565b5b5f6127a5858286016126aa565b92505060206127b6858286016126aa565b9150509250929050565b5f805f606084860312156127d7576127d6612572565b5b5f6127e4868287016125bc565b93505060206127f5868287016125bc565b9250506040612806868287016126aa565b9150509250925092565b61281981612595565b82525050565b5f6020820190506128325f830184612810565b92915050565b5f60ff82169050919050565b61284d81612838565b82525050565b5f6020820190506128665f830184612844565b92915050565b5f60408201905061287f5f83018561272f565b61288c602083018461272f565b9392505050565b5f819050919050565b5f6128b66128b16128ac84612576565b612893565b612576565b9050919050565b5f6128c78261289c565b9050919050565b5f6128d8826128bd565b9050919050565b6128e8816128ce565b82525050565b5f6020820190506129015f8301846128df565b92915050565b5f806040838503121561291d5761291c612572565b5b5f61292a858286016125bc565b925050602061293b858286016125bc565b9150509250929050565b7f496e76616c696420726566756e642061646472657373000000000000000000005f82015250565b5f612979601683612605565b915061298482612945565b602082019050919050565b5f6020820190508181035f8301526129a68161296d565b9050919050565b5f815190506129bb81612694565b92915050565b5f602082840312156129d6576129d5612572565b5b5f6129e3848285016129ad565b91505092915050565b7f4e6f2050657065636f696e20746f20726566756e6400000000000000000000005f82015250565b5f612a20601583612605565b9150612a2b826129ec565b602082019050919050565b5f6020820190508181035f830152612a4d81612a14565b9050919050565b5f604082019050612a675f830185612810565b612a74602083018461272f565b9392505050565b612a84816126fc565b8114612a8e575f80fd5b50565b5f81519050612a9f81612a7b565b92915050565b5f60208284031215612aba57612ab9612572565b5b5f612ac784828501612a91565b91505092915050565b7f456d657267656e637920726566756e64206661696c65640000000000000000005f82015250565b5f612b04601783612605565b9150612b0f82612ad0565b602082019050919050565b5f6020820190508181035f830152612b3181612af8565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680612b7c57607f821691505b602082108103612b8f57612b8e612b38565b5b50919050565b7f4d7573742070726f766964652050657065636f696e7320746f207370656e64005f82015250565b5f612bc9601f83612605565b9150612bd482612b95565b602082019050919050565b5f6020820190508181035f830152612bf681612bbd565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f612c618261268b565b9150612c6c8361268b565b925082612c7c57612c7b612bfd565b5b828204905092915050565b5f612c918261268b565b9150612c9c8361268b565b925082612cac57612cab612bfd565b5b828206905092915050565b5f612cc18261268b565b9150612ccc8361268b565b9250828203905081811115612ce457612ce3612c2a565b5b92915050565b5f612cf48261268b565b9150612cff8361268b565b9250828202612d0d8161268b565b91508282048414831517612d2457612d23612c2a565b5b5092915050565b5f612d358261268b565b9150612d408361268b565b9250828201905080821115612d5857612d57612c2a565b5b92915050565b5f612d688261268b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612d9a57612d99612c2a565b5b600182019050919050565b7f4d696e74696e672069732066726f7a656e0000000000000000000000000000005f82015250565b5f612dd9601183612605565b9150612de482612da5565b602082019050919050565b5f6020820190508181035f830152612e0681612dcd565b9050919050565b7f4d75737420737065636966792050657065636f696e7320746f207370656e64005f82015250565b5f612e41601f83612605565b9150612e4c82612e0d565b602082019050919050565b5f6020820190508181035f830152612e6e81612e35565b9050919050565b7f50726963652065786365656473206d61782070726963652070657220312c30305f8201527f3020746f6b656e73000000000000000000000000000000000000000000000000602082015250565b5f612ecf602883612605565b9150612eda82612e75565b604082019050919050565b5f6020820190508181035f830152612efc81612ec3565b9050919050565b7f496e73756666696369656e742050657065636f696e7320746f206d696e7420615f8201527f6e7920746f6b656e730000000000000000000000000000000000000000000000602082015250565b5f612f5d602983612605565b9150612f6882612f03565b604082019050919050565b5f6020820190508181035f830152612f8a81612f51565b9050919050565b7f4e6f2050657065636f696e73207370656e7400000000000000000000000000005f82015250565b5f612fc5601283612605565b9150612fd082612f91565b602082019050919050565b5f6020820190508181035f830152612ff281612fb9565b9050919050565b5f60608201905061300c5f830186612810565b6130196020830185612810565b613026604083018461272f565b949350505050565b7f50657065636f696e207472616e73666572206661696c656400000000000000005f82015250565b5f613062601883612605565b915061306d8261302e565b602082019050919050565b5f6020820190508181035f83015261308f81613056565b9050919050565b5f6060820190506130a95f83018661272f565b6130b6602083018561272f565b6130c3604083018461272f565b949350505050565b7f526566756e64206661696c6564000000000000000000000000000000000000005f82015250565b5f6130ff600d83612605565b915061310a826130cb565b602082019050919050565b5f6020820190508181035f83015261312c816130f3565b9050919050565b7f556e617574686f72697a656400000000000000000000000000000000000000005f82015250565b5f613167600c83612605565b915061317282613133565b602082019050919050565b5f6020820190508181035f8301526131948161315b565b9050919050565b5f8160011c9050919050565b5f808291508390505b60018511156131f0578086048111156131cc576131cb612c2a565b5b60018516156131db5780820291505b80810290506131e98561319b565b94506131b0565b94509492505050565b5f8261320857600190506132c3565b81613215575f90506132c3565b816001811461322b576002811461323557613264565b60019150506132c3565b60ff84111561324757613246612c2a565b5b8360020a91508482111561325e5761325d612c2a565b5b506132c3565b5060208310610133831016604e8410600b84101617156132995782820a90508381111561329457613293612c2a565b5b6132c3565b6132a684848460016131a7565b925090508184048111156132bd576132bc612c2a565b5b81810290505b9392505050565b5f6132d48261268b565b91506132df83612838565b925061330c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846131f9565b905092915050565b7f5468657265206d7573742062652061206d696e696d756d20737570706c792e005f82015250565b5f613348601f83612605565b915061335382613314565b602082019050919050565b5f6020820190508181035f8301526133758161333c565b9050919050565b5f60408201905061338f5f830185612810565b61339c6020830184612810565b9392505050565b7f546f74616c20737570706c792063616e6e6f74206578636565642068617264205f8201527f6361702e00000000000000000000000000000000000000000000000000000000602082015250565b5f6133fd602483612605565b9150613408826133a3565b604082019050919050565b5f6020820190508181035f83015261342a816133f1565b9050919050565b7f4d7573742070726f7669646520746f6b656e20616d6f756e74000000000000005f82015250565b5f613465601983612605565b915061347082613431565b602082019050919050565b5f6020820190508181035f83015261349281613459565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f6134cd601f83612605565b91506134d882613499565b602082019050919050565b5f6020820190508181035f8301526134fa816134c1565b9050919050565b5f6060820190506135145f830186612810565b613521602083018561272f565b61352e604083018461272f565b94935050505056fea2646970667358221220538c0de8767b396a272e15a7974238ac52c88f4532442504446433225d20f1dd64736f6c634300081a0033
Deployed Bytecode
0x608060405234801561000f575f80fd5b5060043610610225575f3560e01c806380b818fd1161012e578063b6b3d7e5116100b6578063dd62ed3e1161007a578063dd62ed3e1461065b578063de0f2be11461068b578063e7f061a014610695578063ea7e9cec146106c5578063f2fde38b146106cf57610225565b8063b6b3d7e5146105c6578063bae255b5146105e4578063bf59400514610602578063c013f30f14610633578063c50497ae1461063d57610225565b806390578ae1116100fd57806390578ae11461053257806395d89b411461053c578063a284de021461055a578063a9059cbb14610578578063b2f7d1ce146105a857610225565b806380b818fd146104aa57806380ddcc62146104da57806385b51478146104f85780638da5cb5b1461051457610225565b8063303e688f116101b15780636ebea6a9116101805780636ebea6a9146103f257806370a0823114610422578063715018a614610452578063730f78ee1461045c5780637412c2231461048c57610225565b8063303e688f14610369578063313ce5671461038757806345af1dd3146103a557806367266a8b146103c157610225565b80631b05ab79116101f85780631b05ab79146102b15780631b2ef1ca146102e1578063226064ec146102fd57806323b872dd1461031b57806326fcfced1461034b57610225565b8063045f70191461022957806306fdde0314610245578063095ea7b31461026357806318160ddd14610293575b5f80fd5b610243600480360381019061023e91906125d0565b6106eb565b005b61024d61091e565b60405161025a919061266b565b60405180910390f35b61027d600480360381019061027891906126be565b6109ae565b60405161028a9190612716565b60405180910390f35b61029b6109d0565b6040516102a8919061273e565b60405180910390f35b6102cb60048036038101906102c69190612757565b6109de565b6040516102d8919061273e565b60405180910390f35b6102fb60048036038101906102f69190612782565b610b96565b005b6103056112dd565b604051610312919061273e565b60405180910390f35b610335600480360381019061033091906127c0565b6112e3565b6040516103429190612716565b60405180910390f35b610353611311565b604051610360919061281f565b60405180910390f35b610371611337565b60405161037e919061273e565b60405180910390f35b61038f61133d565b60405161039c9190612853565b60405180910390f35b6103bf60048036038101906103ba91906125d0565b611345565b005b6103db60048036038101906103d691906125d0565b6113c8565b6040516103e992919061286c565b60405180910390f35b61040c600480360381019061040791906125d0565b61144f565b604051610419919061273e565b60405180910390f35b61043c600480360381019061043791906125d0565b611464565b604051610449919061273e565b60405180910390f35b61045a6114a9565b005b61047660048036038101906104719190612757565b6114bc565b604051610483919061273e565b60405180910390f35b6104946114df565b6040516104a1919061273e565b60405180910390f35b6104c460048036038101906104bf91906125d0565b6114fa565b6040516104d1919061273e565b60405180910390f35b6104e261150f565b6040516104ef919061273e565b60405180910390f35b610512600480360381019061050d91906125d0565b611515565b005b61051c611560565b604051610529919061281f565b60405180910390f35b61053a611588565b005b6105446116f0565b604051610551919061266b565b60405180910390f35b610562611780565b60405161056f9190612716565b60405180910390f35b610592600480360381019061058d91906126be565b611792565b60405161059f9190612716565b60405180910390f35b6105b06117b4565b6040516105bd91906128ee565b60405180910390f35b6105ce6117d9565b6040516105db919061273e565b60405180910390f35b6105ec6117df565b6040516105f9919061273e565b60405180910390f35b61061c600480360381019061061791906125d0565b6117e5565b60405161062a92919061286c565b60405180910390f35b61063b611924565b005b610645611974565b604051610652919061273e565b60405180910390f35b61067560048036038101906106709190612907565b61197a565b604051610682919061273e565b60405180910390f35b6106936119fc565b005b6106af60048036038101906106aa9190612757565b611b71565b6040516106bc919061273e565b60405180910390f35b6106cd611cf1565b005b6106e960048036038101906106e491906125d0565b611d40565b005b6106f3611dc4565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610761576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107589061298f565b60405180910390fd5b5f60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016107bc919061281f565b602060405180830381865afa1580156107d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107fb91906129c1565b90505f811161083f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083690612a36565b60405180910390fd5b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b815260040161089b929190612a54565b6020604051808303815f875af11580156108b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108db9190612aa5565b61091a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091190612b1a565b60405180910390fd5b5050565b60606003805461092d90612b65565b80601f016020809104026020016040519081016040528092919081815260200182805461095990612b65565b80156109a45780601f1061097b576101008083540402835291602001916109a4565b820191905f5260205f20905b81548152906001019060200180831161098757829003601f168201915b5050505050905090565b5f806109b8611e4b565b90506109c5818585611e52565b600191505092915050565b5f6109d9611e64565b905090565b5f808211610a21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1890612bdf565b60405180910390fd5b5f8290505f610a2e6109d0565b90505f600a5482610a3f9190612c57565b90505f600a5483610a509190612c87565b600a54610a5d9190612cb7565b90505f8095505b5f85118015610a745750600b5484105b8015610a805750606481105b15610b61575f610a8f846114bc565b90505f600a54670de0b6b3a764000083610aa99190612cea565b610ab39190612c57565b90505f670de0b6b3a76400008286610acb9190612cea565b610ad59190612c57565b90505f818910610af5578590508189610aee9190612cb7565b9850610b1a565b82670de0b6b3a76400008a610b0a9190612cea565b610b149190612c57565b90505f98505b808a610b269190612d2b565b99508088610b349190612d2b565b9750600187610b439190612d2b565b9650600a5495508480610b5590612d5e565b95505050505050610a64565b600b54841115610b8c575f600b5485610b7a9190612cb7565b90508087610b889190612cb7565b9650505b5050505050919050565b610b9e611e6d565b600d5f9054906101000a900460ff1615610bed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be490612def565b60405180910390fd5b5f8211610c2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2690612e57565b60405180910390fd5b5f8290505f80610c3d6109d0565b90505f600a5482610c4e9190612c57565b90505f600a5483610c5f9190612c87565b600a54610c6c9190612cb7565b90505f5b5f86118015610c805750600b5484105b8015610c8c5750606481105b15610dba575f610c9b846114bc565b90505f881480610cab5750878111155b610cea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce190612ee5565b60405180910390fd5b5f600a54670de0b6b3a764000083610d029190612cea565b610d0c9190612c57565b90505f670de0b6b3a76400008286610d249190612cea565b610d2e9190612c57565b90505f818a10610d4e57859050818a610d479190612cb7565b9950610d73565b82670de0b6b3a76400008b610d639190612cea565b610d6d9190612c57565b90505f99505b8089610d7f9190612d2b565b98508088610d8d9190612d2b565b9750600187610d9c9190612d2b565b9650600a5495508480610dae90612d5e565b95505050505050610c70565b5f8511610dfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df390612f73565b60405180910390fd5b600b54841115610e9b575f600b5485610e159190612cb7565b90508086610e239190612cb7565b9550600b5494505f610e40600186610e3b9190612cb7565b6114bc565b90505f600a54670de0b6b3a764000083610e5a9190612cea565b610e649190612c57565b90505f670de0b6b3a76400008285610e7c9190612cea565b610e869190612c57565b9050808a610e949190612d2b565b9950505050505b5f8689610ea89190612cb7565b90505f8111610eec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee390612fdb565b60405180910390fd5b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3361dead846040518463ffffffff1660e01b8152600401610f4c93929190612ff9565b6020604051808303815f875af1158015610f68573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f8c9190612aa5565b610fcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc290613078565b60405180910390fd5b80600e5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546110179190612d2b565b925050819055505f600f5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054036110c057600160105f8282546110749190612d2b565b92505081905550601054600f5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b3373ffffffffffffffffffffffffffffffffffffffff167f2f533a2c4daf58264a739a199def08122e49c5ee446e7de4d2339b18239258e582600e5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054600f5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205460405161118493929190613096565b60405180910390a26111963387611ebc565b5f87111561127a5760075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33896040518363ffffffff1660e01b81526004016111fa929190612a54565b6020604051808303815f875af1158015611216573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061123a9190612aa5565b611279576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127090613115565b60405180910390fd5b5b3373ffffffffffffffffffffffffffffffffffffffff167f2e8ac5177a616f2aec08c3048f5021e4e9743ece034e8d83ba5caf76688bb47587836040516112c292919061286c565b60405180910390a2505050505050506112d9611f3b565b5050565b60095481565b5f806112ed611e4b565b90506112fa858285611f45565b611305858585611fd7565b60019150509392505050565b600d60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60085481565b5f6012905090565b61134d611dc4565b80600d60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f4bf95ba2c31dde5c0ae66780389b91c59fe5e64a74593aea7691c81d63e1b361816040516113bd919061281f565b60405180910390a150565b5f80600e5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549150600f5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050915091565b600f602052805f5260405f205f915090505481565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6114b1611dc4565b6114ba5f6120c7565b565b5f600954826114cb9190612cea565b6008546114d89190612d2b565b9050919050565b5f600a546114eb6109d0565b6114f59190612c57565b905090565b600e602052805f5260405f205f915090505481565b600c5481565b61151d611dc4565b8060075f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600d60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611618576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160f9061317d565b60405180910390fd5b61162061133d565b600a61162c91906132ca565b6103e86116399190612cea565b600b54101561167d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116749061335e565b60405180910390fd5b61168561133d565b600a61169191906132ca565b6103e861169e9190612cea565b600b5f8282546116ae9190612cb7565b925050819055507f7cecaeb2d7d2005c8b5d3f72dc76c9434d9313d1f01bf63e3cf95f6f61fd9742600b546040516116e6919061273e565b60405180910390a1565b6060600480546116ff90612b65565b80601f016020809104026020016040519081016040528092919081815260200182805461172b90612b65565b80156117765780601f1061174d57610100808354040283529160200191611776565b820191905f5260205f20905b81548152906001019060200180831161175957829003601f168201915b5050505050905090565b600d5f9054906101000a900460ff1681565b5f8061179c611e4b565b90506117a9818585611fd7565b600191505092915050565b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60105481565b600a5481565b5f8060075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401611841919061281f565b602060405180830381865afa15801561185c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061188091906129c1565b915060075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e84306040518363ffffffff1660e01b81526004016118de92919061337c565b602060405180830381865afa1580156118f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061191d91906129c1565b9050915091565b61192c611dc4565b6001600d5f6101000a81548160ff0219169083151502179055507f3dc34c8d54038db7df8b5f173f23163503c50d053521beb84d9f2597a98a70d860405160405180910390a1565b600b5481565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b600d60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611a8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a839061317d565b60405180910390fd5b600c54611a9761133d565b600a611aa391906132ca565b6103e8611ab09190612cea565b600b54611abd9190612d2b565b1115611afe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af590613413565b60405180910390fd5b611b0661133d565b600a611b1291906132ca565b6103e8611b1f9190612cea565b600b5f828254611b2f9190612d2b565b925050819055507f3ed9f2ae524f56b7b1960ca403bfc34fc142aac14d5f298a2267871212ed0096600b54604051611b67919061273e565b60405180910390a1565b5f808211611bb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bab9061347b565b60405180910390fd5b5f8290505f611bc16109d0565b90505f600a5482611bd29190612c57565b90505f600a5483611be39190612c87565b600a54611bf09190612cb7565b90505f8095505b5f85118015611c075750600b5484105b8015611c135750606481105b15611cce575f611c22846114bc565b90505f600a54670de0b6b3a764000083611c3c9190612cea565b611c469190612c57565b90505f849050848811611c57578790505b5f670de0b6b3a76400008383611c6d9190612cea565b611c779190612c57565b9050808a611c859190612d2b565b99508189611c939190612cb7565b98508188611ca19190612d2b565b9750600187611cb09190612d2b565b9650600a5495508480611cc290612d5e565b95505050505050611bf7565b600b5484118015611cde57505f85115b15611ce7575f94505b5050505050919050565b611cf9611dc4565b5f600d5f6101000a81548160ff0219169083151502179055507fdcf81b1e28d58e650853b1f9d6f868c8101f1f9eb3382b458ef1adc2805b23fc60405160405180910390a1565b611d48611dc4565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611db8575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401611daf919061281f565b60405180910390fd5b611dc1816120c7565b50565b611dcc611e4b565b73ffffffffffffffffffffffffffffffffffffffff16611dea611560565b73ffffffffffffffffffffffffffffffffffffffff1614611e4957611e0d611e4b565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401611e40919061281f565b60405180910390fd5b565b5f33905090565b611e5f838383600161218a565b505050565b5f600254905090565b600260065403611eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea9906134e3565b60405180910390fd5b6002600681905550565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f2c575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401611f23919061281f565b60405180910390fd5b611f375f8383612359565b5050565b6001600681905550565b5f611f50848461197a565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611fd15781811015611fc2578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401611fb993929190613501565b60405180910390fd5b611fd084848484035f61218a565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612047575f6040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260040161203e919061281f565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036120b7575f6040517fec442f050000000000000000000000000000000000000000000000000000000081526004016120ae919061281f565b60405180910390fd5b6120c2838383612359565b505050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036121fa575f6040517fe602df050000000000000000000000000000000000000000000000000000000081526004016121f1919061281f565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361226a575f6040517f94280d62000000000000000000000000000000000000000000000000000000008152600401612261919061281f565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015612353578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161234a919061273e565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036123a9578060025f82825461239d9190612d2b565b92505081905550612477565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015612432578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161242993929190613501565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036124be578060025f8282540392505081905550612508565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612565919061273e565b60405180910390a3505050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61259f82612576565b9050919050565b6125af81612595565b81146125b9575f80fd5b50565b5f813590506125ca816125a6565b92915050565b5f602082840312156125e5576125e4612572565b5b5f6125f2848285016125bc565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f61263d826125fb565b6126478185612605565b9350612657818560208601612615565b61266081612623565b840191505092915050565b5f6020820190508181035f8301526126838184612633565b905092915050565b5f819050919050565b61269d8161268b565b81146126a7575f80fd5b50565b5f813590506126b881612694565b92915050565b5f80604083850312156126d4576126d3612572565b5b5f6126e1858286016125bc565b92505060206126f2858286016126aa565b9150509250929050565b5f8115159050919050565b612710816126fc565b82525050565b5f6020820190506127295f830184612707565b92915050565b6127388161268b565b82525050565b5f6020820190506127515f83018461272f565b92915050565b5f6020828403121561276c5761276b612572565b5b5f612779848285016126aa565b91505092915050565b5f806040838503121561279857612797612572565b5b5f6127a5858286016126aa565b92505060206127b6858286016126aa565b9150509250929050565b5f805f606084860312156127d7576127d6612572565b5b5f6127e4868287016125bc565b93505060206127f5868287016125bc565b9250506040612806868287016126aa565b9150509250925092565b61281981612595565b82525050565b5f6020820190506128325f830184612810565b92915050565b5f60ff82169050919050565b61284d81612838565b82525050565b5f6020820190506128665f830184612844565b92915050565b5f60408201905061287f5f83018561272f565b61288c602083018461272f565b9392505050565b5f819050919050565b5f6128b66128b16128ac84612576565b612893565b612576565b9050919050565b5f6128c78261289c565b9050919050565b5f6128d8826128bd565b9050919050565b6128e8816128ce565b82525050565b5f6020820190506129015f8301846128df565b92915050565b5f806040838503121561291d5761291c612572565b5b5f61292a858286016125bc565b925050602061293b858286016125bc565b9150509250929050565b7f496e76616c696420726566756e642061646472657373000000000000000000005f82015250565b5f612979601683612605565b915061298482612945565b602082019050919050565b5f6020820190508181035f8301526129a68161296d565b9050919050565b5f815190506129bb81612694565b92915050565b5f602082840312156129d6576129d5612572565b5b5f6129e3848285016129ad565b91505092915050565b7f4e6f2050657065636f696e20746f20726566756e6400000000000000000000005f82015250565b5f612a20601583612605565b9150612a2b826129ec565b602082019050919050565b5f6020820190508181035f830152612a4d81612a14565b9050919050565b5f604082019050612a675f830185612810565b612a74602083018461272f565b9392505050565b612a84816126fc565b8114612a8e575f80fd5b50565b5f81519050612a9f81612a7b565b92915050565b5f60208284031215612aba57612ab9612572565b5b5f612ac784828501612a91565b91505092915050565b7f456d657267656e637920726566756e64206661696c65640000000000000000005f82015250565b5f612b04601783612605565b9150612b0f82612ad0565b602082019050919050565b5f6020820190508181035f830152612b3181612af8565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680612b7c57607f821691505b602082108103612b8f57612b8e612b38565b5b50919050565b7f4d7573742070726f766964652050657065636f696e7320746f207370656e64005f82015250565b5f612bc9601f83612605565b9150612bd482612b95565b602082019050919050565b5f6020820190508181035f830152612bf681612bbd565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f612c618261268b565b9150612c6c8361268b565b925082612c7c57612c7b612bfd565b5b828204905092915050565b5f612c918261268b565b9150612c9c8361268b565b925082612cac57612cab612bfd565b5b828206905092915050565b5f612cc18261268b565b9150612ccc8361268b565b9250828203905081811115612ce457612ce3612c2a565b5b92915050565b5f612cf48261268b565b9150612cff8361268b565b9250828202612d0d8161268b565b91508282048414831517612d2457612d23612c2a565b5b5092915050565b5f612d358261268b565b9150612d408361268b565b9250828201905080821115612d5857612d57612c2a565b5b92915050565b5f612d688261268b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612d9a57612d99612c2a565b5b600182019050919050565b7f4d696e74696e672069732066726f7a656e0000000000000000000000000000005f82015250565b5f612dd9601183612605565b9150612de482612da5565b602082019050919050565b5f6020820190508181035f830152612e0681612dcd565b9050919050565b7f4d75737420737065636966792050657065636f696e7320746f207370656e64005f82015250565b5f612e41601f83612605565b9150612e4c82612e0d565b602082019050919050565b5f6020820190508181035f830152612e6e81612e35565b9050919050565b7f50726963652065786365656473206d61782070726963652070657220312c30305f8201527f3020746f6b656e73000000000000000000000000000000000000000000000000602082015250565b5f612ecf602883612605565b9150612eda82612e75565b604082019050919050565b5f6020820190508181035f830152612efc81612ec3565b9050919050565b7f496e73756666696369656e742050657065636f696e7320746f206d696e7420615f8201527f6e7920746f6b656e730000000000000000000000000000000000000000000000602082015250565b5f612f5d602983612605565b9150612f6882612f03565b604082019050919050565b5f6020820190508181035f830152612f8a81612f51565b9050919050565b7f4e6f2050657065636f696e73207370656e7400000000000000000000000000005f82015250565b5f612fc5601283612605565b9150612fd082612f91565b602082019050919050565b5f6020820190508181035f830152612ff281612fb9565b9050919050565b5f60608201905061300c5f830186612810565b6130196020830185612810565b613026604083018461272f565b949350505050565b7f50657065636f696e207472616e73666572206661696c656400000000000000005f82015250565b5f613062601883612605565b915061306d8261302e565b602082019050919050565b5f6020820190508181035f83015261308f81613056565b9050919050565b5f6060820190506130a95f83018661272f565b6130b6602083018561272f565b6130c3604083018461272f565b949350505050565b7f526566756e64206661696c6564000000000000000000000000000000000000005f82015250565b5f6130ff600d83612605565b915061310a826130cb565b602082019050919050565b5f6020820190508181035f83015261312c816130f3565b9050919050565b7f556e617574686f72697a656400000000000000000000000000000000000000005f82015250565b5f613167600c83612605565b915061317282613133565b602082019050919050565b5f6020820190508181035f8301526131948161315b565b9050919050565b5f8160011c9050919050565b5f808291508390505b60018511156131f0578086048111156131cc576131cb612c2a565b5b60018516156131db5780820291505b80810290506131e98561319b565b94506131b0565b94509492505050565b5f8261320857600190506132c3565b81613215575f90506132c3565b816001811461322b576002811461323557613264565b60019150506132c3565b60ff84111561324757613246612c2a565b5b8360020a91508482111561325e5761325d612c2a565b5b506132c3565b5060208310610133831016604e8410600b84101617156132995782820a90508381111561329457613293612c2a565b5b6132c3565b6132a684848460016131a7565b925090508184048111156132bd576132bc612c2a565b5b81810290505b9392505050565b5f6132d48261268b565b91506132df83612838565b925061330c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846131f9565b905092915050565b7f5468657265206d7573742062652061206d696e696d756d20737570706c792e005f82015250565b5f613348601f83612605565b915061335382613314565b602082019050919050565b5f6020820190508181035f8301526133758161333c565b9050919050565b5f60408201905061338f5f830185612810565b61339c6020830184612810565b9392505050565b7f546f74616c20737570706c792063616e6e6f74206578636565642068617264205f8201527f6361702e00000000000000000000000000000000000000000000000000000000602082015250565b5f6133fd602483612605565b9150613408826133a3565b604082019050919050565b5f6020820190508181035f83015261342a816133f1565b9050919050565b7f4d7573742070726f7669646520746f6b656e20616d6f756e74000000000000005f82015250565b5f613465601983612605565b915061347082613431565b602082019050919050565b5f6020820190508181035f83015261349281613459565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f6134cd601f83612605565b91506134d882613499565b602082019050919050565b5f6020820190508181035f8301526134fa816134c1565b9050919050565b5f6060820190506135145f830186612810565b613521602083018561272f565b61352e604083018461272f565b94935050505056fea2646970667358221220538c0de8767b396a272e15a7974238ac52c88f4532442504446433225d20f1dd64736f6c634300081a0033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.