ETH Price: $3,459.39 (-0.52%)
Gas: 3 Gwei

Contract

0x849A226f327b89E3133D9930d927F9EB9346F8C9
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer Ownersh...135939442021-11-11 8:52:26984 days ago1636620746IN
Crypto Gaming United: CGU Token
0 ETH0.00828605178.56340905
Mint135889112021-11-10 14:04:40985 days ago1636553080IN
Crypto Gaming United: CGU Token
0 ETH0.01825128180
Burn135882252021-11-10 11:26:08985 days ago1636543568IN
Crypto Gaming United: CGU Token
0 ETH0.00821706123.95813826
Mint135882122021-11-10 11:23:02985 days ago1636543382IN
Crypto Gaming United: CGU Token
0 ETH0.01403704118.48403054
Add Chain Id135821612021-11-09 12:31:00986 days ago1636461060IN
Crypto Gaming United: CGU Token
0 ETH0.00932319172.84066696
Add Chain Id135821542021-11-09 12:29:23986 days ago1636460963IN
Crypto Gaming United: CGU Token
0 ETH0.0118881173.68082444
Add Bridge Valid...135821472021-11-09 12:27:10986 days ago1636460830IN
Crypto Gaming United: CGU Token
0 ETH0.00765793140.97294336
Add Bridge Valid...135821432021-11-09 12:26:35986 days ago1636460795IN
Crypto Gaming United: CGU Token
0 ETH0.01076154156.46104679
0x60806040135821232021-11-09 12:22:03986 days ago1636460523IN
 Create: CguToken
0 ETH0.58191568160

Advanced mode:
Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CguToken

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 11 : EthCguToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./ERC20.sol";
import "./interfaces/IERC677.sol";
import "./interfaces/IERC677Receiver.sol";
import "./Validators.sol";

contract CguToken is ERC20, IERC677, Validators {

    event Minted(address indexed _from, uint256 indexed _fromChainId, uint256 indexed _lockId, uint256 _amount);
    event Burned(address indexed _from, uint256 indexed _toChainId, uint256 indexed _burnId, uint256 _amount);

    uint256 public lastBurnId;
    mapping(uint256 =>  mapping(uint256 => bool)) public lockIdsUsed;

    constructor(
        string memory tokenName,
        string memory tokenSymbol
    ) ERC20(tokenName, tokenSymbol) {}

    function mint (uint256 _fromChainId, uint256 _lockId, uint256 _amount, bytes[] memory _signatures) external {
        require(!lockIdsUsed[_fromChainId][_lockId], "Lock id already used");
        bytes32 messageHash = keccak256(abi.encodePacked(_msgSender(), _fromChainId, block.chainid, _lockId, _amount));
        require(checkSignatures(messageHash, _signatures), "Incorrect signature(s)");
        lockIdsUsed[_fromChainId][_lockId] = true;
        _mint(_msgSender(), _amount);
        emit Minted(_msgSender(), _fromChainId, _lockId, _amount);
    }

    function burn (uint256 _toChainId, uint256 _amount) external {
        require(_amount > 0, "The amount of the lock must not be zero");
        (bool found,) = indexOfChainId(_toChainId);
        require(found, "ChainId not allowed");
        _burn(_msgSender(), _amount);
        lastBurnId++;
        emit Burned(_msgSender(), _toChainId, lastBurnId, _amount);
    }

    function transferAndCall(address _to, uint _value, bytes memory _data) public override returns (bool success)
    {
        transfer(_to, _value);
        emit Transfer(_msgSender(), _to, _value, _data);
        if (isContract(_to)) {
            contractFallback(_to, _value, _data);
        }
        return true;
    }

    function contractFallback(address _to, uint _value, bytes memory _data) private
    {
        IERC677Receiver receiver = IERC677Receiver(_to);
        receiver.onTokenTransfer(_msgSender(), _value, _data);
    }

    function isContract(address _addr) private view returns (bool hasCode)
    {
        uint length;
        assembly { length := extcodesize(_addr) }
        return length > 0;
    }

}

File 2 of 11 : ChainIdValidators.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

import "./access/Ownable.sol";
import "./utils/ECDSA.sol";

contract ChainIdValidators is Ownable {
    using ECDSA for bytes32;

    uint256[] public chainIds;

    function addChainId(uint256 _chainId) external onlyOwner {
        (bool found,) = indexOfChainId(_chainId);
        require(!found, 'ChainId already added');
        chainIds.push(_chainId);
    }

    function removeChainId(uint256 _chainId) external onlyOwner {
        (bool found, uint256 index) = indexOfChainId(_chainId);
        require(found, 'ChainId not found');
        if (chainIds.length > 1) {
            chainIds[index] = chainIds[chainIds.length - 1];
        }
        chainIds.pop();
    }

    function getListChainIds() public view returns (uint256[] memory) {
        return chainIds;
    }

    function indexOfChainId(uint256 _chainId) public view returns (bool found, uint256 index) {
        for (uint256 i = 0; i < chainIds.length; i++) {
            if (chainIds[i] == _chainId) {
                return (true, i);
            }
        }
        return (false, 0);
    }
}

File 3 of 11 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./interfaces/IERC20.sol";
import "./interfaces/IERC20Metadata.sol";
import "./utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 8;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
        _approve(sender, _msgSender(), currentAllowance - amount);
    }
return true;
}

/**
 * @dev Atomically increases the allowance granted to `spender` by the caller.
 *
 * This is an alternative to {approve} that can be used as a mitigation for
 * problems described in {IERC20-approve}.
 *
 * Emits an {Approval} event indicating the updated allowance.
 *
 * Requirements:
 *
 * - `spender` cannot be the zero address.
 */
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
return true;
}

/**
 * @dev Atomically decreases the allowance granted to `spender` by the caller.
 *
 * This is an alternative to {approve} that can be used as a mitigation for
 * problems described in {IERC20-approve}.
 *
 * Emits an {Approval} event indicating the updated allowance.
 *
 * Requirements:
 *
 * - `spender` cannot be the zero address.
 * - `spender` must have allowance for the caller of at least
 * `subtractedValue`.
 */
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
uint256 currentAllowance = _allowances[_msgSender()][spender];
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(_msgSender(), spender, currentAllowance - subtractedValue);
}

return true;
}

/**
 * @dev Moves tokens `amount` from `sender` to `recipient`.
 *
 * This is internal function is equivalent to {transfer}, and can be used to
 * e.g. implement automatic token fees, slashing mechanisms, etc.
 *
 * Emits a {Transfer} event.
 *
 * Requirements:
 *
 * - `sender` cannot be the zero address.
 * - `recipient` cannot be the zero address.
 * - `sender` must have a balance of at least `amount`.
 */
function _transfer(address sender, address recipient, uint256 amount) internal virtual {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");

_beforeTokenTransfer(sender, recipient, amount);

uint256 senderBalance = _balances[sender];
require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[sender] = senderBalance - amount;
}
_balances[recipient] += amount;

emit Transfer(sender, recipient, amount);
}

/** @dev Creates `amount` tokens and assigns them to `account`, increasing
 * the total supply.
 *
 * Emits a {Transfer} event with `from` set to the zero address.
 *
 * Requirements:
 *
 * - `account` cannot be the zero address.
 */
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");

_beforeTokenTransfer(address(0), account, amount);

_totalSupply += amount;
_balances[account] += amount;
emit Transfer(address(0), account, amount);
}

/**
 * @dev Destroys `amount` tokens from `account`, reducing the
 * total supply.
 *
 * Emits a {Transfer} event with `to` set to the zero address.
 *
 * Requirements:
 *
 * - `account` cannot be the zero address.
 * - `account` must have at least `amount` tokens.
 */
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");

_beforeTokenTransfer(account, address(0), amount);

uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
unchecked {
_balances[account] = accountBalance - amount;
_totalSupply -= amount;
}

emit Transfer(account, address(0), amount);
}

/**
 * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
 *
 * This internal function is equivalent to `approve`, and can be used to
 * e.g. set automatic allowances for certain subsystems, etc.
 *
 * Emits an {Approval} event.
 *
 * Requirements:
 *
 * - `owner` cannot be the zero address.
 * - `spender` cannot be the zero address.
 */
function _approve(address owner, address spender, uint256 amount) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");

_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}

/**
 * @dev Hook that is called before any transfer of tokens. This includes
 * minting and burning.
 *
 * Calling conditions:
 *
 * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
 * will be to transferred to `to`.
 * - when `from` is zero, `amount` tokens will be minted for `to`.
 * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
 * - `from` and `to` are never both zero.
 *
 * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
 */
function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}

File 4 of 11 : Validators.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

import "./utils/ECDSA.sol";
import "./ChainIdValidators.sol";

contract Validators is ChainIdValidators {
    using ECDSA for bytes32;

    address[] public bridgeValidators;

    function addBridgeValidator(address _validator) external onlyOwner {
        (bool found,) = indexOfBridgeValidator(_validator);
        require(!found, 'Validator already added');
        bridgeValidators.push(_validator);
    }

    function removeBridgeValidator(address _validator) external onlyOwner {
        (bool found, uint index) = indexOfBridgeValidator(_validator);
        require(found, 'Validator not found');
        if (bridgeValidators.length > 1) {
            bridgeValidators[index] = bridgeValidators[bridgeValidators.length - 1];
        }
        bridgeValidators.pop();
    }

    function getListBridgeValidators() public view returns (address[] memory) {
        return bridgeValidators;
    }

    function indexOfBridgeValidator(address _validator) public view returns (bool found, uint index) {
        for (uint i = 0; i < bridgeValidators.length; i++) {
            if (bridgeValidators[i] == _validator) {
                return (true, i);
            }
        }
        return (false, 0);
    }

    function checkSignatures(bytes32 _messageHash, bytes[] memory _signatures) public view returns (bool) {
        require(bridgeValidators.length > 0, 'Validators not added');
        require(_signatures.length == bridgeValidators.length, 'The number of signatures does not match the number of validators');
        bool[] memory markedValidators = new bool[](bridgeValidators.length);
        for (uint i = 0; i < _signatures.length; i++) {
            address extractedAddress = _messageHash.toEthSignedMessageHash().recover(_signatures[i]);
            (bool found, uint index) = indexOfBridgeValidator(extractedAddress);
            if (found && !markedValidators[index]) {
                markedValidators[index] = true;
            } else {
                return false;
            }
        }
        return true;
    }
}

File 5 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;
    address private _pendingOwner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
    * @dev Returns the address of the pending owner.
    */
    function pendingOwner() public view returns (address) {
        return _pendingOwner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
    * @dev Throws if called by any account other than the pending owner.
    */
    modifier onlyPendingOwner() {
        require(pendingOwner() == _msgSender(), "Ownable: caller is not the pending owner");
        _;
    }

    function transferOwnership(address newOwner) external onlyOwner {
        _pendingOwner = newOwner;
    }

    function claimOwnership() external onlyPendingOwner {
        _owner = _pendingOwner;
        _pendingOwner = address(0);
        emit OwnershipTransferred(_owner, _pendingOwner);
    }
}

File 6 of 11 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 7 of 11 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 8 of 11 : IERC677.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./IERC20.sol";

interface IERC677 is IERC20 {
    function transferAndCall(
        address to,
        uint256 value,
        bytes memory data
    ) external returns (bool ok);

    event Transfer(address indexed from, address indexed to, uint256 value, bytes data);
}

File 9 of 11 : IERC677Receiver.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IERC677Receiver {
    function onTokenTransfer(address _sender, uint _value, bytes memory _data) external;
}

File 10 of 11 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 11 of 11 : ECDSA.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        // Divide the signature in r, s and v variables
        bytes32 r;
        bytes32 s;
        uint8 v;

        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            // solhint-disable-next-line no-inline-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
        } else if (signature.length == 64) {
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            // solhint-disable-next-line no-inline-assembly
            assembly {
                let vs := mload(add(signature, 0x40))
                r := mload(add(signature, 0x20))
                s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
                v := add(shr(255, vs), 27)
            }
        } else {
            revert("ECDSA: invalid signature length");
        }

        return recover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value");
        require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value");

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        require(signer != address(0), "ECDSA: invalid signature");

        return signer;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

Settings
{
  "evmVersion": "istanbul",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"tokenName","type":"string"},{"internalType":"string","name":"tokenSymbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"uint256","name":"_toChainId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"_burnId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Burned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"uint256","name":"_fromChainId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"_lockId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Minted","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"}],"name":"Transfer","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":[{"internalType":"address","name":"_validator","type":"address"}],"name":"addBridgeValidator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_chainId","type":"uint256"}],"name":"addChainId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"bridgeValidators","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_toChainId","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"chainIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_messageHash","type":"bytes32"},{"internalType":"bytes[]","name":"_signatures","type":"bytes[]"}],"name":"checkSignatures","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getListBridgeValidators","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getListChainIds","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_validator","type":"address"}],"name":"indexOfBridgeValidator","outputs":[{"internalType":"bool","name":"found","type":"bool"},{"internalType":"uint256","name":"index","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_chainId","type":"uint256"}],"name":"indexOfChainId","outputs":[{"internalType":"bool","name":"found","type":"bool"},{"internalType":"uint256","name":"index","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastBurnId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"lockIdsUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fromChainId","type":"uint256"},{"internalType":"uint256","name":"_lockId","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes[]","name":"_signatures","type":"bytes[]"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_validator","type":"address"}],"name":"removeBridgeValidator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_chainId","type":"uint256"}],"name":"removeChainId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"transferAndCall","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620043b0380380620043b0833981810160405281019062000037919062000250565b81818160039080519060200190620000519291906200012e565b5080600490805190602001906200006a9291906200012e565b50505060006200007f6200012660201b60201c565b905080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3505050620003f4565b600033905090565b8280546200013c9062000360565b90600052602060002090601f016020900481019282620001605760008555620001ac565b82601f106200017b57805160ff1916838001178555620001ac565b82800160010185558215620001ac579182015b82811115620001ab5782518255916020019190600101906200018e565b5b509050620001bb9190620001bf565b5090565b5b80821115620001da576000816000905550600101620001c0565b5090565b6000620001f5620001ef84620002f7565b620002c3565b9050828152602081018484840111156200020e57600080fd5b6200021b8482856200032a565b509392505050565b600082601f8301126200023557600080fd5b815162000247848260208601620001de565b91505092915050565b600080604083850312156200026457600080fd5b600083015167ffffffffffffffff8111156200027f57600080fd5b6200028d8582860162000223565b925050602083015167ffffffffffffffff811115620002ab57600080fd5b620002b98582860162000223565b9150509250929050565b6000604051905081810181811067ffffffffffffffff82111715620002ed57620002ec620003c5565b5b8060405250919050565b600067ffffffffffffffff821115620003155762000314620003c5565b5b601f19601f8301169050602081019050919050565b60005b838110156200034a5780820151818401526020810190506200032d565b838111156200035a576000848401525b50505050565b600060028204905060018216806200037957607f821691505b6020821081141562000390576200038f62000396565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613fac80620004046000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80638f3f5c841161010f578063ace09eab116100a2578063dd62ed3e11610071578063dd62ed3e146105e0578063e30c397814610610578063e8cf95011461062e578063f2fde38b1461064c576101e5565b8063ace09eab1461055c578063aebc314514610578578063b390c0ab146105a8578063c5eeb8af146105c4576101e5565b80639a53b070116100de5780639a53b070146104c45780639a74695d146104e0578063a457c2d7146104fc578063a9059cbb1461052c576101e5565b80638f3f5c841461043957806395d89b411461045757806396fd59e8146104755780639a4526ed14610493576101e5565b80634000aea011610187578063582f1da211610156578063582f1da21461039f5780635a0f8830146103bb57806370a08231146103eb5780638da5cb5b1461041b576101e5565b80634000aea0146103045780634ded9331146103345780634e71e0c81461036457806357e60b3e1461036e576101e5565b806321d93090116101c357806321d930901461025657806323b872dd14610286578063313ce567146102b657806339509351146102d4576101e5565b806306fdde03146101ea578063095ea7b31461020857806318160ddd14610238575b600080fd5b6101f2610668565b6040516101ff919061379e565b60405180910390f35b610222600480360381019061021d919061293c565b6106fa565b60405161022f9190613715565b60405180910390f35b610240610718565b60405161024d9190613b00565b60405180910390f35b610270600480360381019061026b9190612a33565b610722565b60405161027d9190613b00565b60405180910390f35b6102a0600480360381019061029b91906128ed565b610746565b6040516102ad9190613715565b60405180910390f35b6102be61083e565b6040516102cb9190613b4b565b60405180910390f35b6102ee60048036038101906102e9919061293c565b610847565b6040516102fb9190613715565b60405180910390f35b61031e60048036038101906103199190612978565b6108f3565b60405161032b9190613715565b60405180910390f35b61034e60048036038101906103499190612a5c565b610993565b60405161035b9190613715565b60405180910390f35b61036c6109c2565b005b61038860048036038101906103839190612888565b610b83565b604051610396929190613730565b60405180910390f35b6103b960048036038101906103b49190612a33565b610c5c565b005b6103d560048036038101906103d091906129df565b610d54565b6040516103e29190613715565b60405180910390f35b61040560048036038101906104009190612888565b610fab565b6040516104129190613b00565b60405180910390f35b610423610ff3565b6040516104309190613678565b60405180910390f35b61044161101d565b60405161044e9190613b00565b60405180910390f35b61045f611023565b60405161046c919061379e565b60405180910390f35b61047d6110b5565b60405161048a91906136f3565b60405180910390f35b6104ad60048036038101906104a89190612a33565b61110d565b6040516104bb929190613730565b60405180910390f35b6104de60048036038101906104d99190612888565b61119a565b005b6104fa60048036038101906104f59190612a98565b6113df565b005b6105166004803603810190610511919061293c565b611580565b6040516105239190613715565b60405180910390f35b6105466004803603810190610541919061293c565b61166b565b6040516105539190613715565b60405180910390f35b61057660048036038101906105719190612888565b611689565b005b610592600480360381019061058d9190612a33565b6117bb565b60405161059f9190613678565b60405180910390f35b6105c260048036038101906105bd9190612a5c565b6117fa565b005b6105de60048036038101906105d99190612a33565b611912565b005b6105fa60048036038101906105f591906128b1565b611ade565b6040516106079190613b00565b60405180910390f35b610618611b65565b6040516106259190613678565b60405180910390f35b610636611b8f565b60405161064391906136d1565b60405180910390f35b61066660048036038101906106619190612888565b611c1d565b005b60606003805461067790613dd3565b80601f01602080910402602001604051908101604052809291908181526020018280546106a390613dd3565b80156106f05780601f106106c5576101008083540402835291602001916106f0565b820191906000526020600020905b8154815290600101906020018083116106d357829003601f168201915b5050505050905090565b600061070e610707611cdd565b8484611ce5565b6001905092915050565b6000600254905090565b6007818154811061073257600080fd5b906000526020600020016000915090505481565b6000610753848484611eb0565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600061079e611cdd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561081e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081590613900565b60405180910390fd5b6108328561082a611cdd565b858403611ce5565b60019150509392505050565b60006008905090565b60006108e9610854611cdd565b848460016000610862611cdd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108e49190613ca8565b611ce5565b6001905092915050565b60006108ff848461166b565b508373ffffffffffffffffffffffffffffffffffffffff1661091f611cdd565b73ffffffffffffffffffffffffffffffffffffffff167fe19260aff97b920c7df27010903aeb9c8d2be5d310a2c67824cf3f15396e4c168585604051610966929190613b1b565b60405180910390a361097784612126565b1561098857610987848484612139565b5b600190509392505050565b600a6020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b6109ca611cdd565b73ffffffffffffffffffffffffffffffffffffffff166109e8611b65565b73ffffffffffffffffffffffffffffffffffffffff1614610a3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3590613a60565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3565b60008060005b600880549050811015610c4e578373ffffffffffffffffffffffffffffffffffffffff1660088281548110610be7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610c3b576001819250925050610c57565b8080610c4690613e05565b915050610b89565b50600080915091505b915091565b610c64611cdd565b73ffffffffffffffffffffffffffffffffffffffff16610c82610ff3565b73ffffffffffffffffffffffffffffffffffffffff1614610cd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccf90613940565b60405180910390fd5b6000610ce38261110d565b5090508015610d27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1e90613960565b60405180910390fd5b60078290806001815401808255809150506001900390600052602060002001600090919091909150555050565b60008060088054905011610d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9490613a40565b60405180910390fd5b600880549050825114610de5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddc906139c0565b60405180910390fd5b600060088054905067ffffffffffffffff811115610e2c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610e5a5781602001602082028036833780820191505090505b50905060005b8351811015610f9e576000610ec6858381518110610ea7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610eb8886121ba565b6121ea90919063ffffffff16565b9050600080610ed483610b83565b91509150818015610f235750848181518110610f19577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151155b15610f7a576001858281518110610f63577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019015159081151581525050610f88565b600095505050505050610fa5565b5050508080610f9690613e05565b915050610e60565b5060019150505b92915050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60095481565b60606004805461103290613dd3565b80601f016020809104026020016040519081016040528092919081815260200182805461105e90613dd3565b80156110ab5780601f10611080576101008083540402835291602001916110ab565b820191906000526020600020905b81548152906001019060200180831161108e57829003601f168201915b5050505050905090565b6060600780548060200260200160405190810160405280929190818152602001828054801561110357602002820191906000526020600020905b8154815260200190600101908083116110ef575b5050505050905090565b60008060005b60078054905081101561118c57836007828154811061115b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001541415611179576001819250925050611195565b808061118490613e05565b915050611113565b50600080915091505b915091565b6111a2611cdd565b73ffffffffffffffffffffffffffffffffffffffff166111c0610ff3565b73ffffffffffffffffffffffffffffffffffffffff1614611216576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120d90613940565b60405180910390fd5b60008061122283610b83565b9150915081611266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125d90613ae0565b60405180910390fd5b6001600880549050111561136d57600860016008805490506112889190613cfe565b815481106112bf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660088281548110611324577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b60088054806113a5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690559055505050565b600a6000858152602001908152602001600020600084815260200190815260200160002060009054906101000a900460ff1615611451576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611448906138c0565b60405180910390fd5b600061145b611cdd565b854686866040516020016114739594939291906135f3565b6040516020818303038152906040528051906020012090506114958183610d54565b6114d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114cb90613920565b60405180910390fd5b6001600a6000878152602001908152602001600020600086815260200190815260200160002060006101000a81548160ff02191690831515021790555061152261151c611cdd565b846122b4565b838561152c611cdd565b73ffffffffffffffffffffffffffffffffffffffff167f5a3358a3d27a5373c0df2604662088d37894d56b7cfd27f315770440f4e0d919866040516115719190613b00565b60405180910390a45050505050565b6000806001600061158f611cdd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561164c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164390613a80565b60405180910390fd5b611660611657611cdd565b85858403611ce5565b600191505092915050565b600061167f611678611cdd565b8484611eb0565b6001905092915050565b611691611cdd565b73ffffffffffffffffffffffffffffffffffffffff166116af610ff3565b73ffffffffffffffffffffffffffffffffffffffff1614611705576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fc90613940565b60405180910390fd5b600061171082610b83565b5090508015611754576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174b90613ac0565b60405180910390fd5b6008829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600881815481106117cb57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000811161183d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183490613a20565b60405180910390fd5b60006118488361110d565b5090508061188b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611882906139a0565b60405180910390fd5b61189c611896611cdd565b83612408565b600960008154809291906118af90613e05565b9190505550600954836118c0611cdd565b73ffffffffffffffffffffffffffffffffffffffff167f4c60206a5c1de41f3376d1d60f0949d96cb682033c90b1c2d9d9a62d4c4120c0856040516119059190613b00565b60405180910390a4505050565b61191a611cdd565b73ffffffffffffffffffffffffffffffffffffffff16611938610ff3565b73ffffffffffffffffffffffffffffffffffffffff161461198e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198590613940565b60405180910390fd5b60008061199a8361110d565b91509150816119de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d590613880565b60405180910390fd5b60016007805490501115611a8b5760076001600780549050611a009190613cfe565b81548110611a37577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015460078281548110611a7c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055505b6007805480611ac3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b60019003818190600052602060002001600090559055505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606008805480602002602001604051908101604052809291908181526020018280548015611c1357602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311611bc9575b5050505050905090565b611c25611cdd565b73ffffffffffffffffffffffffffffffffffffffff16611c43610ff3565b73ffffffffffffffffffffffffffffffffffffffff1614611c99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9090613940565b60405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4c90613a00565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611dc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbc90613840565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611ea39190613b00565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611f20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f17906139e0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f87906137e0565b60405180910390fd5b611f9b8383836125ca565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612021576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201890613860565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120b49190613ca8565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516121189190613b00565b60405180910390a350505050565b600080823b905060008111915050919050565b60008390508073ffffffffffffffffffffffffffffffffffffffff1663a4c0ed36612162611cdd565b85856040518463ffffffff1660e01b815260040161218293929190613693565b600060405180830381600087803b15801561219c57600080fd5b505af11580156121b0573d6000803e3d6000fd5b5050505050505050565b6000816040516020016121cd9190613652565b604051602081830303815290604052805190602001209050919050565b600080600080604185511415612217576020850151925060408501519150606085015160001a905061229d565b604085511415612261576040850151602086015193507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81169250601b8160ff1c0191505061229c565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229390613820565b60405180910390fd5b5b6122a9868285856125cf565b935050505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612324576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231b90613aa0565b60405180910390fd5b612330600083836125ca565b80600260008282546123429190613ca8565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123979190613ca8565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516123fc9190613b00565b60405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246f90613980565b60405180910390fd5b612484826000836125ca565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561250a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250190613800565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516125bd9190613b00565b60405180910390a3505050565b505050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08260001c1115612637576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262e906138a0565b60405180910390fd5b601b8460ff16148061264c5750601c8460ff16145b61268b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612682906138e0565b60405180910390fd5b6000600186868686604051600081526020016040526040516126b09493929190613759565b6020604051602081039080840390855afa1580156126d2573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561274e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612745906137c0565b60405180910390fd5b80915050949350505050565b600061276d61276884613b97565b613b66565b9050808382526020820190508260005b858110156127ad57813585016127938882612849565b84526020840193506020830192505060018101905061277d565b5050509392505050565b60006127ca6127c584613bc3565b613b66565b9050828152602081018484840111156127e257600080fd5b6127ed848285613d91565b509392505050565b60008135905061280481613f31565b92915050565b600082601f83011261281b57600080fd5b813561282b84826020860161275a565b91505092915050565b60008135905061284381613f48565b92915050565b600082601f83011261285a57600080fd5b813561286a8482602086016127b7565b91505092915050565b60008135905061288281613f5f565b92915050565b60006020828403121561289a57600080fd5b60006128a8848285016127f5565b91505092915050565b600080604083850312156128c457600080fd5b60006128d2858286016127f5565b92505060206128e3858286016127f5565b9150509250929050565b60008060006060848603121561290257600080fd5b6000612910868287016127f5565b9350506020612921868287016127f5565b925050604061293286828701612873565b9150509250925092565b6000806040838503121561294f57600080fd5b600061295d858286016127f5565b925050602061296e85828601612873565b9150509250929050565b60008060006060848603121561298d57600080fd5b600061299b868287016127f5565b93505060206129ac86828701612873565b925050604084013567ffffffffffffffff8111156129c957600080fd5b6129d586828701612849565b9150509250925092565b600080604083850312156129f257600080fd5b6000612a0085828601612834565b925050602083013567ffffffffffffffff811115612a1d57600080fd5b612a298582860161280a565b9150509250929050565b600060208284031215612a4557600080fd5b6000612a5384828501612873565b91505092915050565b60008060408385031215612a6f57600080fd5b6000612a7d85828601612873565b9250506020612a8e85828601612873565b9150509250929050565b60008060008060808587031215612aae57600080fd5b6000612abc87828801612873565b9450506020612acd87828801612873565b9350506040612ade87828801612873565b925050606085013567ffffffffffffffff811115612afb57600080fd5b612b078782880161280a565b91505092959194509250565b6000612b1f8383612b43565b60208301905092915050565b6000612b3783836135af565b60208301905092915050565b612b4c81613d32565b82525050565b612b5b81613d32565b82525050565b612b72612b6d82613d32565b613e4e565b82525050565b6000612b8382613c13565b612b8d8185613c59565b9350612b9883613bf3565b8060005b83811015612bc9578151612bb08882612b13565b9750612bbb83613c3f565b925050600181019050612b9c565b5085935050505092915050565b6000612be182613c1e565b612beb8185613c6a565b9350612bf683613c03565b8060005b83811015612c27578151612c0e8882612b2b565b9750612c1983613c4c565b925050600181019050612bfa565b5085935050505092915050565b612c3d81613d44565b82525050565b612c4c81613d50565b82525050565b612c63612c5e82613d50565b613e60565b82525050565b6000612c7482613c29565b612c7e8185613c7b565b9350612c8e818560208601613da0565b612c9781613f13565b840191505092915050565b6000612cad82613c34565b612cb78185613c8c565b9350612cc7818560208601613da0565b612cd081613f13565b840191505092915050565b6000612ce8601883613c8c565b91507f45434453413a20696e76616c6964207369676e617475726500000000000000006000830152602082019050919050565b6000612d28602383613c8c565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612d8e602283613c8c565b91507f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008301527f63650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612df4601f83613c8c565b91507f45434453413a20696e76616c6964207369676e6174757265206c656e677468006000830152602082019050919050565b6000612e34601c83613c9d565b91507f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000830152601c82019050919050565b6000612e74602283613c8c565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612eda602683613c8c565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206260008301527f616c616e636500000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612f40601183613c8c565b91507f436861696e4964206e6f7420666f756e640000000000000000000000000000006000830152602082019050919050565b6000612f80602283613c8c565b91507f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612fe6601483613c8c565b91507f4c6f636b20696420616c726561647920757365640000000000000000000000006000830152602082019050919050565b6000613026602283613c8c565b91507f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061308c602883613c8c565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206160008301527f6c6c6f77616e63650000000000000000000000000000000000000000000000006020830152604082019050919050565b60006130f2601683613c8c565b91507f496e636f7272656374207369676e6174757265287329000000000000000000006000830152602082019050919050565b6000613132602083613c8c565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613172601583613c8c565b91507f436861696e496420616c726561647920616464656400000000000000000000006000830152602082019050919050565b60006131b2602183613c8c565b91507f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613218601383613c8c565b91507f436861696e4964206e6f7420616c6c6f776564000000000000000000000000006000830152602082019050919050565b6000613258604083613c8c565b91507f546865206e756d626572206f66207369676e61747572657320646f6573206e6f60008301527f74206d6174636820746865206e756d626572206f662076616c696461746f72736020830152604082019050919050565b60006132be602583613c8c565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613324602483613c8c565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061338a602783613c8c565b91507f54686520616d6f756e74206f6620746865206c6f636b206d757374206e6f742060008301527f6265207a65726f000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006133f0601483613c8c565b91507f56616c696461746f7273206e6f742061646465640000000000000000000000006000830152602082019050919050565b6000613430602883613c8c565b91507f4f776e61626c653a2063616c6c6572206973206e6f74207468652070656e646960008301527f6e67206f776e65720000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613496602583613c8c565b91507f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008301527f207a65726f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006134fc601f83613c8c565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b600061353c601783613c8c565b91507f56616c696461746f7220616c72656164792061646465640000000000000000006000830152602082019050919050565b600061357c601383613c8c565b91507f56616c696461746f72206e6f7420666f756e64000000000000000000000000006000830152602082019050919050565b6135b881613d7a565b82525050565b6135c781613d7a565b82525050565b6135de6135d982613d7a565b613e7c565b82525050565b6135ed81613d84565b82525050565b60006135ff8288612b61565b60148201915061360f82876135cd565b60208201915061361f82866135cd565b60208201915061362f82856135cd565b60208201915061363f82846135cd565b6020820191508190509695505050505050565b600061365d82612e27565b91506136698284612c52565b60208201915081905092915050565b600060208201905061368d6000830184612b52565b92915050565b60006060820190506136a86000830186612b52565b6136b560208301856135be565b81810360408301526136c78184612c69565b9050949350505050565b600060208201905081810360008301526136eb8184612b78565b905092915050565b6000602082019050818103600083015261370d8184612bd6565b905092915050565b600060208201905061372a6000830184612c34565b92915050565b60006040820190506137456000830185612c34565b61375260208301846135be565b9392505050565b600060808201905061376e6000830187612c43565b61377b60208301866135e4565b6137886040830185612c43565b6137956060830184612c43565b95945050505050565b600060208201905081810360008301526137b88184612ca2565b905092915050565b600060208201905081810360008301526137d981612cdb565b9050919050565b600060208201905081810360008301526137f981612d1b565b9050919050565b6000602082019050818103600083015261381981612d81565b9050919050565b6000602082019050818103600083015261383981612de7565b9050919050565b6000602082019050818103600083015261385981612e67565b9050919050565b6000602082019050818103600083015261387981612ecd565b9050919050565b6000602082019050818103600083015261389981612f33565b9050919050565b600060208201905081810360008301526138b981612f73565b9050919050565b600060208201905081810360008301526138d981612fd9565b9050919050565b600060208201905081810360008301526138f981613019565b9050919050565b600060208201905081810360008301526139198161307f565b9050919050565b60006020820190508181036000830152613939816130e5565b9050919050565b6000602082019050818103600083015261395981613125565b9050919050565b6000602082019050818103600083015261397981613165565b9050919050565b60006020820190508181036000830152613999816131a5565b9050919050565b600060208201905081810360008301526139b98161320b565b9050919050565b600060208201905081810360008301526139d98161324b565b9050919050565b600060208201905081810360008301526139f9816132b1565b9050919050565b60006020820190508181036000830152613a1981613317565b9050919050565b60006020820190508181036000830152613a398161337d565b9050919050565b60006020820190508181036000830152613a59816133e3565b9050919050565b60006020820190508181036000830152613a7981613423565b9050919050565b60006020820190508181036000830152613a9981613489565b9050919050565b60006020820190508181036000830152613ab9816134ef565b9050919050565b60006020820190508181036000830152613ad98161352f565b9050919050565b60006020820190508181036000830152613af98161356f565b9050919050565b6000602082019050613b1560008301846135be565b92915050565b6000604082019050613b3060008301856135be565b8181036020830152613b428184612c69565b90509392505050565b6000602082019050613b6060008301846135e4565b92915050565b6000604051905081810181811067ffffffffffffffff82111715613b8d57613b8c613ee4565b5b8060405250919050565b600067ffffffffffffffff821115613bb257613bb1613ee4565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613bde57613bdd613ee4565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613cb382613d7a565b9150613cbe83613d7a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613cf357613cf2613e86565b5b828201905092915050565b6000613d0982613d7a565b9150613d1483613d7a565b925082821015613d2757613d26613e86565b5b828203905092915050565b6000613d3d82613d5a565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015613dbe578082015181840152602081019050613da3565b83811115613dcd576000848401525b50505050565b60006002820490506001821680613deb57607f821691505b60208210811415613dff57613dfe613eb5565b5b50919050565b6000613e1082613d7a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e4357613e42613e86565b5b600182019050919050565b6000613e5982613e6a565b9050919050565b6000819050919050565b6000613e7582613f24565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b613f3a81613d32565b8114613f4557600080fd5b50565b613f5181613d50565b8114613f5c57600080fd5b50565b613f6881613d7a565b8114613f7357600080fd5b5056fea264697066735822122023bbc736c5645211a92cad5b21d2e7a60f9c2182dcf23e3e4b902b5e864f3e4564736f6c6343000800003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001443727970746f2047616d696e6720556e6974656400000000000000000000000000000000000000000000000000000000000000000000000000000000000000034347550000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80638f3f5c841161010f578063ace09eab116100a2578063dd62ed3e11610071578063dd62ed3e146105e0578063e30c397814610610578063e8cf95011461062e578063f2fde38b1461064c576101e5565b8063ace09eab1461055c578063aebc314514610578578063b390c0ab146105a8578063c5eeb8af146105c4576101e5565b80639a53b070116100de5780639a53b070146104c45780639a74695d146104e0578063a457c2d7146104fc578063a9059cbb1461052c576101e5565b80638f3f5c841461043957806395d89b411461045757806396fd59e8146104755780639a4526ed14610493576101e5565b80634000aea011610187578063582f1da211610156578063582f1da21461039f5780635a0f8830146103bb57806370a08231146103eb5780638da5cb5b1461041b576101e5565b80634000aea0146103045780634ded9331146103345780634e71e0c81461036457806357e60b3e1461036e576101e5565b806321d93090116101c357806321d930901461025657806323b872dd14610286578063313ce567146102b657806339509351146102d4576101e5565b806306fdde03146101ea578063095ea7b31461020857806318160ddd14610238575b600080fd5b6101f2610668565b6040516101ff919061379e565b60405180910390f35b610222600480360381019061021d919061293c565b6106fa565b60405161022f9190613715565b60405180910390f35b610240610718565b60405161024d9190613b00565b60405180910390f35b610270600480360381019061026b9190612a33565b610722565b60405161027d9190613b00565b60405180910390f35b6102a0600480360381019061029b91906128ed565b610746565b6040516102ad9190613715565b60405180910390f35b6102be61083e565b6040516102cb9190613b4b565b60405180910390f35b6102ee60048036038101906102e9919061293c565b610847565b6040516102fb9190613715565b60405180910390f35b61031e60048036038101906103199190612978565b6108f3565b60405161032b9190613715565b60405180910390f35b61034e60048036038101906103499190612a5c565b610993565b60405161035b9190613715565b60405180910390f35b61036c6109c2565b005b61038860048036038101906103839190612888565b610b83565b604051610396929190613730565b60405180910390f35b6103b960048036038101906103b49190612a33565b610c5c565b005b6103d560048036038101906103d091906129df565b610d54565b6040516103e29190613715565b60405180910390f35b61040560048036038101906104009190612888565b610fab565b6040516104129190613b00565b60405180910390f35b610423610ff3565b6040516104309190613678565b60405180910390f35b61044161101d565b60405161044e9190613b00565b60405180910390f35b61045f611023565b60405161046c919061379e565b60405180910390f35b61047d6110b5565b60405161048a91906136f3565b60405180910390f35b6104ad60048036038101906104a89190612a33565b61110d565b6040516104bb929190613730565b60405180910390f35b6104de60048036038101906104d99190612888565b61119a565b005b6104fa60048036038101906104f59190612a98565b6113df565b005b6105166004803603810190610511919061293c565b611580565b6040516105239190613715565b60405180910390f35b6105466004803603810190610541919061293c565b61166b565b6040516105539190613715565b60405180910390f35b61057660048036038101906105719190612888565b611689565b005b610592600480360381019061058d9190612a33565b6117bb565b60405161059f9190613678565b60405180910390f35b6105c260048036038101906105bd9190612a5c565b6117fa565b005b6105de60048036038101906105d99190612a33565b611912565b005b6105fa60048036038101906105f591906128b1565b611ade565b6040516106079190613b00565b60405180910390f35b610618611b65565b6040516106259190613678565b60405180910390f35b610636611b8f565b60405161064391906136d1565b60405180910390f35b61066660048036038101906106619190612888565b611c1d565b005b60606003805461067790613dd3565b80601f01602080910402602001604051908101604052809291908181526020018280546106a390613dd3565b80156106f05780601f106106c5576101008083540402835291602001916106f0565b820191906000526020600020905b8154815290600101906020018083116106d357829003601f168201915b5050505050905090565b600061070e610707611cdd565b8484611ce5565b6001905092915050565b6000600254905090565b6007818154811061073257600080fd5b906000526020600020016000915090505481565b6000610753848484611eb0565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600061079e611cdd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561081e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081590613900565b60405180910390fd5b6108328561082a611cdd565b858403611ce5565b60019150509392505050565b60006008905090565b60006108e9610854611cdd565b848460016000610862611cdd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108e49190613ca8565b611ce5565b6001905092915050565b60006108ff848461166b565b508373ffffffffffffffffffffffffffffffffffffffff1661091f611cdd565b73ffffffffffffffffffffffffffffffffffffffff167fe19260aff97b920c7df27010903aeb9c8d2be5d310a2c67824cf3f15396e4c168585604051610966929190613b1b565b60405180910390a361097784612126565b1561098857610987848484612139565b5b600190509392505050565b600a6020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b6109ca611cdd565b73ffffffffffffffffffffffffffffffffffffffff166109e8611b65565b73ffffffffffffffffffffffffffffffffffffffff1614610a3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3590613a60565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3565b60008060005b600880549050811015610c4e578373ffffffffffffffffffffffffffffffffffffffff1660088281548110610be7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610c3b576001819250925050610c57565b8080610c4690613e05565b915050610b89565b50600080915091505b915091565b610c64611cdd565b73ffffffffffffffffffffffffffffffffffffffff16610c82610ff3565b73ffffffffffffffffffffffffffffffffffffffff1614610cd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccf90613940565b60405180910390fd5b6000610ce38261110d565b5090508015610d27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1e90613960565b60405180910390fd5b60078290806001815401808255809150506001900390600052602060002001600090919091909150555050565b60008060088054905011610d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9490613a40565b60405180910390fd5b600880549050825114610de5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddc906139c0565b60405180910390fd5b600060088054905067ffffffffffffffff811115610e2c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610e5a5781602001602082028036833780820191505090505b50905060005b8351811015610f9e576000610ec6858381518110610ea7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610eb8886121ba565b6121ea90919063ffffffff16565b9050600080610ed483610b83565b91509150818015610f235750848181518110610f19577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151155b15610f7a576001858281518110610f63577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019015159081151581525050610f88565b600095505050505050610fa5565b5050508080610f9690613e05565b915050610e60565b5060019150505b92915050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60095481565b60606004805461103290613dd3565b80601f016020809104026020016040519081016040528092919081815260200182805461105e90613dd3565b80156110ab5780601f10611080576101008083540402835291602001916110ab565b820191906000526020600020905b81548152906001019060200180831161108e57829003601f168201915b5050505050905090565b6060600780548060200260200160405190810160405280929190818152602001828054801561110357602002820191906000526020600020905b8154815260200190600101908083116110ef575b5050505050905090565b60008060005b60078054905081101561118c57836007828154811061115b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001541415611179576001819250925050611195565b808061118490613e05565b915050611113565b50600080915091505b915091565b6111a2611cdd565b73ffffffffffffffffffffffffffffffffffffffff166111c0610ff3565b73ffffffffffffffffffffffffffffffffffffffff1614611216576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120d90613940565b60405180910390fd5b60008061122283610b83565b9150915081611266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125d90613ae0565b60405180910390fd5b6001600880549050111561136d57600860016008805490506112889190613cfe565b815481106112bf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660088281548110611324577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b60088054806113a5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690559055505050565b600a6000858152602001908152602001600020600084815260200190815260200160002060009054906101000a900460ff1615611451576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611448906138c0565b60405180910390fd5b600061145b611cdd565b854686866040516020016114739594939291906135f3565b6040516020818303038152906040528051906020012090506114958183610d54565b6114d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114cb90613920565b60405180910390fd5b6001600a6000878152602001908152602001600020600086815260200190815260200160002060006101000a81548160ff02191690831515021790555061152261151c611cdd565b846122b4565b838561152c611cdd565b73ffffffffffffffffffffffffffffffffffffffff167f5a3358a3d27a5373c0df2604662088d37894d56b7cfd27f315770440f4e0d919866040516115719190613b00565b60405180910390a45050505050565b6000806001600061158f611cdd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561164c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164390613a80565b60405180910390fd5b611660611657611cdd565b85858403611ce5565b600191505092915050565b600061167f611678611cdd565b8484611eb0565b6001905092915050565b611691611cdd565b73ffffffffffffffffffffffffffffffffffffffff166116af610ff3565b73ffffffffffffffffffffffffffffffffffffffff1614611705576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fc90613940565b60405180910390fd5b600061171082610b83565b5090508015611754576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174b90613ac0565b60405180910390fd5b6008829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600881815481106117cb57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000811161183d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183490613a20565b60405180910390fd5b60006118488361110d565b5090508061188b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611882906139a0565b60405180910390fd5b61189c611896611cdd565b83612408565b600960008154809291906118af90613e05565b9190505550600954836118c0611cdd565b73ffffffffffffffffffffffffffffffffffffffff167f4c60206a5c1de41f3376d1d60f0949d96cb682033c90b1c2d9d9a62d4c4120c0856040516119059190613b00565b60405180910390a4505050565b61191a611cdd565b73ffffffffffffffffffffffffffffffffffffffff16611938610ff3565b73ffffffffffffffffffffffffffffffffffffffff161461198e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198590613940565b60405180910390fd5b60008061199a8361110d565b91509150816119de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d590613880565b60405180910390fd5b60016007805490501115611a8b5760076001600780549050611a009190613cfe565b81548110611a37577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015460078281548110611a7c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055505b6007805480611ac3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b60019003818190600052602060002001600090559055505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606008805480602002602001604051908101604052809291908181526020018280548015611c1357602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311611bc9575b5050505050905090565b611c25611cdd565b73ffffffffffffffffffffffffffffffffffffffff16611c43610ff3565b73ffffffffffffffffffffffffffffffffffffffff1614611c99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9090613940565b60405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4c90613a00565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611dc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbc90613840565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611ea39190613b00565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611f20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f17906139e0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f87906137e0565b60405180910390fd5b611f9b8383836125ca565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612021576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201890613860565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120b49190613ca8565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516121189190613b00565b60405180910390a350505050565b600080823b905060008111915050919050565b60008390508073ffffffffffffffffffffffffffffffffffffffff1663a4c0ed36612162611cdd565b85856040518463ffffffff1660e01b815260040161218293929190613693565b600060405180830381600087803b15801561219c57600080fd5b505af11580156121b0573d6000803e3d6000fd5b5050505050505050565b6000816040516020016121cd9190613652565b604051602081830303815290604052805190602001209050919050565b600080600080604185511415612217576020850151925060408501519150606085015160001a905061229d565b604085511415612261576040850151602086015193507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81169250601b8160ff1c0191505061229c565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229390613820565b60405180910390fd5b5b6122a9868285856125cf565b935050505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612324576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231b90613aa0565b60405180910390fd5b612330600083836125ca565b80600260008282546123429190613ca8565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123979190613ca8565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516123fc9190613b00565b60405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246f90613980565b60405180910390fd5b612484826000836125ca565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561250a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250190613800565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516125bd9190613b00565b60405180910390a3505050565b505050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08260001c1115612637576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262e906138a0565b60405180910390fd5b601b8460ff16148061264c5750601c8460ff16145b61268b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612682906138e0565b60405180910390fd5b6000600186868686604051600081526020016040526040516126b09493929190613759565b6020604051602081039080840390855afa1580156126d2573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561274e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612745906137c0565b60405180910390fd5b80915050949350505050565b600061276d61276884613b97565b613b66565b9050808382526020820190508260005b858110156127ad57813585016127938882612849565b84526020840193506020830192505060018101905061277d565b5050509392505050565b60006127ca6127c584613bc3565b613b66565b9050828152602081018484840111156127e257600080fd5b6127ed848285613d91565b509392505050565b60008135905061280481613f31565b92915050565b600082601f83011261281b57600080fd5b813561282b84826020860161275a565b91505092915050565b60008135905061284381613f48565b92915050565b600082601f83011261285a57600080fd5b813561286a8482602086016127b7565b91505092915050565b60008135905061288281613f5f565b92915050565b60006020828403121561289a57600080fd5b60006128a8848285016127f5565b91505092915050565b600080604083850312156128c457600080fd5b60006128d2858286016127f5565b92505060206128e3858286016127f5565b9150509250929050565b60008060006060848603121561290257600080fd5b6000612910868287016127f5565b9350506020612921868287016127f5565b925050604061293286828701612873565b9150509250925092565b6000806040838503121561294f57600080fd5b600061295d858286016127f5565b925050602061296e85828601612873565b9150509250929050565b60008060006060848603121561298d57600080fd5b600061299b868287016127f5565b93505060206129ac86828701612873565b925050604084013567ffffffffffffffff8111156129c957600080fd5b6129d586828701612849565b9150509250925092565b600080604083850312156129f257600080fd5b6000612a0085828601612834565b925050602083013567ffffffffffffffff811115612a1d57600080fd5b612a298582860161280a565b9150509250929050565b600060208284031215612a4557600080fd5b6000612a5384828501612873565b91505092915050565b60008060408385031215612a6f57600080fd5b6000612a7d85828601612873565b9250506020612a8e85828601612873565b9150509250929050565b60008060008060808587031215612aae57600080fd5b6000612abc87828801612873565b9450506020612acd87828801612873565b9350506040612ade87828801612873565b925050606085013567ffffffffffffffff811115612afb57600080fd5b612b078782880161280a565b91505092959194509250565b6000612b1f8383612b43565b60208301905092915050565b6000612b3783836135af565b60208301905092915050565b612b4c81613d32565b82525050565b612b5b81613d32565b82525050565b612b72612b6d82613d32565b613e4e565b82525050565b6000612b8382613c13565b612b8d8185613c59565b9350612b9883613bf3565b8060005b83811015612bc9578151612bb08882612b13565b9750612bbb83613c3f565b925050600181019050612b9c565b5085935050505092915050565b6000612be182613c1e565b612beb8185613c6a565b9350612bf683613c03565b8060005b83811015612c27578151612c0e8882612b2b565b9750612c1983613c4c565b925050600181019050612bfa565b5085935050505092915050565b612c3d81613d44565b82525050565b612c4c81613d50565b82525050565b612c63612c5e82613d50565b613e60565b82525050565b6000612c7482613c29565b612c7e8185613c7b565b9350612c8e818560208601613da0565b612c9781613f13565b840191505092915050565b6000612cad82613c34565b612cb78185613c8c565b9350612cc7818560208601613da0565b612cd081613f13565b840191505092915050565b6000612ce8601883613c8c565b91507f45434453413a20696e76616c6964207369676e617475726500000000000000006000830152602082019050919050565b6000612d28602383613c8c565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612d8e602283613c8c565b91507f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008301527f63650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612df4601f83613c8c565b91507f45434453413a20696e76616c6964207369676e6174757265206c656e677468006000830152602082019050919050565b6000612e34601c83613c9d565b91507f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000830152601c82019050919050565b6000612e74602283613c8c565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612eda602683613c8c565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206260008301527f616c616e636500000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612f40601183613c8c565b91507f436861696e4964206e6f7420666f756e640000000000000000000000000000006000830152602082019050919050565b6000612f80602283613c8c565b91507f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612fe6601483613c8c565b91507f4c6f636b20696420616c726561647920757365640000000000000000000000006000830152602082019050919050565b6000613026602283613c8c565b91507f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061308c602883613c8c565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206160008301527f6c6c6f77616e63650000000000000000000000000000000000000000000000006020830152604082019050919050565b60006130f2601683613c8c565b91507f496e636f7272656374207369676e6174757265287329000000000000000000006000830152602082019050919050565b6000613132602083613c8c565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613172601583613c8c565b91507f436861696e496420616c726561647920616464656400000000000000000000006000830152602082019050919050565b60006131b2602183613c8c565b91507f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613218601383613c8c565b91507f436861696e4964206e6f7420616c6c6f776564000000000000000000000000006000830152602082019050919050565b6000613258604083613c8c565b91507f546865206e756d626572206f66207369676e61747572657320646f6573206e6f60008301527f74206d6174636820746865206e756d626572206f662076616c696461746f72736020830152604082019050919050565b60006132be602583613c8c565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613324602483613c8c565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061338a602783613c8c565b91507f54686520616d6f756e74206f6620746865206c6f636b206d757374206e6f742060008301527f6265207a65726f000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006133f0601483613c8c565b91507f56616c696461746f7273206e6f742061646465640000000000000000000000006000830152602082019050919050565b6000613430602883613c8c565b91507f4f776e61626c653a2063616c6c6572206973206e6f74207468652070656e646960008301527f6e67206f776e65720000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613496602583613c8c565b91507f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008301527f207a65726f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006134fc601f83613c8c565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b600061353c601783613c8c565b91507f56616c696461746f7220616c72656164792061646465640000000000000000006000830152602082019050919050565b600061357c601383613c8c565b91507f56616c696461746f72206e6f7420666f756e64000000000000000000000000006000830152602082019050919050565b6135b881613d7a565b82525050565b6135c781613d7a565b82525050565b6135de6135d982613d7a565b613e7c565b82525050565b6135ed81613d84565b82525050565b60006135ff8288612b61565b60148201915061360f82876135cd565b60208201915061361f82866135cd565b60208201915061362f82856135cd565b60208201915061363f82846135cd565b6020820191508190509695505050505050565b600061365d82612e27565b91506136698284612c52565b60208201915081905092915050565b600060208201905061368d6000830184612b52565b92915050565b60006060820190506136a86000830186612b52565b6136b560208301856135be565b81810360408301526136c78184612c69565b9050949350505050565b600060208201905081810360008301526136eb8184612b78565b905092915050565b6000602082019050818103600083015261370d8184612bd6565b905092915050565b600060208201905061372a6000830184612c34565b92915050565b60006040820190506137456000830185612c34565b61375260208301846135be565b9392505050565b600060808201905061376e6000830187612c43565b61377b60208301866135e4565b6137886040830185612c43565b6137956060830184612c43565b95945050505050565b600060208201905081810360008301526137b88184612ca2565b905092915050565b600060208201905081810360008301526137d981612cdb565b9050919050565b600060208201905081810360008301526137f981612d1b565b9050919050565b6000602082019050818103600083015261381981612d81565b9050919050565b6000602082019050818103600083015261383981612de7565b9050919050565b6000602082019050818103600083015261385981612e67565b9050919050565b6000602082019050818103600083015261387981612ecd565b9050919050565b6000602082019050818103600083015261389981612f33565b9050919050565b600060208201905081810360008301526138b981612f73565b9050919050565b600060208201905081810360008301526138d981612fd9565b9050919050565b600060208201905081810360008301526138f981613019565b9050919050565b600060208201905081810360008301526139198161307f565b9050919050565b60006020820190508181036000830152613939816130e5565b9050919050565b6000602082019050818103600083015261395981613125565b9050919050565b6000602082019050818103600083015261397981613165565b9050919050565b60006020820190508181036000830152613999816131a5565b9050919050565b600060208201905081810360008301526139b98161320b565b9050919050565b600060208201905081810360008301526139d98161324b565b9050919050565b600060208201905081810360008301526139f9816132b1565b9050919050565b60006020820190508181036000830152613a1981613317565b9050919050565b60006020820190508181036000830152613a398161337d565b9050919050565b60006020820190508181036000830152613a59816133e3565b9050919050565b60006020820190508181036000830152613a7981613423565b9050919050565b60006020820190508181036000830152613a9981613489565b9050919050565b60006020820190508181036000830152613ab9816134ef565b9050919050565b60006020820190508181036000830152613ad98161352f565b9050919050565b60006020820190508181036000830152613af98161356f565b9050919050565b6000602082019050613b1560008301846135be565b92915050565b6000604082019050613b3060008301856135be565b8181036020830152613b428184612c69565b90509392505050565b6000602082019050613b6060008301846135e4565b92915050565b6000604051905081810181811067ffffffffffffffff82111715613b8d57613b8c613ee4565b5b8060405250919050565b600067ffffffffffffffff821115613bb257613bb1613ee4565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613bde57613bdd613ee4565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613cb382613d7a565b9150613cbe83613d7a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613cf357613cf2613e86565b5b828201905092915050565b6000613d0982613d7a565b9150613d1483613d7a565b925082821015613d2757613d26613e86565b5b828203905092915050565b6000613d3d82613d5a565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015613dbe578082015181840152602081019050613da3565b83811115613dcd576000848401525b50505050565b60006002820490506001821680613deb57607f821691505b60208210811415613dff57613dfe613eb5565b5b50919050565b6000613e1082613d7a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e4357613e42613e86565b5b600182019050919050565b6000613e5982613e6a565b9050919050565b6000819050919050565b6000613e7582613f24565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b613f3a81613d32565b8114613f4557600080fd5b50565b613f5181613d50565b8114613f5c57600080fd5b50565b613f6881613d7a565b8114613f7357600080fd5b5056fea264697066735822122023bbc736c5645211a92cad5b21d2e7a60f9c2182dcf23e3e4b902b5e864f3e4564736f6c63430008000033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001443727970746f2047616d696e6720556e6974656400000000000000000000000000000000000000000000000000000000000000000000000000000000000000034347550000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : tokenName (string): Crypto Gaming United
Arg [1] : tokenSymbol (string): CGU

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [3] : 43727970746f2047616d696e6720556e69746564000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [5] : 4347550000000000000000000000000000000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

Crypto Gaming United (CGU) is an initiative that seeks to broaden access to the emerging play-to-earn and blockchain gaming sector. The CGU DAO enables higher-paying opportunities for gamers by making valuable DAO-owned NFTs available to them, while also providing marketing and education for players

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.