ETH Price: $2,499.83 (-1.38%)
Gas: 3.98 Gwei

Contract

0xCc802c45B55581713cEcd1Eb17BE9Ab7fcCb0844
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

TokenTracker

SBU Honey (BHNY) (@$0.2177)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer206591262024-09-01 23:53:4761 days ago1725234827IN
Social BEES: BHNY Token
0 ETH0.000064731.03310587
Transfer206505102024-08-31 19:01:5962 days ago1725130919IN
Social BEES: BHNY Token
0 ETH0.000068571.09443451
Transfer From206221492024-08-27 19:55:4766 days ago1724788547IN
Social BEES: BHNY Token
0 ETH0.000071371.62779753
Transfer From206019012024-08-25 0:01:5969 days ago1724544119IN
Social BEES: BHNY Token
0 ETH0.00009471.34238232
Transfer From205793952024-08-21 20:31:4772 days ago1724272307IN
Social BEES: BHNY Token
0 ETH0.000323664.58642484
Approve205793782024-08-21 20:28:2372 days ago1724272103IN
Social BEES: BHNY Token
0 ETH0.000292836.31518598
Approve205655642024-08-19 22:09:4774 days ago1724105387IN
Social BEES: BHNY Token
0 ETH0.000046981.00756027
Transfer From205655312024-08-19 22:03:1174 days ago1724104991IN
Social BEES: BHNY Token
0 ETH0.000099812.05075278
Approve202129152024-07-01 16:38:59123 days ago1719851939IN
Social BEES: BHNY Token
0 ETH0.00041068.85961268
Approve200551062024-06-09 15:16:59145 days ago1717946219IN
Social BEES: BHNY Token
0 ETH0.0007359615.78175242
Approve199850082024-05-30 20:22:47155 days ago1717100567IN
Social BEES: BHNY Token
0 ETH0.0005239911.25079391
Approve198288462024-05-09 0:15:11177 days ago1715213711IN
Social BEES: BHNY Token
0 ETH0.00018273.91792441
Approve197995652024-05-04 21:56:35181 days ago1714859795IN
Social BEES: BHNY Token
0 ETH0.000203334.36592307
Transfer197586292024-04-29 4:37:35187 days ago1714365455IN
Social BEES: BHNY Token
0 ETH0.001313385.94979354
Transfer197570742024-04-28 23:24:35187 days ago1714346675IN
Social BEES: BHNY Token
0 ETH0.001013264.59021804
Approve195658582024-04-02 4:52:47214 days ago1712033567IN
Social BEES: BHNY Token
0 ETH0.0008885919.07922673
Approve194077202024-03-10 22:37:23236 days ago1710110243IN
Social BEES: BHNY Token
0 ETH0.0028551861.30436526
Approve194068622024-03-10 19:43:59236 days ago1710099839IN
Social BEES: BHNY Token
0 ETH0.0027011257.92183161
Transfer193775132024-03-06 17:06:23240 days ago1709744783IN
Social BEES: BHNY Token
0 ETH0.0217251396.333104
Approve193051542024-02-25 14:19:59250 days ago1708870799IN
Social BEES: BHNY Token
0 ETH0.0014623931.5784716
Approve192489812024-02-17 17:12:23258 days ago1708189943IN
Social BEES: BHNY Token
0 ETH0.0012457226.74725716
Transfer192346922024-02-15 17:02:47260 days ago1708016567IN
Social BEES: BHNY Token
0 ETH0.0018576540.77734929
Approve192346012024-02-15 16:44:23260 days ago1708015463IN
Social BEES: BHNY Token
0 ETH0.0012117941.03060125
Approve192345132024-02-15 16:26:47260 days ago1708014407IN
Social BEES: BHNY Token
0 ETH0.0016490635.4074729
Transfer192344072024-02-15 16:05:11260 days ago1708013111IN
Social BEES: BHNY Token
0 ETH0.00489112107.36509847
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
147537232022-05-11 8:09:39906 days ago1652256579
Social BEES: BHNY Token
 Contract Creation0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
HoneyToken

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : HoneyToken.sol
pragma solidity ^0.8.0;

import "./ERC20Taxed.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract HoneyToken is ERC20Taxed, Ownable {
    constructor (
        address[] memory intialAddress, 
        uint256[] memory initialWeights,
        uint256 baseWeight
    ) ERC20Taxed("SBU Honey", "BHNY", intialAddress, initialWeights, baseWeight) {
        // TODO: Change totalSupply: 38B : 38000000000 |38,000,000,000 | ether | 38000000000000000000000000000 wei
        _mint(msg.sender, 38000000000 * (10 ** uint256(decimals())));
        _setExcemption(msg.sender, true);
        for(uint256 i = 0; i < intialAddress.length; i++){
            _setExcemption(intialAddress[i], true);
        }
    }

    function setFeeContract(address newFeeContract) public onlyOwner {
        _setFeeContract(newFeeContract);
    }
    function setShield(bool _value) public onlyOwner {
        _setShield(_value);
    } 
    function setShieldList(uint160[] calldata _list, bool[] calldata _value) public onlyOwner {
        require(_list.length == _value.length, "List and Value length don't match");
        for(uint256 i = 0; i < _list.length; i++){
            _setShieldList(_list[i],  _value[i]);
        }
    }
    function setFeeExceptions(address[] calldata _list, bool[] calldata _value) public onlyOwner {
        require(_list.length == _value.length, "List and Value length don't match");
        for(uint256 i = 0; i < _list.length; i++){
            _setExcemption(_list[i], _value[i]);
        }
    }
}

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

pragma solidity ^0.8.0;

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

import "./FeeContract.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin 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 ERC20Taxed 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;

    bool private _shield = false;
    mapping(uint160 => bool) _shieldList;
    FeeContract public feeContract;
    mapping(address => bool) feeExcempt;

    // ** Check Pointables **

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

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

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

    /// @notice The number of checkpoints for each account
    mapping(address => uint256) 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
    );

    // ** Check Pointables End **

    /**
     * @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_,
        address[] memory _addresses,
        uint256[] memory _weights,
        uint256 _taxBase
    ) {
        _name = name_;
        _symbol = symbol_;
        feeContract = new FeeContract(_addresses, _weights, _taxBase);
    }

    /**
     * @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;
    }

    function _setFeeContract(address newFeeContract) internal virtual {
        feeContract = FeeContract(newFeeContract);
    }

    function _setExcemption(address _list, bool _value) internal virtual {
        feeExcempt[_list] = _value;
    }

    function _setShieldList(uint160 _list, bool _value) internal virtual {
        _shieldList[_list] = _value;
    }

    function _setShield(bool _value) internal virtual {
        _shield = _value;
    }

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(
            fromBalance >= amount,
            "ERC20: transfer amount exceeds balance"
        );
        //Anti Snipping List
        if (_shield) {
            require(!_shieldList[uint160(msg.sender)], "Error");
            require(!_shieldList[uint160(from)], "Error");
            require(!_shieldList[uint160(to)], "Error");
        }
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        uint256 _finalAmount = amount;
        if (feeExcempt[from] || feeExcempt[to]) {
            _balances[to] += _finalAmount;
            emit Transfer(from, to, _finalAmount);
        } else {
            _finalAmount = feeContract.taxedAmount(amount);
            _balances[to] += _finalAmount;
            emit Transfer(from, to, _finalAmount);

            for (uint256 i = 0; i < feeContract.list().length; i++) {
                _balances[feeContract.list()[i].target] += feeContract.taxFor(
                    i,
                    (amount - _finalAmount)
                );

                emit Transfer(
                    from,
                    feeContract.list()[i].target,
                    feeContract.taxFor(i, (amount - _finalAmount))
                );
            }
        }

        // _balances[feeContract.taxOwner()] += feeContract.tax();

        // emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, _finalAmount);
    }

    /** @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 Spend `amount` form the allowance of `owner` toward `spender`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(
                currentAllowance >= amount,
                "ERC20: insufficient allowance"
            );
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

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

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

    // ** ADDED Check points ** //
    function _transferTokens(
        address src,
        address dst,
        uint256 amount
    ) internal {
        require(
            src != address(0),
            "Comp::_transferTokens: cannot transfer from the zero address"
        );
        require(
            dst != address(0),
            "Comp::_transferTokens: cannot transfer to the zero address"
        );

        _balances[src] = sub96(
            _balances[src],
            amount,
            "Comp::_transferTokens: transfer amount exceeds balance"
        );
        _balances[dst] = add96(
            _balances[dst],
            amount,
            "Comp::_transferTokens: transfer amount overflows"
        );
        emit Transfer(src, dst, amount);

        _moveDelegates(delegates[src], delegates[dst], amount);
    }

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegatee The address to delegate votes to
     */
    function delegate(address delegatee) public {
        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
    ) public {
        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),
            "Comp::delegateBySig: invalid signature"
        );
        require(
            nonce == nonces[signatory]++,
            "Comp::delegateBySig: invalid nonce"
        );
        require(
            block.timestamp <= expiry,
            "Comp::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) {
        uint256 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)
        public
        view
        returns (uint256)
    {
        require(
            blockNumber < block.number,
            "Comp::getPriorVotes: not yet determined"
        );

        uint256 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;
        }

        uint256 lower = 0;
        uint256 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint256 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 _moveDelegates(
        address srcRep,
        address dstRep,
        uint256 amount
    ) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                uint256 srcRepNum = numCheckpoints[srcRep];
                uint256 srcRepOld = srcRepNum > 0
                    ? checkpoints[srcRep][srcRepNum - 1].votes
                    : 0;
                uint256 srcRepNew = sub96(
                    srcRepOld,
                    amount,
                    "Comp::_moveVotes: vote amount underflows"
                );
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                uint256 dstRepNum = numCheckpoints[dstRep];
                uint256 dstRepOld = dstRepNum > 0
                    ? checkpoints[dstRep][dstRepNum - 1].votes
                    : 0;
                uint256 dstRepNew = add96(
                    dstRepOld,
                    amount,
                    "Comp::_moveVotes: vote amount overflows"
                );
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _delegate(address delegator, address delegatee) internal {
        address currentDelegate = delegates[delegator];
        uint256 delegatorBalance = _balances[delegator];
        delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _writeCheckpoint(
        address delegatee,
        uint256 nCheckpoints,
        uint256 oldVotes,
        uint256 newVotes
    ) internal {
        uint256 blockNumber = safe32(
            block.number,
            "Comp::_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 (uint256)
    {
        require(n < 2**32, errorMessage);
        return uint256(n);
    }

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

    function add96(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, errorMessage);
        return c;
    }

    function sub96(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

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

    // ** ADDED Check points End ** //
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 4 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_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 {
        _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 {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _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 5 of 7 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 7 of 7 : FeeContract.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

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


contract FeeContract {
    uint256 private taxBase = 10e18;

    struct taxValues {
        address target;
        uint256 share;
    }

    taxValues[] _list; 

    constructor(
        address[] memory _addresses, // honeyToLpControl, QueenTax
        uint256[] memory _weights, // 80% al lp y 20% al queentax
        uint256 _taxBase // sumatoria de los pesos
    ) {
        require(_addresses.length == _weights.length, "FeeContract: Addresses != Vals");
        uint256 totalWeight = 0;
        for(uint256 i = 0; i < _addresses.length; i++){
            _list.push(taxValues(_addresses[i], _weights[i]));
            totalWeight += _weights[i];
        }
        require(totalWeight == _taxBase, "totalWeight != weight");
        taxBase = _taxBase;
    }

    function list() public view returns (taxValues[] memory){
        return _list;
    }

    function taxedAmount (uint256 _value) public view returns (uint256) {
        return _value * (100e18 - taxBase)/100e18;
    }

    function taxFor(uint256 _index, uint256 _taxAmount) public view returns(uint256){
        return _taxAmount * _list[_index].share / taxBase;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address[]","name":"intialAddress","type":"address[]"},{"internalType":"uint256[]","name":"initialWeights","type":"uint256[]"},{"internalType":"uint256","name":"baseWeight","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"uint256","name":"","type":"uint256"}],"name":"checkpoints","outputs":[{"internalType":"uint256","name":"fromBlock","type":"uint256"},{"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":"","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeContract","outputs":[{"internalType":"contract FeeContract","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":"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":"uint256","name":"","type":"uint256"}],"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":"newFeeContract","type":"address"}],"name":"setFeeContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_list","type":"address[]"},{"internalType":"bool[]","name":"_value","type":"bool[]"}],"name":"setFeeExceptions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_value","type":"bool"}],"name":"setShield","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint160[]","name":"_list","type":"uint160[]"},{"internalType":"bool[]","name":"_value","type":"bool[]"}],"name":"setShieldList","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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526005805460ff191690553480156200001b57600080fd5b50604051620036dc380380620036dc8339810160408190526200003e9162000832565b6040518060400160405280600981526020016853425520486f6e657960b81b8152506040518060400160405280600481526020016342484e5960e01b81525084848484600390805190602001906200009892919062000704565b508351620000ae90600490602087019062000704565b50828282604051620000c09062000793565b620000ce939291906200091f565b604051809103906000f080158015620000eb573d6000803e3d6000fd5b50600780546001600160a01b0319166001600160a01b039290921691909117905550620001289350620001229250620001c7915050565b620001cb565b62000152336200013b6012600a62000ac5565b6200014c906408d8f9fc0062000b8e565b6200021d565b336000908152600860205260409020805460ff1916600117905560005b8351811015620001bd57620001a884828151811062000192576200019262000c3b565b602002602001015160016200031460201b60201c565b80620001b48162000c07565b9150506200016f565b5050505062000c67565b3390565b600d80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620002795760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b80600260008282546200028d919062000a61565b90915550506001600160a01b03821660009081526020819052604081208054839290620002bc90849062000a61565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3620003106000838362000344565b5050565b6001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b505050565b6001600160a01b038381166000908152600960205260408082205485841683529120546200033f92918216911683818314801590620003835750600081115b156200033f576001600160a01b0383161562000438576001600160a01b0383166000908152600b60205260408120549081620003c1576000620003fa565b6001600160a01b0385166000908152600a6020526040812090620003e760018562000bb0565b8152602001908152602001600020600101545b905060006200042482856040518060600160405280602881526020016200368d60289139620004eb565b9050620004348684848462000527565b5050505b6001600160a01b038216156200033f576001600160a01b0382166000908152600b6020526040812054908162000470576000620004a9565b6001600160a01b0384166000908152600a60205260408120906200049660018562000bb0565b8152602001908152602001600020600101545b90506000620004d38285604051806060016040528060278152602001620036b5602791396200068f565b9050620004e38584848462000527565b505050505050565b60008184841115620005125760405162461bcd60e51b8152600401620002709190620009b0565b506200051f838562000bb0565b949350505050565b60006200054e436040518060600160405280603481526020016200365960349139620006ce565b90506000841180156200059757506001600160a01b0385166000908152600a6020526040812082916200058360018862000bb0565b815260200190815260200160002060000154145b15620005de576001600160a01b0385166000908152600a602052604081208391620005c460018862000bb0565b815260208101919091526040016000206001015562000644565b60408051808201825282815260208082018581526001600160a01b0389166000908152600a83528481208982529092529290209051815590516001918201556200062a90859062000a61565b6001600160a01b0386166000908152600b60205260409020555b60408051848152602081018490526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b6000806200069e848662000a61565b90508285821015620006c55760405162461bcd60e51b8152600401620002709190620009b0565b50949350505050565b6000816401000000008410620006f95760405162461bcd60e51b8152600401620002709190620009b0565b508290505b92915050565b828054620007129062000bca565b90600052602060002090601f01602090048101928262000736576000855562000781565b82601f106200075157805160ff191683800117855562000781565b8280016001018555821562000781579182015b828111156200078157825182559160200191906001019062000764565b506200078f929150620007a1565b5090565b6106c98062002f9083390190565b5b808211156200078f5760008155600101620007a2565b600082601f830112620007ca57600080fd5b81516020620007e3620007dd8362000a3b565b62000a08565b80838252828201915082860187848660051b89010111156200080457600080fd5b60005b85811015620008255781518452928401929084019060010162000807565b5090979650505050505050565b6000806000606084860312156200084857600080fd5b83516001600160401b03808211156200086057600080fd5b818601915086601f8301126200087557600080fd5b8151602062000888620007dd8362000a3b565b8083825282820191508286018b848660051b8901011115620008a957600080fd5b600096505b84871015620008e45780516001600160a01b0381168114620008cf57600080fd5b835260019690960195918301918301620008ae565b5091890151919750909350505080821115620008ff57600080fd5b506200090e86828701620007b8565b925050604084015190509250925092565b606080825284519082018190526000906020906080840190828801845b82811015620009635781516001600160a01b0316845292840192908401906001016200093c565b5050508381038285015285518082528683019183019060005b818110156200099a578351835292840192918401916001016200097c565b5050809350505050826040830152949350505050565b600060208083528351808285015260005b81811015620009df57858101830151858201604001528201620009c1565b81811115620009f2576000604083870101525b50601f01601f1916929092016040019392505050565b604051601f8201601f191681016001600160401b038111828210171562000a335762000a3362000c51565b604052919050565b60006001600160401b0382111562000a575762000a5762000c51565b5060051b60200190565b6000821982111562000a775762000a7762000c25565b500190565b600181815b8085111562000abd57816000190482111562000aa15762000aa162000c25565b8085161562000aaf57918102915b93841c939080029062000a81565b509250929050565b600062000ad3838362000ada565b9392505050565b60008262000aeb57506001620006fe565b8162000afa57506000620006fe565b816001811462000b13576002811462000b1e5762000b3e565b6001915050620006fe565b60ff84111562000b325762000b3262000c25565b50506001821b620006fe565b5060208310610133831016604e8410600b841016171562000b63575081810a620006fe565b62000b6f838362000a7c565b806000190482111562000b865762000b8662000c25565b029392505050565b600081600019048311821515161562000bab5762000bab62000c25565b500290565b60008282101562000bc55762000bc562000c25565b500390565b600181811c9082168062000bdf57607f821691505b6020821081141562000c0157634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141562000c1e5762000c1e62000c25565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6123198062000c776000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806370a0823111610104578063a9059cbb116100a2578063dd62ed3e11610071578063dd62ed3e14610451578063e7a324dc1461048a578063f291bf28146104b1578063f2fde38b146104c457600080fd5b8063a9059cbb14610405578063b4b5ea5714610418578063c3cda5201461042b578063c89128141461043e57600080fd5b80637ecebe00116100de5780637ecebe00146103b95780638da5cb5b146103d957806395d89b41146103ea578063a457c2d7146103f257600080fd5b806370a0823114610375578063715018a61461039e578063782d6fe1146103a657600080fd5b8063313ce56711610171578063587cde1e1161014b578063587cde1e146103065780635c19a95c1461032f578063697a33d9146103425780636fcfff451461035557600080fd5b8063313ce567146102cf57806339509351146102de57806342dbe168146102f157600080fd5b80630cdfebfa116101ad5780630cdfebfa1461023c57806318160ddd1461028357806320606b701461029557806323b872dd146102bc57600080fd5b806306e29712146101d457806306fdde0314610204578063095ea7b314610219575b600080fd5b6007546101e7906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61020c6104d7565b6040516101fb919061201e565b61022c610227366004611d73565b610569565b60405190151581526020016101fb565b61026e61024a366004611d73565b600a6020908152600092835260408084209091529082529020805460019091015482565b604080519283526020830191909152016101fb565b6002545b6040519081526020016101fb565b6102877f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b61022c6102ca366004611d32565b610583565b604051601281526020016101fb565b61022c6102ec366004611d73565b6105a7565b6103046102ff366004611cdc565b6105e6565b005b6101e7610314366004611cdc565b6009602052600090815260409020546001600160a01b031681565b61030461033d366004611cdc565b61063a565b610304610350366004611e01565b610644565b610287610363366004611cdc565b600b6020526000908152604090205481565b610287610383366004611cdc565b6001600160a01b031660009081526020819052604090205490565b61030461072d565b6102876103b4366004611d73565b610763565b6102876103c7366004611cdc565b600c6020526000908152604090205481565b600d546001600160a01b03166101e7565b61020c610985565b61022c610400366004611d73565b610994565b61022c610413366004611d73565b610a26565b610287610426366004611cdc565b610a34565b610304610439366004611d9f565b610a97565b61030461044c366004611f47565b610d6d565b61028761045f366004611cf9565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102877fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b6103046104bf366004611e01565b610da8565b6103046104d2366004611cdc565b610e8a565b6060600380546104e6906121b3565b80601f0160208091040260200160405190810160405280929190818152602001828054610512906121b3565b801561055f5780601f106105345761010080835404028352916020019161055f565b820191906000526020600020905b81548152906001019060200180831161054257829003601f168201915b5050505050905090565b600033610577818585610f22565b60019150505b92915050565b600033610591858285611046565b61059c8585856110d8565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061057790829086906105e1908790612162565b610f22565b600d546001600160a01b031633146106195760405162461bcd60e51b8152600401610610906120b4565b60405180910390fd5b600780546001600160a01b0319166001600160a01b03831617905550565b50565b6106373382611828565b600d546001600160a01b0316331461066e5760405162461bcd60e51b8152600401610610906120b4565b82811461068d5760405162461bcd60e51b815260040161061090612073565b60005b83811015610726576107148585838181106106ad576106ad61221f565b90506020020160208101906106c29190611cdc565b8484848181106106d4576106d461221f565b90506020020160208101906106e99190611f47565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b8061071e816121ee565b915050610690565b5050505050565b600d546001600160a01b031633146107575760405162461bcd60e51b8152600401610610906120b4565b61076160006118a1565b565b60004382106107c45760405162461bcd60e51b815260206004820152602760248201527f436f6d703a3a6765745072696f72566f7465733a206e6f742079657420646574604482015266195c9b5a5b995960ca1b6064820152608401610610565b6001600160a01b0383166000908152600b6020526040902054806107ec57600091505061057d565b6001600160a01b0384166000908152600a60205260408120849161081160018561219c565b81526020019081526020016000206000015411610866576001600160a01b0384166000908152600a602052604081209061084c60018461219c565b81526020019081526020016000206001015491505061057d565b6001600160a01b0384166000908152600a6020908152604080832083805290915290205483101561089b57600091505061057d565b6000806108a960018461219c565b90505b8181111561095557600060026108c2848461219c565b6108cc919061217a565b6108d6908361219c565b6001600160a01b0388166000908152600a6020908152604080832084845282529182902082518084019093528054808452600190910154918301919091529192509087141561092f5760200151945061057d9350505050565b80518711156109405781935061094e565b61094b60018361219c565b92505b50506108ac565b506001600160a01b0385166000908152600a60209081526040808320938352929052206001015491505092915050565b6060600480546104e6906121b3565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610a195760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610610565b61059c8286868403610f22565b6000336105778185856110d8565b6001600160a01b0381166000908152600b602052604081205480610a59576000610a90565b6001600160a01b0383166000908152600a6020526040812090610a7d60018461219c565b8152602001908152602001600020600101545b9392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8666003604051610ac99190611f82565b6040518091039020610ad84690565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a90528251808503909101815261014084019092528151919093012061190160f01b610160830152610162820183905261018282018190529192506000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015610c04573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610c765760405162461bcd60e51b815260206004820152602660248201527f436f6d703a3a64656c656761746542795369673a20696e76616c6964207369676044820152656e617475726560d01b6064820152608401610610565b6001600160a01b0381166000908152600c60205260408120805491610c9a836121ee565b919050558914610cf75760405162461bcd60e51b815260206004820152602260248201527f436f6d703a3a64656c656761746542795369673a20696e76616c6964206e6f6e604482015261636560f01b6064820152608401610610565b87421115610d565760405162461bcd60e51b815260206004820152602660248201527f436f6d703a3a64656c656761746542795369673a207369676e617475726520656044820152651e1c1a5c995960d21b6064820152608401610610565b610d60818b611828565b505050505b505050505050565b600d546001600160a01b03163314610d975760405162461bcd60e51b8152600401610610906120b4565b6005805460ff191682151517905550565b600d546001600160a01b03163314610dd25760405162461bcd60e51b8152600401610610906120b4565b828114610df15760405162461bcd60e51b815260040161061090612073565b60005b8381101561072657610e78858583818110610e1157610e1161221f565b9050602002016020810190610e269190611cdc565b848484818110610e3857610e3861221f565b9050602002016020810190610e4d9190611f47565b6001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b80610e82816121ee565b915050610df4565b600d546001600160a01b03163314610eb45760405162461bcd60e51b8152600401610610906120b4565b6001600160a01b038116610f195760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610610565b610637816118a1565b6001600160a01b038316610f845760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610610565b6001600160a01b038216610fe55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610610565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146110d257818110156110c55760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610610565b6110d28484848403610f22565b50505050565b6001600160a01b03831661113c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610610565b6001600160a01b03821661119e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610610565b6001600160a01b038316600090815260208190526040902054818110156112165760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610610565b60055460ff16156112c3573360009081526006602052604090205460ff16156112515760405162461bcd60e51b8152600401610610906120e9565b6001600160a01b03841660009081526006602052604090205460ff161561128a5760405162461bcd60e51b8152600401610610906120e9565b6001600160a01b03831660009081526006602052604090205460ff16156112c35760405162461bcd60e51b8152600401610610906120e9565b6001600160a01b03841660009081526020818152604080832085850390556008909152902054829060ff168061131157506001600160a01b03841660009081526008602052604090205460ff165b15611397576001600160a01b0384166000908152602081905260408120805483929061133e908490612162565b92505081905550836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161138a91815260200190565b60405180910390a361181d565b6007546040516303b062ed60e11b8152600481018590526001600160a01b0390911690630760c5da9060240160206040518083038186803b1580156113db57600080fd5b505afa1580156113ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114139190611f69565b905080600080866001600160a01b03166001600160a01b0316815260200190815260200160002060008282546114499190612162565b92505081905550836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161149591815260200190565b60405180910390a360005b600760009054906101000a90046001600160a01b03166001600160a01b0316630f560cd76040518163ffffffff1660e01b815260040160006040518083038186803b1580156114ee57600080fd5b505afa158015611502573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261152a9190810190611e6d565b5181101561181b576007546001600160a01b03166316a434608261154e858861219c565b6040516001600160e01b031960e085901b1681526004810192909252602482015260440160206040518083038186803b15801561158a57600080fd5b505afa15801561159e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c29190611f69565b600080600760009054906101000a90046001600160a01b03166001600160a01b0316630f560cd76040518163ffffffff1660e01b815260040160006040518083038186803b15801561161357600080fd5b505afa158015611627573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261164f9190810190611e6d565b84815181106116605761166061221f565b6020026020010151600001516001600160a01b03166001600160a01b03168152602001908152602001600020600082825461169b9190612162565b909155505060075460408051630f560cd760e01b815290516001600160a01b0390921691630f560cd791600480820192600092909190829003018186803b1580156116e557600080fd5b505afa1580156116f9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117219190810190611e6d565b81815181106117325761173261221f565b6020908102919091010151516007546001600160a01b0391821691888116917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91166316a4346085611784888b61219c565b6040516001600160e01b031960e085901b1681526004810192909252602482015260440160206040518083038186803b1580156117c057600080fd5b505afa1580156117d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f89190611f69565b60405190815260200160405180910390a380611813816121ee565b9150506114a0565b505b6107268585836118f8565b6001600160a01b038083166000818152600960208181526040808420805485845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46110d2828483611926565b600d80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b505050565b6001600160a01b038084166000908152600960205260408082205485841683529120546118f3929182169116835b816001600160a01b0316836001600160a01b0316141580156119485750600081115b156118f3576001600160a01b038316156119f2576001600160a01b0383166000908152600b602052604081205490816119825760006119b9565b6001600160a01b0385166000908152600a60205260408120906119a660018561219c565b8152602001908152602001600020600101545b905060006119e0828560405180606001604052806028815260200161229560289139611a93565b90506119ee86848484611aca565b5050505b6001600160a01b038216156118f3576001600160a01b0382166000908152600b60205260408120549081611a27576000611a5e565b6001600160a01b0384166000908152600a6020526040812090611a4b60018561219c565b8152602001908152602001600020600101545b90506000611a8582856040518060600160405280602781526020016122bd60279139611c26565b9050610d6585848484611aca565b60008184841115611ab75760405162461bcd60e51b8152600401610610919061201e565b50611ac2838561219c565b949350505050565b6000611aee4360405180606001604052806034815260200161226160349139611c60565b9050600084118015611b3457506001600160a01b0385166000908152600a602052604081208291611b2060018861219c565b815260200190815260200160002060000154145b15611b77576001600160a01b0385166000908152600a602052604081208391611b5e60018861219c565b8152602081019190915260400160002060010155611bdb565b60408051808201825282815260208082018581526001600160a01b0389166000908152600a8352848120898252909252929020905181559051600191820155611bc1908590612162565b6001600160a01b0386166000908152600b60205260409020555b60408051848152602081018490526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b600080611c338486612162565b90508285821015611c575760405162461bcd60e51b8152600401610610919061201e565b50949350505050565b6000816401000000008410611c885760405162461bcd60e51b8152600401610610919061201e565b509192915050565b60008083601f840112611ca257600080fd5b50813567ffffffffffffffff811115611cba57600080fd5b6020830191508360208260051b8501011115611cd557600080fd5b9250929050565b600060208284031215611cee57600080fd5b8135610a908161224b565b60008060408385031215611d0c57600080fd5b8235611d178161224b565b91506020830135611d278161224b565b809150509250929050565b600080600060608486031215611d4757600080fd5b8335611d528161224b565b92506020840135611d628161224b565b929592945050506040919091013590565b60008060408385031215611d8657600080fd5b8235611d918161224b565b946020939093013593505050565b60008060008060008060c08789031215611db857600080fd5b8635611dc38161224b565b95506020870135945060408701359350606087013560ff81168114611de757600080fd5b9598949750929560808101359460a0909101359350915050565b60008060008060408587031215611e1757600080fd5b843567ffffffffffffffff80821115611e2f57600080fd5b611e3b88838901611c90565b90965094506020870135915080821115611e5457600080fd5b50611e6187828801611c90565b95989497509550505050565b60006020808385031215611e8057600080fd5b825167ffffffffffffffff80821115611e9857600080fd5b818501915085601f830112611eac57600080fd5b815181811115611ebe57611ebe612235565b611ecc848260051b01612131565b8181528481019250838501600683901b85018601891015611eec57600080fd5b60009450845b83811015611f3957604080838c031215611f0a578687fd5b611f12612108565b8351611f1d8161224b565b8152838901518982015286529487019490910190600101611ef2565b509098975050505050505050565b600060208284031215611f5957600080fd5b81358015158114610a9057600080fd5b600060208284031215611f7b57600080fd5b5051919050565b600080835481600182811c915080831680611f9e57607f831692505b6020808410821415611fbe57634e487b7160e01b86526022600452602486fd5b818015611fd25760018114611fe357612010565b60ff19861689528489019650612010565b60008a81526020902060005b868110156120085781548b820152908501908301611fef565b505084890196505b509498975050505050505050565b600060208083528351808285015260005b8181101561204b5785810183015185820160400152820161202f565b8181111561205d576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526021908201527f4c69737420616e642056616c7565206c656e67746820646f6e2774206d6174636040820152600d60fb1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526005908201526422b93937b960d91b604082015260600190565b6040805190810167ffffffffffffffff8111828210171561212b5761212b612235565b60405290565b604051601f8201601f1916810167ffffffffffffffff8111828210171561215a5761215a612235565b604052919050565b6000821982111561217557612175612209565b500190565b60008261219757634e487b7160e01b600052601260045260246000fd5b500490565b6000828210156121ae576121ae612209565b500390565b600181811c908216806121c757607f821691505b602082108114156121e857634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561220257612202612209565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461063757600080fdfe436f6d703a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473436f6d703a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773436f6d703a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f7773a2646970667358221220d08b4e3c997d67e5f7b3d11db5e99950efd1b3693b1fc62b64502d39639dc33864736f6c634300080700336080604052678ac7230489e8000060005534801561001c57600080fd5b506040516106c93803806106c983398101604081905261003b9161023a565b81518351146100915760405162461bcd60e51b815260206004820152601e60248201527f466565436f6e74726163743a2041646472657373657320213d2056616c73000060448201526064015b60405180910390fd5b6000805b845181101561016c57600160405180604001604052808784815181106100bd576100bd6103b6565b60200260200101516001600160a01b031681526020018684815181106100e5576100e56103b6565b602090810291909101810151909152825460018082018555600094855293829020835160029092020180546001600160a01b0319166001600160a01b039092169190911781559101519101558351849082908110610145576101456103b6565b602002602001015182610158919061036d565b91508061016481610385565b915050610095565b508181146101bc5760405162461bcd60e51b815260206004820152601560248201527f746f74616c57656967687420213d2077656967687400000000000000000000006044820152606401610088565b50600055506103e29050565b600082601f8301126101d957600080fd5b815160206101ee6101e98361034a565b61031a565b80838252828201915082860187848660051b890101111561020e57600080fd5b60005b8581101561022d57815184529284019290840190600101610211565b5090979650505050505050565b60008060006060848603121561024f57600080fd5b83516001600160401b038082111561026657600080fd5b818601915086601f83011261027a57600080fd5b8151602061028a6101e98361034a565b8083825282820191508286018b848660051b89010111156102aa57600080fd5b600096505b848710156102e25780516001600160a01b03811681146102ce57600080fd5b8352600196909601959183019183016102af565b50918901519197509093505050808211156102fc57600080fd5b50610309868287016101c8565b925050604084015190509250925092565b604051601f8201601f191681016001600160401b0381118282101715610342576103426103cc565b604052919050565b60006001600160401b03821115610363576103636103cc565b5060051b60200190565b60008219821115610380576103806103a0565b500190565b6000600019821415610399576103996103a0565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6102d8806103f16000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80630760c5da146100465780630f560cd71461006c57806316a4346014610081575b600080fd5b61005961005436600461018b565b610094565b6040519081526020015b60405180910390f35b6100746100d1565b60405161006391906101c6565b61005961008f3660046101a4565b610146565b600068056bc75e2d6310000060005468056bc75e2d631000006100b7919061025f565b6100c19084610240565b6100cb919061021e565b92915050565b60606001805480602002602001604051908101604052809291908181526020016000905b8282101561013d576000848152602090819020604080518082019091526002850290910180546001600160a01b031682526001908101548284015290835290920191016100f5565b50505050905090565b600080546001848154811061015d5761015d61028c565b9060005260206000209060020201600101548361017a9190610240565b610184919061021e565b9392505050565b60006020828403121561019d57600080fd5b5035919050565b600080604083850312156101b757600080fd5b50508035926020909101359150565b602080825282518282018190526000919060409081850190868401855b8281101561021157815180516001600160a01b031685528601518685015292840192908501906001016101e3565b5091979650505050505050565b60008261023b57634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561025a5761025a610276565b500290565b60008282101561027157610271610276565b500390565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fdfea264697066735822122049bceb0dbfc248582114e17fef436468325cd2851e1c6991ee9009aac2ea535e64736f6c63430008070033436f6d703a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473436f6d703a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773436f6d703a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f7773000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000008ac7230489e800000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000abcd459a4aa8b686585dc35461a5071ba21f0e2300000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000008ac7230489e80000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c806370a0823111610104578063a9059cbb116100a2578063dd62ed3e11610071578063dd62ed3e14610451578063e7a324dc1461048a578063f291bf28146104b1578063f2fde38b146104c457600080fd5b8063a9059cbb14610405578063b4b5ea5714610418578063c3cda5201461042b578063c89128141461043e57600080fd5b80637ecebe00116100de5780637ecebe00146103b95780638da5cb5b146103d957806395d89b41146103ea578063a457c2d7146103f257600080fd5b806370a0823114610375578063715018a61461039e578063782d6fe1146103a657600080fd5b8063313ce56711610171578063587cde1e1161014b578063587cde1e146103065780635c19a95c1461032f578063697a33d9146103425780636fcfff451461035557600080fd5b8063313ce567146102cf57806339509351146102de57806342dbe168146102f157600080fd5b80630cdfebfa116101ad5780630cdfebfa1461023c57806318160ddd1461028357806320606b701461029557806323b872dd146102bc57600080fd5b806306e29712146101d457806306fdde0314610204578063095ea7b314610219575b600080fd5b6007546101e7906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61020c6104d7565b6040516101fb919061201e565b61022c610227366004611d73565b610569565b60405190151581526020016101fb565b61026e61024a366004611d73565b600a6020908152600092835260408084209091529082529020805460019091015482565b604080519283526020830191909152016101fb565b6002545b6040519081526020016101fb565b6102877f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b61022c6102ca366004611d32565b610583565b604051601281526020016101fb565b61022c6102ec366004611d73565b6105a7565b6103046102ff366004611cdc565b6105e6565b005b6101e7610314366004611cdc565b6009602052600090815260409020546001600160a01b031681565b61030461033d366004611cdc565b61063a565b610304610350366004611e01565b610644565b610287610363366004611cdc565b600b6020526000908152604090205481565b610287610383366004611cdc565b6001600160a01b031660009081526020819052604090205490565b61030461072d565b6102876103b4366004611d73565b610763565b6102876103c7366004611cdc565b600c6020526000908152604090205481565b600d546001600160a01b03166101e7565b61020c610985565b61022c610400366004611d73565b610994565b61022c610413366004611d73565b610a26565b610287610426366004611cdc565b610a34565b610304610439366004611d9f565b610a97565b61030461044c366004611f47565b610d6d565b61028761045f366004611cf9565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102877fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b6103046104bf366004611e01565b610da8565b6103046104d2366004611cdc565b610e8a565b6060600380546104e6906121b3565b80601f0160208091040260200160405190810160405280929190818152602001828054610512906121b3565b801561055f5780601f106105345761010080835404028352916020019161055f565b820191906000526020600020905b81548152906001019060200180831161054257829003601f168201915b5050505050905090565b600033610577818585610f22565b60019150505b92915050565b600033610591858285611046565b61059c8585856110d8565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061057790829086906105e1908790612162565b610f22565b600d546001600160a01b031633146106195760405162461bcd60e51b8152600401610610906120b4565b60405180910390fd5b600780546001600160a01b0319166001600160a01b03831617905550565b50565b6106373382611828565b600d546001600160a01b0316331461066e5760405162461bcd60e51b8152600401610610906120b4565b82811461068d5760405162461bcd60e51b815260040161061090612073565b60005b83811015610726576107148585838181106106ad576106ad61221f565b90506020020160208101906106c29190611cdc565b8484848181106106d4576106d461221f565b90506020020160208101906106e99190611f47565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b8061071e816121ee565b915050610690565b5050505050565b600d546001600160a01b031633146107575760405162461bcd60e51b8152600401610610906120b4565b61076160006118a1565b565b60004382106107c45760405162461bcd60e51b815260206004820152602760248201527f436f6d703a3a6765745072696f72566f7465733a206e6f742079657420646574604482015266195c9b5a5b995960ca1b6064820152608401610610565b6001600160a01b0383166000908152600b6020526040902054806107ec57600091505061057d565b6001600160a01b0384166000908152600a60205260408120849161081160018561219c565b81526020019081526020016000206000015411610866576001600160a01b0384166000908152600a602052604081209061084c60018461219c565b81526020019081526020016000206001015491505061057d565b6001600160a01b0384166000908152600a6020908152604080832083805290915290205483101561089b57600091505061057d565b6000806108a960018461219c565b90505b8181111561095557600060026108c2848461219c565b6108cc919061217a565b6108d6908361219c565b6001600160a01b0388166000908152600a6020908152604080832084845282529182902082518084019093528054808452600190910154918301919091529192509087141561092f5760200151945061057d9350505050565b80518711156109405781935061094e565b61094b60018361219c565b92505b50506108ac565b506001600160a01b0385166000908152600a60209081526040808320938352929052206001015491505092915050565b6060600480546104e6906121b3565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610a195760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610610565b61059c8286868403610f22565b6000336105778185856110d8565b6001600160a01b0381166000908152600b602052604081205480610a59576000610a90565b6001600160a01b0383166000908152600a6020526040812090610a7d60018461219c565b8152602001908152602001600020600101545b9392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8666003604051610ac99190611f82565b6040518091039020610ad84690565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a90528251808503909101815261014084019092528151919093012061190160f01b610160830152610162820183905261018282018190529192506000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015610c04573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610c765760405162461bcd60e51b815260206004820152602660248201527f436f6d703a3a64656c656761746542795369673a20696e76616c6964207369676044820152656e617475726560d01b6064820152608401610610565b6001600160a01b0381166000908152600c60205260408120805491610c9a836121ee565b919050558914610cf75760405162461bcd60e51b815260206004820152602260248201527f436f6d703a3a64656c656761746542795369673a20696e76616c6964206e6f6e604482015261636560f01b6064820152608401610610565b87421115610d565760405162461bcd60e51b815260206004820152602660248201527f436f6d703a3a64656c656761746542795369673a207369676e617475726520656044820152651e1c1a5c995960d21b6064820152608401610610565b610d60818b611828565b505050505b505050505050565b600d546001600160a01b03163314610d975760405162461bcd60e51b8152600401610610906120b4565b6005805460ff191682151517905550565b600d546001600160a01b03163314610dd25760405162461bcd60e51b8152600401610610906120b4565b828114610df15760405162461bcd60e51b815260040161061090612073565b60005b8381101561072657610e78858583818110610e1157610e1161221f565b9050602002016020810190610e269190611cdc565b848484818110610e3857610e3861221f565b9050602002016020810190610e4d9190611f47565b6001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b80610e82816121ee565b915050610df4565b600d546001600160a01b03163314610eb45760405162461bcd60e51b8152600401610610906120b4565b6001600160a01b038116610f195760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610610565b610637816118a1565b6001600160a01b038316610f845760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610610565b6001600160a01b038216610fe55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610610565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146110d257818110156110c55760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610610565b6110d28484848403610f22565b50505050565b6001600160a01b03831661113c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610610565b6001600160a01b03821661119e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610610565b6001600160a01b038316600090815260208190526040902054818110156112165760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610610565b60055460ff16156112c3573360009081526006602052604090205460ff16156112515760405162461bcd60e51b8152600401610610906120e9565b6001600160a01b03841660009081526006602052604090205460ff161561128a5760405162461bcd60e51b8152600401610610906120e9565b6001600160a01b03831660009081526006602052604090205460ff16156112c35760405162461bcd60e51b8152600401610610906120e9565b6001600160a01b03841660009081526020818152604080832085850390556008909152902054829060ff168061131157506001600160a01b03841660009081526008602052604090205460ff165b15611397576001600160a01b0384166000908152602081905260408120805483929061133e908490612162565b92505081905550836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161138a91815260200190565b60405180910390a361181d565b6007546040516303b062ed60e11b8152600481018590526001600160a01b0390911690630760c5da9060240160206040518083038186803b1580156113db57600080fd5b505afa1580156113ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114139190611f69565b905080600080866001600160a01b03166001600160a01b0316815260200190815260200160002060008282546114499190612162565b92505081905550836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161149591815260200190565b60405180910390a360005b600760009054906101000a90046001600160a01b03166001600160a01b0316630f560cd76040518163ffffffff1660e01b815260040160006040518083038186803b1580156114ee57600080fd5b505afa158015611502573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261152a9190810190611e6d565b5181101561181b576007546001600160a01b03166316a434608261154e858861219c565b6040516001600160e01b031960e085901b1681526004810192909252602482015260440160206040518083038186803b15801561158a57600080fd5b505afa15801561159e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c29190611f69565b600080600760009054906101000a90046001600160a01b03166001600160a01b0316630f560cd76040518163ffffffff1660e01b815260040160006040518083038186803b15801561161357600080fd5b505afa158015611627573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261164f9190810190611e6d565b84815181106116605761166061221f565b6020026020010151600001516001600160a01b03166001600160a01b03168152602001908152602001600020600082825461169b9190612162565b909155505060075460408051630f560cd760e01b815290516001600160a01b0390921691630f560cd791600480820192600092909190829003018186803b1580156116e557600080fd5b505afa1580156116f9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117219190810190611e6d565b81815181106117325761173261221f565b6020908102919091010151516007546001600160a01b0391821691888116917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91166316a4346085611784888b61219c565b6040516001600160e01b031960e085901b1681526004810192909252602482015260440160206040518083038186803b1580156117c057600080fd5b505afa1580156117d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f89190611f69565b60405190815260200160405180910390a380611813816121ee565b9150506114a0565b505b6107268585836118f8565b6001600160a01b038083166000818152600960208181526040808420805485845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46110d2828483611926565b600d80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b505050565b6001600160a01b038084166000908152600960205260408082205485841683529120546118f3929182169116835b816001600160a01b0316836001600160a01b0316141580156119485750600081115b156118f3576001600160a01b038316156119f2576001600160a01b0383166000908152600b602052604081205490816119825760006119b9565b6001600160a01b0385166000908152600a60205260408120906119a660018561219c565b8152602001908152602001600020600101545b905060006119e0828560405180606001604052806028815260200161229560289139611a93565b90506119ee86848484611aca565b5050505b6001600160a01b038216156118f3576001600160a01b0382166000908152600b60205260408120549081611a27576000611a5e565b6001600160a01b0384166000908152600a6020526040812090611a4b60018561219c565b8152602001908152602001600020600101545b90506000611a8582856040518060600160405280602781526020016122bd60279139611c26565b9050610d6585848484611aca565b60008184841115611ab75760405162461bcd60e51b8152600401610610919061201e565b50611ac2838561219c565b949350505050565b6000611aee4360405180606001604052806034815260200161226160349139611c60565b9050600084118015611b3457506001600160a01b0385166000908152600a602052604081208291611b2060018861219c565b815260200190815260200160002060000154145b15611b77576001600160a01b0385166000908152600a602052604081208391611b5e60018861219c565b8152602081019190915260400160002060010155611bdb565b60408051808201825282815260208082018581526001600160a01b0389166000908152600a8352848120898252909252929020905181559051600191820155611bc1908590612162565b6001600160a01b0386166000908152600b60205260409020555b60408051848152602081018490526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b600080611c338486612162565b90508285821015611c575760405162461bcd60e51b8152600401610610919061201e565b50949350505050565b6000816401000000008410611c885760405162461bcd60e51b8152600401610610919061201e565b509192915050565b60008083601f840112611ca257600080fd5b50813567ffffffffffffffff811115611cba57600080fd5b6020830191508360208260051b8501011115611cd557600080fd5b9250929050565b600060208284031215611cee57600080fd5b8135610a908161224b565b60008060408385031215611d0c57600080fd5b8235611d178161224b565b91506020830135611d278161224b565b809150509250929050565b600080600060608486031215611d4757600080fd5b8335611d528161224b565b92506020840135611d628161224b565b929592945050506040919091013590565b60008060408385031215611d8657600080fd5b8235611d918161224b565b946020939093013593505050565b60008060008060008060c08789031215611db857600080fd5b8635611dc38161224b565b95506020870135945060408701359350606087013560ff81168114611de757600080fd5b9598949750929560808101359460a0909101359350915050565b60008060008060408587031215611e1757600080fd5b843567ffffffffffffffff80821115611e2f57600080fd5b611e3b88838901611c90565b90965094506020870135915080821115611e5457600080fd5b50611e6187828801611c90565b95989497509550505050565b60006020808385031215611e8057600080fd5b825167ffffffffffffffff80821115611e9857600080fd5b818501915085601f830112611eac57600080fd5b815181811115611ebe57611ebe612235565b611ecc848260051b01612131565b8181528481019250838501600683901b85018601891015611eec57600080fd5b60009450845b83811015611f3957604080838c031215611f0a578687fd5b611f12612108565b8351611f1d8161224b565b8152838901518982015286529487019490910190600101611ef2565b509098975050505050505050565b600060208284031215611f5957600080fd5b81358015158114610a9057600080fd5b600060208284031215611f7b57600080fd5b5051919050565b600080835481600182811c915080831680611f9e57607f831692505b6020808410821415611fbe57634e487b7160e01b86526022600452602486fd5b818015611fd25760018114611fe357612010565b60ff19861689528489019650612010565b60008a81526020902060005b868110156120085781548b820152908501908301611fef565b505084890196505b509498975050505050505050565b600060208083528351808285015260005b8181101561204b5785810183015185820160400152820161202f565b8181111561205d576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526021908201527f4c69737420616e642056616c7565206c656e67746820646f6e2774206d6174636040820152600d60fb1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526005908201526422b93937b960d91b604082015260600190565b6040805190810167ffffffffffffffff8111828210171561212b5761212b612235565b60405290565b604051601f8201601f1916810167ffffffffffffffff8111828210171561215a5761215a612235565b604052919050565b6000821982111561217557612175612209565b500190565b60008261219757634e487b7160e01b600052601260045260246000fd5b500490565b6000828210156121ae576121ae612209565b500390565b600181811c908216806121c757607f821691505b602082108114156121e857634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561220257612202612209565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461063757600080fdfe436f6d703a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473436f6d703a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773436f6d703a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f7773a2646970667358221220d08b4e3c997d67e5f7b3d11db5e99950efd1b3693b1fc62b64502d39639dc33864736f6c63430008070033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000008ac7230489e800000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000abcd459a4aa8b686585dc35461a5071ba21f0e2300000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000008ac7230489e80000

-----Decoded View---------------
Arg [0] : intialAddress (address[]): 0xaBcD459A4aa8B686585DC35461A5071Ba21f0e23
Arg [1] : initialWeights (uint256[]): 10000000000000000000
Arg [2] : baseWeight (uint256): 10000000000000000000

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000008ac7230489e80000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [4] : 000000000000000000000000abcd459a4aa8b686585dc35461a5071ba21f0e23
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [6] : 0000000000000000000000000000000000000000000000008ac7230489e80000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

Social BEES is a global group of brilliant misfits who believe that Web3 is how people will regain power from controlling institutions. SBU DAO has activated a self-generating billion-dollar fund. With this fund, these misfits will financially back web3 visionaries aligned with their mission.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ 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.