ETH Price: $2,524.55 (-1.44%)

Token

MLTToken (ML)
 

Overview

Max Total Supply

400,000,000 ML

Holders

14,346 ( 0.035%)

Market

Price

$0.11 @ 0.000043 ETH (-3.53%)

Onchain Market Cap

$43,098,299.58

Circulating Supply Market Cap

$6,917,127.32

Other Info

Token Contract (WITH 18 Decimals)

Balance
1,029.617573376145903694 ML

Value
$110.94 ( ~0.0439445189524734 Eth) [0.0003%]
0x5aaab6eb0b79bdc7917022c59433b4b246891231
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Mintlayer is a layer 2 protocol that allows users to build a decentralized finance ecosystem using native Bitcoin through atomic swaps. Users can create tokens, NFTs, smart contracts, and so much more!

Market

Volume (24H):$1,746,919.76
Market Capitalization:$6,917,127.32
Circulating Supply:64,198,610.00 ML
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
MLTToken

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion
File 1 of 6 : MLTToken.sol
/// SPDX-License-Identifier: MIT

pragma solidity 0.8.0;

import '@openzeppelin/contracts/token/ERC20/ERC20.sol';
import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol';

contract MLTToken is ERC20 {
	/********
	* INDEX *
	*********/
	// 1. Type declarations.
	// 2. Constants and variables.
	// 3. Mappings.
	// 4. Modifiers.
	// 5. Events.
	// 6. Functions.

	/***********************
	* 1. TYPE DECLARATIONS *
	************************/
	struct VestingData {
		address beneficiary;
		uint256 amount;
		uint256 cliff;
		bytes32[] proof;
	}

	struct Allocation {
		uint256 unlocking;
		uint256[] monthly;
		uint256[] months;
		uint256 cliff;
	}

	/*****************************
	* 2. CONSTANTS AND VARIABLES *
	******************************/
	uint256 public VESTING_START_TIMESTAMP;

	/// @dev of URIs for all the Merkle trees added to the contract.
	string[] public rootURIs;

	/**************
	* 3. MAPPINGS *
	***************/
	/**
	 * Mapping of URIs to IPFS storing the data of a vestingTree.
	 * root => URI (IPFS)
	**/
	mapping(bytes32 => string) public mapRootURIs;

	/**
	 * @dev Record of user withdrawals by cliff.
	 * leaf = keccak256(abi.encodePacked(beneficiary, amount, cliff))
	 * leaf => claimed
	**/
	mapping(bytes32 => bool) public vestingClaimed;

	/**
	 * @dev Total balance of vesting tree by root hash
	 * Root hash => balance
	**/
	mapping(bytes32 => uint256) public balanceByRootHash;

	/**
	 * @dev Root hash record of valid vesting trees
	 * Root hash => valid
	**/
	mapping(bytes32 => bool) public rootWhitelist;

	/**
	 * @dev Treasurer mapping. A treasurer is an address which has the possibility of generating
	 * new TGE with the tokens that are assigned to it at the time of contract deployment.
	 * address => isTreasurer
	**/
	mapping(address => bool) private _treasurers;

	/***************
	* 4. MODIFIERS *
	****************/
	/**
	 * @dev Throws if root no valid
	**/
	modifier validRoot(bytes32 _root) {
		require(rootWhitelist[_root], "Root no valid");
		_;
	}

	/************
	* 5. EVENTS *
	*************/
	event AddedRoot(bytes32 indexed root);
	event VestedTokenGrant(bytes32 indexed leafHash);

	/***************
	* 6. FUNCTIONS *
	****************/
	/**
	 * @param name_ Name of ERC20 token
	 * @param symbol_ Symbol of ERC20 token
	 * @param supply_ Supply of ERC20 token
	 * @param uriIPFS_ IPFS URI for the initial vesting tree data.
	 * @param vestingTreeRoot_ Vesting tree root hash
	 * @param vestingStartTimestamp_ Timestamp of vesting start as seconds since the Unix epoch
	 * @param proofBalance_ Proof of total balance
	 * @param treasurers_ Addresses of authorized treasurers
	 **/
	constructor(
		string memory name_,
		string memory symbol_,
		uint256 supply_,
		string memory uriIPFS_,
		bytes32 vestingTreeRoot_,
		uint256 vestingStartTimestamp_,
		bytes32[] memory proofBalance_,
		address[] memory treasurers_
	) ERC20(name_, symbol_) {
		uint256 supply = supply_ * uint256(10)**decimals();

		/**
		 * @dev
		 * A validation of the supply registered in the merkle tree is made to verify that it
		 * matches the supply that the contract will have and to ensure that sufficient funds
		 * are available to comply with all the TGE assignments.
		**/
		require(
			MerkleProof.verify(proofBalance_, vestingTreeRoot_, keccak256(abi.encodePacked(supply))),
			'The total supply of the contract does not match that of the merketree'
		);

		for(uint256 i = 0; i < treasurers_.length; i++) _treasurers[treasurers_[i]] = true;

		rootWhitelist[vestingTreeRoot_] = true;
		balanceByRootHash[vestingTreeRoot_] = supply;
		VESTING_START_TIMESTAMP = vestingStartTimestamp_;

		emit AddedRoot(vestingTreeRoot_);

		rootURIs.push(uriIPFS_);
		mapRootURIs[vestingTreeRoot_] = uriIPFS_;

		_mint(address(this), supply);
	}

	/**
	 * @dev Verify if an address is a treasury address.
	 * @param t_ Address of treasurer.
	**/
	function isTreasurer(address t_) view public returns(bool) {
		return _treasurers[t_];
	}

	/**
	 * @dev Verify the validity of merkle proof associated with an address.
	 * @param beneficiary_ Address of beneficiary.
	 * @param amount_ Amount vested tokens to be released.
	 * @param cliff_ Lock delay for release.
	 * @param root_ Merkle tree root.
	 * @param proof_ Merkle proof.
	**/
	function verifyProof(
		address beneficiary_,
		uint256 amount_,
		uint256 cliff_,
		bytes32 root_,
		bytes32[] calldata proof_
	) external view returns(bool) {
		if(!rootWhitelist[root_]) return false;
		bytes32 _leaf = keccak256(abi.encodePacked(beneficiary_, amount_, cliff_));
		return MerkleProof.verify(proof_, root_, _leaf);
	}

	/**
	 * @dev Add a new merkle tree hash. Only addresses registered in the initial Merkle tree as
	 * treasurers have the possibility of adding new Merkle trees, and they are only allowed to
	 * add batches of users that belong to the same group (pool) and with the same allocation date.
	 * @param root_ Merkle tree root of treasurer.
	 * @param newRoot_ New merkle tree root.
	 * @param amount_ Balance that is assigned to new merkle tree.
	 * @param uriIPFS_ IPFS URI for the initial vesting tree data.
	 * @param allocation_ treasurer allocation
	 * @param balanceProof_ Merkle proof of balance.
	 * @param initialAllocationProof_ Merkle proof initial allocation.
	 * @param newAllocationProof_ Merkle proof new allocation.
	 * @param allocationQuantityProof_ Merkle proof allocation quantity.
	 * @param vestingSchedules_ Array of vestingData.
	**/
	function addRoot(
		bytes32 root_,
		bytes32 newRoot_,
		uint256 amount_,
		string memory uriIPFS_,
		Allocation memory allocation_,
		bytes32[] memory balanceProof_,
		bytes32[] memory initialAllocationProof_,
		bytes32[] memory newAllocationProof_,
		bytes32[] memory allocationQuantityProof_,
		VestingData[] calldata vestingSchedules_
	) external validRoot(root_) {
		require(isTreasurer(msg.sender), 'Caller is not a treasurer');

		require(MerkleProof.verify(
			allocationQuantityProof_,
			newRoot_,
			keccak256(abi.encodePacked('ALLOCATION_QUANTITY', uint256(1)))
		), 'The quantity of the allocation of the new Merkle tree is invalid');

		/// @dev the allocation dates of the treasurer who is adding a new merkle tree must match
		// the one assigned in the original merkle tree
		require(
			MerkleProof.verify(
				initialAllocationProof_,
				root_,
				keccak256(abi.encodePacked(
					msg.sender,
					allocation_.unlocking,
					allocation_.monthly,
					allocation_.months,
					allocation_.cliff
				))
			)
			&&
			MerkleProof.verify(
				newAllocationProof_,
				newRoot_,
				keccak256(abi.encodePacked(
					msg.sender,
					allocation_.unlocking,
					allocation_.monthly,
					allocation_.months,
					allocation_.cliff
				))
			),
			'Allocation type of the new Merkle tree is invalid'
		);

		require(
			MerkleProof.verify(balanceProof_, newRoot_, keccak256(abi.encodePacked(amount_))),
			'The supply sent does not match that of the merketree'
		);

		bytes32 r = root_;
		uint256 balance = 0;

		for(uint256 i = 0; i < vestingSchedules_.length; i++) {
			(
				address beneficiary,
				uint256 amount,
				uint256 cliff,
				bytes32[] calldata proof
			) = _splitVestingSchedule(vestingSchedules_[i]);

			require(beneficiary == msg.sender, 'You cannot claim tokens from another user');

			bytes32 leaf = keccak256(abi.encodePacked(beneficiary, amount, cliff));

			if(!vestingClaimed[leaf]) {
				require(
					MerkleProof.verify(proof, r, leaf), 'Invalid merkle proof'
				);

				require(balanceByRootHash[r] >= amount, 'Supply is not enough to claim allocation');

				vestingClaimed[leaf] = true;
				balanceByRootHash[r] -= amount;
				balance += amount;

				emit VestedTokenGrant(leaf);
			}
		}

		require(!rootWhitelist[newRoot_], 'Root hash already exists');
		require(amount_ == balance, 'Amount is different from balance');

		rootWhitelist[newRoot_] = true;
		balanceByRootHash[newRoot_] = amount_;

		rootURIs.push(uriIPFS_);
		mapRootURIs[newRoot_] = uriIPFS_;

		emit AddedRoot(newRoot_);
	}

	/**
	 * @dev Release vesting in batches
	 * @param vestingSchedules_ Array of vesting schedule
	 * @param root_ Merkle tree root
	**/
	function batchReleaseVested(VestingData[] calldata vestingSchedules_, bytes32 root_) external {
		for(uint256 i = 0; i < vestingSchedules_.length; i++) {
			(
				address beneficiary,
				uint256 amount,
				uint256 cliff,
				bytes32[] calldata proof
			) = _splitVestingSchedule(vestingSchedules_[i]);

			bytes32 _leaf = keccak256(abi.encodePacked(beneficiary, amount, cliff));
			if(!vestingClaimed[_leaf]) _releaseVested(beneficiary, amount, cliff, root_, proof);
		}
	}

	/**
	 * @dev Release vesting associated with an address
	 * @param _beneficiary Address of beneficiary
	 * @param _amount Amount vested tokens to be released
	 * @param _cliff Lock delay for release
	 * @param _root Merkle tree root
	 * @param _proof Merkle proof
	**/
	function releaseVested(
		address _beneficiary,
		uint256 _amount,
		uint256 _cliff,
		bytes32 _root,
		bytes32[] calldata _proof
	) external {
		_releaseVested(_beneficiary, _amount, _cliff, _root, _proof);
	}

	/**
	 * @dev Release vesting associated with an address
	 * @param beneficiary_ Address of beneficiary
	 * @param amount_ Amount vested tokens to be released
	 * @param cliff_ Lock delay for release
	 * @param root_ Merkle tree root
	 * @param proof_ Merkle proof
	**/
	function _releaseVested(
		address beneficiary_,
		uint256 amount_,
		uint256 cliff_,
		bytes32 root_,
		bytes32[] calldata proof_
	) internal validRoot(root_) {
		bytes32 leaf = keccak256(abi.encodePacked(beneficiary_, amount_, cliff_));

		require(
			MerkleProof.verify(proof_, root_, leaf), 'Invalid merkle proof'
		);

		require(!vestingClaimed[leaf], 'Tokens already claimed');
		require(balanceByRootHash[root_] >= amount_, 'Supply is not enough to claim allocation');
		require(
			block.timestamp >= VESTING_START_TIMESTAMP + cliff_,
			"The release date has not yet arrived"
		);

		require(!isTreasurer(beneficiary_), "Treasury addresses cannot claim tokens");

		vestingClaimed[leaf] = true;
		balanceByRootHash[root_] -= amount_;
		_transfer(address(this), beneficiary_, amount_);

		emit VestedTokenGrant(leaf);
	}

	function _splitVestingSchedule(VestingData calldata _user) internal pure returns(
		address beneficiary,
		uint256 amount,
		uint256 cliff,
		bytes32[] calldata proof
	) {
		return (_user.beneficiary, _user.amount, _user.cliff, _user.proof);
	}
}

File 2 of 6 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, 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}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, 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}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

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

        _afterTokenTransfer(account, address(0), amount);
    }

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

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

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

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

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

File 3 of 6 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

File 4 of 6 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev Returns the 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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 5 of 6 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 6 of 6 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 10000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"supply_","type":"uint256"},{"internalType":"string","name":"uriIPFS_","type":"string"},{"internalType":"bytes32","name":"vestingTreeRoot_","type":"bytes32"},{"internalType":"uint256","name":"vestingStartTimestamp_","type":"uint256"},{"internalType":"bytes32[]","name":"proofBalance_","type":"bytes32[]"},{"internalType":"address[]","name":"treasurers_","type":"address[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"AddedRoot","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"leafHash","type":"bytes32"}],"name":"VestedTokenGrant","type":"event"},{"inputs":[],"name":"VESTING_START_TIMESTAMP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root_","type":"bytes32"},{"internalType":"bytes32","name":"newRoot_","type":"bytes32"},{"internalType":"uint256","name":"amount_","type":"uint256"},{"internalType":"string","name":"uriIPFS_","type":"string"},{"components":[{"internalType":"uint256","name":"unlocking","type":"uint256"},{"internalType":"uint256[]","name":"monthly","type":"uint256[]"},{"internalType":"uint256[]","name":"months","type":"uint256[]"},{"internalType":"uint256","name":"cliff","type":"uint256"}],"internalType":"struct MLTToken.Allocation","name":"allocation_","type":"tuple"},{"internalType":"bytes32[]","name":"balanceProof_","type":"bytes32[]"},{"internalType":"bytes32[]","name":"initialAllocationProof_","type":"bytes32[]"},{"internalType":"bytes32[]","name":"newAllocationProof_","type":"bytes32[]"},{"internalType":"bytes32[]","name":"allocationQuantityProof_","type":"bytes32[]"},{"components":[{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"cliff","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"internalType":"struct MLTToken.VestingData[]","name":"vestingSchedules_","type":"tuple[]"}],"name":"addRoot","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":"bytes32","name":"","type":"bytes32"}],"name":"balanceByRootHash","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"cliff","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"internalType":"struct MLTToken.VestingData[]","name":"vestingSchedules_","type":"tuple[]"},{"internalType":"bytes32","name":"root_","type":"bytes32"}],"name":"batchReleaseVested","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"t_","type":"address"}],"name":"isTreasurer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"mapRootURIs","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_cliff","type":"uint256"},{"internalType":"bytes32","name":"_root","type":"bytes32"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"releaseVested","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rootURIs","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"rootWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"},{"internalType":"uint256","name":"cliff_","type":"uint256"},{"internalType":"bytes32","name":"root_","type":"bytes32"},{"internalType":"bytes32[]","name":"proof_","type":"bytes32[]"}],"name":"verifyProof","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"vestingClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060405162002b7c38038062002b7c8339810160408190526200003491620005e4565b8751889088906200004d906003906020850190620003c3565b50805162000063906004906020840190620003c3565b5050506000620000786200024c60201b60201c565b6200008590600a62000841565b62000091908862000926565b9050620000d3838683604051602001620000ac9190620006dc565b604051602081830303815290604052805190602001206200025160201b62000ccd1760201c565b620000fb5760405162461bcd60e51b8152600401620000f290620006e5565b60405180910390fd5b60005b825181101562000176576001600b60008584815181106200012f57634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806200016d8162000985565b915050620000fe565b506000858152600a60209081526040808320805460ff19166001179055600990915280822083905560058690555186917f84b2306c1af1fc3a139e6c617f8f31cf5a55850bfb6f4536f64f8cf082f5269791a26006805460018101825560009190915286516200020e917ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f01906020890190620003c3565b50600085815260076020908152604090912087516200023092890190620003c3565b506200023d30826200026b565b505050505050505050620009cf565b601290565b60008262000260858462000324565b1490505b9392505050565b6001600160a01b038216620002945760405162461bcd60e51b8152600401620000f29062000750565b620002a2600083836200038c565b8060026000828254620002b69190620007d9565b90915550506001600160a01b038216600081815260208190526040808220805485019055517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906200030a908590620006dc565b60405180910390a362000320600083836200038c565b5050565b600081815b845181101562000384576200036d828683815181106200035957634e487b7160e01b600052603260045260246000fd5b60200260200101516200039160201b60201c565b9150806200037b8162000985565b91505062000329565b509392505050565b505050565b6000818310620003ad57620003a78284620003b4565b62000264565b6200026483835b60009182526020526040902090565b828054620003d19062000948565b90600052602060002090601f016020900481019282620003f5576000855562000440565b82601f106200041057805160ff191683800117855562000440565b8280016001018555821562000440579182015b828111156200044057825182559160200191906001019062000423565b506200044e92915062000452565b5090565b5b808211156200044e576000815560010162000453565b600082601f8301126200047a578081fd5b81516020620004936200048d83620007b3565b62000787565b8281528181019085830183850287018401881015620004b0578586fd5b855b85811015620004e55781516001600160a01b0381168114620004d2578788fd5b84529284019290840190600101620004b2565b5090979650505050505050565b600082601f83011262000503578081fd5b81516020620005166200048d83620007b3565b828152818101908583018385028701840188101562000533578586fd5b855b85811015620004e55781518452928401929084019060010162000535565b600082601f83011262000564578081fd5b81516001600160401b03811115620005805762000580620009b9565b602062000596601f8301601f1916820162000787565b8281528582848701011115620005aa578384fd5b835b83811015620005c9578581018301518282018401528201620005ac565b83811115620005da57848385840101525b5095945050505050565b600080600080600080600080610100898b03121562000601578384fd5b88516001600160401b038082111562000618578586fd5b620006268c838d0162000553565b995060208b01519150808211156200063c578586fd5b6200064a8c838d0162000553565b985060408b0151975060608b015191508082111562000667578586fd5b620006758c838d0162000553565b965060808b0151955060a08b0151945060c08b015191508082111562000699578384fd5b620006a78c838d01620004f2565b935060e08b0151915080821115620006bd578283fd5b50620006cc8b828c0162000469565b9150509295985092959890939650565b90815260200190565b60208082526045908201527f54686520746f74616c20737570706c79206f662074686520636f6e747261637460408201527f20646f6573206e6f74206d617463682074686174206f6620746865206d65726b606082015264657472656560d81b608082015260a00190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b6040518181016001600160401b0381118282101715620007ab57620007ab620009b9565b604052919050565b60006001600160401b03821115620007cf57620007cf620009b9565b5060209081020190565b60008219821115620007ef57620007ef620009a3565b500190565b80825b600180861162000808575062000838565b8187048211156200081d576200081d620009a3565b808616156200082b57918102915b9490941c938002620007f7565b94509492505050565b60006200026460001960ff851684600082620008605750600162000264565b816200086f5750600062000264565b81600181146200088857600281146200089357620008c7565b600191505062000264565b60ff841115620008a757620008a7620009a3565b6001841b915084821115620008c057620008c0620009a3565b5062000264565b5060208310610133831016604e8410600b8410161715620008f9575081810a83811115620003a757620003a7620009a3565b620009088484846001620007f4565b8086048211156200091d576200091d620009a3565b02949350505050565b6000816000190483118215151615620009435762000943620009a3565b500290565b6002810460018216806200095d57607f821691505b602082108114156200097f57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156200099c576200099c620009a3565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b61219d80620009df6000396000f3fe608060405234801561001057600080fd5b50600436106101825760003560e01c806366f809ac116100d8578063a457c2d71161008c578063cc0d50e611610066578063cc0d50e6146102f8578063d5bebdec1461030b578063dd62ed3e1461031e57610182565b8063a457c2d7146102ca578063a9059cbb146102dd578063ba175dfa146102f057610182565b8063833d76ad116100bd578063833d76ad1461029c57806395d89b41146102af5780639edbc372146102b757610182565b806366f809ac1461027657806370a082311461028957610182565b8063313ce5671161013a5780633ea16682116101145780633ea166821461023d5780635166d440146102505780635454e4ca1461026357610182565b8063313ce5671461020257806339509351146102175780633d1851c41461022a57610182565b806318160ddd1161016b57806318160ddd146101c557806323b872dd146101da5780632790100c146101ed57610182565b806306fdde0314610187578063095ea7b3146101a5575b600080fd5b61018f610331565b60405161019c91906118c9565b60405180910390f35b6101b86101b3366004611580565b6103c3565b60405161019c91906118be565b6101cd6103e5565b60405161019c91906118b5565b6101b86101e8366004611545565b6103eb565b6102006101fb366004611618565b610419565b005b61020a61051a565b60405161019c9190611f73565b6101b8610225366004611580565b61051f565b6102006102383660046115a9565b61054b565b6101b861024b366004611662565b610561565b6101b861025e3660046115a9565b610576565b61020061027136600461167a565b610611565b6101b8610284366004611662565b610add565b6101cd6102973660046114f9565b610af2565b61018f6102aa366004611662565b610b1e565b61018f610bb8565b6101cd6102c5366004611662565b610bc7565b6101b86102d8366004611580565b610bd9565b6101b86102eb366004611580565b610c21565b6101cd610c39565b6101b86103063660046114f9565b610c3f565b61018f610319366004611662565b610c6a565b6101cd61032c366004611513565b610c95565b6060600380546103409061207c565b80601f016020809104026020016040519081016040528092919081815260200182805461036c9061207c565b80156103b95780601f1061038e576101008083540402835291602001916103b9565b820191906000526020600020905b81548152906001019060200180831161039c57829003601f168201915b5050505050905090565b6000806103ce610ce3565b90506103db818585610ce7565b5060019392505050565b60025490565b6000806103f6610ce3565b9050610403858285610dc2565b61040e858585610e24565b506001949350505050565b60005b8281101561051457600080600036600061047f898988818110610468577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200281019061047a9190611fe6565b610f59565b9450945094509450945060008585856040516020016104a093929190611847565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291815281516020928301206000818152600890935291205490915060ff166104fb576104fb8686868b8787610f95565b505050505050808061050c906120d0565b91505061041c565b50505050565b601290565b60008061052a610ce3565b90506103db81858561053c8589610c95565b610546919061204d565b610ce7565b610559868686868686610f95565b505050505050565b60086020526000908152604090205460ff1681565b6000838152600a602052604081205460ff1661059457506000610607565b60008787876040516020016105ab93929190611847565b604051602081830303815290604052805190602001209050610603848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250899250859150610ccd9050565b9150505b9695505050505050565b60008b8152600a60205260409020548b9060ff1661064a5760405162461bcd60e51b815260040161064190611a2c565b60405180910390fd5b61065333610c3f565b61066f5760405162461bcd60e51b815260040161064190611e25565b6106a1848c60016040516020016106869190611884565b60405160208183030381529060405280519060200120610ccd565b6106bd5760405162461bcd60e51b815260040161064190611997565b6106eb868d338b600001518c602001518d604001518e606001516040516020016106869594939291906117f1565b80156107205750610720858c338b600001518c602001518d604001518e606001516040516020016106869594939291906117f1565b61073c5760405162461bcd60e51b815260040161064190611b52565b610752878c8c60405160200161068691906118b5565b61076e5760405162461bcd60e51b815260040161064190611e5c565b8b6000805b848110156109ae5760008060003660006107bf8b8b88818110610468577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b945094509450945094503373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16146108145760405162461bcd60e51b815260040161064190611cd7565b600085858560405160200161082b93929190611847565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291815281516020928301206000818152600890935291205490915060ff16610995576108b88383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508d9250859150610ccd9050565b6108d45760405162461bcd60e51b815260040161064190611ca0565b6000898152600960205260409020548511156109025760405162461bcd60e51b815260040161064190611eb9565b600081815260086020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558b8352600990915281208054879290610956908490612065565b909155506109669050858961204d565b60405190985081907f81df9be81a1e520bb17ab54843276df78fe5510181714e04451a5d10191475b190600090a25b50505050505080806109a6906120d0565b915050610773565b5060008d8152600a602052604090205460ff16156109de5760405162461bcd60e51b8152600401610641906119f5565b808c146109fd5760405162461bcd60e51b815260040161064190611ac0565b60008d8152600a6020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001908117909155600983529083208f90556006805491820181559092528c51610a81927ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f01918e019061124b565b5060008d81526007602090815260409091208c51610aa1928e019061124b565b506040518d907f84b2306c1af1fc3a139e6c617f8f31cf5a55850bfb6f4536f64f8cf082f5269790600090a25050505050505050505050505050565b600a6020526000908152604090205460ff1681565b73ffffffffffffffffffffffffffffffffffffffff81166000908152602081905260409020545b919050565b60076020526000908152604090208054610b379061207c565b80601f0160208091040260200160405190810160405280929190818152602001828054610b639061207c565b8015610bb05780601f10610b8557610100808354040283529160200191610bb0565b820191906000526020600020905b815481529060010190602001808311610b9357829003601f168201915b505050505081565b6060600480546103409061207c565b60096020526000908152604090205481565b600080610be4610ce3565b90506000610bf28286610c95565b905083811015610c145760405162461bcd60e51b815260040161064190611f16565b61040e8286868403610ce7565b600080610c2c610ce3565b90506103db818585610e24565b60055481565b73ffffffffffffffffffffffffffffffffffffffff166000908152600b602052604090205460ff1690565b60068181548110610c7a57600080fd5b906000526020600020016000915090508054610b379061207c565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b600082610cda858461119a565b14949350505050565b3390565b73ffffffffffffffffffffffffffffffffffffffff8316610d1a5760405162461bcd60e51b815260040161064190611dc8565b73ffffffffffffffffffffffffffffffffffffffff8216610d4d5760405162461bcd60e51b815260040161064190611af5565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610db59085906118b5565b60405180910390a3505050565b6000610dce8484610c95565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146105145781811015610e175760405162461bcd60e51b815260040161064190611baf565b6105148484848403610ce7565b73ffffffffffffffffffffffffffffffffffffffff8316610e575760405162461bcd60e51b815260040161064190611d34565b73ffffffffffffffffffffffffffffffffffffffff8216610e8a5760405162461bcd60e51b81526004016106419061193a565b610e9583838361120e565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610edb5760405162461bcd60e51b815260040161064190611be6565b73ffffffffffffffffffffffffffffffffffffffff80851660008181526020819052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610f469086906118b5565b60405180910390a361051484848461120e565b600080803681610f6c60208701876114f9565b60208701356040880135610f8360608a018a611f81565b939a9299509097509550909350915050565b6000838152600a6020526040902054839060ff16610fc55760405162461bcd60e51b815260040161064190611a2c565b6000878787604051602001610fdc93929190611847565b604051602081830303815290604052805190602001209050611034848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250899250859150610ccd9050565b6110505760405162461bcd60e51b815260040161064190611ca0565b60008181526008602052604090205460ff161561107f5760405162461bcd60e51b815260040161064190611d91565b6000858152600960205260409020548711156110ad5760405162461bcd60e51b815260040161064190611eb9565b856005546110bb919061204d565b4210156110da5760405162461bcd60e51b815260040161064190611c43565b6110e388610c3f565b156111005760405162461bcd60e51b815260040161064190611a63565b600081815260086020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055878352600990915281208054899290611154908490612065565b909155506111659050308989610e24565b60405181907f81df9be81a1e520bb17ab54843276df78fe5510181714e04451a5d10191475b190600090a25050505050505050565b600081815b8451811015611206576111f2828683815181106111e5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151611213565b9150806111fe816120d0565b91505061119f565b509392505050565b505050565b600081831061122b57611226828461123c565b611235565b611235838361123c565b9392505050565b60009182526020526040902090565b8280546112579061207c565b90600052602060002090601f01602090048101928261127957600085556112bf565b82601f1061129257805160ff19168380011785556112bf565b828001600101855582156112bf579182015b828111156112bf5782518255916020019190600101906112a4565b506112cb9291506112cf565b5090565b5b808211156112cb57600081556001016112d0565b803573ffffffffffffffffffffffffffffffffffffffff81168114610b1957600080fd5b60008083601f840112611319578182fd5b50813567ffffffffffffffff811115611330578182fd5b602083019150836020808302850101111561134a57600080fd5b9250929050565b600082601f830112611361578081fd5b8135602067ffffffffffffffff82111561137d5761137d612138565b80820261138b828201612023565b8381528281019086840183880185018910156113a5578687fd5b8693505b858410156113c75780358352600193909301929184019184016113a9565b50979650505050505050565b600082601f8301126113e3578081fd5b813567ffffffffffffffff8111156113fd576113fd612138565b61142e60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601612023565b818152846020838601011115611442578283fd5b816020850160208301379081016020019190915292915050565b60006080828403121561146d578081fd5b6040516080810167ffffffffffffffff828210818311171561149157611491612138565b816040528293508435835260208501359150808211156114b057600080fd5b6114bc86838701611351565b602084015260408501359150808211156114d557600080fd5b506114e285828601611351565b604083015250606083013560608201525092915050565b60006020828403121561150a578081fd5b611235826112e4565b60008060408385031215611525578081fd5b61152e836112e4565b915061153c602084016112e4565b90509250929050565b600080600060608486031215611559578081fd5b611562846112e4565b9250611570602085016112e4565b9150604084013590509250925092565b60008060408385031215611592578182fd5b61159b836112e4565b946020939093013593505050565b60008060008060008060a087890312156115c1578182fd5b6115ca876112e4565b9550602087013594506040870135935060608701359250608087013567ffffffffffffffff8111156115fa578283fd5b61160689828a01611308565b979a9699509497509295939492505050565b60008060006040848603121561162c578283fd5b833567ffffffffffffffff811115611642578384fd5b61164e86828701611308565b909790965060209590950135949350505050565b600060208284031215611673578081fd5b5035919050565b60008060008060008060008060008060006101408c8e03121561169b578485fd5b8b359a5060208c0135995060408c0135985067ffffffffffffffff8060608e013511156116c6578586fd5b6116d68e60608f01358f016113d3565b98508060808e013511156116e8578586fd5b6116f88e60808f01358f0161145c565b97508060a08e0135111561170a578586fd5b61171a8e60a08f01358f01611351565b96508060c08e0135111561172c578586fd5b61173c8e60c08f01358f01611351565b95508060e08e0135111561174e578485fd5b61175e8e60e08f01358f01611351565b9450806101008e01351115611771578384fd5b6117828e6101008f01358f01611351565b9350806101208e01351115611795578283fd5b506117a78d6101208e01358e01611308565b81935080925050509295989b509295989b9093969950565b600081516020808401835b838110156117e6578151875295820195908201906001016117ca565b509495945050505050565b60007fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008760601b16825285601483015261183761183160348401876117bf565b856117bf565b9283525050602001949350505050565b60609390931b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001683526014830191909152603482015260540190565b7f414c4c4f434154494f4e5f5155414e54495459000000000000000000000000008152601381019190915260330190565b90815260200190565b901515815260200190565b6000602080835283518082850152825b818110156118f5578581018301518582016040015282016118d9565b818111156119065783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201527f6573730000000000000000000000000000000000000000000000000000000000606082015260800190565b602080825260409082018190527f546865207175616e74697479206f662074686520616c6c6f636174696f6e206f908201527f6620746865206e6577204d65726b6c65207472656520697320696e76616c6964606082015260800190565b60208082526018908201527f526f6f74206861736820616c7265616479206578697374730000000000000000604082015260600190565b6020808252600d908201527f526f6f74206e6f2076616c696400000000000000000000000000000000000000604082015260600190565b60208082526026908201527f5472656173757279206164647265737365732063616e6e6f7420636c61696d2060408201527f746f6b656e730000000000000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f416d6f756e7420697320646966666572656e742066726f6d2062616c616e6365604082015260600190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560408201527f7373000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526031908201527f416c6c6f636174696f6e2074797065206f6620746865206e6577204d65726b6c60408201527f65207472656520697320696e76616c6964000000000000000000000000000000606082015260800190565b6020808252601d908201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604082015260600190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260408201527f616c616e63650000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f5468652072656c65617365206461746520686173206e6f74207965742061727260408201527f6976656400000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526014908201527f496e76616c6964206d65726b6c652070726f6f66000000000000000000000000604082015260600190565b60208082526029908201527f596f752063616e6e6f7420636c61696d20746f6b656e732066726f6d20616e6f60408201527f7468657220757365720000000000000000000000000000000000000000000000606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526016908201527f546f6b656e7320616c726561647920636c61696d656400000000000000000000604082015260600190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526019908201527f43616c6c6572206973206e6f7420612074726561737572657200000000000000604082015260600190565b60208082526034908201527f54686520737570706c792073656e7420646f6573206e6f74206d61746368207460408201527f686174206f6620746865206d65726b6574726565000000000000000000000000606082015260800190565b60208082526028908201527f537570706c79206973206e6f7420656e6f75676820746f20636c61696d20616c60408201527f6c6f636174696f6e000000000000000000000000000000000000000000000000606082015260800190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760408201527f207a65726f000000000000000000000000000000000000000000000000000000606082015260800190565b60ff91909116815260200190565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112611fb5578283fd5b83018035915067ffffffffffffffff821115611fcf578283fd5b602090810192508102360382131561134a57600080fd5b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81833603018112612019578182fd5b9190910192915050565b60405181810167ffffffffffffffff8111828210171561204557612045612138565b604052919050565b6000821982111561206057612060612109565b500190565b60008282101561207757612077612109565b500390565b60028104600182168061209057607f821691505b602082108114156120ca577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561210257612102612109565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea26469706673582212207f3e6b0d6fa1f1381f5a50e9c5775c197bb504019b9b9dbb0c316b8aad14079c64736f6c63430008000033000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000017d7840000000000000000000000000000000000000000000000000000000000000001808d83bb97927b5a92ed5a305064b6b27ac91b75e65c827d268ae31c78e353001400000000000000000000000000000000000000000000000000000000641964000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000000084d4c54546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024d4c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000058697066733a2f2f6261667962656965357133326a776773346e6d7935736f6d6a7766656e67676d74336765676d326b66677965746772336d6a787935347a36766e6d2f76657374696e67547265655f646174612e6a736f6e0000000000000000000000000000000000000000000000000000000000000000000000000000000b0715694422102e363ebf5d658fe3c7e88e538b62666e3c3a6892e2dd40bdbcc84483998641cba29277e3c4e85dc43676c3ee7d390e799c0855f95f5f6783522f2d36765620363f43cd492ccc408c379529f529fd17080b380cbbf6bdc41e2eae171ecf63271945d2ba8669151d464767f9cdee97d8194c301b0b879fb5b6888a7fc98547cbc4adcb83d8ff623dc95c6dce4530da07c95e43937302afa749c6ea3c2f7a57713fb3589d820d5168ccfe2079253270829807a92f30a2ae3226ed19f210c632f846e8dd2c82b96788e61e9c0eb0ceacf35e920df9688f6e6daf5f21eef8f974210eba3060c6437fec9bbc9d6c4d517685e91ee2bc8ebbe5b3a33c34b281772bbbc36555773f322e5888e756c6b35276b331b349fa09107b2a2a3a93412a10b2ac67e6096e927cbc52fe00795f00fc01e66425e0d613dd70406e7d808eb2177490ab1f186d61f55333a2f4b9a7a30a4f20b7969afd3e4846a563a3f70000000000000000000000000000000000000000000000000000000000000008000000000000000000000000677146c7f8621e0f4ace2fe0008cf790d83dcee60000000000000000000000007ef9822cc9dd5d668f6c44b3d34f943945057273000000000000000000000000a01a628bbece2395b7dab5fce7ead6823d694f3b000000000000000000000000ac0c7a82a88850c7251c688f1862e28cbaa1cab50000000000000000000000008e3e3e4834974f15d28325d0a4dfd5c8cfc4f8e2000000000000000000000000bb6cfe51fa5926b054489a8d2609cae4543f3187000000000000000000000000d5160cb812d7bc4291b534621d2f4532f499ecea000000000000000000000000019731dfedf995f23a4f884fe1256fcca1b2a92b

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101825760003560e01c806366f809ac116100d8578063a457c2d71161008c578063cc0d50e611610066578063cc0d50e6146102f8578063d5bebdec1461030b578063dd62ed3e1461031e57610182565b8063a457c2d7146102ca578063a9059cbb146102dd578063ba175dfa146102f057610182565b8063833d76ad116100bd578063833d76ad1461029c57806395d89b41146102af5780639edbc372146102b757610182565b806366f809ac1461027657806370a082311461028957610182565b8063313ce5671161013a5780633ea16682116101145780633ea166821461023d5780635166d440146102505780635454e4ca1461026357610182565b8063313ce5671461020257806339509351146102175780633d1851c41461022a57610182565b806318160ddd1161016b57806318160ddd146101c557806323b872dd146101da5780632790100c146101ed57610182565b806306fdde0314610187578063095ea7b3146101a5575b600080fd5b61018f610331565b60405161019c91906118c9565b60405180910390f35b6101b86101b3366004611580565b6103c3565b60405161019c91906118be565b6101cd6103e5565b60405161019c91906118b5565b6101b86101e8366004611545565b6103eb565b6102006101fb366004611618565b610419565b005b61020a61051a565b60405161019c9190611f73565b6101b8610225366004611580565b61051f565b6102006102383660046115a9565b61054b565b6101b861024b366004611662565b610561565b6101b861025e3660046115a9565b610576565b61020061027136600461167a565b610611565b6101b8610284366004611662565b610add565b6101cd6102973660046114f9565b610af2565b61018f6102aa366004611662565b610b1e565b61018f610bb8565b6101cd6102c5366004611662565b610bc7565b6101b86102d8366004611580565b610bd9565b6101b86102eb366004611580565b610c21565b6101cd610c39565b6101b86103063660046114f9565b610c3f565b61018f610319366004611662565b610c6a565b6101cd61032c366004611513565b610c95565b6060600380546103409061207c565b80601f016020809104026020016040519081016040528092919081815260200182805461036c9061207c565b80156103b95780601f1061038e576101008083540402835291602001916103b9565b820191906000526020600020905b81548152906001019060200180831161039c57829003601f168201915b5050505050905090565b6000806103ce610ce3565b90506103db818585610ce7565b5060019392505050565b60025490565b6000806103f6610ce3565b9050610403858285610dc2565b61040e858585610e24565b506001949350505050565b60005b8281101561051457600080600036600061047f898988818110610468577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200281019061047a9190611fe6565b610f59565b9450945094509450945060008585856040516020016104a093929190611847565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291815281516020928301206000818152600890935291205490915060ff166104fb576104fb8686868b8787610f95565b505050505050808061050c906120d0565b91505061041c565b50505050565b601290565b60008061052a610ce3565b90506103db81858561053c8589610c95565b610546919061204d565b610ce7565b610559868686868686610f95565b505050505050565b60086020526000908152604090205460ff1681565b6000838152600a602052604081205460ff1661059457506000610607565b60008787876040516020016105ab93929190611847565b604051602081830303815290604052805190602001209050610603848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250899250859150610ccd9050565b9150505b9695505050505050565b60008b8152600a60205260409020548b9060ff1661064a5760405162461bcd60e51b815260040161064190611a2c565b60405180910390fd5b61065333610c3f565b61066f5760405162461bcd60e51b815260040161064190611e25565b6106a1848c60016040516020016106869190611884565b60405160208183030381529060405280519060200120610ccd565b6106bd5760405162461bcd60e51b815260040161064190611997565b6106eb868d338b600001518c602001518d604001518e606001516040516020016106869594939291906117f1565b80156107205750610720858c338b600001518c602001518d604001518e606001516040516020016106869594939291906117f1565b61073c5760405162461bcd60e51b815260040161064190611b52565b610752878c8c60405160200161068691906118b5565b61076e5760405162461bcd60e51b815260040161064190611e5c565b8b6000805b848110156109ae5760008060003660006107bf8b8b88818110610468577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b945094509450945094503373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16146108145760405162461bcd60e51b815260040161064190611cd7565b600085858560405160200161082b93929190611847565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291815281516020928301206000818152600890935291205490915060ff16610995576108b88383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508d9250859150610ccd9050565b6108d45760405162461bcd60e51b815260040161064190611ca0565b6000898152600960205260409020548511156109025760405162461bcd60e51b815260040161064190611eb9565b600081815260086020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558b8352600990915281208054879290610956908490612065565b909155506109669050858961204d565b60405190985081907f81df9be81a1e520bb17ab54843276df78fe5510181714e04451a5d10191475b190600090a25b50505050505080806109a6906120d0565b915050610773565b5060008d8152600a602052604090205460ff16156109de5760405162461bcd60e51b8152600401610641906119f5565b808c146109fd5760405162461bcd60e51b815260040161064190611ac0565b60008d8152600a6020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001908117909155600983529083208f90556006805491820181559092528c51610a81927ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f01918e019061124b565b5060008d81526007602090815260409091208c51610aa1928e019061124b565b506040518d907f84b2306c1af1fc3a139e6c617f8f31cf5a55850bfb6f4536f64f8cf082f5269790600090a25050505050505050505050505050565b600a6020526000908152604090205460ff1681565b73ffffffffffffffffffffffffffffffffffffffff81166000908152602081905260409020545b919050565b60076020526000908152604090208054610b379061207c565b80601f0160208091040260200160405190810160405280929190818152602001828054610b639061207c565b8015610bb05780601f10610b8557610100808354040283529160200191610bb0565b820191906000526020600020905b815481529060010190602001808311610b9357829003601f168201915b505050505081565b6060600480546103409061207c565b60096020526000908152604090205481565b600080610be4610ce3565b90506000610bf28286610c95565b905083811015610c145760405162461bcd60e51b815260040161064190611f16565b61040e8286868403610ce7565b600080610c2c610ce3565b90506103db818585610e24565b60055481565b73ffffffffffffffffffffffffffffffffffffffff166000908152600b602052604090205460ff1690565b60068181548110610c7a57600080fd5b906000526020600020016000915090508054610b379061207c565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b600082610cda858461119a565b14949350505050565b3390565b73ffffffffffffffffffffffffffffffffffffffff8316610d1a5760405162461bcd60e51b815260040161064190611dc8565b73ffffffffffffffffffffffffffffffffffffffff8216610d4d5760405162461bcd60e51b815260040161064190611af5565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610db59085906118b5565b60405180910390a3505050565b6000610dce8484610c95565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146105145781811015610e175760405162461bcd60e51b815260040161064190611baf565b6105148484848403610ce7565b73ffffffffffffffffffffffffffffffffffffffff8316610e575760405162461bcd60e51b815260040161064190611d34565b73ffffffffffffffffffffffffffffffffffffffff8216610e8a5760405162461bcd60e51b81526004016106419061193a565b610e9583838361120e565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610edb5760405162461bcd60e51b815260040161064190611be6565b73ffffffffffffffffffffffffffffffffffffffff80851660008181526020819052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610f469086906118b5565b60405180910390a361051484848461120e565b600080803681610f6c60208701876114f9565b60208701356040880135610f8360608a018a611f81565b939a9299509097509550909350915050565b6000838152600a6020526040902054839060ff16610fc55760405162461bcd60e51b815260040161064190611a2c565b6000878787604051602001610fdc93929190611847565b604051602081830303815290604052805190602001209050611034848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250899250859150610ccd9050565b6110505760405162461bcd60e51b815260040161064190611ca0565b60008181526008602052604090205460ff161561107f5760405162461bcd60e51b815260040161064190611d91565b6000858152600960205260409020548711156110ad5760405162461bcd60e51b815260040161064190611eb9565b856005546110bb919061204d565b4210156110da5760405162461bcd60e51b815260040161064190611c43565b6110e388610c3f565b156111005760405162461bcd60e51b815260040161064190611a63565b600081815260086020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055878352600990915281208054899290611154908490612065565b909155506111659050308989610e24565b60405181907f81df9be81a1e520bb17ab54843276df78fe5510181714e04451a5d10191475b190600090a25050505050505050565b600081815b8451811015611206576111f2828683815181106111e5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151611213565b9150806111fe816120d0565b91505061119f565b509392505050565b505050565b600081831061122b57611226828461123c565b611235565b611235838361123c565b9392505050565b60009182526020526040902090565b8280546112579061207c565b90600052602060002090601f01602090048101928261127957600085556112bf565b82601f1061129257805160ff19168380011785556112bf565b828001600101855582156112bf579182015b828111156112bf5782518255916020019190600101906112a4565b506112cb9291506112cf565b5090565b5b808211156112cb57600081556001016112d0565b803573ffffffffffffffffffffffffffffffffffffffff81168114610b1957600080fd5b60008083601f840112611319578182fd5b50813567ffffffffffffffff811115611330578182fd5b602083019150836020808302850101111561134a57600080fd5b9250929050565b600082601f830112611361578081fd5b8135602067ffffffffffffffff82111561137d5761137d612138565b80820261138b828201612023565b8381528281019086840183880185018910156113a5578687fd5b8693505b858410156113c75780358352600193909301929184019184016113a9565b50979650505050505050565b600082601f8301126113e3578081fd5b813567ffffffffffffffff8111156113fd576113fd612138565b61142e60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601612023565b818152846020838601011115611442578283fd5b816020850160208301379081016020019190915292915050565b60006080828403121561146d578081fd5b6040516080810167ffffffffffffffff828210818311171561149157611491612138565b816040528293508435835260208501359150808211156114b057600080fd5b6114bc86838701611351565b602084015260408501359150808211156114d557600080fd5b506114e285828601611351565b604083015250606083013560608201525092915050565b60006020828403121561150a578081fd5b611235826112e4565b60008060408385031215611525578081fd5b61152e836112e4565b915061153c602084016112e4565b90509250929050565b600080600060608486031215611559578081fd5b611562846112e4565b9250611570602085016112e4565b9150604084013590509250925092565b60008060408385031215611592578182fd5b61159b836112e4565b946020939093013593505050565b60008060008060008060a087890312156115c1578182fd5b6115ca876112e4565b9550602087013594506040870135935060608701359250608087013567ffffffffffffffff8111156115fa578283fd5b61160689828a01611308565b979a9699509497509295939492505050565b60008060006040848603121561162c578283fd5b833567ffffffffffffffff811115611642578384fd5b61164e86828701611308565b909790965060209590950135949350505050565b600060208284031215611673578081fd5b5035919050565b60008060008060008060008060008060006101408c8e03121561169b578485fd5b8b359a5060208c0135995060408c0135985067ffffffffffffffff8060608e013511156116c6578586fd5b6116d68e60608f01358f016113d3565b98508060808e013511156116e8578586fd5b6116f88e60808f01358f0161145c565b97508060a08e0135111561170a578586fd5b61171a8e60a08f01358f01611351565b96508060c08e0135111561172c578586fd5b61173c8e60c08f01358f01611351565b95508060e08e0135111561174e578485fd5b61175e8e60e08f01358f01611351565b9450806101008e01351115611771578384fd5b6117828e6101008f01358f01611351565b9350806101208e01351115611795578283fd5b506117a78d6101208e01358e01611308565b81935080925050509295989b509295989b9093969950565b600081516020808401835b838110156117e6578151875295820195908201906001016117ca565b509495945050505050565b60007fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008760601b16825285601483015261183761183160348401876117bf565b856117bf565b9283525050602001949350505050565b60609390931b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001683526014830191909152603482015260540190565b7f414c4c4f434154494f4e5f5155414e54495459000000000000000000000000008152601381019190915260330190565b90815260200190565b901515815260200190565b6000602080835283518082850152825b818110156118f5578581018301518582016040015282016118d9565b818111156119065783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201527f6573730000000000000000000000000000000000000000000000000000000000606082015260800190565b602080825260409082018190527f546865207175616e74697479206f662074686520616c6c6f636174696f6e206f908201527f6620746865206e6577204d65726b6c65207472656520697320696e76616c6964606082015260800190565b60208082526018908201527f526f6f74206861736820616c7265616479206578697374730000000000000000604082015260600190565b6020808252600d908201527f526f6f74206e6f2076616c696400000000000000000000000000000000000000604082015260600190565b60208082526026908201527f5472656173757279206164647265737365732063616e6e6f7420636c61696d2060408201527f746f6b656e730000000000000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f416d6f756e7420697320646966666572656e742066726f6d2062616c616e6365604082015260600190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560408201527f7373000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526031908201527f416c6c6f636174696f6e2074797065206f6620746865206e6577204d65726b6c60408201527f65207472656520697320696e76616c6964000000000000000000000000000000606082015260800190565b6020808252601d908201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604082015260600190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260408201527f616c616e63650000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f5468652072656c65617365206461746520686173206e6f74207965742061727260408201527f6976656400000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526014908201527f496e76616c6964206d65726b6c652070726f6f66000000000000000000000000604082015260600190565b60208082526029908201527f596f752063616e6e6f7420636c61696d20746f6b656e732066726f6d20616e6f60408201527f7468657220757365720000000000000000000000000000000000000000000000606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526016908201527f546f6b656e7320616c726561647920636c61696d656400000000000000000000604082015260600190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526019908201527f43616c6c6572206973206e6f7420612074726561737572657200000000000000604082015260600190565b60208082526034908201527f54686520737570706c792073656e7420646f6573206e6f74206d61746368207460408201527f686174206f6620746865206d65726b6574726565000000000000000000000000606082015260800190565b60208082526028908201527f537570706c79206973206e6f7420656e6f75676820746f20636c61696d20616c60408201527f6c6f636174696f6e000000000000000000000000000000000000000000000000606082015260800190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760408201527f207a65726f000000000000000000000000000000000000000000000000000000606082015260800190565b60ff91909116815260200190565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112611fb5578283fd5b83018035915067ffffffffffffffff821115611fcf578283fd5b602090810192508102360382131561134a57600080fd5b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81833603018112612019578182fd5b9190910192915050565b60405181810167ffffffffffffffff8111828210171561204557612045612138565b604052919050565b6000821982111561206057612060612109565b500190565b60008282101561207757612077612109565b500390565b60028104600182168061209057607f821691505b602082108114156120ca577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561210257612102612109565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea26469706673582212207f3e6b0d6fa1f1381f5a50e9c5775c197bb504019b9b9dbb0c316b8aad14079c64736f6c63430008000033

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

000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000017d7840000000000000000000000000000000000000000000000000000000000000001808d83bb97927b5a92ed5a305064b6b27ac91b75e65c827d268ae31c78e353001400000000000000000000000000000000000000000000000000000000641964000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000000084d4c54546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024d4c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000058697066733a2f2f6261667962656965357133326a776773346e6d7935736f6d6a7766656e67676d74336765676d326b66677965746772336d6a787935347a36766e6d2f76657374696e67547265655f646174612e6a736f6e0000000000000000000000000000000000000000000000000000000000000000000000000000000b0715694422102e363ebf5d658fe3c7e88e538b62666e3c3a6892e2dd40bdbcc84483998641cba29277e3c4e85dc43676c3ee7d390e799c0855f95f5f6783522f2d36765620363f43cd492ccc408c379529f529fd17080b380cbbf6bdc41e2eae171ecf63271945d2ba8669151d464767f9cdee97d8194c301b0b879fb5b6888a7fc98547cbc4adcb83d8ff623dc95c6dce4530da07c95e43937302afa749c6ea3c2f7a57713fb3589d820d5168ccfe2079253270829807a92f30a2ae3226ed19f210c632f846e8dd2c82b96788e61e9c0eb0ceacf35e920df9688f6e6daf5f21eef8f974210eba3060c6437fec9bbc9d6c4d517685e91ee2bc8ebbe5b3a33c34b281772bbbc36555773f322e5888e756c6b35276b331b349fa09107b2a2a3a93412a10b2ac67e6096e927cbc52fe00795f00fc01e66425e0d613dd70406e7d808eb2177490ab1f186d61f55333a2f4b9a7a30a4f20b7969afd3e4846a563a3f70000000000000000000000000000000000000000000000000000000000000008000000000000000000000000677146c7f8621e0f4ace2fe0008cf790d83dcee60000000000000000000000007ef9822cc9dd5d668f6c44b3d34f943945057273000000000000000000000000a01a628bbece2395b7dab5fce7ead6823d694f3b000000000000000000000000ac0c7a82a88850c7251c688f1862e28cbaa1cab50000000000000000000000008e3e3e4834974f15d28325d0a4dfd5c8cfc4f8e2000000000000000000000000bb6cfe51fa5926b054489a8d2609cae4543f3187000000000000000000000000d5160cb812d7bc4291b534621d2f4532f499ecea000000000000000000000000019731dfedf995f23a4f884fe1256fcca1b2a92b

-----Decoded View---------------
Arg [0] : name_ (string): MLTToken
Arg [1] : symbol_ (string): ML
Arg [2] : supply_ (uint256): 400000000
Arg [3] : uriIPFS_ (string): ipfs://bafybeie5q32jwgs4nmy5somjwfenggmt3gegm2kfgyetgr3mjxy54z6vnm/vestingTree_data.json
Arg [4] : vestingTreeRoot_ (bytes32): 0x8d83bb97927b5a92ed5a305064b6b27ac91b75e65c827d268ae31c78e3530014
Arg [5] : vestingStartTimestamp_ (uint256): 1679385600
Arg [6] : proofBalance_ (bytes32[]): System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[]
Arg [7] : treasurers_ (address[]): 0x677146C7F8621E0F4acE2Fe0008cf790D83DcEe6,0x7Ef9822cC9Dd5d668f6c44B3D34f943945057273,0xa01a628BBEce2395b7DaB5FCe7EaD6823D694f3B,0xac0C7A82A88850c7251c688f1862E28cbaa1cAb5,0x8e3e3e4834974f15d28325D0A4dfD5c8CFC4F8e2,0xBB6cfE51Fa5926B054489A8D2609CAe4543f3187,0xD5160Cb812d7BC4291b534621D2F4532f499ECEa,0x019731DFeDf995F23A4f884FE1256fccA1b2a92b

-----Encoded View---------------
37 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 0000000000000000000000000000000000000000000000000000000017d78400
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [4] : 8d83bb97927b5a92ed5a305064b6b27ac91b75e65c827d268ae31c78e3530014
Arg [5] : 0000000000000000000000000000000000000000000000000000000064196400
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000200
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000380
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [9] : 4d4c54546f6b656e000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [11] : 4d4c000000000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000058
Arg [13] : 697066733a2f2f6261667962656965357133326a776773346e6d7935736f6d6a
Arg [14] : 7766656e67676d74336765676d326b66677965746772336d6a787935347a3676
Arg [15] : 6e6d2f76657374696e67547265655f646174612e6a736f6e0000000000000000
Arg [16] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [17] : 0715694422102e363ebf5d658fe3c7e88e538b62666e3c3a6892e2dd40bdbcc8
Arg [18] : 4483998641cba29277e3c4e85dc43676c3ee7d390e799c0855f95f5f6783522f
Arg [19] : 2d36765620363f43cd492ccc408c379529f529fd17080b380cbbf6bdc41e2eae
Arg [20] : 171ecf63271945d2ba8669151d464767f9cdee97d8194c301b0b879fb5b6888a
Arg [21] : 7fc98547cbc4adcb83d8ff623dc95c6dce4530da07c95e43937302afa749c6ea
Arg [22] : 3c2f7a57713fb3589d820d5168ccfe2079253270829807a92f30a2ae3226ed19
Arg [23] : f210c632f846e8dd2c82b96788e61e9c0eb0ceacf35e920df9688f6e6daf5f21
Arg [24] : eef8f974210eba3060c6437fec9bbc9d6c4d517685e91ee2bc8ebbe5b3a33c34
Arg [25] : b281772bbbc36555773f322e5888e756c6b35276b331b349fa09107b2a2a3a93
Arg [26] : 412a10b2ac67e6096e927cbc52fe00795f00fc01e66425e0d613dd70406e7d80
Arg [27] : 8eb2177490ab1f186d61f55333a2f4b9a7a30a4f20b7969afd3e4846a563a3f7
Arg [28] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [29] : 000000000000000000000000677146c7f8621e0f4ace2fe0008cf790d83dcee6
Arg [30] : 0000000000000000000000007ef9822cc9dd5d668f6c44b3d34f943945057273
Arg [31] : 000000000000000000000000a01a628bbece2395b7dab5fce7ead6823d694f3b
Arg [32] : 000000000000000000000000ac0c7a82a88850c7251c688f1862e28cbaa1cab5
Arg [33] : 0000000000000000000000008e3e3e4834974f15d28325d0a4dfd5c8cfc4f8e2
Arg [34] : 000000000000000000000000bb6cfe51fa5926b054489a8d2609cae4543f3187
Arg [35] : 000000000000000000000000d5160cb812d7bc4291b534621d2f4532f499ecea
Arg [36] : 000000000000000000000000019731dfedf995f23a4f884fe1256fcca1b2a92b


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.