S Price: $0.728496 (+0.13%)

Token

Escrowed Color Green (esGREEN)

Overview

Max Total Supply

259.827433364973174453 esGREEN

Holders

2

Total Transfers

-

Market

Price

$0.00 @ 0.000000 S

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
EscrowToken

Compiler Version
v0.8.28+commit.7893614a

Optimization Enabled:
Yes with 999999 runs

Other Settings:
paris EvmVersion
File 1 of 10 : EscrowToken.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.28;

import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";

import "../owner/Operator.sol";
import "../interfaces/IEscrow.sol";

/**
 * @title EscrowToken
 * @notice A generic, non-transferable vesting token contract for locking an underlying ERC20 token.
 * Users deposit an underlying token (e.g., GREEN, BLUE, etc.) to receive an equivalent amount of EscrowToken.
 * Vesting is linear over a configurable duration. When users claim, they receive the proportion of underlying
 * tokens that have vested based on elapsed time, and the corresponding EscrowToken balance is burned.
 * The contract is non-transferable and the underlying token balance held in the contract always equals the total
 * supply of EscrowToken.
 */
contract EscrowToken is IEscrow, ERC20Burnable, Operator {
    IERC20 public underlyingToken;

    /**
     * @notice Represents a user's vesting schedule.
     * @param totalAmount The total amount of underlying tokens locked.
     * @param claimedAmount The amount that has already been claimed.
     * @param startTime The timestamp when vesting starts.
     * @param duration The vesting duration in seconds.
     */
    struct VestingSchedule {
        uint256 totalAmount;
        uint256 claimedAmount;
        uint256 startTime;
        uint256 duration;
    }

    /// @notice Mapping from user address to their vesting schedule.
    mapping(address => VestingSchedule) public vestingSchedule;
    /// @notice Mapping from user address to cumulative claimed amount.
    mapping(address => uint256) public totalClaimed;

    event VestingStarted(address indexed user, uint256 totalAmount, uint256 startTime, uint256 duration);
    event VestingMerged(address indexed user, uint256 newTotalAmount);
    event Claimed(address indexed user, uint256 amount);

    /**
     * @notice Constructor.
     * @param _underlyingToken The address of the underlying ERC20 token.
     * @param _boardroom The address of the Boardroom contract (its operator).
     */
    constructor(
        IERC20 _underlyingToken,
        address _boardroom
    ) ERC20(
    string(abi.encodePacked("Escrowed ", IERC20Metadata(address(_underlyingToken)).name())),
    string(abi.encodePacked("es", IERC20Metadata(address(_underlyingToken)).symbol()))
    ) {
        require(address(_underlyingToken) != address(0), "EscrowToken: invalid underlying token address");
        require(_boardroom != address(0), "EscrowToken: invalid boardroom address");
        underlyingToken = _underlyingToken;
        transferOperator(_boardroom);
    }

    /**
     * @dev Override _update to disable transfers.
     *      Allows minting (from == address(0)) and burning (to == address(0)), but reverts on transfers between non-zero addresses.
     */
    function _update(address from, address to, uint256 value) internal virtual override {
        if (from != address(0) && to != address(0)) {
            revert("EscrowToken: transfers are disabled");
        }
        super._update(from, to, value);
    }

    /**
     * @notice Starts vesting by depositing underlying tokens and minting EscrowTokens.
     * @dev This function can be called only by the user (msg.sender == _user) or by an operator.
     *      If the user already has an active vesting schedule, any claimable tokens are claimed first,
     *      and the remaining unvested amount is merged with the new deposit.
     * @param _user The address for which vesting is initiated.
     * @param _amount The amount of underlying tokens to lock. Must be greater than zero.
     * @param _vestingDuration The vesting duration in seconds.
     */
    function startVesting(address _user, uint256 _amount, uint256 _vestingDuration) external override {
        require(msg.sender == _user || isOperator(), "EscrowToken: caller is not user or operator");
        require(_amount > 0, "EscrowToken: amount must be > 0");

        // Transfer underlying tokens from msg.sender (or operator) to this contract.
        require(underlyingToken.transferFrom(msg.sender, address(this), _amount), "EscrowToken: underlying transfer failed");

        // If the user already has an active vesting schedule with an unvested portion:
        if (vestingSchedule[_user].totalAmount > vestingSchedule[_user].claimedAmount) {
            // Claim any vested tokens first.
            _claimVested(_user);

            // Calculate the unvested amount remaining.
            uint256 unvestedAmount = vestingSchedule[_user].totalAmount - vestingSchedule[_user].claimedAmount;
            // Merge new deposit with the remaining unvested tokens.
            _amount += unvestedAmount;
            emit VestingMerged(_user, _amount);
        }

        // Reset the vesting schedule for the user.
        VestingSchedule storage schedule = vestingSchedule[_user];
        schedule.totalAmount = _amount;
        schedule.claimedAmount = 0;
        schedule.startTime = block.timestamp;
        schedule.duration = _vestingDuration;

        // Mint an equivalent amount of EscrowTokens to the user.
        _mint(_user, _amount);

        emit VestingStarted(_user, _amount, schedule.startTime, _vestingDuration);
    }

    /**
     * @notice Claims the vested portion of underlying tokens.
     * @dev Vesting is linear. The vested amount is calculated as:
     *      vested = totalAmount * min(block.timestamp - startTime, duration) / duration.
     *      The claimable amount is vested minus the already claimed amount.
     *      The corresponding EscrowTokens are burned and the underlying tokens are transferred to the caller.
     */
    function claim() external override {
        _claimVested(msg.sender);
    }

    /**
     * @notice Allows the operator to claim vested tokens for a user.
     * @param _user The address of the user for which vested tokens are claimed.
     */
    function claimFor(address _user) external override onlyOperator {
        _claimVested(_user);
    }

    /**
     * @dev Internal function to calculate and claim vested tokens for a user.
     * The function computes:
     *   - elapsed time = min(block.timestamp - startTime, duration)
     *   - vested amount = totalAmount * elapsed / duration
     *   - claimable = vested amount - claimedAmount
     * If claimable > 0, the claimable amount is added to claimedAmount,
     * the corresponding EscrowTokens are burned, and the underlying tokens are transferred to the user.
     * @param _user The address of the user.
     */
    function _claimVested(address _user) internal {
        VestingSchedule storage schedule = vestingSchedule[_user];
        if (schedule.totalAmount == 0) return;

        // Calculate elapsed time capped at the vesting duration.
        uint256 elapsed = block.timestamp > schedule.startTime + schedule.duration
            ? schedule.duration
            : block.timestamp - schedule.startTime;

        // Calculate total vested tokens using linear vesting.
        uint256 vestedAmount = (schedule.totalAmount * elapsed) / schedule.duration;
        // Determine the amount that is claimable.
        uint256 claimable = vestedAmount > schedule.claimedAmount ? vestedAmount - schedule.claimedAmount : 0;
        if (claimable == 0) return;

        schedule.claimedAmount += claimable;
        totalClaimed[_user] += claimable;

        // Burn the equivalent EscrowTokens.
        _burn(_user, claimable);

        // Transfer the claimable underlying tokens to the user.
        require(underlyingToken.transfer(_user, claimable), "EscrowToken: underlying transfer failed");

        emit Claimed(_user, claimable);
    }

    /**
     * @notice Returns the amount of underlying tokens currently claimable by a user.
     * @param _user The address of the user.
     * @return The currently claimable amount.
     */
    function availableToClaim(address _user) external view override returns (uint256) {
        VestingSchedule memory schedule = vestingSchedule[_user];
        if (schedule.totalAmount == 0) return 0;
        uint256 elapsed = block.timestamp > schedule.startTime + schedule.duration
            ? schedule.duration
            : block.timestamp - schedule.startTime;
        uint256 vestedAmount = (schedule.totalAmount * elapsed) / schedule.duration;
        if (vestedAmount <= schedule.claimedAmount) return 0;
        return vestedAmount - schedule.claimedAmount;
    }

    /**
     * @notice Returns the timestamp when the user's vesting schedule is fully matured.
     * @param _user The address of the user.
     * @return The timestamp when the full amount becomes claimable.
     */
    function fullClaimTime(address _user) external view override returns (uint256) {
        VestingSchedule memory schedule = vestingSchedule[_user];
        if (schedule.totalAmount == 0) return 0;
        return schedule.startTime + schedule.duration;
    }
}

File 2 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../utils/Context.sol";

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

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 10 : draft-IERC6093.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC-20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC-721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC-1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

File 4 of 10 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.2.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC-20
 * applications.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Skips emitting an {Approval} event indicating an allowance update. This is not
     * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `value`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `value`.
     */
    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, value);
        _transfer(from, to, value);
        return true;
    }

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     *
     * ```solidity
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `value`.
     *
     * Does not update the allowance value in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Does not emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance < type(uint256).max) {
            if (currentAllowance < value) {
                revert ERC20InsufficientAllowance(spender, currentAllowance, value);
            }
            unchecked {
                _approve(owner, spender, currentAllowance - value, false);
            }
        }
    }
}

File 5 of 10 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.20;

import {ERC20} from "../ERC20.sol";
import {Context} from "../../../utils/Context.sol";

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys a `value` amount of tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 value) public virtual {
        _burn(_msgSender(), value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, deducting from
     * the caller's allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `value`.
     */
    function burnFrom(address account, uint256 value) public virtual {
        _spendAllowance(account, _msgSender(), value);
        _burn(account, value);
    }
}

File 6 of 10 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC-20 standard.
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

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

File 7 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

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

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

    /**
     * @dev Returns the value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

File 8 of 10 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

File 9 of 10 : IEscrow.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.28;

interface IEscrow {
    function vestingSchedule(address _user) external view returns (uint256 totalAmount, uint256 claimedAmount, uint256 startTime, uint256 duration);

    function totalClaimed(address _user) external view returns (uint256);

    function availableToClaim(address _user) external view returns (uint256);

    function fullClaimTime(address _user) external view returns (uint256);

    function startVesting(address _user, uint256 _amount, uint256 _vestingDuration) external;

    function claim() external;

    function claimFor(address _user) external;
}

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

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

abstract contract Operator is Context, Ownable {
    address private _operator;

    event OperatorTransferred(address indexed previousOperator, address indexed newOperator);

    constructor() Ownable(_msgSender()) {
        _operator = _msgSender();
        emit OperatorTransferred(address(0), _operator);
    }

    function operator() public view returns (address) {
        return _operator;
    }

    modifier onlyOperator() {
        require(_operator == msg.sender, "operator: caller is not the operator");
        _;
    }

    function isOperator() public view returns (bool) {
        return _msgSender() == _operator;
    }

    function transferOperator(address newOperator_) public onlyOwner {
        _transferOperator(newOperator_);
    }

    function _transferOperator(address newOperator_) internal {
        require(newOperator_ != address(0), "operator: zero address given for new operator");
        emit OperatorTransferred(_operator, newOperator_);
        _operator = newOperator_;
    }

    function _renounceOperator() public onlyOwner {
        emit OperatorTransferred(_operator, address(0));
        _operator = address(0);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_underlyingToken","type":"address"},{"internalType":"address","name":"_boardroom","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOperator","type":"address"},{"indexed":true,"internalType":"address","name":"newOperator","type":"address"}],"name":"OperatorTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"newTotalAmount","type":"uint256"}],"name":"VestingMerged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"totalAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"startTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"duration","type":"uint256"}],"name":"VestingStarted","type":"event"},{"inputs":[],"name":"_renounceOperator","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":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"availableToClaim","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":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"claimFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"fullClaimTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_vestingDuration","type":"uint256"}],"name":"startVesting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOperator_","type":"address"}],"name":"transferOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"underlyingToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"vestingSchedule","outputs":[{"internalType":"uint256","name":"totalAmount","type":"uint256"},{"internalType":"uint256","name":"claimedAmount","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b5060405161213a38038061213a83398101604081905261002f9161041a565b33826001600160a01b03166306fdde036040518163ffffffff1660e01b8152600401600060405180830381865afa15801561006e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610096919081019061048e565b6040516020016100a69190610540565b604051602081830303815290604052836001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa1580156100f3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261011b919081019061048e565b60405160200161012b9190610571565b60408051601f1981840301815291905260036101478382610624565b5060046101548282610624565b5050506001600160a01b03811661018657604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b61018f816102ba565b50600680546001600160a01b0319163390811790915560405160009060008051602061211a833981519152908290a36001600160a01b03821661022a5760405162461bcd60e51b815260206004820152602d60248201527f457363726f77546f6b656e3a20696e76616c696420756e6465726c79696e672060448201526c746f6b656e206164647265737360981b606482015260840161017d565b6001600160a01b03811661028f5760405162461bcd60e51b815260206004820152602660248201527f457363726f77546f6b656e3a20696e76616c696420626f617264726f6f6d206160448201526564647265737360d01b606482015260840161017d565b600780546001600160a01b0319166001600160a01b0384161790556102b38161030c565b50506106e2565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610314610320565b61031d8161034f565b50565b6005546001600160a01b0316331461034d5760405163118cdaa760e01b815233600482015260240161017d565b565b6001600160a01b0381166103bb5760405162461bcd60e51b815260206004820152602d60248201527f6f70657261746f723a207a65726f206164647265737320676976656e20666f7260448201526c103732bb9037b832b930ba37b960991b606482015260840161017d565b6006546040516001600160a01b0380841692169060008051602061211a83398151915290600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038116811461031d57600080fd5b6000806040838503121561042d57600080fd5b825161043881610405565b602084015190925061044981610405565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561048557818101518382015260200161046d565b50506000910152565b6000602082840312156104a057600080fd5b81516001600160401b038111156104b657600080fd5b8201601f810184136104c757600080fd5b80516001600160401b038111156104e0576104e0610454565b604051601f8201601f19908116603f011681016001600160401b038111828210171561050e5761050e610454565b60405281815282820160200186101561052657600080fd5b61053782602083016020860161046a565b95945050505050565b68022b9b1b937bbb2b2160bd1b81526000825161056481600985016020870161046a565b9190910160090192915050565b61657360f01b81526000825161058e81600285016020870161046a565b9190910160020192915050565b600181811c908216806105af57607f821691505b6020821081036105cf57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561061f57806000526020600020601f840160051c810160208510156105fc5750805b601f840160051c820191505b8181101561061c5760008155600101610608565b50505b505050565b81516001600160401b0381111561063d5761063d610454565b6106518161064b845461059b565b846105d5565b6020601f821160018114610685576000831561066d5750848201515b600019600385901b1c1916600184901b17845561061c565b600084815260208120601f198516915b828110156106b55787850151825560209485019460019092019101610695565b50848210156106d35786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b611a29806106f16000396000f3fe608060405234801561001057600080fd5b50600436106101ae5760003560e01c8063715018a6116100ee5780639cbb49c511610097578063ddeae03311610071578063ddeae033146103f0578063ef5d9ae814610403578063f2fde38b14610423578063ffff6b041461043657600080fd5b80639cbb49c514610384578063a9059cbb14610397578063dd62ed3e146103aa57600080fd5b80638da5cb5b116100c85780638da5cb5b1461034b57806394e416591461036957806395d89b411461037c57600080fd5b8063715018a61461032857806379cc6790146103305780638a27f1031461034357600080fd5b806329605e771161015b5780634456eda2116101355780634456eda2146102ac5780634e71d92d146102cc578063570ca735146102d457806370a08231146102f257600080fd5b806329605e7714610275578063313ce5671461028a57806342966c681461029957600080fd5b806318160ddd1161018c57806318160ddd1461021557806323b872dd1461021d5780632495a5991461023057600080fd5b806306fdde03146101b3578063095ea7b3146101d15780630da45188146101f4575b600080fd5b6101bb61048b565b6040516101c89190611741565b60405180910390f35b6101e46101df3660046117d6565b61051d565b60405190151581526020016101c8565b610207610202366004611800565b610537565b6040519081526020016101c8565b600254610207565b6101e461022b36600461181b565b610626565b6007546102509073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101c8565b610288610283366004611800565b61064a565b005b604051601281526020016101c8565b6102886102a7366004611858565b61065e565b60065473ffffffffffffffffffffffffffffffffffffffff1633146101e4565b610288610668565b60065473ffffffffffffffffffffffffffffffffffffffff16610250565b610207610300366004611800565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b610288610673565b61028861033e3660046117d6565b610685565b61028861069e565b60055473ffffffffffffffffffffffffffffffffffffffff16610250565b610207610377366004611800565b610715565b6101bb610796565b610288610392366004611871565b6107a5565b6101e46103a53660046117d6565b610b84565b6102076103b83660046118a4565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6102886103fe366004611800565b610b92565b610207610411366004611800565b60096020526000908152604090205481565b610288610431366004611800565b610c41565b61046b610444366004611800565b60086020526000908152604090208054600182015460028301546003909301549192909184565b6040805194855260208501939093529183015260608201526080016101c8565b60606003805461049a906118d7565b80601f01602080910402602001604051908101604052809291908181526020018280546104c6906118d7565b80156105135780601f106104e857610100808354040283529160200191610513565b820191906000526020600020905b8154815290600101906020018083116104f657829003601f168201915b5050505050905090565b60003361052b818585610ca2565b60019150505b92915050565b73ffffffffffffffffffffffffffffffffffffffff811660009081526008602090815260408083208151608081018352815480825260018301549482019490945260028201549281019290925260030154606082015290820361059d5750600092915050565b6000816060015182604001516105b39190611959565b42116105cd5760408201516105c8904261196c565b6105d3565b81606001515b9050600082606001518284600001516105ec919061197f565b6105f69190611996565b90508260200151811161060e57506000949350505050565b602083015161061d908261196c565b95945050505050565b600033610634858285610cb4565b61063f858585610d84565b506001949350505050565b610652610e2f565b61065b81610e82565b50565b61065b3382610fb3565b6106713361100f565b565b61067b610e2f565b61067160006112ae565b610690823383610cb4565b61069a8282610fb3565b5050565b6106a6610e2f565b60065460405160009173ffffffffffffffffffffffffffffffffffffffff16907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908390a3600680547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b73ffffffffffffffffffffffffffffffffffffffff811660009081526008602090815260408083208151608081018352815480825260018301549482019490945260028201549281019290925260030154606082015290820361077b5750600092915050565b8060600151816040015161078f9190611959565b9392505050565b60606004805461049a906118d7565b3373ffffffffffffffffffffffffffffffffffffffff841614806107e0575060065473ffffffffffffffffffffffffffffffffffffffff1633145b610871576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f457363726f77546f6b656e3a2063616c6c6572206973206e6f7420757365722060448201527f6f72206f70657261746f7200000000000000000000000000000000000000000060648201526084015b60405180910390fd5b600082116108db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f457363726f77546f6b656e3a20616d6f756e74206d757374206265203e2030006044820152606401610868565b6007546040517f23b872dd0000000000000000000000000000000000000000000000000000000081523360048201523060248201526044810184905273ffffffffffffffffffffffffffffffffffffffff909116906323b872dd906064016020604051808303816000875af1158015610958573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097c91906119d1565b610a08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f457363726f77546f6b656e3a20756e6465726c79696e67207472616e7366657260448201527f206661696c6564000000000000000000000000000000000000000000000000006064820152608401610868565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600860205260409020600181015490541115610ad957610a438361100f565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260086020526040812060018101549054610a79919061196c565b9050610a858184611959565b92508373ffffffffffffffffffffffffffffffffffffffff167f82b18cf6a12136b177c199f9d985d8ff5b6f94f7d123d954e9cde7dcebc6c98584604051610acf91815260200190565b60405180910390a2505b73ffffffffffffffffffffffffffffffffffffffff83166000908152600860205260408120838155600181019190915542600282015560038101829055610b208484611325565b6002810154604080518581526020810192909252810183905273ffffffffffffffffffffffffffffffffffffffff8516907fdbac898e65d6e2eb500e4a2721266f81bbe66f2b88f851d052acf9cbe5828d389060600160405180910390a250505050565b60003361052b818585610d84565b60065473ffffffffffffffffffffffffffffffffffffffff163314610c38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260448201527f61746f72000000000000000000000000000000000000000000000000000000006064820152608401610868565b61065b8161100f565b610c49610e2f565b73ffffffffffffffffffffffffffffffffffffffff8116610c99576040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260006004820152602401610868565b61065b816112ae565b610caf8383836001611381565b505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015610d7e5781811015610d6f576040517ffb8f41b200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841660048201526024810182905260448101839052606401610868565b610d7e84848484036000611381565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610dd4576040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260006004820152602401610868565b73ffffffffffffffffffffffffffffffffffffffff8216610e24576040517fec442f0500000000000000000000000000000000000000000000000000000000815260006004820152602401610868565b610caf8383836114c9565b60055473ffffffffffffffffffffffffffffffffffffffff163314610671576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610868565b73ffffffffffffffffffffffffffffffffffffffff8116610f25576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f6f70657261746f723a207a65726f206164647265737320676976656e20666f7260448201527f206e6577206f70657261746f72000000000000000000000000000000000000006064820152608401610868565b60065460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed90600090a3600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b73ffffffffffffffffffffffffffffffffffffffff8216611003576040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260006004820152602401610868565b61069a826000836114c9565b73ffffffffffffffffffffffffffffffffffffffff811660009081526008602052604081208054909103611041575050565b6000816003015482600201546110579190611959565b421161107157600282015461106c904261196c565b611077565b81600301545b905060008260030154828460000154611090919061197f565b61109a9190611996565b90506000836001015482116110b05760006110bf565b60018401546110bf908361196c565b9050806000036110d0575050505050565b808460010160008282546110e49190611959565b909155505073ffffffffffffffffffffffffffffffffffffffff85166000908152600960205260408120805483929061111e908490611959565b9091555061112e90508582610fb3565b6007546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8781166004830152602482018490529091169063a9059cbb906044016020604051808303816000875af11580156111a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111cb91906119d1565b611257576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f457363726f77546f6b656e3a20756e6465726c79696e67207472616e7366657260448201527f206661696c6564000000000000000000000000000000000000000000000000006064820152608401610868565b8473ffffffffffffffffffffffffffffffffffffffff167fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a8260405161129f91815260200190565b60405180910390a25050505050565b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b73ffffffffffffffffffffffffffffffffffffffff8216611375576040517fec442f0500000000000000000000000000000000000000000000000000000000815260006004820152602401610868565b61069a600083836114c9565b73ffffffffffffffffffffffffffffffffffffffff84166113d1576040517fe602df0500000000000000000000000000000000000000000000000000000000815260006004820152602401610868565b73ffffffffffffffffffffffffffffffffffffffff8316611421576040517f94280d6200000000000000000000000000000000000000000000000000000000815260006004820152602401610868565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526001602090815260408083209387168352929052208290558015610d7e578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516114bb91815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff831615801590611503575073ffffffffffffffffffffffffffffffffffffffff821615155b15611590576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f457363726f77546f6b656e3a207472616e73666572732061726520646973616260448201527f6c656400000000000000000000000000000000000000000000000000000000006064820152608401610868565b610caf83838373ffffffffffffffffffffffffffffffffffffffff83166115ce5780600260008282546115c39190611959565b909155506116809050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015611654576040517fe450d38c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851660048201526024810182905260448101839052606401610868565b73ffffffffffffffffffffffffffffffffffffffff841660009081526020819052604090209082900390555b73ffffffffffffffffffffffffffffffffffffffff82166116a9576002805482900390556116d5565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090208054820190555b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161173491815260200190565b60405180910390a3505050565b602081526000825180602084015260005b8181101561176f5760208186018101516040868401015201611752565b5060006040828501015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011684010191505092915050565b803573ffffffffffffffffffffffffffffffffffffffff811681146117d157600080fd5b919050565b600080604083850312156117e957600080fd5b6117f2836117ad565b946020939093013593505050565b60006020828403121561181257600080fd5b61078f826117ad565b60008060006060848603121561183057600080fd5b611839846117ad565b9250611847602085016117ad565b929592945050506040919091013590565b60006020828403121561186a57600080fd5b5035919050565b60008060006060848603121561188657600080fd5b61188f846117ad565b95602085013595506040909401359392505050565b600080604083850312156118b757600080fd5b6118c0836117ad565b91506118ce602084016117ad565b90509250929050565b600181811c908216806118eb57607f821691505b602082108103611924577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808201808211156105315761053161192a565b818103818111156105315761053161192a565b80820281158282048414176105315761053161192a565b6000826119cc577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000602082840312156119e357600080fd5b8151801515811461078f57600080fdfea2646970667358221220d77bf3831ab1218c5dd83eff58c35d551f59ff1ef50b41b048b3b157faca675264736f6c634300081c003374da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed000000000000000000000000d1f4414c66e5e046635a179143820f4cbf0d3d3b000000000000000000000000065442dd421d7bc6a1f6a193872882c61d159947

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101ae5760003560e01c8063715018a6116100ee5780639cbb49c511610097578063ddeae03311610071578063ddeae033146103f0578063ef5d9ae814610403578063f2fde38b14610423578063ffff6b041461043657600080fd5b80639cbb49c514610384578063a9059cbb14610397578063dd62ed3e146103aa57600080fd5b80638da5cb5b116100c85780638da5cb5b1461034b57806394e416591461036957806395d89b411461037c57600080fd5b8063715018a61461032857806379cc6790146103305780638a27f1031461034357600080fd5b806329605e771161015b5780634456eda2116101355780634456eda2146102ac5780634e71d92d146102cc578063570ca735146102d457806370a08231146102f257600080fd5b806329605e7714610275578063313ce5671461028a57806342966c681461029957600080fd5b806318160ddd1161018c57806318160ddd1461021557806323b872dd1461021d5780632495a5991461023057600080fd5b806306fdde03146101b3578063095ea7b3146101d15780630da45188146101f4575b600080fd5b6101bb61048b565b6040516101c89190611741565b60405180910390f35b6101e46101df3660046117d6565b61051d565b60405190151581526020016101c8565b610207610202366004611800565b610537565b6040519081526020016101c8565b600254610207565b6101e461022b36600461181b565b610626565b6007546102509073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101c8565b610288610283366004611800565b61064a565b005b604051601281526020016101c8565b6102886102a7366004611858565b61065e565b60065473ffffffffffffffffffffffffffffffffffffffff1633146101e4565b610288610668565b60065473ffffffffffffffffffffffffffffffffffffffff16610250565b610207610300366004611800565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b610288610673565b61028861033e3660046117d6565b610685565b61028861069e565b60055473ffffffffffffffffffffffffffffffffffffffff16610250565b610207610377366004611800565b610715565b6101bb610796565b610288610392366004611871565b6107a5565b6101e46103a53660046117d6565b610b84565b6102076103b83660046118a4565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6102886103fe366004611800565b610b92565b610207610411366004611800565b60096020526000908152604090205481565b610288610431366004611800565b610c41565b61046b610444366004611800565b60086020526000908152604090208054600182015460028301546003909301549192909184565b6040805194855260208501939093529183015260608201526080016101c8565b60606003805461049a906118d7565b80601f01602080910402602001604051908101604052809291908181526020018280546104c6906118d7565b80156105135780601f106104e857610100808354040283529160200191610513565b820191906000526020600020905b8154815290600101906020018083116104f657829003601f168201915b5050505050905090565b60003361052b818585610ca2565b60019150505b92915050565b73ffffffffffffffffffffffffffffffffffffffff811660009081526008602090815260408083208151608081018352815480825260018301549482019490945260028201549281019290925260030154606082015290820361059d5750600092915050565b6000816060015182604001516105b39190611959565b42116105cd5760408201516105c8904261196c565b6105d3565b81606001515b9050600082606001518284600001516105ec919061197f565b6105f69190611996565b90508260200151811161060e57506000949350505050565b602083015161061d908261196c565b95945050505050565b600033610634858285610cb4565b61063f858585610d84565b506001949350505050565b610652610e2f565b61065b81610e82565b50565b61065b3382610fb3565b6106713361100f565b565b61067b610e2f565b61067160006112ae565b610690823383610cb4565b61069a8282610fb3565b5050565b6106a6610e2f565b60065460405160009173ffffffffffffffffffffffffffffffffffffffff16907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908390a3600680547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b73ffffffffffffffffffffffffffffffffffffffff811660009081526008602090815260408083208151608081018352815480825260018301549482019490945260028201549281019290925260030154606082015290820361077b5750600092915050565b8060600151816040015161078f9190611959565b9392505050565b60606004805461049a906118d7565b3373ffffffffffffffffffffffffffffffffffffffff841614806107e0575060065473ffffffffffffffffffffffffffffffffffffffff1633145b610871576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f457363726f77546f6b656e3a2063616c6c6572206973206e6f7420757365722060448201527f6f72206f70657261746f7200000000000000000000000000000000000000000060648201526084015b60405180910390fd5b600082116108db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f457363726f77546f6b656e3a20616d6f756e74206d757374206265203e2030006044820152606401610868565b6007546040517f23b872dd0000000000000000000000000000000000000000000000000000000081523360048201523060248201526044810184905273ffffffffffffffffffffffffffffffffffffffff909116906323b872dd906064016020604051808303816000875af1158015610958573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097c91906119d1565b610a08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f457363726f77546f6b656e3a20756e6465726c79696e67207472616e7366657260448201527f206661696c6564000000000000000000000000000000000000000000000000006064820152608401610868565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600860205260409020600181015490541115610ad957610a438361100f565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260086020526040812060018101549054610a79919061196c565b9050610a858184611959565b92508373ffffffffffffffffffffffffffffffffffffffff167f82b18cf6a12136b177c199f9d985d8ff5b6f94f7d123d954e9cde7dcebc6c98584604051610acf91815260200190565b60405180910390a2505b73ffffffffffffffffffffffffffffffffffffffff83166000908152600860205260408120838155600181019190915542600282015560038101829055610b208484611325565b6002810154604080518581526020810192909252810183905273ffffffffffffffffffffffffffffffffffffffff8516907fdbac898e65d6e2eb500e4a2721266f81bbe66f2b88f851d052acf9cbe5828d389060600160405180910390a250505050565b60003361052b818585610d84565b60065473ffffffffffffffffffffffffffffffffffffffff163314610c38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260448201527f61746f72000000000000000000000000000000000000000000000000000000006064820152608401610868565b61065b8161100f565b610c49610e2f565b73ffffffffffffffffffffffffffffffffffffffff8116610c99576040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260006004820152602401610868565b61065b816112ae565b610caf8383836001611381565b505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015610d7e5781811015610d6f576040517ffb8f41b200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841660048201526024810182905260448101839052606401610868565b610d7e84848484036000611381565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610dd4576040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260006004820152602401610868565b73ffffffffffffffffffffffffffffffffffffffff8216610e24576040517fec442f0500000000000000000000000000000000000000000000000000000000815260006004820152602401610868565b610caf8383836114c9565b60055473ffffffffffffffffffffffffffffffffffffffff163314610671576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610868565b73ffffffffffffffffffffffffffffffffffffffff8116610f25576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f6f70657261746f723a207a65726f206164647265737320676976656e20666f7260448201527f206e6577206f70657261746f72000000000000000000000000000000000000006064820152608401610868565b60065460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed90600090a3600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b73ffffffffffffffffffffffffffffffffffffffff8216611003576040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260006004820152602401610868565b61069a826000836114c9565b73ffffffffffffffffffffffffffffffffffffffff811660009081526008602052604081208054909103611041575050565b6000816003015482600201546110579190611959565b421161107157600282015461106c904261196c565b611077565b81600301545b905060008260030154828460000154611090919061197f565b61109a9190611996565b90506000836001015482116110b05760006110bf565b60018401546110bf908361196c565b9050806000036110d0575050505050565b808460010160008282546110e49190611959565b909155505073ffffffffffffffffffffffffffffffffffffffff85166000908152600960205260408120805483929061111e908490611959565b9091555061112e90508582610fb3565b6007546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8781166004830152602482018490529091169063a9059cbb906044016020604051808303816000875af11580156111a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111cb91906119d1565b611257576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f457363726f77546f6b656e3a20756e6465726c79696e67207472616e7366657260448201527f206661696c6564000000000000000000000000000000000000000000000000006064820152608401610868565b8473ffffffffffffffffffffffffffffffffffffffff167fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a8260405161129f91815260200190565b60405180910390a25050505050565b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b73ffffffffffffffffffffffffffffffffffffffff8216611375576040517fec442f0500000000000000000000000000000000000000000000000000000000815260006004820152602401610868565b61069a600083836114c9565b73ffffffffffffffffffffffffffffffffffffffff84166113d1576040517fe602df0500000000000000000000000000000000000000000000000000000000815260006004820152602401610868565b73ffffffffffffffffffffffffffffffffffffffff8316611421576040517f94280d6200000000000000000000000000000000000000000000000000000000815260006004820152602401610868565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526001602090815260408083209387168352929052208290558015610d7e578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516114bb91815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff831615801590611503575073ffffffffffffffffffffffffffffffffffffffff821615155b15611590576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f457363726f77546f6b656e3a207472616e73666572732061726520646973616260448201527f6c656400000000000000000000000000000000000000000000000000000000006064820152608401610868565b610caf83838373ffffffffffffffffffffffffffffffffffffffff83166115ce5780600260008282546115c39190611959565b909155506116809050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015611654576040517fe450d38c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851660048201526024810182905260448101839052606401610868565b73ffffffffffffffffffffffffffffffffffffffff841660009081526020819052604090209082900390555b73ffffffffffffffffffffffffffffffffffffffff82166116a9576002805482900390556116d5565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090208054820190555b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161173491815260200190565b60405180910390a3505050565b602081526000825180602084015260005b8181101561176f5760208186018101516040868401015201611752565b5060006040828501015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011684010191505092915050565b803573ffffffffffffffffffffffffffffffffffffffff811681146117d157600080fd5b919050565b600080604083850312156117e957600080fd5b6117f2836117ad565b946020939093013593505050565b60006020828403121561181257600080fd5b61078f826117ad565b60008060006060848603121561183057600080fd5b611839846117ad565b9250611847602085016117ad565b929592945050506040919091013590565b60006020828403121561186a57600080fd5b5035919050565b60008060006060848603121561188657600080fd5b61188f846117ad565b95602085013595506040909401359392505050565b600080604083850312156118b757600080fd5b6118c0836117ad565b91506118ce602084016117ad565b90509250929050565b600181811c908216806118eb57607f821691505b602082108103611924577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808201808211156105315761053161192a565b818103818111156105315761053161192a565b80820281158282048414176105315761053161192a565b6000826119cc577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000602082840312156119e357600080fd5b8151801515811461078f57600080fdfea2646970667358221220d77bf3831ab1218c5dd83eff58c35d551f59ff1ef50b41b048b3b157faca675264736f6c634300081c0033

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

000000000000000000000000d1f4414c66e5e046635a179143820f4cbf0d3d3b000000000000000000000000065442dd421d7bc6a1f6a193872882c61d159947

-----Decoded View---------------
Arg [0] : _underlyingToken (address): 0xd1F4414c66E5e046635A179143820f4CBf0D3D3b
Arg [1] : _boardroom (address): 0x065442DD421D7bC6a1F6a193872882C61d159947

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000d1f4414c66e5e046635a179143820f4cbf0d3d3b
Arg [1] : 000000000000000000000000065442dd421d7bc6a1f6a193872882c61d159947


[ 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.