Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
- Contract name:
- Glory
- Optimization enabled
- false
- Compiler version
- v0.8.20+commit.a1b79de6
- EVM Version
- shanghai
- Verified at
- 2025-02-11T19:42:30.919421Z
contracts/Glory.sol
//SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
contract Glory is ERC20, ERC20Burnable {
//Address of the $GLORY contract
address public GLORY = address(this);
//President: Address which has access to...
// read: minting, mintableGlory, President, Cabinet
// write: toggleMinting(), mintableIncrease(), mintableDecrease(), mintableZero(), newCabinet(), newPresident()
address internal President;
// Cabinet: A mapping of addresses that have cabinet privileges.
mapping(address => bool) internal Cabinet;
//presidentFunction(): returns value of President address, only President address can call it
function presidentFunction() public view president_function returns(address) {
return President;
}
//cabinetFunction(): returns value of Cabinet address, only President address can call it
function cabinetFunction(address _cabinetMember) public view president_function returns(bool) {
return Cabinet[_cabinetMember];
}
//minting: boolean value for if minting $GLORY is turn on
bool internal minting = true;
//mintingFunction(): returns value of minting boolean, only President address can call it
function mintingFunction() public view president_function returns(bool) {
return minting;
}
//mintableGlory: mapping of a uint to a mapping of an address to a uint
// Keeps track of how much $GLORY a user can mint at any point
// mintableGlory[userAddress] = how much $GLORY userAddress can mint
mapping (address => uint) internal mintableGlory;
//sacrifice: mapping of a uint to a mapping of an address to an address to a uint
// Keeps track of what txhashes on what chains have been credited to an address
// sacrifice[uint][txhash][address] = what address sacrificed how much on a specific chain
mapping (uint => mapping (bytes32 => mapping (address => uint))) internal sacrifice;
//hashes: mapping of a uint to a mapping of an address to a boolean
// Keeps track of what txhashes on what chains have been used
// sacrifice[uint][txhash] = true/false if hash is used
mapping (uint => mapping (bytes32 => bool)) internal hashes;
//mintableGloryFunction(_minter): returns value of mintableGlory[_minter], only President address can call it
function mintableGloryFunction(address _minter) public view minting_on president_function returns(uint){
return mintableGlory[_minter];
}
function usedHashesFunction(uint _chain, bytes32 _hash) public view minting_on returns(bool){
return hashes[_chain][_hash];
}
//constructor():
// names this contract's ERC20 accordingly
// sets the President and Cabinet address to msg.sender
constructor() ERC20("Glory", "GLORY") {
President = 0xC04aB72E1724DCaf94FD39B7b77099a7b828d568;
Cabinet[0x850758DcD8783e2ef92361629d759D9B38768722] = true; // Initial Cabinet member
Cabinet[0x5D58549E414Ed8EEac93550D3e9868F810A1D757] = true; // Initial Cabinet member
Cabinet[0xf4E4Eec81C1e738389d726C30a5Ac9447B70eEC1] = true; // Initial Cabinet member
}
//president_function(): function modifier that limits access to President address
modifier president_function(){
require(msg.sender == President,"Only President can call this function");
_;}
//cabinet_function(): function modifier that limits acces to Cabinet or President address
modifier cabinet_function(){
require(Cabinet[msg.sender] || msg.sender == President,"Only President or Cabinet can call this function");
_;}
//minting_on(): function modifier that limits access to when minting is on
modifier minting_on(){
require(minting,"Minting is currently turned off");
_;}
//decimals(): sets the number of decimals for $GLORY
function decimals() public pure override returns (uint8) {
return 6;
}
//mintable(): function which returns the amount of $GLORY that the caller can mint, only if minting is on
function mintable() public view minting_on returns(uint){
return mintableGlory[msg.sender];
}
//mintableGloryFunction(_minter): returns value of mintableGlory[_minter], only President address can call it
function sacrificedGloryFunction(uint _chain, bytes32 _hash, address _wallet) public view minting_on returns(uint){
return sacrifice[_chain][_hash][_wallet];
}
//mintGlory(): if minting is on...
// mints callers mintable $GLORY to the caller
// sets the callers mintable $GLORY to 0
function mintGlory() public minting_on {
//The caller must have some $GLORY to mint, otherwise it is a waste of gas
require(mintableGlory[msg.sender] > 0, "You aren't eligible to mint any GLORY");
//_sending: uint value which keeps track of how much $GLORY to transfer to caller
uint _sending = mintableGlory[msg.sender];
//sets the callers mintable $GLORY to 0
mintableGlory[msg.sender] = 0;
//transfer $GLORY from the GLORY contract to the caller
_mint(msg.sender, _sending);
}
/*** PRESIDENT FUNCTIONS ***/
//toggleMinting(): function that switched the value of minting
// only President address can call it
function toggleMinting() public president_function {
minting = !minting;
}
/*** CABINET MANAGEMENT ***/
// Add a new Cabinet member
function addCabinetMember(address _cabinetMember) public president_function {
Cabinet[_cabinetMember] = true;
}
// Remove a Cabinet member
function removeCabinetMember(address _cabinetMember) public president_function {
Cabinet[_cabinetMember] = false;
}
//newPresident(_president): function that sets the President address to the new _president address
// only President address can call it
function newPresident(address _president) public president_function {
President = _president;
}
/*** PRESIDENT AND CABINET FUNCTIONS ***/
//mintIncrease(_amount, _minter): if caller is President or Cabinet
// increase amount of $GLORY _minter can mint by _amount
function mintableIncrease(uint _amount, address _minter, uint _chain, bytes32 _hash) public cabinet_function {
require(hashes[_chain][_hash] != true, 'Hash already used');
require(sacrifice[_chain][_hash][_minter] == 0, 'Sacrifice already credited');
sacrifice[_chain][_hash][_minter] += _amount;
hashes[_chain][_hash] = true;
//increase users amount of mintable $GLORY by _amount
mintableGlory[_minter] += _amount;
}
//mintDecrease(_amount, _minter): if caller is President or Cabinet
// decrease amount of $GLORY _minter can mint by _amount
function mintableDecrease(uint _amount, address _minter) public cabinet_function {
//Check if _minter can minter more than _amount
if (mintableGlory[_minter] > _amount) {
//decrease mintable $GLORY of _minter by _amount
mintableGlory[_minter] -= _amount;
}
//In this case, _amount is greater than or equal to how much $GLORY _minter can mint
else {
//decrease mintable $GLORY for _minter to 0
mintableGlory[_minter] = 0;
}
}
//mintDecrease(_minter): if caller is President or Cabinet
// set amount of $GLORY _minter can mint 0
function mintableZero(address _minter) public cabinet_function {
//set mintable $GLORY for _minter to 0
mintableGlory[_minter] = 0;
}
//presidentialIncrease(_amount, _minter): if caller is President or Cabinet
// increase amount of $GLORY _minter can mint by _amount
function presidentialIncrease(uint _amount, address _minter) public president_function {
//increase users amount of mintable $GLORY by _amount
mintableGlory[_minter] += _amount;
}
}
@openzeppelin/contracts/interfaces/draft-IERC6093.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;
/**
* @dev Standard ERC-20 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 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 ERC-721 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.
*/
interface IERC721Errors {
/**
* @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-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 ERC-1155 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 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);
}
@openzeppelin/contracts/token/ERC20/ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.2.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 ERC-20
* applications.
*/
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}.
*
* Skips emitting an {Approval} event indicating an allowance update. This is not
* required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].
*
* 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:
*
* ```solidity
* 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);
}
}
}
}
@openzeppelin/contracts/token/ERC20/IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC-20 standard as defined in the ERC.
*/
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);
}
@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol
// 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);
}
}
@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.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 ERC-20 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);
}
@openzeppelin/contracts/utils/Context.sol
// 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;
}
}
Compiler Settings
{"outputSelection":{"*":{"*":["abi","metadata","devdoc","userdoc","storageLayout","evm.legacyAssembly","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","evm.gasEstimates","evm.assembly"],"":["ast"]}},"optimizer":{"runs":200,"enabled":false},"libraries":{},"evmVersion":"shanghai"}
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"error","name":"ERC20InsufficientAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"allowance","internalType":"uint256"},{"type":"uint256","name":"needed","internalType":"uint256"}]},{"type":"error","name":"ERC20InsufficientBalance","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"uint256","name":"balance","internalType":"uint256"},{"type":"uint256","name":"needed","internalType":"uint256"}]},{"type":"error","name":"ERC20InvalidApprover","inputs":[{"type":"address","name":"approver","internalType":"address"}]},{"type":"error","name":"ERC20InvalidReceiver","inputs":[{"type":"address","name":"receiver","internalType":"address"}]},{"type":"error","name":"ERC20InvalidSender","inputs":[{"type":"address","name":"sender","internalType":"address"}]},{"type":"error","name":"ERC20InvalidSpender","inputs":[{"type":"address","name":"spender","internalType":"address"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"GLORY","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"addCabinetMember","inputs":[{"type":"address","name":"_cabinetMember","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"burn","inputs":[{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"burnFrom","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"cabinetFunction","inputs":[{"type":"address","name":"_cabinetMember","internalType":"address"}]},{"type":"function","stateMutability":"pure","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"mintGlory","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"mintable","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"mintableDecrease","inputs":[{"type":"uint256","name":"_amount","internalType":"uint256"},{"type":"address","name":"_minter","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"mintableGloryFunction","inputs":[{"type":"address","name":"_minter","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"mintableIncrease","inputs":[{"type":"uint256","name":"_amount","internalType":"uint256"},{"type":"address","name":"_minter","internalType":"address"},{"type":"uint256","name":"_chain","internalType":"uint256"},{"type":"bytes32","name":"_hash","internalType":"bytes32"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"mintableZero","inputs":[{"type":"address","name":"_minter","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"mintingFunction","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"newPresident","inputs":[{"type":"address","name":"_president","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"presidentFunction","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"presidentialIncrease","inputs":[{"type":"uint256","name":"_amount","internalType":"uint256"},{"type":"address","name":"_minter","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"removeCabinetMember","inputs":[{"type":"address","name":"_cabinetMember","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"sacrificedGloryFunction","inputs":[{"type":"uint256","name":"_chain","internalType":"uint256"},{"type":"bytes32","name":"_hash","internalType":"bytes32"},{"type":"address","name":"_wallet","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"toggleMinting","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"usedHashesFunction","inputs":[{"type":"uint256","name":"_chain","internalType":"uint256"},{"type":"bytes32","name":"_hash","internalType":"bytes32"}]}]
Contract Creation Code
0x60806040523060055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160085f6101000a81548160ff0219169083151502179055503480156200006a575f80fd5b506040518060400160405280600581526020017f476c6f72790000000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f474c4f52590000000000000000000000000000000000000000000000000000008152508160039081620000e89190620004f6565b508060049081620000fa9190620004f6565b50505073c04ab72e1724dcaf94fd39b7b77099a7b828d56860065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160075f73850758dcd8783e2ef92361629d759d9b3876872273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550600160075f735d58549e414ed8eeac93550d3e9868f810a1d75773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550600160075f73f4e4eec81c1e738389d726c30a5ac9447b70eec173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550620005da565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200030e57607f821691505b602082108103620003245762000323620002c9565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620003887fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200034b565b6200039486836200034b565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f620003de620003d8620003d284620003ac565b620003b5565b620003ac565b9050919050565b5f819050919050565b620003f983620003be565b620004116200040882620003e5565b84845462000357565b825550505050565b5f90565b6200042762000419565b62000434818484620003ee565b505050565b5b818110156200045b576200044f5f826200041d565b6001810190506200043a565b5050565b601f821115620004aa5762000474816200032a565b6200047f846200033c565b810160208510156200048f578190505b620004a76200049e856200033c565b83018262000439565b50505b505050565b5f82821c905092915050565b5f620004cc5f1984600802620004af565b1980831691505092915050565b5f620004e68383620004bb565b9150826002028217905092915050565b620005018262000292565b67ffffffffffffffff8111156200051d576200051c6200029c565b5b620005298254620002f6565b620005368282856200045f565b5f60209050601f8311600181146200056c575f841562000557578287015190505b620005638582620004d9565b865550620005d2565b601f1984166200057c866200032a565b5f5b82811015620005a5578489015182556001820191506020850194506020810190506200057e565b86831015620005c55784890151620005c1601f891682620004bb565b8355505b6001600288020188555050505b505050505050565b61280e80620005e85f395ff3fe608060405234801561000f575f80fd5b50600436106101c2575f3560e01c806370a08231116100f7578063a9059cbb11610095578063c60c69681161006f578063c60c6968146104de578063d6534b32146104fa578063dd62ed3e14610516578063f69d53db14610546576101c2565b8063a9059cbb14610462578063aa23713a14610492578063ac821770146104ae576101c2565b80637a9122f6116100d15780637a9122f6146104005780637d55094d1461041c57806395d89b41146104265780639977100614610444576101c2565b806370a08231146103985780637142d47e146103c857806379cc6790146103e4576101c2565b8063313ce567116101645780635037c73a1161013e5780635037c73a14610324578063649b27041461032e5780636748753e1461035e5780636c8dbedd1461037c576101c2565b8063313ce567146102cc57806342966c68146102ea5780634bf365df14610306576101c2565b806318160ddd116101a057806318160ddd14610230578063185dc7251461024e5780631db78a3e1461027e57806323b872dd1461029c576101c2565b806306fdde03146101c6578063095ea7b3146101e457806314e6d2c814610214575b5f80fd5b6101ce610576565b6040516101db9190611fe4565b60405180910390f35b6101fe60048036038101906101f99190612095565b610606565b60405161020b91906120ed565b60405180910390f35b61022e60048036038101906102299190612106565b610628565b005b61023861074d565b6040516102459190612140565b60405180910390f35b6102686004803603810190610263919061218c565b610756565b60405161027591906120ed565b60405180910390f35b6102866107da565b60405161029391906120ed565b60405180910390f35b6102b660048036038101906102b191906121ca565b61087e565b6040516102c391906120ed565b60405180910390f35b6102d46108ac565b6040516102e19190612235565b60405180910390f35b61030460048036038101906102ff919061224e565b6108b4565b005b61030e6108c8565b60405161031b9190612140565b60405180910390f35b61032c61095a565b005b61034860048036038101906103439190612279565b610ab7565b6040516103559190612140565b60405180910390f35b610366610b6b565b60405161037391906122d8565b60405180910390f35b610396600480360381019061039191906122f1565b610c22565b005b6103b260048036038101906103ad9190612106565b610d08565b6040516103bf9190612140565b60405180910390f35b6103e260048036038101906103dd9190612106565b610d4d565b005b6103fe60048036038101906103f99190612095565b610e34565b005b61041a6004803603810190610415919061232f565b610e54565b005b610424611146565b005b61042e6111ff565b60405161043b9190611fe4565b60405180910390f35b61044c61128f565b60405161045991906122d8565b60405180910390f35b61047c60048036038101906104779190612095565b6112b4565b60405161048991906120ed565b60405180910390f35b6104ac60048036038101906104a791906122f1565b6112d6565b005b6104c860048036038101906104c39190612106565b61149a565b6040516104d591906120ed565b60405180910390f35b6104f860048036038101906104f39190612106565b61157b565b005b610514600480360381019061050f9190612106565b61164d565b005b610530600480360381019061052b9190612393565b611733565b60405161053d9190612140565b60405180910390f35b610560600480360381019061055b9190612106565b6117b5565b60405161056d9190612140565b60405180910390f35b606060038054610585906123fe565b80601f01602080910402602001604051908101604052809291908181526020018280546105b1906123fe565b80156105fc5780601f106105d3576101008083540402835291602001916105fc565b820191905f5260205f20905b8154815290600101906020018083116105df57829003601f168201915b5050505050905090565b5f806106106118d8565b905061061d8185856118df565b600191505092915050565b60075f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16806106c9575060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ff9061249e565b60405180910390fd5b5f60095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555050565b5f600254905090565b5f60085f9054906101000a900460ff166107a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079c90612506565b60405180910390fd5b600b5f8481526020019081526020015f205f8381526020019081526020015f205f9054906101000a900460ff16905092915050565b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461086a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086190612594565b60405180910390fd5b60085f9054906101000a900460ff16905090565b5f806108886118d8565b90506108958582856118f1565b6108a0858585611984565b60019150509392505050565b5f6006905090565b6108c56108bf6118d8565b82611a74565b50565b5f60085f9054906101000a900460ff16610917576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090e90612506565b60405180910390fd5b60095f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905090565b60085f9054906101000a900460ff166109a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099f90612506565b60405180910390fd5b5f60095f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205411610a27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1e90612622565b60405180910390fd5b5f60095f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490505f60095f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550610ab43382611af3565b50565b5f60085f9054906101000a900460ff16610b06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afd90612506565b60405180910390fd5b600a5f8581526020019081526020015f205f8481526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490509392505050565b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610bfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf290612594565b60405180910390fd5b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610cb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca890612594565b60405180910390fd5b8160095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254610cfd919061266d565b925050819055505050565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ddc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd390612594565b60405180910390fd5b600160075f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555050565b610e4682610e406118d8565b836118f1565b610e508282611a74565b5050565b60075f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680610ef5575060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2b9061249e565b60405180910390fd5b60011515600b5f8481526020019081526020015f205f8381526020019081526020015f205f9054906101000a900460ff16151503610fa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9e906126ea565b60405180910390fd5b5f600a5f8481526020019081526020015f205f8381526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205414611044576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103b90612752565b60405180910390fd5b83600a5f8481526020019081526020015f205f8381526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546110ae919061266d565b925050819055506001600b5f8481526020019081526020015f205f8381526020019081526020015f205f6101000a81548160ff0219169083151502179055508360095f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254611139919061266d565b9250508190555050505050565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146111d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cc90612594565b60405180910390fd5b60085f9054906101000a900460ff161560085f6101000a81548160ff021916908315150217905550565b60606004805461120e906123fe565b80601f016020809104026020016040519081016040528092919081815260200182805461123a906123fe565b80156112855780601f1061125c57610100808354040283529160200191611285565b820191905f5260205f20905b81548152906001019060200180831161126857829003601f168201915b5050505050905090565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f806112be6118d8565b90506112cb818585611984565b600191505092915050565b60075f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680611377575060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6113b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ad9061249e565b60405180910390fd5b8160095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20541115611453578160095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546114479190612770565b92505081905550611496565b5f60095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b5050565b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461152a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152190612594565b60405180910390fd5b60075f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff169050919050565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461160a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160190612594565b60405180910390fd5b8060065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146116dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d390612594565b60405180910390fd5b5f60075f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f60085f9054906101000a900460ff16611804576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fb90612506565b60405180910390fd5b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611893576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188a90612594565b60405180910390fd5b60095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b5f33905090565b6118ec8383836001611b72565b505050565b5f6118fc8484611733565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81101561197e578181101561196f578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401611966939291906127a3565b60405180910390fd5b61197d84848484035f611b72565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036119f4575f6040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016119eb91906122d8565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a64575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401611a5b91906122d8565b60405180910390fd5b611a6f838383611d41565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611ae4575f6040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401611adb91906122d8565b60405180910390fd5b611aef825f83611d41565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611b63575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401611b5a91906122d8565b60405180910390fd5b611b6e5f8383611d41565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611be2575f6040517fe602df05000000000000000000000000000000000000000000000000000000008152600401611bd991906122d8565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611c52575f6040517f94280d62000000000000000000000000000000000000000000000000000000008152600401611c4991906122d8565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015611d3b578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611d329190612140565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611d91578060025f828254611d85919061266d565b92505081905550611e5f565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015611e1a578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401611e11939291906127a3565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611ea6578060025f8282540392505081905550611ef0565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611f4d9190612140565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015611f91578082015181840152602081019050611f76565b5f8484015250505050565b5f601f19601f8301169050919050565b5f611fb682611f5a565b611fc08185611f64565b9350611fd0818560208601611f74565b611fd981611f9c565b840191505092915050565b5f6020820190508181035f830152611ffc8184611fac565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61203182612008565b9050919050565b61204181612027565b811461204b575f80fd5b50565b5f8135905061205c81612038565b92915050565b5f819050919050565b61207481612062565b811461207e575f80fd5b50565b5f8135905061208f8161206b565b92915050565b5f80604083850312156120ab576120aa612004565b5b5f6120b88582860161204e565b92505060206120c985828601612081565b9150509250929050565b5f8115159050919050565b6120e7816120d3565b82525050565b5f6020820190506121005f8301846120de565b92915050565b5f6020828403121561211b5761211a612004565b5b5f6121288482850161204e565b91505092915050565b61213a81612062565b82525050565b5f6020820190506121535f830184612131565b92915050565b5f819050919050565b61216b81612159565b8114612175575f80fd5b50565b5f8135905061218681612162565b92915050565b5f80604083850312156121a2576121a1612004565b5b5f6121af85828601612081565b92505060206121c085828601612178565b9150509250929050565b5f805f606084860312156121e1576121e0612004565b5b5f6121ee8682870161204e565b93505060206121ff8682870161204e565b925050604061221086828701612081565b9150509250925092565b5f60ff82169050919050565b61222f8161221a565b82525050565b5f6020820190506122485f830184612226565b92915050565b5f6020828403121561226357612262612004565b5b5f61227084828501612081565b91505092915050565b5f805f606084860312156122905761228f612004565b5b5f61229d86828701612081565b93505060206122ae86828701612178565b92505060406122bf8682870161204e565b9150509250925092565b6122d281612027565b82525050565b5f6020820190506122eb5f8301846122c9565b92915050565b5f806040838503121561230757612306612004565b5b5f61231485828601612081565b92505060206123258582860161204e565b9150509250929050565b5f805f806080858703121561234757612346612004565b5b5f61235487828801612081565b94505060206123658782880161204e565b935050604061237687828801612081565b925050606061238787828801612178565b91505092959194509250565b5f80604083850312156123a9576123a8612004565b5b5f6123b68582860161204e565b92505060206123c78582860161204e565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061241557607f821691505b602082108103612428576124276123d1565b5b50919050565b7f4f6e6c7920507265736964656e74206f7220436162696e65742063616e2063615f8201527f6c6c20746869732066756e6374696f6e00000000000000000000000000000000602082015250565b5f612488603083611f64565b91506124938261242e565b604082019050919050565b5f6020820190508181035f8301526124b58161247c565b9050919050565b7f4d696e74696e672069732063757272656e746c79207475726e6564206f6666005f82015250565b5f6124f0601f83611f64565b91506124fb826124bc565b602082019050919050565b5f6020820190508181035f83015261251d816124e4565b9050919050565b7f4f6e6c7920507265736964656e742063616e2063616c6c20746869732066756e5f8201527f6374696f6e000000000000000000000000000000000000000000000000000000602082015250565b5f61257e602583611f64565b915061258982612524565b604082019050919050565b5f6020820190508181035f8301526125ab81612572565b9050919050565b7f596f75206172656e277420656c696769626c6520746f206d696e7420616e79205f8201527f474c4f5259000000000000000000000000000000000000000000000000000000602082015250565b5f61260c602583611f64565b9150612617826125b2565b604082019050919050565b5f6020820190508181035f83015261263981612600565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61267782612062565b915061268283612062565b925082820190508082111561269a57612699612640565b5b92915050565b7f4861736820616c726561647920757365640000000000000000000000000000005f82015250565b5f6126d4601183611f64565b91506126df826126a0565b602082019050919050565b5f6020820190508181035f830152612701816126c8565b9050919050565b7f53616372696669636520616c72656164792063726564697465640000000000005f82015250565b5f61273c601a83611f64565b915061274782612708565b602082019050919050565b5f6020820190508181035f83015261276981612730565b9050919050565b5f61277a82612062565b915061278583612062565b925082820390508181111561279d5761279c612640565b5b92915050565b5f6060820190506127b65f8301866122c9565b6127c36020830185612131565b6127d06040830184612131565b94935050505056fea2646970667358221220d1b91ddf959d3a8578cf3209a9ec31ce58baf902f820546b286a800fcce474fa64736f6c63430008140033
Deployed ByteCode
0x608060405234801561000f575f80fd5b50600436106101c2575f3560e01c806370a08231116100f7578063a9059cbb11610095578063c60c69681161006f578063c60c6968146104de578063d6534b32146104fa578063dd62ed3e14610516578063f69d53db14610546576101c2565b8063a9059cbb14610462578063aa23713a14610492578063ac821770146104ae576101c2565b80637a9122f6116100d15780637a9122f6146104005780637d55094d1461041c57806395d89b41146104265780639977100614610444576101c2565b806370a08231146103985780637142d47e146103c857806379cc6790146103e4576101c2565b8063313ce567116101645780635037c73a1161013e5780635037c73a14610324578063649b27041461032e5780636748753e1461035e5780636c8dbedd1461037c576101c2565b8063313ce567146102cc57806342966c68146102ea5780634bf365df14610306576101c2565b806318160ddd116101a057806318160ddd14610230578063185dc7251461024e5780631db78a3e1461027e57806323b872dd1461029c576101c2565b806306fdde03146101c6578063095ea7b3146101e457806314e6d2c814610214575b5f80fd5b6101ce610576565b6040516101db9190611fe4565b60405180910390f35b6101fe60048036038101906101f99190612095565b610606565b60405161020b91906120ed565b60405180910390f35b61022e60048036038101906102299190612106565b610628565b005b61023861074d565b6040516102459190612140565b60405180910390f35b6102686004803603810190610263919061218c565b610756565b60405161027591906120ed565b60405180910390f35b6102866107da565b60405161029391906120ed565b60405180910390f35b6102b660048036038101906102b191906121ca565b61087e565b6040516102c391906120ed565b60405180910390f35b6102d46108ac565b6040516102e19190612235565b60405180910390f35b61030460048036038101906102ff919061224e565b6108b4565b005b61030e6108c8565b60405161031b9190612140565b60405180910390f35b61032c61095a565b005b61034860048036038101906103439190612279565b610ab7565b6040516103559190612140565b60405180910390f35b610366610b6b565b60405161037391906122d8565b60405180910390f35b610396600480360381019061039191906122f1565b610c22565b005b6103b260048036038101906103ad9190612106565b610d08565b6040516103bf9190612140565b60405180910390f35b6103e260048036038101906103dd9190612106565b610d4d565b005b6103fe60048036038101906103f99190612095565b610e34565b005b61041a6004803603810190610415919061232f565b610e54565b005b610424611146565b005b61042e6111ff565b60405161043b9190611fe4565b60405180910390f35b61044c61128f565b60405161045991906122d8565b60405180910390f35b61047c60048036038101906104779190612095565b6112b4565b60405161048991906120ed565b60405180910390f35b6104ac60048036038101906104a791906122f1565b6112d6565b005b6104c860048036038101906104c39190612106565b61149a565b6040516104d591906120ed565b60405180910390f35b6104f860048036038101906104f39190612106565b61157b565b005b610514600480360381019061050f9190612106565b61164d565b005b610530600480360381019061052b9190612393565b611733565b60405161053d9190612140565b60405180910390f35b610560600480360381019061055b9190612106565b6117b5565b60405161056d9190612140565b60405180910390f35b606060038054610585906123fe565b80601f01602080910402602001604051908101604052809291908181526020018280546105b1906123fe565b80156105fc5780601f106105d3576101008083540402835291602001916105fc565b820191905f5260205f20905b8154815290600101906020018083116105df57829003601f168201915b5050505050905090565b5f806106106118d8565b905061061d8185856118df565b600191505092915050565b60075f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16806106c9575060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ff9061249e565b60405180910390fd5b5f60095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555050565b5f600254905090565b5f60085f9054906101000a900460ff166107a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079c90612506565b60405180910390fd5b600b5f8481526020019081526020015f205f8381526020019081526020015f205f9054906101000a900460ff16905092915050565b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461086a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086190612594565b60405180910390fd5b60085f9054906101000a900460ff16905090565b5f806108886118d8565b90506108958582856118f1565b6108a0858585611984565b60019150509392505050565b5f6006905090565b6108c56108bf6118d8565b82611a74565b50565b5f60085f9054906101000a900460ff16610917576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090e90612506565b60405180910390fd5b60095f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905090565b60085f9054906101000a900460ff166109a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099f90612506565b60405180910390fd5b5f60095f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205411610a27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1e90612622565b60405180910390fd5b5f60095f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490505f60095f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550610ab43382611af3565b50565b5f60085f9054906101000a900460ff16610b06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afd90612506565b60405180910390fd5b600a5f8581526020019081526020015f205f8481526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490509392505050565b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610bfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf290612594565b60405180910390fd5b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610cb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca890612594565b60405180910390fd5b8160095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254610cfd919061266d565b925050819055505050565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ddc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd390612594565b60405180910390fd5b600160075f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555050565b610e4682610e406118d8565b836118f1565b610e508282611a74565b5050565b60075f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680610ef5575060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2b9061249e565b60405180910390fd5b60011515600b5f8481526020019081526020015f205f8381526020019081526020015f205f9054906101000a900460ff16151503610fa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9e906126ea565b60405180910390fd5b5f600a5f8481526020019081526020015f205f8381526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205414611044576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103b90612752565b60405180910390fd5b83600a5f8481526020019081526020015f205f8381526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546110ae919061266d565b925050819055506001600b5f8481526020019081526020015f205f8381526020019081526020015f205f6101000a81548160ff0219169083151502179055508360095f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254611139919061266d565b9250508190555050505050565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146111d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cc90612594565b60405180910390fd5b60085f9054906101000a900460ff161560085f6101000a81548160ff021916908315150217905550565b60606004805461120e906123fe565b80601f016020809104026020016040519081016040528092919081815260200182805461123a906123fe565b80156112855780601f1061125c57610100808354040283529160200191611285565b820191905f5260205f20905b81548152906001019060200180831161126857829003601f168201915b5050505050905090565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f806112be6118d8565b90506112cb818585611984565b600191505092915050565b60075f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680611377575060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6113b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ad9061249e565b60405180910390fd5b8160095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20541115611453578160095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546114479190612770565b92505081905550611496565b5f60095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b5050565b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461152a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152190612594565b60405180910390fd5b60075f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff169050919050565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461160a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160190612594565b60405180910390fd5b8060065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146116dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d390612594565b60405180910390fd5b5f60075f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f60085f9054906101000a900460ff16611804576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fb90612506565b60405180910390fd5b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611893576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188a90612594565b60405180910390fd5b60095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b5f33905090565b6118ec8383836001611b72565b505050565b5f6118fc8484611733565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81101561197e578181101561196f578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401611966939291906127a3565b60405180910390fd5b61197d84848484035f611b72565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036119f4575f6040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016119eb91906122d8565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a64575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401611a5b91906122d8565b60405180910390fd5b611a6f838383611d41565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611ae4575f6040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401611adb91906122d8565b60405180910390fd5b611aef825f83611d41565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611b63575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401611b5a91906122d8565b60405180910390fd5b611b6e5f8383611d41565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611be2575f6040517fe602df05000000000000000000000000000000000000000000000000000000008152600401611bd991906122d8565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611c52575f6040517f94280d62000000000000000000000000000000000000000000000000000000008152600401611c4991906122d8565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015611d3b578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611d329190612140565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611d91578060025f828254611d85919061266d565b92505081905550611e5f565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015611e1a578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401611e11939291906127a3565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611ea6578060025f8282540392505081905550611ef0565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611f4d9190612140565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015611f91578082015181840152602081019050611f76565b5f8484015250505050565b5f601f19601f8301169050919050565b5f611fb682611f5a565b611fc08185611f64565b9350611fd0818560208601611f74565b611fd981611f9c565b840191505092915050565b5f6020820190508181035f830152611ffc8184611fac565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61203182612008565b9050919050565b61204181612027565b811461204b575f80fd5b50565b5f8135905061205c81612038565b92915050565b5f819050919050565b61207481612062565b811461207e575f80fd5b50565b5f8135905061208f8161206b565b92915050565b5f80604083850312156120ab576120aa612004565b5b5f6120b88582860161204e565b92505060206120c985828601612081565b9150509250929050565b5f8115159050919050565b6120e7816120d3565b82525050565b5f6020820190506121005f8301846120de565b92915050565b5f6020828403121561211b5761211a612004565b5b5f6121288482850161204e565b91505092915050565b61213a81612062565b82525050565b5f6020820190506121535f830184612131565b92915050565b5f819050919050565b61216b81612159565b8114612175575f80fd5b50565b5f8135905061218681612162565b92915050565b5f80604083850312156121a2576121a1612004565b5b5f6121af85828601612081565b92505060206121c085828601612178565b9150509250929050565b5f805f606084860312156121e1576121e0612004565b5b5f6121ee8682870161204e565b93505060206121ff8682870161204e565b925050604061221086828701612081565b9150509250925092565b5f60ff82169050919050565b61222f8161221a565b82525050565b5f6020820190506122485f830184612226565b92915050565b5f6020828403121561226357612262612004565b5b5f61227084828501612081565b91505092915050565b5f805f606084860312156122905761228f612004565b5b5f61229d86828701612081565b93505060206122ae86828701612178565b92505060406122bf8682870161204e565b9150509250925092565b6122d281612027565b82525050565b5f6020820190506122eb5f8301846122c9565b92915050565b5f806040838503121561230757612306612004565b5b5f61231485828601612081565b92505060206123258582860161204e565b9150509250929050565b5f805f806080858703121561234757612346612004565b5b5f61235487828801612081565b94505060206123658782880161204e565b935050604061237687828801612081565b925050606061238787828801612178565b91505092959194509250565b5f80604083850312156123a9576123a8612004565b5b5f6123b68582860161204e565b92505060206123c78582860161204e565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061241557607f821691505b602082108103612428576124276123d1565b5b50919050565b7f4f6e6c7920507265736964656e74206f7220436162696e65742063616e2063615f8201527f6c6c20746869732066756e6374696f6e00000000000000000000000000000000602082015250565b5f612488603083611f64565b91506124938261242e565b604082019050919050565b5f6020820190508181035f8301526124b58161247c565b9050919050565b7f4d696e74696e672069732063757272656e746c79207475726e6564206f6666005f82015250565b5f6124f0601f83611f64565b91506124fb826124bc565b602082019050919050565b5f6020820190508181035f83015261251d816124e4565b9050919050565b7f4f6e6c7920507265736964656e742063616e2063616c6c20746869732066756e5f8201527f6374696f6e000000000000000000000000000000000000000000000000000000602082015250565b5f61257e602583611f64565b915061258982612524565b604082019050919050565b5f6020820190508181035f8301526125ab81612572565b9050919050565b7f596f75206172656e277420656c696769626c6520746f206d696e7420616e79205f8201527f474c4f5259000000000000000000000000000000000000000000000000000000602082015250565b5f61260c602583611f64565b9150612617826125b2565b604082019050919050565b5f6020820190508181035f83015261263981612600565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61267782612062565b915061268283612062565b925082820190508082111561269a57612699612640565b5b92915050565b7f4861736820616c726561647920757365640000000000000000000000000000005f82015250565b5f6126d4601183611f64565b91506126df826126a0565b602082019050919050565b5f6020820190508181035f830152612701816126c8565b9050919050565b7f53616372696669636520616c72656164792063726564697465640000000000005f82015250565b5f61273c601a83611f64565b915061274782612708565b602082019050919050565b5f6020820190508181035f83015261276981612730565b9050919050565b5f61277a82612062565b915061278583612062565b925082820390508181111561279d5761279c612640565b5b92915050565b5f6060820190506127b65f8301866122c9565b6127c36020830185612131565b6127d06040830184612131565b94935050505056fea2646970667358221220d1b91ddf959d3a8578cf3209a9ec31ce58baf902f820546b286a800fcce474fa64736f6c63430008140033