ETH Price: $3,392.52 (-1.45%)
Gas: 2 Gwei

Contract

0xA2120b9e674d3fC3875f415A7DF52e382F141225
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

TokenTracker

Automata (ATA) (@$0.1061)
Transaction Hash
Method
Block
From
To
Value
Transfer201964852024-06-29 9:35:471 hr ago1719653747IN
Automata Network: ATA Token
0 ETH0.000081852.73302002
Transfer201964392024-06-29 9:26:351 hr ago1719653195IN
Automata Network: ATA Token
0 ETH0.000263535.08273073
Transfer201930302024-06-28 22:00:1112 hrs ago1719612011IN
Automata Network: ATA Token
0 ETH0.000089853
Transfer201918532024-06-28 18:03:4716 hrs ago1719597827IN
Automata Network: ATA Token
0 ETH0.000335119.64367332
Transfer201918022024-06-28 17:53:2316 hrs ago1719597203IN
Automata Network: ATA Token
0 ETH0.000406417.83820561
Transfer201850772024-06-27 19:20:5939 hrs ago1719516059IN
Automata Network: ATA Token
0 ETH0.000280579.36809623
Transfer201830382024-06-27 12:30:5946 hrs ago1719491459IN
Automata Network: ATA Token
0 ETH0.000498719.62066547
Transfer201764092024-06-26 14:17:352 days ago1719411455IN
Automata Network: ATA Token
0 ETH0.0005862416.87625094
Transfer201738852024-06-26 5:50:473 days ago1719381047IN
Automata Network: ATA Token
0 ETH0.00005992
Transfer201735962024-06-26 4:52:593 days ago1719377579IN
Automata Network: ATA Token
0 ETH0.000109862.11886527
Transfer201624462024-06-24 15:30:114 days ago1719243011IN
Automata Network: ATA Token
0 ETH0.000373487.93606326
Transfer201624262024-06-24 15:26:114 days ago1719242771IN
Automata Network: ATA Token
0 ETH0.000236916.82003368
Approve201624192024-06-24 15:24:474 days ago1719242687IN
Automata Network: ATA Token
0 ETH0.000296426.39851568
Transfer201595162024-06-24 5:40:235 days ago1719207623IN
Automata Network: ATA Token
0 ETH0.000159933.08527101
Transfer201563402024-06-23 19:00:475 days ago1719169247IN
Automata Network: ATA Token
0 ETH0.000089853
Transfer201562632024-06-23 18:45:235 days ago1719168323IN
Automata Network: ATA Token
0 ETH0.000208584.02287187
Transfer201560352024-06-23 17:59:235 days ago1719165563IN
Automata Network: ATA Token
0 ETH0.000314996.07511632
Transfer201544952024-06-23 12:49:475 days ago1719146987IN
Automata Network: ATA Token
0 ETH0.00031146.00597532
Transfer201541002024-06-23 11:30:115 days ago1719142211IN
Automata Network: ATA Token
0 ETH0.000089883
Transfer201537862024-06-23 10:27:116 days ago1719138431IN
Automata Network: ATA Token
0 ETH0.000059922
Transfer201537532024-06-23 10:20:356 days ago1719138035IN
Automata Network: ATA Token
0 ETH0.000069472
Transfer201537532024-06-23 10:20:356 days ago1719138035IN
Automata Network: ATA Token
0 ETH0.000103672
Transfer201503902024-06-22 23:02:356 days ago1719097355IN
Automata Network: ATA Token
0 ETH0.000255294.92379652
Approve201494112024-06-22 19:44:596 days ago1719085499IN
Automata Network: ATA Token
0 ETH0.000100932.1792353
Transfer From201464652024-06-22 9:51:117 days ago1719049871IN
Automata Network: ATA Token
0 ETH0.000198995.25019498
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ATAToken

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : ATA_ETH.sol
// SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.6.0;

import '@openzeppelin/contracts/token/ERC20/ERC20.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/math/SafeMath.sol';

contract ATAToken is ERC20, Ownable {
    using SafeMath for uint256;

    enum VestingCategory {
        EARLY_CONTRIBUTORS,
        NETWORK_FEES,
        PROTOCOL_RESERVE,
        PARTNER_ADVISORS,
        TEAM,
        ECOSYSTEM_COMMUNITY
    }

    enum VestingType {TIME, BLOCK}

    uint256 private constant TOTAL_QUOTA = 100;

    uint256 private EARLY_CONTRIBUTORS_QUOTA = 15;
    uint256 private NETWORK_FEES_QUOTA = 0;
    uint256 private PROTOCOL_RESERVE_QUOTA = 35;
    uint256 private PARTNER_ADVISORS_QUOTA = 5;
    uint256 private TEAM_QUOTA = 15;
    uint256 private ECOSYSTEM_COMMUNITY_QUOTA = 30;

    event VestingPlanAdded(uint256 uniqueId);
    event VestingPlanRevoked(uint256 uniqueId);
    event QuotaAdjusted(
        uint256 earlyContributors,
        uint256 networkFees,
        uint256 protocolReserve,
        uint256 parternerAndAdvisor,
        uint256 team,
        uint256 ecosystemAndCommunity
    );
    event Withdraw(address beneficiary, uint256 amount);

    struct VestingPlan {
        uint256 uniqueId; //each vesting plan has a unique id
        bool isRevocable; //true if the vesting plan is revocable
        bool isRevoked; //true if the vesting plan is revoked
        bool accumulateDuringCliff; //true if the token amount is accumulated during cliff
        uint256 startTime; //grant start date, in seconds(VestingType.TIME) or block nums(VestingType.BLOCK)
        uint256 cliffDuration; //duration of cliff, in seconds(VestingType.TIME) or block nums(VestingType.BLOCK)
        uint256 duration; //duration of vesting plan, in seconds(VestingType.TIME) or block nums(VestingType.BLOCK), exclude cliff
        uint256 interval; //release interval, in seconds, useless if vestingType is VestingType.BLOCK
        uint256 initialAmount; //amount of tokens which will be released at startTime
        uint256 totalAmount; //total amount of vesting plan
        address beneficiary; //address that benefit from the vesting plan
        VestingCategory category; //vesting plan category -e.g. for backers, for team members...
        VestingType vestingType; //vesting type, vestingType==VestingType.BLOCK indicates that use block num as timing unit
    }

    mapping(uint256 => VestingPlan) private _vestingPlans;
    mapping(address => uint256[]) private _vestingPlanIds;
    mapping(uint256 => uint256) private _released;
    mapping(uint32 => uint256) private _categoryVestedAmount;

    constructor(uint256 initialSupply) public ERC20('Automata', 'ATA') {
        _mint(msg.sender, initialSupply);
    }

    function addVestingPlan(
        address beneficiary,
        uint256 totalAmount,
        uint256 initialAmount,
        uint256 startTime,
        uint256 cliffDuration,
        uint256 duration,
        uint256 interval,
        bool accumulateDuringCliff,
        bool isRevocable,
        VestingCategory category,
        VestingType vestingType
    ) public onlyOwner {
        uint256 currentTime = (vestingType == VestingType.TIME ? now : block.number);
        //check the startTime
        require(startTime > currentTime, 'The start time can not be earlier than the current time');
        require(initialAmount <= totalAmount, 'Initial amount can not be greater than the total amount');
        //check whether owner's balance is enough
        require(balanceOf(owner()) >= totalAmount, "Exceed owner's balance");
        //check whether category's balance is enough
        require(
            (_categoryVestedAmount[uint32(category)] + totalAmount) <=
                totalSupply().mul(_getCategoryPercentage(category)).div(TOTAL_QUOTA),
            "Exceed category's balance"
        );

        //generate unique id for vesting plan
        uint256 uniqueId = _getUniqueId(beneficiary);
        _vestingPlanIds[beneficiary].push(uniqueId);
        _vestingPlans[uniqueId] = VestingPlan(
            uniqueId,
            isRevocable,
            false,
            accumulateDuringCliff,
            startTime,
            cliffDuration,
            duration,
            interval,
            initialAmount,
            totalAmount,
            beneficiary,
            category,
            vestingType
        );
        _categoryVestedAmount[uint32(category)] = _categoryVestedAmount[uint32(category)] + totalAmount;
        //deposit funds in address(this)
        transfer(address(this), totalAmount);
        emit VestingPlanAdded(uniqueId);
    }

    /**
        revoke all vesting plan of `beneficiary`
     */
    function revokeVestingPlan(uint256 uniqueId) public onlyOwner {
        VestingPlan storage plan = _vestingPlans[uniqueId];
        require(plan.uniqueId == uniqueId, 'Vesting plan not exist');

        require(plan.isRevoked == false, "Vesting plan is already revoked");
        require(plan.isRevocable, 'Vesting plan is not revocable');

        plan.isRevoked = true;

        uint256 unreleasedAmount = _getUnreleasedAmount(uniqueId);
        //refund the unreleased tokens to owner
        this.transfer(owner(), unreleasedAmount);
        emit VestingPlanRevoked(uniqueId);
    }

    function getVestingPlan(uint256 planUniqueId)
        public
        view
        onlyOwner
        returns (
            bool isRevocable,
            bool isRevoked,
            bool accumulateDuringCliff,
            uint256 startTime,
            uint256 cliffDuration,
            uint256 duration,
            uint256 interval,
            uint256 initialAmount,
            uint256 totalAmount,
            address beneficiary,
            VestingCategory category,
            VestingType vestingType
        )
    // VestingType vestingType
    {
        VestingPlan memory vestingPlan = _vestingPlans[planUniqueId];
        return (
            vestingPlan.isRevocable,
            vestingPlan.isRevoked,
            vestingPlan.accumulateDuringCliff,
            vestingPlan.startTime,
            vestingPlan.cliffDuration,
            vestingPlan.duration,
            vestingPlan.interval,
            vestingPlan.initialAmount,
            vestingPlan.totalAmount,
            vestingPlan.beneficiary,
            vestingPlan.category,
            vestingPlan.vestingType
        );
    }

    function adjustQuota(
        uint256 earlyContributors,
        uint256 networkFees,
        uint256 protocolReserve,
        uint256 parternerAndAdvisor,
        uint256 team,
        uint256 ecosystemAndCommunity
    ) public onlyOwner {
        require(
            earlyContributors + networkFees + protocolReserve + parternerAndAdvisor + team + ecosystemAndCommunity ==
                100,
            'Invalid quota'
        );

        uint256 totalSupply = totalSupply();

        require(
            _categoryVestedAmount[uint32(VestingCategory.EARLY_CONTRIBUTORS)] <=
                totalSupply.mul(earlyContributors).div(TOTAL_QUOTA),
            'Exceed allocated quota, EARLY_CONTRIBUTORS'
        );

        require(
            _categoryVestedAmount[uint32(VestingCategory.NETWORK_FEES)] <=
                totalSupply.mul(networkFees).div(TOTAL_QUOTA),
            'Exceed allocated quota, NETWORK_FEES'
        );

        require(
            _categoryVestedAmount[uint32(VestingCategory.PROTOCOL_RESERVE)] <=
                totalSupply.mul(protocolReserve).div(TOTAL_QUOTA),
            'Exceed allocated quota, PROTOCOL_RESERVE'
        );

        require(
            _categoryVestedAmount[uint32(VestingCategory.PARTNER_ADVISORS)] <=
                totalSupply.mul(parternerAndAdvisor).div(TOTAL_QUOTA),
            'Exceed allocated quota, PARTNER_ADVISORS'
        );

        require(
            _categoryVestedAmount[uint32(VestingCategory.TEAM)] <= totalSupply.mul(team).div(TOTAL_QUOTA),
            'Exceed allocated quota, TEAM'
        );

        require(
            _categoryVestedAmount[uint32(VestingCategory.ECOSYSTEM_COMMUNITY)] <=
                totalSupply.mul(ecosystemAndCommunity).div(TOTAL_QUOTA),
            'Exceed allocated quota, ECOSYSTEM_COMMUNITY'
        );

        EARLY_CONTRIBUTORS_QUOTA = earlyContributors;
        NETWORK_FEES_QUOTA = networkFees;
        PROTOCOL_RESERVE_QUOTA = protocolReserve;
        PARTNER_ADVISORS_QUOTA = parternerAndAdvisor;
        TEAM_QUOTA = team;
        ECOSYSTEM_COMMUNITY_QUOTA = ecosystemAndCommunity;

        emit QuotaAdjusted(
            earlyContributors,
            networkFees,
            protocolReserve,
            parternerAndAdvisor,
            team,
            ecosystemAndCommunity
        );
    }

    /**
        withdraw releaseable tokens
     */
    function withdraw() public {
        uint256[] memory vestingPlanIds = _vestingPlanIds[msg.sender];
        require(vestingPlanIds.length != 0, 'No vesting plans exist');

        uint256 totalWithdrawableAmount = 0;
        for (uint32 i = 0; i < vestingPlanIds.length; i++) {
            uint256 vestingPlanId = vestingPlanIds[i];
            uint256 planWithdrawableAmount = _calculateWithdrawableAmount(_vestingPlans[vestingPlanId]);
            _released[vestingPlanId] = _released[vestingPlanId] + planWithdrawableAmount;
            totalWithdrawableAmount += planWithdrawableAmount;
        }

        //transfer withdrawable tokens to beneficiary
        this.transfer(msg.sender, totalWithdrawableAmount);
        emit Withdraw(msg.sender, totalWithdrawableAmount);
    }

    function getTotalVestedAmount() public view returns (uint256) {
        uint256[] memory vestingPlanIds = _vestingPlanIds[msg.sender];
        require(vestingPlanIds.length != 0, 'No vesting plans exist');

        uint256 totalVestedAmount = 0;
        for (uint32 i = 0; i < vestingPlanIds.length; i++) {
            VestingPlan memory vestingPlan = _vestingPlans[vestingPlanIds[i]];
            if (!vestingPlan.isRevoked) {
                totalVestedAmount += vestingPlan.totalAmount;
            }
        }

        return totalVestedAmount;
    }

    function getWithdrawableAmount() public view returns (uint256) {
        uint256[] memory vestingPlanIds = _vestingPlanIds[msg.sender];
        require(vestingPlanIds.length != 0, 'No vesting plans exist');

        uint256 totalWithdrawableAmount = 0;
        for (uint32 i = 0; i < vestingPlanIds.length; i++) {
            uint256 planWithdrawableAmount = _calculateWithdrawableAmount(_vestingPlans[vestingPlanIds[i]]);
            totalWithdrawableAmount += planWithdrawableAmount;
        }

        return totalWithdrawableAmount;
    }

    function _getCategoryPercentage(VestingCategory category) private view returns (uint256) {
        if (category == VestingCategory.EARLY_CONTRIBUTORS) {
            return EARLY_CONTRIBUTORS_QUOTA;
        } else if (category == VestingCategory.NETWORK_FEES) {
            return NETWORK_FEES_QUOTA;
        } else if (category == VestingCategory.PROTOCOL_RESERVE) {
            return PROTOCOL_RESERVE_QUOTA;
        } else if (category == VestingCategory.PARTNER_ADVISORS) {
            return PARTNER_ADVISORS_QUOTA;
        } else if (category == VestingCategory.TEAM) {
            return TEAM_QUOTA;
        } else if (category == VestingCategory.ECOSYSTEM_COMMUNITY) {
            return ECOSYSTEM_COMMUNITY_QUOTA;
        } else {
            revert('Invalid vesting category');
        }
    }

    function _getUniqueId(address beneficiary) private view returns (uint256) {
        uint256 uniqueId =
            uint256(
                keccak256(
                    abi.encodePacked(string(abi.encodePacked(beneficiary)), block.number, now)
                )
            );
        return uniqueId;
    }

    function _getUnreleasedAmount(uint256 uniqueId) private view returns (uint256) {
        VestingPlan memory plan = _vestingPlans[uniqueId];
        uint256 unreleasedAmount = plan.totalAmount - _released[uniqueId];
        return unreleasedAmount;
    }

    function _calculateWithdrawableAmount(VestingPlan memory plan) private view returns (uint256) {
        //revoked vesting plan
        if (plan.isRevoked) {
            return uint256(0);
        }

        uint256 currentTime = (plan.vestingType == VestingType.TIME ? now : block.number);

        if (currentTime < plan.startTime) {
            return uint256(0);
        }

        //during cliff
        uint256 releasedAmount = _released[plan.uniqueId];
        if (currentTime <= plan.startTime.add(plan.cliffDuration)) {
            if (plan.initialAmount > releasedAmount) {
                return plan.initialAmount.sub(releasedAmount);
            } else {
                return uint256(0);
            }
            //vesting finished
        } else if (currentTime > plan.startTime.add(plan.cliffDuration).add(plan.duration)) {
            if (plan.totalAmount > releasedAmount) {
                return plan.totalAmount.sub(releasedAmount);
            } else {
                return uint256(0);
            }
            // during the vesting duration, exclude cliff
        } else {
            uint256 accumulatstartTime =
                (plan.accumulateDuringCliff ? plan.startTime : plan.startTime + plan.cliffDuration);
            uint256 totalDuration =
                (plan.accumulateDuringCliff ? plan.duration.add(plan.cliffDuration) : plan.duration);

            uint256 intervalCounts;
            if (plan.vestingType == VestingType.TIME) {
                intervalCounts = (
                    totalDuration.mod(plan.interval) == 0
                        ? totalDuration.div(plan.interval)
                        : totalDuration.div(plan.interval).add(1)
                );
            } else {
                intervalCounts = totalDuration;
            }

            uint256 planInterval = (plan.vestingType == VestingType.TIME ? plan.interval : 1);

            uint256 accumulatedAmount =
                plan.totalAmount.sub(plan.initialAmount).mul(currentTime.sub(accumulatstartTime).div(planInterval)).div(
                    intervalCounts
                );

            return accumulatedAmount.add(plan.initialAmount).sub(releasedAmount);
        }
    }
}

File 2 of 6 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "../../utils/Context.sol";
import "./IERC20.sol";
import "../../math/SafeMath.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 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) public {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
    }

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

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

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

    /**
     * @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);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

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

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

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

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

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

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

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

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

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }

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

File 3 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 4 of 6 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

File 5 of 6 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

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

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

pragma solidity >=0.6.0 <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);
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"initialSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"earlyContributors","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"networkFees","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"protocolReserve","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"parternerAndAdvisor","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"team","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ecosystemAndCommunity","type":"uint256"}],"name":"QuotaAdjusted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"uniqueId","type":"uint256"}],"name":"VestingPlanAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"uniqueId","type":"uint256"}],"name":"VestingPlanRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"uint256","name":"totalAmount","type":"uint256"},{"internalType":"uint256","name":"initialAmount","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"cliffDuration","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"uint256","name":"interval","type":"uint256"},{"internalType":"bool","name":"accumulateDuringCliff","type":"bool"},{"internalType":"bool","name":"isRevocable","type":"bool"},{"internalType":"enum ATAToken.VestingCategory","name":"category","type":"uint8"},{"internalType":"enum ATAToken.VestingType","name":"vestingType","type":"uint8"}],"name":"addVestingPlan","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"earlyContributors","type":"uint256"},{"internalType":"uint256","name":"networkFees","type":"uint256"},{"internalType":"uint256","name":"protocolReserve","type":"uint256"},{"internalType":"uint256","name":"parternerAndAdvisor","type":"uint256"},{"internalType":"uint256","name":"team","type":"uint256"},{"internalType":"uint256","name":"ecosystemAndCommunity","type":"uint256"}],"name":"adjustQuota","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":[],"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":"getTotalVestedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"planUniqueId","type":"uint256"}],"name":"getVestingPlan","outputs":[{"internalType":"bool","name":"isRevocable","type":"bool"},{"internalType":"bool","name":"isRevoked","type":"bool"},{"internalType":"bool","name":"accumulateDuringCliff","type":"bool"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"cliffDuration","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"uint256","name":"interval","type":"uint256"},{"internalType":"uint256","name":"initialAmount","type":"uint256"},{"internalType":"uint256","name":"totalAmount","type":"uint256"},{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"enum ATAToken.VestingCategory","name":"category","type":"uint8"},{"internalType":"enum ATAToken.VestingType","name":"vestingType","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWithdrawableAmount","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":[],"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"uniqueId","type":"uint256"}],"name":"revokeVestingPlan","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":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600f600655600060075560236008556005600955600f600a55601e600b553480156200002f57600080fd5b506040516200433338038062004333833981810160405260208110156200005557600080fd5b81019080805190602001909291905050506040518060400160405280600881526020017f4175746f6d6174610000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f41544100000000000000000000000000000000000000000000000000000000008152508160039080519060200190620000ea92919062000460565b5080600490805190602001906200010392919062000460565b506012600560006101000a81548160ff021916908360ff1602179055505050600062000134620001ec60201b60201c565b905080600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350620001e53382620001f460201b60201c565b5062000506565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000298576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b620002ac60008383620003d260201b60201c565b620002c881600254620003d760201b62002bdd1790919060201c565b60028190555062000326816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054620003d760201b62002bdd1790919060201c565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b505050565b60008082840190508381101562000456576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620004a357805160ff1916838001178555620004d4565b82800160010185558215620004d4579182015b82811115620004d3578251825591602001919060010190620004b6565b5b509050620004e39190620004e7565b5090565b5b8082111562000502576000816000905550600101620004e8565b5090565b613e1d80620005166000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c8063715018a6116100b857806395d89b411161007c57806395d89b4114610575578063a457c2d7146105f8578063a9059cbb1461065c578063d7d0f0dd146106c0578063dd62ed3e14610773578063f2fde38b146107eb57610137565b8063715018a61461042a578063771dc8ed146104345780637a4a035b146104f55780638da5cb5b1461052357806390be10cc1461055757610137565b8063313ce567116100ff578063313ce5671461032557806339509351146103465780633ccfd60b146103aa578063577a3265146103b457806370a08231146103d257610137565b806306fdde031461013c578063095ea7b3146101bf57806318160ddd1461022357806323b872dd146102415780632e38e941146102c5575b600080fd5b61014461082f565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610184578082015181840152602081019050610169565b50505050905090810190601f1680156101b15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61020b600480360360408110156101d557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506108d1565b60405180821515815260200191505060405180910390f35b61022b6108ef565b6040518082815260200191505060405180910390f35b6102ad6004803603606081101561025757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506108f9565b60405180821515815260200191505060405180910390f35b610323600480360360c08110156102db57600080fd5b810190808035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291905050506109d2565b005b61032d610fb0565b604051808260ff16815260200191505060405180910390f35b6103926004803603604081101561035c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610fc7565b60405180821515815260200191505060405180910390f35b6103b261107a565b005b6103bc61146f565b6040518082815260200191505060405180910390f35b610414600480360360208110156103e857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611742565b6040518082815260200191505060405180910390f35b61043261178a565b005b6104606004803603602081101561044a57600080fd5b81019080803590602001909291905050506118fa565b604051808d151581526020018c151581526020018b151581526020018a81526020018981526020018881526020018781526020018681526020018581526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018360058111156104c857fe5b81526020018260018111156104d957fe5b81526020019c5050505050505050505050505060405180910390f35b6105216004803603602081101561050b57600080fd5b8101908080359060200190929190505050611b94565b005b61052b611efc565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61055f611f26565b6040518082815260200191505060405180910390f35b61057d6121ec565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156105bd5780820151818401526020810190506105a2565b50505050905090810190601f1680156105ea5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6106446004803603604081101561060e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061228e565b60405180821515815260200191505060405180910390f35b6106a86004803603604081101561067257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061235b565b60405180821515815260200191505060405180910390f35b61077160048036036101608110156106d757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803515159060200190929190803515159060200190929190803560ff169060200190929190803560ff169060200190929190505050612379565b005b6107d56004803603604081101561078957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612961565b6040518082815260200191505060405180910390f35b61082d6004803603602081101561080157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506129e8565b005b606060038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108c75780601f1061089c576101008083540402835291602001916108c7565b820191906000526020600020905b8154815290600101906020018083116108aa57829003601f168201915b5050505050905090565b60006108e56108de612c65565b8484612c6d565b6001905092915050565b6000600254905090565b6000610906848484612e64565b6109c784610912612c65565b6109c285604051806060016040528060288152602001613cb460289139600160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610978612c65565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546131259092919063ffffffff16565b612c6d565b600190509392505050565b6109da612c65565b73ffffffffffffffffffffffffffffffffffffffff166109f8611efc565b73ffffffffffffffffffffffffffffffffffffffff1614610a81576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b606481838587898b010101010114610b01576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f496e76616c69642071756f74610000000000000000000000000000000000000081525060200191505060405180910390fd5b6000610b0b6108ef565b9050610b336064610b2589846131df90919063ffffffff16565b61326590919063ffffffff16565b600f6000806005811115610b4357fe5b63ffffffff1663ffffffff168152602001908152602001600020541115610bb5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180613d49602a913960400191505060405180910390fd5b610bdb6064610bcd88846131df90919063ffffffff16565b61326590919063ffffffff16565b600f600060016005811115610bec57fe5b63ffffffff1663ffffffff168152602001908152602001600020541115610c5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180613d016024913960400191505060405180910390fd5b610c846064610c7687846131df90919063ffffffff16565b61326590919063ffffffff16565b600f600060026005811115610c9557fe5b63ffffffff1663ffffffff168152602001908152602001600020541115610d07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180613d9b6028913960400191505060405180910390fd5b610d2d6064610d1f86846131df90919063ffffffff16565b61326590919063ffffffff16565b600f600060036005811115610d3e57fe5b63ffffffff1663ffffffff168152602001908152602001600020541115610db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180613d736028913960400191505060405180910390fd5b610dd66064610dc885846131df90919063ffffffff16565b61326590919063ffffffff16565b600f600060046005811115610de757fe5b63ffffffff1663ffffffff168152602001908152602001600020541115610e76576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f45786365656420616c6c6f63617465642071756f74612c205445414d0000000081525060200191505060405180910390fd5b610e9c6064610e8e84846131df90919063ffffffff16565b61326590919063ffffffff16565b600f6000600580811115610eac57fe5b63ffffffff1663ffffffff168152602001908152602001600020541115610f1e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180613bfa602b913960400191505060405180910390fd5b8660068190555085600781905550846008819055508360098190555082600a8190555081600b819055507fccf92bf53b2c3b4020de709a33d308e7ccb60f12e883074d1dcfcd6f844bd8da87878787878760405180878152602001868152602001858152602001848152602001838152602001828152602001965050505050505060405180910390a150505050505050565b6000600560009054906101000a900460ff16905090565b6000611070610fd4612c65565b8461106b8560016000610fe5612c65565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612bdd90919063ffffffff16565b612c6d565b6001905092915050565b6060600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561110557602002820191906000526020600020905b8154815260200190600101908083116110f1575b50505050509050600081511415611184576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f4e6f2076657374696e6720706c616e732065786973740000000000000000000081525060200191505060405180910390fd5b6000805b82518163ffffffff161015611368576000838263ffffffff16815181106111ab57fe5b602002602001015190506000611325600c6000848152602001908152602001600020604051806101a0016040529081600082015481526020016001820160009054906101000a900460ff161515151581526020016001820160019054906101000a900460ff161515151581526020016001820160029054906101000a900460ff161515151581526020016002820154815260200160038201548152602001600482015481526020016005820154815260200160068201548152602001600782015481526020016008820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016008820160149054906101000a900460ff1660058111156112e457fe5b60058111156112ef57fe5b81526020016008820160159054906101000a900460ff16600181111561131157fe5b600181111561131c57fe5b815250506132ee565b905080600e60008481526020019081526020016000205401600e600084815260200190815260200160002081905550808401935050508080600101915050611188565b503073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156113da57600080fd5b505af11580156113ee573d6000803e3d6000fd5b505050506040513d602081101561140457600080fd5b8101908080519060200190929190505050507f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243643382604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a15050565b60006060600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806020026020016040519081016040528092919081815260200182805480156114fc57602002820191906000526020600020905b8154815260200190600101908083116114e8575b5050505050905060008151141561157b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f4e6f2076657374696e6720706c616e732065786973740000000000000000000081525060200191505060405180910390fd5b6000805b82518163ffffffff16101561173957611596613ace565b600c6000858463ffffffff16815181106115ac57fe5b60200260200101518152602001908152602001600020604051806101a0016040529081600082015481526020016001820160009054906101000a900460ff161515151581526020016001820160019054906101000a900460ff161515151581526020016001820160029054906101000a900460ff161515151581526020016002820154815260200160038201548152602001600482015481526020016005820154815260200160068201548152602001600782015481526020016008820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016008820160149054906101000a900460ff1660058111156116d957fe5b60058111156116e457fe5b81526020016008820160159054906101000a900460ff16600181111561170657fe5b600181111561171157fe5b815250509050806040015161172b57806101200151830192505b50808060010191505061157f565b50809250505090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611792612c65565b73ffffffffffffffffffffffffffffffffffffffff166117b0611efc565b73ffffffffffffffffffffffffffffffffffffffff1614611839576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600080600080600080600080600080600080611914612c65565b73ffffffffffffffffffffffffffffffffffffffff16611932611efc565b73ffffffffffffffffffffffffffffffffffffffff16146119bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6119c3613ace565b600c60008f8152602001908152602001600020604051806101a0016040529081600082015481526020016001820160009054906101000a900460ff161515151581526020016001820160019054906101000a900460ff161515151581526020016001820160029054906101000a900460ff161515151581526020016002820154815260200160038201548152602001600482015481526020016005820154815260200160068201548152602001600782015481526020016008820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016008820160149054906101000a900460ff166005811115611aed57fe5b6005811115611af857fe5b81526020016008820160159054906101000a900460ff166001811115611b1a57fe5b6001811115611b2557fe5b81525050905080602001518160400151826060015183608001518460a001518560c001518660e001518761010001518861012001518961014001518a61016001518b61018001519c509c509c509c509c509c509c509c509c509c509c509c505091939597999b5091939597999b565b611b9c612c65565b73ffffffffffffffffffffffffffffffffffffffff16611bba611efc565b73ffffffffffffffffffffffffffffffffffffffff1614611c43576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6000600c6000838152602001908152602001600020905081816000015414611cd3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f56657374696e6720706c616e206e6f742065786973740000000000000000000081525060200191505060405180910390fd5b600015158160010160019054906101000a900460ff16151514611d5e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f56657374696e6720706c616e20697320616c7265616479207265766f6b65640081525060200191505060405180910390fd5b8060010160009054906101000a900460ff16611de2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f56657374696e6720706c616e206973206e6f74207265766f6361626c6500000081525060200191505060405180910390fd5b60018160010160016101000a81548160ff0219169083151502179055506000611e0a836135ee565b90503073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb611e30611efc565b836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611e8457600080fd5b505af1158015611e98573d6000803e3d6000fd5b505050506040513d6020811015611eae57600080fd5b8101908080519060200190929190505050507f2f719325ef6308b109f140a08d2218f6a2f95d1b65a7a2c2fe3479cae3a49f9f836040518082815260200191505060405180910390a1505050565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006060600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015611fb357602002820191906000526020600020905b815481526020019060010190808311611f9f575b50505050509050600081511415612032576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f4e6f2076657374696e6720706c616e732065786973740000000000000000000081525060200191505060405180910390fd5b6000805b82518163ffffffff1610156121e35760006121ce600c6000868563ffffffff168151811061206057fe5b60200260200101518152602001908152602001600020604051806101a0016040529081600082015481526020016001820160009054906101000a900460ff161515151581526020016001820160019054906101000a900460ff161515151581526020016001820160029054906101000a900460ff161515151581526020016002820154815260200160038201548152602001600482015481526020016005820154815260200160068201548152602001600782015481526020016008820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016008820160149054906101000a900460ff16600581111561218d57fe5b600581111561219857fe5b81526020016008820160159054906101000a900460ff1660018111156121ba57fe5b60018111156121c557fe5b815250506132ee565b90508083019250508080600101915050612036565b50809250505090565b606060048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156122845780601f1061225957610100808354040283529160200191612284565b820191906000526020600020905b81548152906001019060200180831161226757829003601f168201915b5050505050905090565b600061235161229b612c65565b8461234c85604051806060016040528060258152602001613dc360259139600160006122c5612c65565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546131259092919063ffffffff16565b612c6d565b6001905092915050565b600061236f612368612c65565b8484612e64565b6001905092915050565b612381612c65565b73ffffffffffffffffffffffffffffffffffffffff1661239f611efc565b73ffffffffffffffffffffffffffffffffffffffff1614612428576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600080600181111561243657fe5b82600181111561244257fe5b1461244d574361244f565b425b90508089116124a9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526037815260200180613c256037913960400191505060405180910390fd5b8a8a1115612502576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526037815260200180613c5c6037913960400191505060405180910390fd5b8a61251361250e611efc565b611742565b1015612587576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f457863656564206f776e657227732062616c616e63650000000000000000000081525060200191505060405180910390fd5b6125bc60646125ae61259886613789565b6125a06108ef565b6131df90919063ffffffff16565b61326590919063ffffffff16565b8b600f60008660058111156125cd57fe5b63ffffffff1663ffffffff1681526020019081526020016000205401111561265d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4578636565642063617465676f727927732062616c616e63650000000000000081525060200191505060405180910390fd5b60006126688d6138f2565b9050600d60008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819080600181540180825580915050600190039060005260206000200160009091909190915055604051806101a00160405280828152602001861515815260200160001515815260200187151581526020018b81526020018a81526020018981526020018881526020018c81526020018d81526020018e73ffffffffffffffffffffffffffffffffffffffff16815260200185600581111561274757fe5b815260200184600181111561275857fe5b815250600c60008381526020019081526020016000206000820151816000015560208201518160010160006101000a81548160ff02191690831515021790555060408201518160010160016101000a81548160ff02191690831515021790555060608201518160010160026101000a81548160ff0219169083151502179055506080820151816002015560a0820151816003015560c0820151816004015560e08201518160050155610100820151816006015561012082015181600701556101408201518160080160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506101608201518160080160146101000a81548160ff0219169083600581111561288357fe5b02179055506101808201518160080160156101000a81548160ff021916908360018111156128ad57fe5b02179055509050508b600f60008660058111156128c657fe5b63ffffffff1663ffffffff1681526020019081526020016000205401600f60008660058111156128f257fe5b63ffffffff1663ffffffff1681526020019081526020016000208190555061291a308d61235b565b507f0eeed13dedad2e3c81ed177b36b42367a760f5b15feb4279e6aeed2adf6e7733816040518082815260200191505060405180910390a150505050505050505050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6129f0612c65565b73ffffffffffffffffffffffffffffffffffffffff16612a0e611efc565b73ffffffffffffffffffffffffffffffffffffffff1614612a97576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612b1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180613b8c6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080828401905083811015612c5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612cf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180613d256024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180613bb26022913960400191505060405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612eea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180613cdc6025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180613b696023913960400191505060405180910390fd5b612f7b8383836139bd565b612fe681604051806060016040528060268152602001613bd4602691396000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546131259092919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550613079816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612bdd90919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b60008383111582906131d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561319757808201518184015260208101905061317c565b50505050905090810190601f1680156131c45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5082840390509392505050565b6000808314156131f2576000905061325f565b600082840290508284828161320357fe5b041461325a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613c936021913960400191505060405180910390fd5b809150505b92915050565b60008082116132dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b8183816132e557fe5b04905092915050565b600081604001511561330357600090506135e9565b600080600181111561331157fe5b836101800151600181111561332257fe5b1461332d574361332f565b425b905082608001518110156133475760009150506135e9565b6000600e60008560000151815260200190815260200160002054905061337e8460a001518560800151612bdd90919063ffffffff16565b82116133bd578084610100015111156133b2576133a9818561010001516139c290919063ffffffff16565b925050506135e9565b6000925050506135e9565b6133ee8460c001516133e08660a001518760800151612bdd90919063ffffffff16565b612bdd90919063ffffffff16565b82111561342e578084610120015111156134235761341a818561012001516139c290919063ffffffff16565b925050506135e9565b6000925050506135e9565b60008460600151613449578460a0015185608001510161344f565b84608001515b905060008560600151613466578560c00151613482565b6134818660a001518760c00151612bdd90919063ffffffff16565b5b9050600080600181111561349257fe5b87610180015160018111156134a357fe5b14156135155760006134c28860e0015184613a4590919063ffffffff16565b146134f6576134f160016134e38960e001518561326590919063ffffffff16565b612bdd90919063ffffffff16565b61350e565b61350d8760e001518361326590919063ffffffff16565b5b9050613519565b8190505b600080600181111561352757fe5b886101800151600181111561353857fe5b1461354457600161354a565b8760e001515b905060006135b3836135a561357a8561356c8a8d6139c290919063ffffffff16565b61326590919063ffffffff16565b6135978d61010001518e61012001516139c290919063ffffffff16565b6131df90919063ffffffff16565b61326590919063ffffffff16565b90506135df866135d18b610100015184612bdd90919063ffffffff16565b6139c290919063ffffffff16565b9750505050505050505b919050565b60006135f8613ace565b600c6000848152602001908152602001600020604051806101a0016040529081600082015481526020016001820160009054906101000a900460ff161515151581526020016001820160019054906101000a900460ff161515151581526020016001820160029054906101000a900460ff161515151581526020016002820154815260200160038201548152602001600482015481526020016005820154815260200160068201548152602001600782015481526020016008820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016008820160149054906101000a900460ff16600581111561372257fe5b600581111561372d57fe5b81526020016008820160159054906101000a900460ff16600181111561374f57fe5b600181111561375a57fe5b8152505090506000600e6000858152602001908152602001600020548261012001510390508092505050919050565b600080600581111561379757fe5b8260058111156137a357fe5b14156137b35760065490506138ed565b600160058111156137c057fe5b8260058111156137cc57fe5b14156137dc5760075490506138ed565b600260058111156137e957fe5b8260058111156137f557fe5b14156138055760085490506138ed565b6003600581111561381257fe5b82600581111561381e57fe5b141561382e5760095490506138ed565b6004600581111561383b57fe5b82600581111561384757fe5b141561385757600a5490506138ed565b60058081111561386357fe5b82600581111561386f57fe5b141561387f57600b5490506138ed565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f496e76616c69642076657374696e672063617465676f7279000000000000000081525060200191505060405180910390fd5b919050565b60008082604051602001808273ffffffffffffffffffffffffffffffffffffffff1660601b815260140191505060405160208183030381529060405243426040516020018084805190602001908083835b602083106139665780518252602082019150602081019050602083039250613943565b6001836020036101000a03801982511681845116808217855250505050505090500183815260200182815260200193505050506040516020818303038152906040528051906020012060001c905080915050919050565b505050565b600082821115613a3a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b6000808211613abc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f536166654d6174683a206d6f64756c6f206279207a65726f000000000000000081525060200191505060405180910390fd5b818381613ac557fe5b06905092915050565b604051806101a0016040528060008152602001600015158152602001600015158152602001600015158152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160006005811115613b5057fe5b815260200160006001811115613b6257fe5b8152509056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545786365656420616c6c6f63617465642071756f74612c2045434f53595354454d5f434f4d4d554e4954595468652073746172742074696d652063616e206e6f74206265206561726c696572207468616e207468652063757272656e742074696d65496e697469616c20616d6f756e742063616e206e6f742062652067726561746572207468616e2074686520746f74616c20616d6f756e74536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345786365656420616c6c6f63617465642071756f74612c204e4554574f524b5f4645455345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345786365656420616c6c6f63617465642071756f74612c204541524c595f434f4e5452494255544f525345786365656420616c6c6f63617465642071756f74612c20504152544e45525f41445649534f525345786365656420616c6c6f63617465642071756f74612c2050524f544f434f4c5f5245534552564545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220fcaedb69d4f9777d018608b2cfc4faebbefdf86edbb7a62371396f0e56f6d14264736f6c634300060c00330000000000000000000000000000000000000000033b2e3c9fd0803ce8000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101375760003560e01c8063715018a6116100b857806395d89b411161007c57806395d89b4114610575578063a457c2d7146105f8578063a9059cbb1461065c578063d7d0f0dd146106c0578063dd62ed3e14610773578063f2fde38b146107eb57610137565b8063715018a61461042a578063771dc8ed146104345780637a4a035b146104f55780638da5cb5b1461052357806390be10cc1461055757610137565b8063313ce567116100ff578063313ce5671461032557806339509351146103465780633ccfd60b146103aa578063577a3265146103b457806370a08231146103d257610137565b806306fdde031461013c578063095ea7b3146101bf57806318160ddd1461022357806323b872dd146102415780632e38e941146102c5575b600080fd5b61014461082f565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610184578082015181840152602081019050610169565b50505050905090810190601f1680156101b15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61020b600480360360408110156101d557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506108d1565b60405180821515815260200191505060405180910390f35b61022b6108ef565b6040518082815260200191505060405180910390f35b6102ad6004803603606081101561025757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506108f9565b60405180821515815260200191505060405180910390f35b610323600480360360c08110156102db57600080fd5b810190808035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291905050506109d2565b005b61032d610fb0565b604051808260ff16815260200191505060405180910390f35b6103926004803603604081101561035c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610fc7565b60405180821515815260200191505060405180910390f35b6103b261107a565b005b6103bc61146f565b6040518082815260200191505060405180910390f35b610414600480360360208110156103e857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611742565b6040518082815260200191505060405180910390f35b61043261178a565b005b6104606004803603602081101561044a57600080fd5b81019080803590602001909291905050506118fa565b604051808d151581526020018c151581526020018b151581526020018a81526020018981526020018881526020018781526020018681526020018581526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018360058111156104c857fe5b81526020018260018111156104d957fe5b81526020019c5050505050505050505050505060405180910390f35b6105216004803603602081101561050b57600080fd5b8101908080359060200190929190505050611b94565b005b61052b611efc565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61055f611f26565b6040518082815260200191505060405180910390f35b61057d6121ec565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156105bd5780820151818401526020810190506105a2565b50505050905090810190601f1680156105ea5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6106446004803603604081101561060e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061228e565b60405180821515815260200191505060405180910390f35b6106a86004803603604081101561067257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061235b565b60405180821515815260200191505060405180910390f35b61077160048036036101608110156106d757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803515159060200190929190803515159060200190929190803560ff169060200190929190803560ff169060200190929190505050612379565b005b6107d56004803603604081101561078957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612961565b6040518082815260200191505060405180910390f35b61082d6004803603602081101561080157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506129e8565b005b606060038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108c75780601f1061089c576101008083540402835291602001916108c7565b820191906000526020600020905b8154815290600101906020018083116108aa57829003601f168201915b5050505050905090565b60006108e56108de612c65565b8484612c6d565b6001905092915050565b6000600254905090565b6000610906848484612e64565b6109c784610912612c65565b6109c285604051806060016040528060288152602001613cb460289139600160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610978612c65565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546131259092919063ffffffff16565b612c6d565b600190509392505050565b6109da612c65565b73ffffffffffffffffffffffffffffffffffffffff166109f8611efc565b73ffffffffffffffffffffffffffffffffffffffff1614610a81576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b606481838587898b010101010114610b01576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f496e76616c69642071756f74610000000000000000000000000000000000000081525060200191505060405180910390fd5b6000610b0b6108ef565b9050610b336064610b2589846131df90919063ffffffff16565b61326590919063ffffffff16565b600f6000806005811115610b4357fe5b63ffffffff1663ffffffff168152602001908152602001600020541115610bb5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180613d49602a913960400191505060405180910390fd5b610bdb6064610bcd88846131df90919063ffffffff16565b61326590919063ffffffff16565b600f600060016005811115610bec57fe5b63ffffffff1663ffffffff168152602001908152602001600020541115610c5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180613d016024913960400191505060405180910390fd5b610c846064610c7687846131df90919063ffffffff16565b61326590919063ffffffff16565b600f600060026005811115610c9557fe5b63ffffffff1663ffffffff168152602001908152602001600020541115610d07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180613d9b6028913960400191505060405180910390fd5b610d2d6064610d1f86846131df90919063ffffffff16565b61326590919063ffffffff16565b600f600060036005811115610d3e57fe5b63ffffffff1663ffffffff168152602001908152602001600020541115610db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180613d736028913960400191505060405180910390fd5b610dd66064610dc885846131df90919063ffffffff16565b61326590919063ffffffff16565b600f600060046005811115610de757fe5b63ffffffff1663ffffffff168152602001908152602001600020541115610e76576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f45786365656420616c6c6f63617465642071756f74612c205445414d0000000081525060200191505060405180910390fd5b610e9c6064610e8e84846131df90919063ffffffff16565b61326590919063ffffffff16565b600f6000600580811115610eac57fe5b63ffffffff1663ffffffff168152602001908152602001600020541115610f1e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180613bfa602b913960400191505060405180910390fd5b8660068190555085600781905550846008819055508360098190555082600a8190555081600b819055507fccf92bf53b2c3b4020de709a33d308e7ccb60f12e883074d1dcfcd6f844bd8da87878787878760405180878152602001868152602001858152602001848152602001838152602001828152602001965050505050505060405180910390a150505050505050565b6000600560009054906101000a900460ff16905090565b6000611070610fd4612c65565b8461106b8560016000610fe5612c65565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612bdd90919063ffffffff16565b612c6d565b6001905092915050565b6060600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561110557602002820191906000526020600020905b8154815260200190600101908083116110f1575b50505050509050600081511415611184576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f4e6f2076657374696e6720706c616e732065786973740000000000000000000081525060200191505060405180910390fd5b6000805b82518163ffffffff161015611368576000838263ffffffff16815181106111ab57fe5b602002602001015190506000611325600c6000848152602001908152602001600020604051806101a0016040529081600082015481526020016001820160009054906101000a900460ff161515151581526020016001820160019054906101000a900460ff161515151581526020016001820160029054906101000a900460ff161515151581526020016002820154815260200160038201548152602001600482015481526020016005820154815260200160068201548152602001600782015481526020016008820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016008820160149054906101000a900460ff1660058111156112e457fe5b60058111156112ef57fe5b81526020016008820160159054906101000a900460ff16600181111561131157fe5b600181111561131c57fe5b815250506132ee565b905080600e60008481526020019081526020016000205401600e600084815260200190815260200160002081905550808401935050508080600101915050611188565b503073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156113da57600080fd5b505af11580156113ee573d6000803e3d6000fd5b505050506040513d602081101561140457600080fd5b8101908080519060200190929190505050507f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243643382604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a15050565b60006060600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806020026020016040519081016040528092919081815260200182805480156114fc57602002820191906000526020600020905b8154815260200190600101908083116114e8575b5050505050905060008151141561157b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f4e6f2076657374696e6720706c616e732065786973740000000000000000000081525060200191505060405180910390fd5b6000805b82518163ffffffff16101561173957611596613ace565b600c6000858463ffffffff16815181106115ac57fe5b60200260200101518152602001908152602001600020604051806101a0016040529081600082015481526020016001820160009054906101000a900460ff161515151581526020016001820160019054906101000a900460ff161515151581526020016001820160029054906101000a900460ff161515151581526020016002820154815260200160038201548152602001600482015481526020016005820154815260200160068201548152602001600782015481526020016008820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016008820160149054906101000a900460ff1660058111156116d957fe5b60058111156116e457fe5b81526020016008820160159054906101000a900460ff16600181111561170657fe5b600181111561171157fe5b815250509050806040015161172b57806101200151830192505b50808060010191505061157f565b50809250505090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611792612c65565b73ffffffffffffffffffffffffffffffffffffffff166117b0611efc565b73ffffffffffffffffffffffffffffffffffffffff1614611839576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600080600080600080600080600080600080611914612c65565b73ffffffffffffffffffffffffffffffffffffffff16611932611efc565b73ffffffffffffffffffffffffffffffffffffffff16146119bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6119c3613ace565b600c60008f8152602001908152602001600020604051806101a0016040529081600082015481526020016001820160009054906101000a900460ff161515151581526020016001820160019054906101000a900460ff161515151581526020016001820160029054906101000a900460ff161515151581526020016002820154815260200160038201548152602001600482015481526020016005820154815260200160068201548152602001600782015481526020016008820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016008820160149054906101000a900460ff166005811115611aed57fe5b6005811115611af857fe5b81526020016008820160159054906101000a900460ff166001811115611b1a57fe5b6001811115611b2557fe5b81525050905080602001518160400151826060015183608001518460a001518560c001518660e001518761010001518861012001518961014001518a61016001518b61018001519c509c509c509c509c509c509c509c509c509c509c509c505091939597999b5091939597999b565b611b9c612c65565b73ffffffffffffffffffffffffffffffffffffffff16611bba611efc565b73ffffffffffffffffffffffffffffffffffffffff1614611c43576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6000600c6000838152602001908152602001600020905081816000015414611cd3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f56657374696e6720706c616e206e6f742065786973740000000000000000000081525060200191505060405180910390fd5b600015158160010160019054906101000a900460ff16151514611d5e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f56657374696e6720706c616e20697320616c7265616479207265766f6b65640081525060200191505060405180910390fd5b8060010160009054906101000a900460ff16611de2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f56657374696e6720706c616e206973206e6f74207265766f6361626c6500000081525060200191505060405180910390fd5b60018160010160016101000a81548160ff0219169083151502179055506000611e0a836135ee565b90503073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb611e30611efc565b836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611e8457600080fd5b505af1158015611e98573d6000803e3d6000fd5b505050506040513d6020811015611eae57600080fd5b8101908080519060200190929190505050507f2f719325ef6308b109f140a08d2218f6a2f95d1b65a7a2c2fe3479cae3a49f9f836040518082815260200191505060405180910390a1505050565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006060600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015611fb357602002820191906000526020600020905b815481526020019060010190808311611f9f575b50505050509050600081511415612032576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f4e6f2076657374696e6720706c616e732065786973740000000000000000000081525060200191505060405180910390fd5b6000805b82518163ffffffff1610156121e35760006121ce600c6000868563ffffffff168151811061206057fe5b60200260200101518152602001908152602001600020604051806101a0016040529081600082015481526020016001820160009054906101000a900460ff161515151581526020016001820160019054906101000a900460ff161515151581526020016001820160029054906101000a900460ff161515151581526020016002820154815260200160038201548152602001600482015481526020016005820154815260200160068201548152602001600782015481526020016008820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016008820160149054906101000a900460ff16600581111561218d57fe5b600581111561219857fe5b81526020016008820160159054906101000a900460ff1660018111156121ba57fe5b60018111156121c557fe5b815250506132ee565b90508083019250508080600101915050612036565b50809250505090565b606060048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156122845780601f1061225957610100808354040283529160200191612284565b820191906000526020600020905b81548152906001019060200180831161226757829003601f168201915b5050505050905090565b600061235161229b612c65565b8461234c85604051806060016040528060258152602001613dc360259139600160006122c5612c65565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546131259092919063ffffffff16565b612c6d565b6001905092915050565b600061236f612368612c65565b8484612e64565b6001905092915050565b612381612c65565b73ffffffffffffffffffffffffffffffffffffffff1661239f611efc565b73ffffffffffffffffffffffffffffffffffffffff1614612428576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600080600181111561243657fe5b82600181111561244257fe5b1461244d574361244f565b425b90508089116124a9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526037815260200180613c256037913960400191505060405180910390fd5b8a8a1115612502576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526037815260200180613c5c6037913960400191505060405180910390fd5b8a61251361250e611efc565b611742565b1015612587576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f457863656564206f776e657227732062616c616e63650000000000000000000081525060200191505060405180910390fd5b6125bc60646125ae61259886613789565b6125a06108ef565b6131df90919063ffffffff16565b61326590919063ffffffff16565b8b600f60008660058111156125cd57fe5b63ffffffff1663ffffffff1681526020019081526020016000205401111561265d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4578636565642063617465676f727927732062616c616e63650000000000000081525060200191505060405180910390fd5b60006126688d6138f2565b9050600d60008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819080600181540180825580915050600190039060005260206000200160009091909190915055604051806101a00160405280828152602001861515815260200160001515815260200187151581526020018b81526020018a81526020018981526020018881526020018c81526020018d81526020018e73ffffffffffffffffffffffffffffffffffffffff16815260200185600581111561274757fe5b815260200184600181111561275857fe5b815250600c60008381526020019081526020016000206000820151816000015560208201518160010160006101000a81548160ff02191690831515021790555060408201518160010160016101000a81548160ff02191690831515021790555060608201518160010160026101000a81548160ff0219169083151502179055506080820151816002015560a0820151816003015560c0820151816004015560e08201518160050155610100820151816006015561012082015181600701556101408201518160080160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506101608201518160080160146101000a81548160ff0219169083600581111561288357fe5b02179055506101808201518160080160156101000a81548160ff021916908360018111156128ad57fe5b02179055509050508b600f60008660058111156128c657fe5b63ffffffff1663ffffffff1681526020019081526020016000205401600f60008660058111156128f257fe5b63ffffffff1663ffffffff1681526020019081526020016000208190555061291a308d61235b565b507f0eeed13dedad2e3c81ed177b36b42367a760f5b15feb4279e6aeed2adf6e7733816040518082815260200191505060405180910390a150505050505050505050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6129f0612c65565b73ffffffffffffffffffffffffffffffffffffffff16612a0e611efc565b73ffffffffffffffffffffffffffffffffffffffff1614612a97576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612b1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180613b8c6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080828401905083811015612c5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612cf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180613d256024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180613bb26022913960400191505060405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612eea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180613cdc6025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180613b696023913960400191505060405180910390fd5b612f7b8383836139bd565b612fe681604051806060016040528060268152602001613bd4602691396000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546131259092919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550613079816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612bdd90919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b60008383111582906131d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561319757808201518184015260208101905061317c565b50505050905090810190601f1680156131c45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5082840390509392505050565b6000808314156131f2576000905061325f565b600082840290508284828161320357fe5b041461325a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613c936021913960400191505060405180910390fd5b809150505b92915050565b60008082116132dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b8183816132e557fe5b04905092915050565b600081604001511561330357600090506135e9565b600080600181111561331157fe5b836101800151600181111561332257fe5b1461332d574361332f565b425b905082608001518110156133475760009150506135e9565b6000600e60008560000151815260200190815260200160002054905061337e8460a001518560800151612bdd90919063ffffffff16565b82116133bd578084610100015111156133b2576133a9818561010001516139c290919063ffffffff16565b925050506135e9565b6000925050506135e9565b6133ee8460c001516133e08660a001518760800151612bdd90919063ffffffff16565b612bdd90919063ffffffff16565b82111561342e578084610120015111156134235761341a818561012001516139c290919063ffffffff16565b925050506135e9565b6000925050506135e9565b60008460600151613449578460a0015185608001510161344f565b84608001515b905060008560600151613466578560c00151613482565b6134818660a001518760c00151612bdd90919063ffffffff16565b5b9050600080600181111561349257fe5b87610180015160018111156134a357fe5b14156135155760006134c28860e0015184613a4590919063ffffffff16565b146134f6576134f160016134e38960e001518561326590919063ffffffff16565b612bdd90919063ffffffff16565b61350e565b61350d8760e001518361326590919063ffffffff16565b5b9050613519565b8190505b600080600181111561352757fe5b886101800151600181111561353857fe5b1461354457600161354a565b8760e001515b905060006135b3836135a561357a8561356c8a8d6139c290919063ffffffff16565b61326590919063ffffffff16565b6135978d61010001518e61012001516139c290919063ffffffff16565b6131df90919063ffffffff16565b61326590919063ffffffff16565b90506135df866135d18b610100015184612bdd90919063ffffffff16565b6139c290919063ffffffff16565b9750505050505050505b919050565b60006135f8613ace565b600c6000848152602001908152602001600020604051806101a0016040529081600082015481526020016001820160009054906101000a900460ff161515151581526020016001820160019054906101000a900460ff161515151581526020016001820160029054906101000a900460ff161515151581526020016002820154815260200160038201548152602001600482015481526020016005820154815260200160068201548152602001600782015481526020016008820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016008820160149054906101000a900460ff16600581111561372257fe5b600581111561372d57fe5b81526020016008820160159054906101000a900460ff16600181111561374f57fe5b600181111561375a57fe5b8152505090506000600e6000858152602001908152602001600020548261012001510390508092505050919050565b600080600581111561379757fe5b8260058111156137a357fe5b14156137b35760065490506138ed565b600160058111156137c057fe5b8260058111156137cc57fe5b14156137dc5760075490506138ed565b600260058111156137e957fe5b8260058111156137f557fe5b14156138055760085490506138ed565b6003600581111561381257fe5b82600581111561381e57fe5b141561382e5760095490506138ed565b6004600581111561383b57fe5b82600581111561384757fe5b141561385757600a5490506138ed565b60058081111561386357fe5b82600581111561386f57fe5b141561387f57600b5490506138ed565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f496e76616c69642076657374696e672063617465676f7279000000000000000081525060200191505060405180910390fd5b919050565b60008082604051602001808273ffffffffffffffffffffffffffffffffffffffff1660601b815260140191505060405160208183030381529060405243426040516020018084805190602001908083835b602083106139665780518252602082019150602081019050602083039250613943565b6001836020036101000a03801982511681845116808217855250505050505090500183815260200182815260200193505050506040516020818303038152906040528051906020012060001c905080915050919050565b505050565b600082821115613a3a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b6000808211613abc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f536166654d6174683a206d6f64756c6f206279207a65726f000000000000000081525060200191505060405180910390fd5b818381613ac557fe5b06905092915050565b604051806101a0016040528060008152602001600015158152602001600015158152602001600015158152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160006005811115613b5057fe5b815260200160006001811115613b6257fe5b8152509056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545786365656420616c6c6f63617465642071756f74612c2045434f53595354454d5f434f4d4d554e4954595468652073746172742074696d652063616e206e6f74206265206561726c696572207468616e207468652063757272656e742074696d65496e697469616c20616d6f756e742063616e206e6f742062652067726561746572207468616e2074686520746f74616c20616d6f756e74536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345786365656420616c6c6f63617465642071756f74612c204e4554574f524b5f4645455345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345786365656420616c6c6f63617465642071756f74612c204541524c595f434f4e5452494255544f525345786365656420616c6c6f63617465642071756f74612c20504152544e45525f41445649534f525345786365656420616c6c6f63617465642071756f74612c2050524f544f434f4c5f5245534552564545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220fcaedb69d4f9777d018608b2cfc4faebbefdf86edbb7a62371396f0e56f6d14264736f6c634300060c0033

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

0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000

-----Decoded View---------------
Arg [0] : initialSupply (uint256): 1000000000000000000000000000

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000


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

Automata is a privacy middleware layer for dApps across multiple blockchains, built on a decentralized service protocol.

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.