ETH Price: $3,389.08 (-1.53%)
Gas: 2 Gwei

Contract

0x793b176a8B4833EA4AAbcedfea55f2898bd6B753
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
Value
Approve198963792024-05-18 10:57:4742 days ago1716029867IN
0x793b176a...98bd6B753
0 ETH0.000081823.37015114
Approve198849032024-05-16 20:24:2343 days ago1715891063IN
0x793b176a...98bd6B753
0 ETH0.000109144.49583872
Approve193354902024-02-29 20:15:59120 days ago1709237759IN
0x793b176a...98bd6B753
0 ETH0.0015788765.03306428
Approve188965662023-12-30 6:29:59182 days ago1703917799IN
0x793b176a...98bd6B753
0 ETH0.0005821612.51913153
Approve178398132023-08-04 6:23:59330 days ago1691130239IN
0x793b176a...98bd6B753
0 ETH0.0004261217.55172218
Approve170112042023-04-09 14:02:47446 days ago1681048967IN
0x793b176a...98bd6B753
0 ETH0.0005302521.8411097
Approve170111992023-04-09 14:01:47446 days ago1681048907IN
0x793b176a...98bd6B753
0 ETH0.000520221.42688131
Approve167625712023-03-05 13:44:11481 days ago1678023851IN
0x793b176a...98bd6B753
0 ETH0.0005960924.55303281
Approve167625712023-03-05 13:44:11481 days ago1678023851IN
0x793b176a...98bd6B753
0 ETH0.0005960924.55303281
Approve165137002023-01-29 16:34:59516 days ago1675010099IN
0x793b176a...98bd6B753
0 ETH0.0004425218.22757926
Approve165136982023-01-29 16:34:35516 days ago1675010075IN
0x793b176a...98bd6B753
0 ETH0.0004587718.89664043
Approve164449662023-01-20 2:15:59526 days ago1674180959IN
0x793b176a...98bd6B753
0 ETH0.0003752715.45749362
Approve163404072023-01-05 11:51:23541 days ago1672919483IN
0x793b176a...98bd6B753
0 ETH0.0008486934.95753106
Approve163147072023-01-01 21:48:59544 days ago1672609739IN
0x793b176a...98bd6B753
0 ETH0.0005919124.38055086
Transfer162451882022-12-23 5:01:11554 days ago1671771671IN
0x793b176a...98bd6B753
0 ETH0.0005182111.1387164
Approve159951282022-11-18 6:32:47589 days ago1668753167IN
0x793b176a...98bd6B753
0 ETH0.0006619814.21718341
Approve153700612022-08-19 7:40:05680 days ago1660894805IN
0x793b176a...98bd6B753
0 ETH0.0004526918.64621861
Approve153700602022-08-19 7:39:43680 days ago1660894783IN
0x793b176a...98bd6B753
0 ETH0.0004152317.10323972
Approve153700592022-08-19 7:39:21680 days ago1660894761IN
0x793b176a...98bd6B753
0 ETH0.000412616.99507338
Approve153141532022-08-10 11:48:40689 days ago1660132120IN
0x793b176a...98bd6B753
0 ETH0.0003059812.60338903
Approve149861742022-06-18 17:22:51741 days ago1655572971IN
0x793b176a...98bd6B753
0 ETH0.0006296625.93562701
Approve145728222022-04-12 20:02:56808 days ago1649793776IN
0x793b176a...98bd6B753
0 ETH0.0013225654.47587273
Approve142442802022-02-20 17:38:20859 days ago1645378700IN
0x793b176a...98bd6B753
0 ETH0.0017223970.9448741
Approve142430302022-02-20 12:53:56860 days ago1645361636IN
0x793b176a...98bd6B753
0 ETH0.0011167846
Approve142430252022-02-20 12:53:27860 days ago1645361607IN
0x793b176a...98bd6B753
0 ETH0.0011410647
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BRAINToken

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 99999 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-11-12
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}
/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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

/**
 * @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);
}
/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin 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:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

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

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

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

        return true;
    }

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

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

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * 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:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

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

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

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

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

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

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

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

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

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

abstract contract BrainTokenInterface is ERC20, Ownable {
    /// @notice Total number of tokens
    uint256 public maxSupply = 1_000_000_000e18; // 1 Billion BRAIN

    /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (BRAIN FARM).
    function mint(address _to, uint256 _amount) public onlyOwner {
        require(
            (totalSupply() + _amount) <= maxSupply,
            "BRAIN::mint: cannot exceed max supply"
        );
        _mint(_to, _amount);
        _moveDelegates(address(0), _delegates[_to], _amount);
    }

    /// @notice A record of each accounts delegate
    mapping(address => address) internal _delegates;

    /// @notice A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint256 votes;
    }

    /// @notice A record of votes checkpoints for each account, by index
    mapping(address => mapping(uint32 => Checkpoint)) public checkpoints;

    /// @notice The number of checkpoints for each account
    mapping(address => uint32) public numCheckpoints;

    /// @notice The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH =
        keccak256(
            "EIP712Domain(string name,uint256 chainId,address verifyingContract)"
        );

    /// @notice The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH =
        keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    /// @notice A record of states for signing / validating signatures
    mapping(address => uint256) public nonces;

    /// @notice An event thats emitted when an account changes its delegate
    event DelegateChanged(
        address indexed delegator,
        address indexed fromDelegate,
        address indexed toDelegate
    );

    /// @notice An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(
        address indexed delegate,
        uint256 previousBalance,
        uint256 newBalance
    );

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegator The address to get delegatee for
     */
    function delegates(address delegator) external view returns (address) {
        return _delegates[delegator];
    }

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegatee The address to delegate votes to
     */
    function delegate(address delegatee) external {
        return _delegate(msg.sender, delegatee);
    }

    /**
     * @notice Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(
        address delegatee,
        uint256 nonce,
        uint256 expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external {
        bytes32 domainSeparator = keccak256(
            abi.encode(
                DOMAIN_TYPEHASH,
                keccak256(bytes(name())),
                getChainId(),
                address(this)
            )
        );

        bytes32 structHash = keccak256(
            abi.encode(DELEGATION_TYPEHASH, delegatee, nonce, expiry)
        );

        bytes32 digest = keccak256(
            abi.encodePacked("\x19\x01", domainSeparator, structHash)
        );

        address signatory = ecrecover(digest, v, r, s);
        require(
            signatory != address(0),
            "BRAIN::delegateBySig: invalid signature"
        );
        require(
            nonce == nonces[signatory]++,
            "BRAIN::delegateBySig: invalid nonce"
        );
        require(block.timestamp <= expiry, "BRAIN::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }

    /**
     * @notice Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account) external view returns (uint256) {
        uint32 nCheckpoints = numCheckpoints[account];
        return
            nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @notice Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint256 blockNumber)
        external
        view
        returns (uint256)
    {
        require(
            blockNumber < block.number,
            "BRAIN::getPriorVotes: not yet determined"
        );

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee) internal {
        address currentDelegate = _delegates[delegator];
        uint256 delegatorBalance = balanceOf(delegator); // balance of underlying BRAIN (not scaled);
        _delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _moveDelegates(
        address srcRep,
        address dstRep,
        uint256 amount
    ) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                // decrease old representative
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint256 srcRepOld = srcRepNum > 0
                    ? checkpoints[srcRep][srcRepNum - 1].votes
                    : 0;
                uint256 srcRepNew = srcRepOld - amount;
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                // increase new representative
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint256 dstRepOld = dstRepNum > 0
                    ? checkpoints[dstRep][dstRepNum - 1].votes
                    : 0;
                uint256 dstRepNew = dstRepOld + amount;
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(
        address delegatee,
        uint32 nCheckpoints,
        uint256 oldVotes,
        uint256 newVotes
    ) internal {
        uint32 blockNumber = safe32(
            block.number,
            "BRAIN::_writeCheckpoint: block number exceeds 32 bits"
        );

        if (
            nCheckpoints > 0 &&
            checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber
        ) {
            checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
        } else {
            checkpoints[delegatee][nCheckpoints] = Checkpoint(
                blockNumber,
                newVotes
            );
            numCheckpoints[delegatee] = nCheckpoints + 1;
        }

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    function safe32(uint256 n, string memory errorMessage)
        internal
        pure
        returns (uint32)
    {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function getChainId() internal view returns (uint256) {
        uint256 chainId;
        assembly {
            chainId := chainid()
        }
        return chainId;
    }
}

contract BRAINToken is BrainTokenInterface {
    constructor(string memory name, string memory symbol) ERC20(name, symbol) {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","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"},{"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint256","name":"votes","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"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":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526b033b2e3c9fd0803ce80000006006553480156200002157600080fd5b50604051620023fa380380620023fa83398101604081905262000044916200024b565b8151829082906200005d906003906020850190620000ee565b50805162000073906004906020840190620000ee565b505050620000906200008a6200009860201b60201c565b6200009c565b505062000308565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620000fc90620002b5565b90600052602060002090601f0160209004810192826200012057600085556200016b565b82601f106200013b57805160ff19168380011785556200016b565b828001600101855582156200016b579182015b828111156200016b5782518255916020019190600101906200014e565b50620001799291506200017d565b5090565b5b808211156200017957600081556001016200017e565b600082601f830112620001a657600080fd5b81516001600160401b0380821115620001c357620001c3620002f2565b604051601f8301601f19908116603f01168101908282118183101715620001ee57620001ee620002f2565b816040528381526020925086838588010111156200020b57600080fd5b600091505b838210156200022f578582018301518183018401529082019062000210565b83821115620002415760008385830101525b9695505050505050565b600080604083850312156200025f57600080fd5b82516001600160401b03808211156200027757600080fd5b620002858683870162000194565b935060208501519150808211156200029c57600080fd5b50620002ab8582860162000194565b9150509250929050565b600181811c90821680620002ca57607f821691505b60208210811415620002ec57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6120e280620003186000396000f3fe608060405234801561001057600080fd5b50600436106101ae5760003560e01c8063782d6fe1116100ee578063b4b5ea5711610097578063dd62ed3e11610071578063dd62ed3e1461040f578063e7a324dc14610455578063f1127ed81461047c578063f2fde38b146104d357600080fd5b8063b4b5ea57146103e0578063c3cda520146103f3578063d5abeb011461040657600080fd5b806395d89b41116100c857806395d89b41146103b2578063a457c2d7146103ba578063a9059cbb146103cd57600080fd5b8063782d6fe1146103615780637ecebe00146103745780638da5cb5b1461039457600080fd5b8063395093511161015b5780635c19a95c116101355780635c19a95c146102d55780636fcfff45146102e857806370a0823114610323578063715018a61461035957600080fd5b8063395093511461024f57806340c10f1914610262578063587cde1e1461027757600080fd5b806320606b701161018c57806320606b701461020657806323b872dd1461022d578063313ce5671461024057600080fd5b806306fdde03146101b3578063095ea7b3146101d157806318160ddd146101f4575b600080fd5b6101bb6104e6565b6040516101c89190611e82565b60405180910390f35b6101e46101df366004611db8565b610578565b60405190151581526020016101c8565b6002545b6040519081526020016101c8565b6101f87f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6101e461023b366004611d7c565b61058f565b604051601281526020016101c8565b6101e461025d366004611db8565b61067a565b610275610270366004611db8565b6106c3565b005b6102b0610285366004611d2e565b73ffffffffffffffffffffffffffffffffffffffff9081166000908152600760205260409020541690565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101c8565b6102756102e3366004611d2e565b610829565b61030e6102f6366004611d2e565b60096020526000908152604090205463ffffffff1681565b60405163ffffffff90911681526020016101c8565b6101f8610331366004611d2e565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b610275610836565b6101f861036f366004611db8565b6108c3565b6101f8610382366004611d2e565b600a6020526000908152604090205481565b60055473ffffffffffffffffffffffffffffffffffffffff166102b0565b6101bb610ba6565b6101e46103c8366004611db8565b610bb5565b6101e46103db366004611db8565b610c8d565b6101f86103ee366004611d2e565b610c9a565b610275610401366004611de2565b610d29565b6101f860065481565b6101f861041d366004611d49565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101f87fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b6104b761048a366004611e42565b60086020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6040805163ffffffff90931683526020830191909152016101c8565b6102756104e1366004611d2e565b61110c565b6060600380546104f590611fbb565b80601f016020809104026020016040519081016040528092919081815260200182805461052190611fbb565b801561056e5780601f106105435761010080835404028352916020019161056e565b820191906000526020600020905b81548152906001019060200180831161055157829003601f168201915b5050505050905090565b6000610585338484611239565b5060015b92915050565b600061059c8484846113ec565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260016020908152604080832033845290915290205482811015610662576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61066f8533858403611239565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490916105859185906106be908690611ef5565b611239565b60055473ffffffffffffffffffffffffffffffffffffffff163314610744576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610659565b6006548161075160025490565b61075b9190611ef5565b11156107e9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f425241494e3a3a6d696e743a2063616e6e6f7420657863656564206d6178207360448201527f7570706c790000000000000000000000000000000000000000000000000000006064820152608401610659565b6107f382826116a1565b73ffffffffffffffffffffffffffffffffffffffff8083166000908152600760205260408120546108259216836117c1565b5050565b610833338261198d565b50565b60055473ffffffffffffffffffffffffffffffffffffffff1633146108b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610659565b6108c16000611a2b565b565b6000438210610954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f425241494e3a3a6765745072696f72566f7465733a206e6f742079657420646560448201527f7465726d696e65640000000000000000000000000000000000000000000000006064820152608401610659565b73ffffffffffffffffffffffffffffffffffffffff831660009081526009602052604090205463ffffffff168061098f576000915050610589565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260086020526040812084916109c1600185611f96565b63ffffffff90811682526020820192909252604001600020541611610a375773ffffffffffffffffffffffffffffffffffffffff8416600090815260086020526040812090610a11600184611f96565b63ffffffff1663ffffffff16815260200190815260200160002060010154915050610589565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260086020908152604080832083805290915290205463ffffffff16831015610a7f576000915050610589565b600080610a8d600184611f96565b90505b8163ffffffff168163ffffffff161115610b625760006002610ab28484611f96565b610abc9190611f35565b610ac69083611f96565b73ffffffffffffffffffffffffffffffffffffffff8816600090815260086020908152604080832063ffffffff8086168552908352928190208151808301909252805490931680825260019093015491810191909152919250871415610b36576020015194506105899350505050565b805163ffffffff16871115610b4d57819350610b5b565b610b58600183611f96565b92505b5050610a90565b5073ffffffffffffffffffffffffffffffffffffffff8516600090815260086020908152604080832063ffffffff9094168352929052206001015491505092915050565b6060600480546104f590611fbb565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8616845290915281205482811015610c76576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610659565b610c833385858403611239565b5060019392505050565b60006105853384846113ec565b73ffffffffffffffffffffffffffffffffffffffff811660009081526009602052604081205463ffffffff1680610cd2576000610d22565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260086020526040812090610d03600184611f96565b63ffffffff1663ffffffff168152602001908152602001600020600101545b9392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866610d546104e6565b80519060200120610d624690565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c084015273ffffffffffffffffffffffffffffffffffffffff8b1660e084015261010083018a90526101208084018a9052825180850390910181526101408401909252815191909301207f1901000000000000000000000000000000000000000000000000000000000000610160830152610162820183905261018282018190529192506000906101a201604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015610ed4573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff8116610fa2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f425241494e3a3a64656c656761746542795369673a20696e76616c696420736960448201527f676e6174757265000000000000000000000000000000000000000000000000006064820152608401610659565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600a60205260408120805491610fd38361200f565b919050558914611065576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f425241494e3a3a64656c656761746542795369673a20696e76616c6964206e6f60448201527f6e636500000000000000000000000000000000000000000000000000000000006064820152608401610659565b874211156110f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f425241494e3a3a64656c656761746542795369673a207369676e61747572652060448201527f65787069726564000000000000000000000000000000000000000000000000006064820152608401610659565b6110ff818b61198d565b505050505b505050505050565b60055473ffffffffffffffffffffffffffffffffffffffff16331461118d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610659565b73ffffffffffffffffffffffffffffffffffffffff8116611230576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610659565b61083381611a2b565b73ffffffffffffffffffffffffffffffffffffffff83166112db576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610659565b73ffffffffffffffffffffffffffffffffffffffff821661137e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610659565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff831661148f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610659565b73ffffffffffffffffffffffffffffffffffffffff8216611532576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610659565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040902054818110156115e8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610659565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526020819052604080822085850390559185168152908120805484929061162c908490611ef5565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161169291815260200190565b60405180910390a35b50505050565b73ffffffffffffffffffffffffffffffffffffffff821661171e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610659565b80600260008282546117309190611ef5565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152602081905260408120805483929061176a908490611ef5565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156117fd5750600081115b156119885773ffffffffffffffffffffffffffffffffffffffff8316156118c75773ffffffffffffffffffffffffffffffffffffffff831660009081526009602052604081205463ffffffff1690816118575760006118a7565b73ffffffffffffffffffffffffffffffffffffffff8516600090815260086020526040812090611888600185611f96565b63ffffffff1663ffffffff168152602001908152602001600020600101545b905060006118b58483611f7f565b90506118c386848484611aa2565b5050505b73ffffffffffffffffffffffffffffffffffffffff8216156119885773ffffffffffffffffffffffffffffffffffffffff821660009081526009602052604081205463ffffffff16908161191c57600061196c565b73ffffffffffffffffffffffffffffffffffffffff841660009081526008602052604081209061194d600185611f96565b63ffffffff1663ffffffff168152602001908152602001600020600101545b9050600061197a8483611ef5565b905061110485848484611aa2565b505050565b73ffffffffffffffffffffffffffffffffffffffff8281166000818152600760208181526040808420805485845282862054949093528787167fffffffffffffffffffffffff00000000000000000000000000000000000000008416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a461169b8284836117c1565b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000611ac64360405180606001604052806035815260200161207860359139611cbb565b905060008463ffffffff16118015611b2d575073ffffffffffffffffffffffffffffffffffffffff8516600090815260086020526040812063ffffffff831691611b11600188611f96565b63ffffffff908116825260208201929092526040016000205416145b15611b835773ffffffffffffffffffffffffffffffffffffffff851660009081526008602052604081208391611b64600188611f96565b63ffffffff168152602081019190915260400160002060010155611c63565b60408051808201825263ffffffff8381168252602080830186815273ffffffffffffffffffffffffffffffffffffffff8a166000908152600883528581208a85168252909252939020915182547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001691161781559051600191820155611c0a908590611f0d565b73ffffffffffffffffffffffffffffffffffffffff8616600090815260096020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff929092169190911790555b604080518481526020810184905273ffffffffffffffffffffffffffffffffffffffff8716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b6000816401000000008410611cfd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106599190611e82565b509192915050565b803573ffffffffffffffffffffffffffffffffffffffff81168114611d2957600080fd5b919050565b600060208284031215611d4057600080fd5b610d2282611d05565b60008060408385031215611d5c57600080fd5b611d6583611d05565b9150611d7360208401611d05565b90509250929050565b600080600060608486031215611d9157600080fd5b611d9a84611d05565b9250611da860208501611d05565b9150604084013590509250925092565b60008060408385031215611dcb57600080fd5b611dd483611d05565b946020939093013593505050565b60008060008060008060c08789031215611dfb57600080fd5b611e0487611d05565b95506020870135945060408701359350606087013560ff81168114611e2857600080fd5b9598949750929560808101359460a0909101359350915050565b60008060408385031215611e5557600080fd5b611e5e83611d05565b9150602083013563ffffffff81168114611e7757600080fd5b809150509250929050565b600060208083528351808285015260005b81811015611eaf57858101830151858201604001528201611e93565b81811115611ec1576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60008219821115611f0857611f08612048565b500190565b600063ffffffff808316818516808303821115611f2c57611f2c612048565b01949350505050565b600063ffffffff80841680611f73577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b92169190910492915050565b600082821015611f9157611f91612048565b500390565b600063ffffffff83811690831681811015611fb357611fb3612048565b039392505050565b600181811c90821680611fcf57607f821691505b60208210811415612009577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561204157612041612048565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfe425241494e3a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473a2646970667358221220af7b84c8cb11d988f10853aa69d95ceb07349d3462f98b2681b48203a0bedbaf64736f6c63430008070033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000005425241494e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005425241494e000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101ae5760003560e01c8063782d6fe1116100ee578063b4b5ea5711610097578063dd62ed3e11610071578063dd62ed3e1461040f578063e7a324dc14610455578063f1127ed81461047c578063f2fde38b146104d357600080fd5b8063b4b5ea57146103e0578063c3cda520146103f3578063d5abeb011461040657600080fd5b806395d89b41116100c857806395d89b41146103b2578063a457c2d7146103ba578063a9059cbb146103cd57600080fd5b8063782d6fe1146103615780637ecebe00146103745780638da5cb5b1461039457600080fd5b8063395093511161015b5780635c19a95c116101355780635c19a95c146102d55780636fcfff45146102e857806370a0823114610323578063715018a61461035957600080fd5b8063395093511461024f57806340c10f1914610262578063587cde1e1461027757600080fd5b806320606b701161018c57806320606b701461020657806323b872dd1461022d578063313ce5671461024057600080fd5b806306fdde03146101b3578063095ea7b3146101d157806318160ddd146101f4575b600080fd5b6101bb6104e6565b6040516101c89190611e82565b60405180910390f35b6101e46101df366004611db8565b610578565b60405190151581526020016101c8565b6002545b6040519081526020016101c8565b6101f87f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6101e461023b366004611d7c565b61058f565b604051601281526020016101c8565b6101e461025d366004611db8565b61067a565b610275610270366004611db8565b6106c3565b005b6102b0610285366004611d2e565b73ffffffffffffffffffffffffffffffffffffffff9081166000908152600760205260409020541690565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101c8565b6102756102e3366004611d2e565b610829565b61030e6102f6366004611d2e565b60096020526000908152604090205463ffffffff1681565b60405163ffffffff90911681526020016101c8565b6101f8610331366004611d2e565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b610275610836565b6101f861036f366004611db8565b6108c3565b6101f8610382366004611d2e565b600a6020526000908152604090205481565b60055473ffffffffffffffffffffffffffffffffffffffff166102b0565b6101bb610ba6565b6101e46103c8366004611db8565b610bb5565b6101e46103db366004611db8565b610c8d565b6101f86103ee366004611d2e565b610c9a565b610275610401366004611de2565b610d29565b6101f860065481565b6101f861041d366004611d49565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101f87fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b6104b761048a366004611e42565b60086020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6040805163ffffffff90931683526020830191909152016101c8565b6102756104e1366004611d2e565b61110c565b6060600380546104f590611fbb565b80601f016020809104026020016040519081016040528092919081815260200182805461052190611fbb565b801561056e5780601f106105435761010080835404028352916020019161056e565b820191906000526020600020905b81548152906001019060200180831161055157829003601f168201915b5050505050905090565b6000610585338484611239565b5060015b92915050565b600061059c8484846113ec565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260016020908152604080832033845290915290205482811015610662576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61066f8533858403611239565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490916105859185906106be908690611ef5565b611239565b60055473ffffffffffffffffffffffffffffffffffffffff163314610744576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610659565b6006548161075160025490565b61075b9190611ef5565b11156107e9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f425241494e3a3a6d696e743a2063616e6e6f7420657863656564206d6178207360448201527f7570706c790000000000000000000000000000000000000000000000000000006064820152608401610659565b6107f382826116a1565b73ffffffffffffffffffffffffffffffffffffffff8083166000908152600760205260408120546108259216836117c1565b5050565b610833338261198d565b50565b60055473ffffffffffffffffffffffffffffffffffffffff1633146108b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610659565b6108c16000611a2b565b565b6000438210610954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f425241494e3a3a6765745072696f72566f7465733a206e6f742079657420646560448201527f7465726d696e65640000000000000000000000000000000000000000000000006064820152608401610659565b73ffffffffffffffffffffffffffffffffffffffff831660009081526009602052604090205463ffffffff168061098f576000915050610589565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260086020526040812084916109c1600185611f96565b63ffffffff90811682526020820192909252604001600020541611610a375773ffffffffffffffffffffffffffffffffffffffff8416600090815260086020526040812090610a11600184611f96565b63ffffffff1663ffffffff16815260200190815260200160002060010154915050610589565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260086020908152604080832083805290915290205463ffffffff16831015610a7f576000915050610589565b600080610a8d600184611f96565b90505b8163ffffffff168163ffffffff161115610b625760006002610ab28484611f96565b610abc9190611f35565b610ac69083611f96565b73ffffffffffffffffffffffffffffffffffffffff8816600090815260086020908152604080832063ffffffff8086168552908352928190208151808301909252805490931680825260019093015491810191909152919250871415610b36576020015194506105899350505050565b805163ffffffff16871115610b4d57819350610b5b565b610b58600183611f96565b92505b5050610a90565b5073ffffffffffffffffffffffffffffffffffffffff8516600090815260086020908152604080832063ffffffff9094168352929052206001015491505092915050565b6060600480546104f590611fbb565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8616845290915281205482811015610c76576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610659565b610c833385858403611239565b5060019392505050565b60006105853384846113ec565b73ffffffffffffffffffffffffffffffffffffffff811660009081526009602052604081205463ffffffff1680610cd2576000610d22565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260086020526040812090610d03600184611f96565b63ffffffff1663ffffffff168152602001908152602001600020600101545b9392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866610d546104e6565b80519060200120610d624690565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c084015273ffffffffffffffffffffffffffffffffffffffff8b1660e084015261010083018a90526101208084018a9052825180850390910181526101408401909252815191909301207f1901000000000000000000000000000000000000000000000000000000000000610160830152610162820183905261018282018190529192506000906101a201604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015610ed4573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff8116610fa2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f425241494e3a3a64656c656761746542795369673a20696e76616c696420736960448201527f676e6174757265000000000000000000000000000000000000000000000000006064820152608401610659565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600a60205260408120805491610fd38361200f565b919050558914611065576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f425241494e3a3a64656c656761746542795369673a20696e76616c6964206e6f60448201527f6e636500000000000000000000000000000000000000000000000000000000006064820152608401610659565b874211156110f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f425241494e3a3a64656c656761746542795369673a207369676e61747572652060448201527f65787069726564000000000000000000000000000000000000000000000000006064820152608401610659565b6110ff818b61198d565b505050505b505050505050565b60055473ffffffffffffffffffffffffffffffffffffffff16331461118d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610659565b73ffffffffffffffffffffffffffffffffffffffff8116611230576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610659565b61083381611a2b565b73ffffffffffffffffffffffffffffffffffffffff83166112db576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610659565b73ffffffffffffffffffffffffffffffffffffffff821661137e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610659565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff831661148f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610659565b73ffffffffffffffffffffffffffffffffffffffff8216611532576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610659565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040902054818110156115e8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610659565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526020819052604080822085850390559185168152908120805484929061162c908490611ef5565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161169291815260200190565b60405180910390a35b50505050565b73ffffffffffffffffffffffffffffffffffffffff821661171e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610659565b80600260008282546117309190611ef5565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152602081905260408120805483929061176a908490611ef5565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156117fd5750600081115b156119885773ffffffffffffffffffffffffffffffffffffffff8316156118c75773ffffffffffffffffffffffffffffffffffffffff831660009081526009602052604081205463ffffffff1690816118575760006118a7565b73ffffffffffffffffffffffffffffffffffffffff8516600090815260086020526040812090611888600185611f96565b63ffffffff1663ffffffff168152602001908152602001600020600101545b905060006118b58483611f7f565b90506118c386848484611aa2565b5050505b73ffffffffffffffffffffffffffffffffffffffff8216156119885773ffffffffffffffffffffffffffffffffffffffff821660009081526009602052604081205463ffffffff16908161191c57600061196c565b73ffffffffffffffffffffffffffffffffffffffff841660009081526008602052604081209061194d600185611f96565b63ffffffff1663ffffffff168152602001908152602001600020600101545b9050600061197a8483611ef5565b905061110485848484611aa2565b505050565b73ffffffffffffffffffffffffffffffffffffffff8281166000818152600760208181526040808420805485845282862054949093528787167fffffffffffffffffffffffff00000000000000000000000000000000000000008416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a461169b8284836117c1565b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000611ac64360405180606001604052806035815260200161207860359139611cbb565b905060008463ffffffff16118015611b2d575073ffffffffffffffffffffffffffffffffffffffff8516600090815260086020526040812063ffffffff831691611b11600188611f96565b63ffffffff908116825260208201929092526040016000205416145b15611b835773ffffffffffffffffffffffffffffffffffffffff851660009081526008602052604081208391611b64600188611f96565b63ffffffff168152602081019190915260400160002060010155611c63565b60408051808201825263ffffffff8381168252602080830186815273ffffffffffffffffffffffffffffffffffffffff8a166000908152600883528581208a85168252909252939020915182547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001691161781559051600191820155611c0a908590611f0d565b73ffffffffffffffffffffffffffffffffffffffff8616600090815260096020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff929092169190911790555b604080518481526020810184905273ffffffffffffffffffffffffffffffffffffffff8716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b6000816401000000008410611cfd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106599190611e82565b509192915050565b803573ffffffffffffffffffffffffffffffffffffffff81168114611d2957600080fd5b919050565b600060208284031215611d4057600080fd5b610d2282611d05565b60008060408385031215611d5c57600080fd5b611d6583611d05565b9150611d7360208401611d05565b90509250929050565b600080600060608486031215611d9157600080fd5b611d9a84611d05565b9250611da860208501611d05565b9150604084013590509250925092565b60008060408385031215611dcb57600080fd5b611dd483611d05565b946020939093013593505050565b60008060008060008060c08789031215611dfb57600080fd5b611e0487611d05565b95506020870135945060408701359350606087013560ff81168114611e2857600080fd5b9598949750929560808101359460a0909101359350915050565b60008060408385031215611e5557600080fd5b611e5e83611d05565b9150602083013563ffffffff81168114611e7757600080fd5b809150509250929050565b600060208083528351808285015260005b81811015611eaf57858101830151858201604001528201611e93565b81811115611ec1576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60008219821115611f0857611f08612048565b500190565b600063ffffffff808316818516808303821115611f2c57611f2c612048565b01949350505050565b600063ffffffff80841680611f73577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b92169190910492915050565b600082821015611f9157611f91612048565b500390565b600063ffffffff83811690831681811015611fb357611fb3612048565b039392505050565b600181811c90821680611fcf57607f821691505b60208210811415612009577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561204157612041612048565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfe425241494e3a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473a2646970667358221220af7b84c8cb11d988f10853aa69d95ceb07349d3462f98b2681b48203a0bedbaf64736f6c63430008070033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000005425241494e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005425241494e000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): BRAIN
Arg [1] : symbol (string): BRAIN

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [3] : 425241494e000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 425241494e000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

27304:129:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6083:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;8250:169;;;;;;:::i;:::-;;:::i;:::-;;;3086:14:1;;3079:22;3061:41;;3049:2;3034:18;8250:169:0;2921:187:1;7203:108:0;7291:12;;7203:108;;;3259:25:1;;;3247:2;3232:18;7203:108:0;3113:177:1;19412:155:0;;19463:104;19412:155;;8901:492;;;;;;:::i;:::-;;:::i;7045:93::-;;;7128:2;12294:36:1;;12282:2;12267:18;7045:93:0;12152:184:1;9802:215:0;;;;;;:::i;:::-;;:::i;18504:298::-;;;;;;:::i;:::-;;:::i;:::-;;20511:117;;;;;;:::i;:::-;20599:21;;;;20572:7;20599:21;;;:10;:21;;;;;;;;20511:117;;;;2866:42:1;2854:55;;;2836:74;;2824:2;2809:18;20511:117:0;2690:226:1;20776:104:0;;;;;;:::i;:::-;;:::i;19291:48::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;11861:10:1;11849:23;;;11831:42;;11819:2;11804:18;19291:48:0;11687:192:1;7374:127:0;;;;;;:::i;:::-;7475:18;;7448:7;7475:18;;;;;;;;;;;;7374:127;17603:94;;;:::i;23292:1294::-;;;;;;:::i;:::-;;:::i;19868:41::-;;;;;;:::i;:::-;;;;;;;;;;;;;;16952:87;17025:6;;;;16952:87;;6302:104;;;:::i;10520:413::-;;;;;;:::i;:::-;;:::i;7714:175::-;;;;;;:::i;:::-;;:::i;22625:236::-;;;;;;:::i;:::-;;:::i;21314:1110::-;;;;;;:::i;:::-;;:::i;18335:43::-;;;;;;7952:151;;;;;;:::i;:::-;8068:18;;;;8041:7;8068:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;7952:151;19661:126;;19716:71;19661:126;;19154:68;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12086:10:1;12074:23;;;12056:42;;12129:2;12114:18;;12107:34;;;;12029:18;19154:68:0;11884:263:1;17852:192:0;;;;;;:::i;:::-;;:::i;6083:100::-;6137:13;6170:5;6163:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6083:100;:::o;8250:169::-;8333:4;8350:39;682:10;8373:7;8382:6;8350:8;:39::i;:::-;-1:-1:-1;8407:4:0;8250:169;;;;;:::o;8901:492::-;9041:4;9058:36;9068:6;9076:9;9087:6;9058:9;:36::i;:::-;9134:19;;;9107:24;9134:19;;;:11;:19;;;;;;;;682:10;9134:33;;;;;;;;9186:26;;;;9178:79;;;;;;;8294:2:1;9178:79:0;;;8276:21:1;8333:2;8313:18;;;8306:30;8372:34;8352:18;;;8345:62;8443:10;8423:18;;;8416:38;8471:19;;9178:79:0;;;;;;;;;9293:57;9302:6;682:10;9343:6;9324:16;:25;9293:8;:57::i;:::-;-1:-1:-1;9381:4:0;;8901:492;-1:-1:-1;;;;8901:492:0:o;9802:215::-;682:10;9890:4;9939:25;;;:11;:25;;;;;;;;;:34;;;;;;;;;;9890:4;;9907:80;;9930:7;;9939:47;;9976:10;;9939:47;:::i;:::-;9907:8;:80::i;18504:298::-;17025:6;;17172:23;17025:6;682:10;17172:23;17164:68;;;;;;;8703:2:1;17164:68:0;;;8685:21:1;;;8722:18;;;8715:30;8781:34;8761:18;;;8754:62;8833:18;;17164:68:0;8501:356:1;17164:68:0;18627:9:::1;;18615:7;18599:13;7291:12:::0;;;7203:108;18599:13:::1;:23;;;;:::i;:::-;18598:38;;18576:125;;;::::0;::::1;::::0;;7888:2:1;18576:125:0::1;::::0;::::1;7870:21:1::0;7927:2;7907:18;;;7900:30;7966:34;7946:18;;;7939:62;8037:7;8017:18;;;8010:35;8062:19;;18576:125:0::1;7686:401:1::0;18576:125:0::1;18712:19;18718:3;18723:7;18712:5;:19::i;:::-;18769:15;::::0;;::::1;18765:1;18769:15:::0;;;:10:::1;:15;::::0;;;;;18742:52:::1;::::0;18769:15:::1;18786:7:::0;18742:14:::1;:52::i;:::-;18504:298:::0;;:::o;20776:104::-;20840:32;20850:10;20862:9;20840;:32::i;:::-;20776:104;:::o;17603:94::-;17025:6;;17172:23;17025:6;682:10;17172:23;17164:68;;;;;;;8703:2:1;17164:68:0;;;8685:21:1;;;8722:18;;;8715:30;8781:34;8761:18;;;8754:62;8833:18;;17164:68:0;8501:356:1;17164:68:0;17668:21:::1;17686:1;17668:9;:21::i;:::-;17603:94::o:0;23292:1294::-;23403:7;23464:12;23450:11;:26;23428:116;;;;;;;10279:2:1;23428:116:0;;;10261:21:1;10318:2;10298:18;;;10291:30;10357:34;10337:18;;;10330:62;10428:10;10408:18;;;10401:38;10456:19;;23428:116:0;10077:404:1;23428:116:0;23579:23;;;23557:19;23579:23;;;:14;:23;;;;;;;;23617:17;23613:58;;23658:1;23651:8;;;;;23613:58;23731:20;;;;;;;:11;:20;;;;;23783:11;;23752:16;23767:1;23752:12;:16;:::i;:::-;23731:38;;;;;;;;;;;;;;;-1:-1:-1;23731:38:0;:48;;:63;23727:147;;23818:20;;;;;;;:11;:20;;;;;;23839:16;23854:1;23839:12;:16;:::i;:::-;23818:38;;;;;;;;;;;;;;;:44;;;23811:51;;;;;23727:147;23935:20;;;;;;;:11;:20;;;;;;;;:23;;;;;;;;:33;:23;:33;:47;-1:-1:-1;23931:88:0;;;24006:1;23999:8;;;;;23931:88;24031:12;;24073:16;24088:1;24073:12;:16;:::i;:::-;24058:31;;24100:428;24115:5;24107:13;;:5;:13;;;24100:428;;;24137:13;24179:1;24162:13;24170:5;24162;:13;:::i;:::-;24161:19;;;;:::i;:::-;24153:27;;:5;:27;:::i;:::-;24245:20;;;24222;24245;;;:11;:20;;;;;;;;:28;;;;;;;;;;;;;24222:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;24137:43;;-1:-1:-1;24292:27:0;;24288:229;;;24347:8;;;;-1:-1:-1;24340:15:0;;-1:-1:-1;;;;24340:15:0;24288:229;24381:12;;:26;;;-1:-1:-1;24377:140:0;;;24436:6;24428:14;;24377:140;;;24491:10;24500:1;24491:6;:10;:::i;:::-;24483:18;;24377:140;24122:406;;24100:428;;;-1:-1:-1;24545:20:0;;;;;;;:11;:20;;;;;;;;:27;;;;;;;;;;:33;;;;-1:-1:-1;;23292:1294:0;;;;:::o;6302:104::-;6358:13;6391:7;6384:14;;;;;:::i;10520:413::-;682:10;10613:4;10657:25;;;:11;:25;;;;;;;;;:34;;;;;;;;;;10710:35;;;;10702:85;;;;;;;10688:2:1;10702:85:0;;;10670:21:1;10727:2;10707:18;;;10700:30;10766:34;10746:18;;;10739:62;10837:7;10817:18;;;10810:35;10862:19;;10702:85:0;10486:401:1;10702:85:0;10823:67;682:10;10846:7;10874:15;10855:16;:34;10823:8;:67::i;:::-;-1:-1:-1;10921:4:0;;10520:413;-1:-1:-1;;;10520:413:0:o;7714:175::-;7800:4;7817:42;682:10;7841:9;7852:6;7817:9;:42::i;22625:236::-;22732:23;;;22690:7;22732:23;;;:14;:23;;;;;;;;22786:16;:67;;22852:1;22786:67;;;22805:20;;;;;;;:11;:20;;;;;;22826:16;22841:1;22826:12;:16;:::i;:::-;22805:38;;;;;;;;;;;;;;;:44;;;22786:67;22766:87;22625:236;-1:-1:-1;;;22625:236:0:o;21314:1110::-;21499:23;19463:104;21628:6;:4;:6::i;:::-;21612:24;;;;;;21655:12;27245:9;;27119:178;21655:12;21549:165;;;;;;;3971:25:1;;;;4012:18;;;4005:34;;;;4055:18;;;4048:34;;;;21694:4:0;4098:18:1;;;;4091:83;;;;21549:165:0;;;;;;;;;;3943:19:1;;;21549:165:0;;21525:200;;;;;;19716:71;21783:57;;;3526:25:1;3599:42;3587:55;;3567:18;;;3560:83;3659:18;;;3652:34;;;3702:18;;;;3695:34;;;21783:57:0;;;;;;;;;;3498:19:1;;;21783:57:0;;;21759:92;;;;;;;2511:66:1;21905:57:0;;;2499:79:1;2594:11;;;2587:27;;;2630:12;;;2623:28;;;21525:200:0;;-1:-1:-1;;;2667:12:1;;21905:57:0;;;;;;;;;;;;;21881:92;;21905:57;21881:92;;;;21986:17;22006:26;;;;;;;;;4412:25:1;;;4485:4;4473:17;;4453:18;;;4446:45;;;;4507:18;;;4500:34;;;4550:18;;;4543:34;;;21881:92:0;;-1:-1:-1;21986:17:0;22006:26;;4384:19:1;;22006:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;22006:26:0;;;;;;-1:-1:-1;;22065:23:0;;;22043:112;;;;;;;7480:2:1;22043:112:0;;;7462:21:1;7519:2;7499:18;;;7492:30;7558:34;7538:18;;;7531:62;7629:9;7609:18;;;7602:37;7656:19;;22043:112:0;7278:403:1;22043:112:0;22197:17;;;;;;;:6;:17;;;;;:19;;;;;;:::i;:::-;;;;;22188:5;:28;22166:113;;;;;;;9064:2:1;22166:113:0;;;9046:21:1;9103:2;9083:18;;;9076:30;9142:34;9122:18;;;9115:62;9213:5;9193:18;;;9186:33;9236:19;;22166:113:0;8862:399:1;22166:113:0;22317:6;22298:15;:25;;22290:77;;;;;;;6665:2:1;22290:77:0;;;6647:21:1;6704:2;6684:18;;;6677:30;6743:34;6723:18;;;6716:62;6814:9;6794:18;;;6787:37;6841:19;;22290:77:0;6463:403:1;22290:77:0;22385:31;22395:9;22406;22385;:31::i;:::-;22378:38;;;;21314:1110;;;;;;;:::o;17852:192::-;17025:6;;17172:23;17025:6;682:10;17172:23;17164:68;;;;;;;8703:2:1;17164:68:0;;;8685:21:1;;;8722:18;;;8715:30;8781:34;8761:18;;;8754:62;8833:18;;17164:68:0;8501:356:1;17164:68:0;17941:22:::1;::::0;::::1;17933:73;;;::::0;::::1;::::0;;5855:2:1;17933:73:0::1;::::0;::::1;5837:21:1::0;5894:2;5874:18;;;5867:30;5933:34;5913:18;;;5906:62;6004:8;5984:18;;;5977:36;6030:19;;17933:73:0::1;5653:402:1::0;17933:73:0::1;18017:19;18027:8;18017:9;:19::i;14204:380::-:0;14340:19;;;14332:68;;;;;;;9874:2:1;14332:68:0;;;9856:21:1;9913:2;9893:18;;;9886:30;9952:34;9932:18;;;9925:62;10023:6;10003:18;;;9996:34;10047:19;;14332:68:0;9672:400:1;14332:68:0;14419:21;;;14411:68;;;;;;;6262:2:1;14411:68:0;;;6244:21:1;6301:2;6281:18;;;6274:30;6340:34;6320:18;;;6313:62;6411:4;6391:18;;;6384:32;6433:19;;14411:68:0;6060:398:1;14411:68:0;14492:18;;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;14544:32;;3259:25:1;;;14544:32:0;;3232:18:1;14544:32:0;;;;;;;14204:380;;;:::o;11423:733::-;11563:20;;;11555:70;;;;;;;9468:2:1;11555:70:0;;;9450:21:1;9507:2;9487:18;;;9480:30;9546:34;9526:18;;;9519:62;9617:7;9597:18;;;9590:35;9642:19;;11555:70:0;9266:401:1;11555:70:0;11644:23;;;11636:71;;;;;;;5451:2:1;11636:71:0;;;5433:21:1;5490:2;5470:18;;;5463:30;5529:34;5509:18;;;5502:62;5600:5;5580:18;;;5573:33;5623:19;;11636:71:0;5249:399:1;11636:71:0;11804:17;;;11780:21;11804:17;;;;;;;;;;;11840:23;;;;11832:74;;;;;;;7073:2:1;11832:74:0;;;7055:21:1;7112:2;7092:18;;;7085:30;7151:34;7131:18;;;7124:62;7222:8;7202:18;;;7195:36;7248:19;;11832:74:0;6871:402:1;11832:74:0;11942:17;;;;:9;:17;;;;;;;;;;;11962:22;;;11942:42;;12006:20;;;;;;;;:30;;11978:6;;11942:9;12006:30;;11978:6;;12006:30;:::i;:::-;;;;;;;;12071:9;12054:35;;12063:6;12054:35;;;12082:6;12054:35;;;;3259:25:1;;3247:2;3232:18;;3113:177;12054:35:0;;;;;;;;12102:46;11544:612;11423:733;;;:::o;12443:399::-;12527:21;;;12519:65;;;;;;;11094:2:1;12519:65:0;;;11076:21:1;11133:2;11113:18;;;11106:30;11172:33;11152:18;;;11145:61;11223:18;;12519:65:0;10892:355:1;12519:65:0;12675:6;12659:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;12692:18:0;;;:9;:18;;;;;;;;;;:28;;12714:6;;12692:9;:28;;12714:6;;12692:28;:::i;:::-;;;;-1:-1:-1;;12736:37:0;;3259:25:1;;;12736:37:0;;;;12753:1;;12736:37;;3247:2:1;3232:18;12736:37:0;;;;;;;18504:298;;:::o;25026:1059::-;25166:6;25156:16;;:6;:16;;;;:30;;;;;25185:1;25176:6;:10;25156:30;25152:926;;;25207:20;;;;25203:424;;25315:22;;;25296:16;25315:22;;;:14;:22;;;;;;;;;25376:13;:102;;25477:1;25376:102;;;25413:19;;;;;;;:11;:19;;;;;;25433:13;25445:1;25433:9;:13;:::i;:::-;25413:34;;;;;;;;;;;;;;;:40;;;25376:102;25356:122;-1:-1:-1;25497:17:0;25517:18;25529:6;25356:122;25517:18;:::i;:::-;25497:38;;25554:57;25571:6;25579:9;25590;25601;25554:16;:57::i;:::-;25229:398;;;25203:424;25647:20;;;;25643:424;;25755:22;;;25736:16;25755:22;;;:14;:22;;;;;;;;;25816:13;:102;;25917:1;25816:102;;;25853:19;;;;;;;:11;:19;;;;;;25873:13;25885:1;25873:9;:13;:::i;:::-;25853:34;;;;;;;;;;;;;;;:40;;;25816:102;25796:122;-1:-1:-1;25937:17:0;25957:18;25969:6;25796:122;25957:18;:::i;:::-;25937:38;;25994:57;26011:6;26019:9;26030;26041;25994:16;:57::i;25643:424::-;25026:1059;;;:::o;24594:424::-;24697:21;;;;24671:23;24697:21;;;:10;:21;;;;;;;;;;7475:18;;;;;;;24832:21;;;;:33;;;;;;;;;;;24883:54;;24697:21;;;;;7475:18;;24832:33;;24697:21;;;24883:54;;24671:23;24883:54;24950:60;24965:15;24982:9;24993:16;24950:14;:60::i;18052:173::-;18127:6;;;;18144:17;;;;;;;;;;;18177:40;;18127:6;;;18144:17;18127:6;;18177:40;;18108:16;;18177:40;18097:128;18052:173;:::o;26093:814::-;26258:18;26279:114;26300:12;26279:114;;;;;;;;;;;;;;;;;:6;:114::i;:::-;26258:135;;26439:1;26424:12;:16;;;:98;;;;-1:-1:-1;26457:22:0;;;;;;;:11;:22;;;;;:65;;;;26480:16;26495:1;26480:12;:16;:::i;:::-;26457:40;;;;;;;;;;;;;;;-1:-1:-1;26457:40:0;:50;;:65;26424:98;26406:425;;;26549:22;;;;;;;:11;:22;;;;;26598:8;;26572:16;26587:1;26572:12;:16;:::i;:::-;26549:40;;;;;;;;;;;;;-1:-1:-1;26549:40:0;:46;;:57;26406:425;;;26678:82;;;;;;;;;;;;;;;;;;;;;26639:22;;;-1:-1:-1;26639:22:0;;;:11;:22;;;;;:36;;;;;;;;;;;:121;;;;;;;;;;;;;-1:-1:-1;26639:121:0;;;;26803:16;;26639:36;;26803:16;:::i;:::-;26775:25;;;;;;;:14;:25;;;;;:44;;;;;;;;;;;;;;;26406:425;26848:51;;;11608:25:1;;;11664:2;11649:18;;11642:34;;;26848:51:0;;;;;;11581:18:1;26848:51:0;;;;;;;26247:660;26093:814;;;;:::o;26915:196::-;27020:6;27063:12;27056:5;27052:9;;27044:32;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;27101:1:0;;26915:196;-1:-1:-1;;26915:196:0:o;14::1:-;82:20;;142:42;131:54;;121:65;;111:93;;200:1;197;190:12;111:93;14:196;;;:::o;215:186::-;274:6;327:2;315:9;306:7;302:23;298:32;295:52;;;343:1;340;333:12;295:52;366:29;385:9;366:29;:::i;406:260::-;474:6;482;535:2;523:9;514:7;510:23;506:32;503:52;;;551:1;548;541:12;503:52;574:29;593:9;574:29;:::i;:::-;564:39;;622:38;656:2;645:9;641:18;622:38;:::i;:::-;612:48;;406:260;;;;;:::o;671:328::-;748:6;756;764;817:2;805:9;796:7;792:23;788:32;785:52;;;833:1;830;823:12;785:52;856:29;875:9;856:29;:::i;:::-;846:39;;904:38;938:2;927:9;923:18;904:38;:::i;:::-;894:48;;989:2;978:9;974:18;961:32;951:42;;671:328;;;;;:::o;1004:254::-;1072:6;1080;1133:2;1121:9;1112:7;1108:23;1104:32;1101:52;;;1149:1;1146;1139:12;1101:52;1172:29;1191:9;1172:29;:::i;:::-;1162:39;1248:2;1233:18;;;;1220:32;;-1:-1:-1;;;1004:254:1:o;1263:618::-;1365:6;1373;1381;1389;1397;1405;1458:3;1446:9;1437:7;1433:23;1429:33;1426:53;;;1475:1;1472;1465:12;1426:53;1498:29;1517:9;1498:29;:::i;:::-;1488:39;;1574:2;1563:9;1559:18;1546:32;1536:42;;1625:2;1614:9;1610:18;1597:32;1587:42;;1679:2;1668:9;1664:18;1651:32;1723:4;1716:5;1712:16;1705:5;1702:27;1692:55;;1743:1;1740;1733:12;1692:55;1263:618;;;;-1:-1:-1;1263:618:1;;1818:3;1803:19;;1790:33;;1870:3;1855:19;;;1842:33;;-1:-1:-1;1263:618:1;-1:-1:-1;;1263:618:1:o;1886:350::-;1953:6;1961;2014:2;2002:9;1993:7;1989:23;1985:32;1982:52;;;2030:1;2027;2020:12;1982:52;2053:29;2072:9;2053:29;:::i;:::-;2043:39;;2132:2;2121:9;2117:18;2104:32;2176:10;2169:5;2165:22;2158:5;2155:33;2145:61;;2202:1;2199;2192:12;2145:61;2225:5;2215:15;;;1886:350;;;;;:::o;4588:656::-;4700:4;4729:2;4758;4747:9;4740:21;4790:6;4784:13;4833:6;4828:2;4817:9;4813:18;4806:34;4858:1;4868:140;4882:6;4879:1;4876:13;4868:140;;;4977:14;;;4973:23;;4967:30;4943:17;;;4962:2;4939:26;4932:66;4897:10;;4868:140;;;5026:6;5023:1;5020:13;5017:91;;;5096:1;5091:2;5082:6;5071:9;5067:22;5063:31;5056:42;5017:91;-1:-1:-1;5160:2:1;5148:15;5165:66;5144:88;5129:104;;;;5235:2;5125:113;;4588:656;-1:-1:-1;;;4588:656:1:o;12341:128::-;12381:3;12412:1;12408:6;12405:1;12402:13;12399:39;;;12418:18;;:::i;:::-;-1:-1:-1;12454:9:1;;12341:128::o;12474:228::-;12513:3;12541:10;12578:2;12575:1;12571:10;12608:2;12605:1;12601:10;12639:3;12635:2;12631:12;12626:3;12623:21;12620:47;;;12647:18;;:::i;:::-;12683:13;;12474:228;-1:-1:-1;;;;12474:228:1:o;12707:345::-;12746:1;12772:10;12809:2;12806:1;12802:10;12831:3;12821:191;;12868:77;12865:1;12858:88;12969:4;12966:1;12959:15;12997:4;12994:1;12987:15;12821:191;13030:10;;13026:20;;;;;12707:345;-1:-1:-1;;12707:345:1:o;13057:125::-;13097:4;13125:1;13122;13119:8;13116:34;;;13130:18;;:::i;:::-;-1:-1:-1;13167:9:1;;13057:125::o;13187:221::-;13226:4;13255:10;13315;;;;13285;;13337:12;;;13334:38;;;13352:18;;:::i;:::-;13389:13;;13187:221;-1:-1:-1;;;13187:221:1:o;13413:437::-;13492:1;13488:12;;;;13535;;;13556:61;;13610:4;13602:6;13598:17;13588:27;;13556:61;13663:2;13655:6;13652:14;13632:18;13629:38;13626:218;;;13700:77;13697:1;13690:88;13801:4;13798:1;13791:15;13829:4;13826:1;13819:15;13626:218;;13413:437;;;:::o;13855:195::-;13894:3;13925:66;13918:5;13915:77;13912:103;;;13995:18;;:::i;:::-;-1:-1:-1;14042:1:1;14031:13;;13855:195::o;14055:184::-;14107:77;14104:1;14097:88;14204:4;14201:1;14194:15;14228:4;14225:1;14218:15

Swarm Source

ipfs://af7b84c8cb11d988f10853aa69d95ceb07349d3462f98b2681b48203a0bedbaf

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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