CELO Price: $0.33256 (+6.71%)
Gas: 52.5 GWei

Contract

0x71e26d0E519D14591b9dE9a0fE9513A398101490

Overview

CELO Balance

Celo Chain LogoCelo Chain LogoCelo Chain Logo0 CELO

CELO Value

$0.00

Token Holdings

More Info

Private Name Tags

TokenTracker

Ubeswap (UBE) (@$0.003)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0xe6b78817aca244b5c20704ef9624d2132f864bca5b9c1582583859e19b5579ac -(pending)2025-03-26 5:08:0528 days ago1742965685IN
Ubeswap: UBE Token
0 CELO(Pending)(Pending)
Approve335012522025-04-23 9:53:3045 secs ago1745402010IN
Ubeswap: UBE Token
0 CELO0.0006415526.26
Approve334967892025-04-23 8:39:071 hr ago1745397547IN
Ubeswap: UBE Token
0 CELO0.0012235526.26
Approve334957222025-04-23 8:21:201 hr ago1745396480IN
Ubeswap: UBE Token
0 CELO0.0012191726.26
Approve334841162025-04-23 5:07:544 hrs ago1745384874IN
Ubeswap: UBE Token
0 CELO0.0011601225.001
Approve334835632025-04-23 4:58:414 hrs ago1745384321IN
Ubeswap: UBE Token
0 CELO0.0013978730.0012
Approve334832512025-04-23 4:53:295 hrs ago1745384009IN
Ubeswap: UBE Token
0 CELO0.0011648925.001
Approve334709142025-04-23 1:27:528 hrs ago1745371672IN
Ubeswap: UBE Token
0 CELO0.0011613225.001
Approve334678402025-04-23 0:36:389 hrs ago1745368598IN
Ubeswap: UBE Token
0 CELO0.0006112625.02
Approve334481452025-04-22 19:08:2314 hrs ago1745348903IN
Ubeswap: UBE Token
0 CELO0.0011633925.001
Approve334459262025-04-22 18:31:2415 hrs ago1745346684IN
Ubeswap: UBE Token
0 CELO0.0012347426.5
Approve334459192025-04-22 18:31:1715 hrs ago1745346677IN
Ubeswap: UBE Token
0 CELO0.0011648925.001
Approve334429122025-04-22 17:41:1016 hrs ago1745343670IN
Ubeswap: UBE Token
0 CELO0.0006112625.02
Approve334422982025-04-22 17:30:5616 hrs ago1745343056IN
Ubeswap: UBE Token
0 CELO0.0006112625.02
Approve334330272025-04-22 14:56:2518 hrs ago1745333785IN
Ubeswap: UBE Token
0 CELO0.0006658725.001
Approve334330112025-04-22 14:56:0918 hrs ago1745333769IN
Ubeswap: UBE Token
0 CELO0.0011633925.001
Approve334324072025-04-22 14:46:0519 hrs ago1745333165IN
Ubeswap: UBE Token
0 CELO0.0016307935
Approve334317712025-04-22 14:35:2919 hrs ago1745332529IN
Ubeswap: UBE Token
0 CELO0.0006112625.02
Approve334291892025-04-22 13:52:2720 hrs ago1745329947IN
Ubeswap: UBE Token
0 CELO0.0007379325.02
Approve334291852025-04-22 13:52:2320 hrs ago1745329943IN
Ubeswap: UBE Token
0 CELO0.001161925.02
Approve334286562025-04-22 13:43:3420 hrs ago1745329414IN
Ubeswap: UBE Token
0 CELO0.0011653125.01
Approve334247632025-04-22 12:38:4121 hrs ago1745325521IN
Ubeswap: UBE Token
0 CELO0.0006112625.02
Approve334214032025-04-22 11:42:4122 hrs ago1745322161IN
Ubeswap: UBE Token
0 CELO0.0006112625.02
Approve334201282025-04-22 11:21:2622 hrs ago1745320886IN
Ubeswap: UBE Token
0 CELO0.0011656725.05
Approve334151732025-04-22 9:58:5123 hrs ago1745315931IN
Ubeswap: UBE Token
0 CELO0.0011648925.001
View all transactions

View more zero value Internal Transactions in Advanced View mode

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
UbeToken

Compiler Version
v0.8.23+commit.f704f362

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 7 : UbeToken.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.3;

import "./voting/TransferrableVotingToken.sol";

/**
 * Ubeswap governance token, based on Uni.
 */
contract UbeToken is TransferrableVotingToken {
    /// @notice The maximum supply of Ube Tokens.
    uint96 public constant MAX_SUPPLY = 250_000_000e18;

    /**
     * @notice Construct a new Ube token
     * Note: this contract doesn't specify an initial minter, so there is no way new
     * tokens can get created.
     * @param _initialOwner The initial account to grant all the tokens
     */
    constructor(address _initialOwner)
        TransferrableVotingToken(
            "Ubeswap",
            "UBE",
            18,
            MAX_SUPPLY,
            _initialOwner
        )
    // solhint-disable-next-line no-empty-blocks
    {
        // Do nothing
    }
}

File 2 of 7 : IHasVotes.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.3;

/**
 * Reads the votes that an account has.
 */
interface IHasVotes {
    /**
     * @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 (uint96);

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

File 3 of 7 : INonTransferrableToken.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.3;

/**
 * A token that cannot be transferred.
 */
interface INonTransferrableToken {
    function name() external view returns (string memory);

    function symbol() external view returns (string memory);

    function decimals() external view returns (uint8);

    // Views
    function totalSupply() external view returns (uint256);

    function balanceOf(address _account) external view returns (uint256);
}

File 4 of 7 : IVotingDelegates.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.3;

/**
 * Interface for a contract that keeps track of voting delegates.
 */
interface IVotingDelegates {
    /// @notice An event thats emitted when an account changes its delegate
    event DelegateChanged(
        address indexed delegator,
        address indexed fromDelegate,
        address indexed toDelegate
    );

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

    /// @notice An event emitted when an account's voting power is transferred.
    // - If `from` is `address(0)`, power was minted.
    // - If `to` is `address(0)`, power was burned.
    event Transfer(address indexed from, address indexed to, uint256 amount);

    /// @notice Name of the contract.
    // Required for signing.
    function name() external view returns (string memory);

    /// @notice A record of each accounts delegate
    function delegates(address delegatee) external view returns (address);

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

    /**
     * @notice Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(
        address delegatee,
        uint256 nonce,
        uint256 expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @notice Get the amount of voting power of an account
     * @param account The address of the account to get the balance of
     * @return The amount of voting power held
     */
    function votingPower(address account) external view returns (uint96);

    /// @notice Total voting power in existence.
    function totalVotingPower() external view returns (uint96);
}

File 5 of 7 : TransferrableVotingToken.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.3;

import "./VotingToken.sol";

contract TransferrableVotingToken is VotingToken {
    /**
     * @dev Sets the values for `name`, `symbol`, and `decimals`. All three of
     * these values are immutable: they can only be set once during
     * construction.
     * @param initialSupply_ Initial supply of tokens
     * @param account_ The initial account to grant all the tokens
     */
    constructor(
        string memory name_,
        string memory symbol_,
        uint8 decimals_,
        uint96 initialSupply_,
        address account_
    ) VotingToken(name_, symbol_, decimals_) {
        _mintVotes(account_, initialSupply_);
    }

    ////////////////////////////////
    //
    // The below code is copied from Uniswap's Uni.sol.
    // Changes are marked with "XXX".
    //
    ////////////////////////////////

    // XXX: deleted name, symbol, decimals, totalSupply, minter, mintingAllowedAfter,
    // minimumTimeBetweenMints, mintCap

    // Allowance amounts on behalf of others
    mapping (address => mapping (address => uint96)) internal allowances;

    // XXX: balances, delegates, Checkpoint, checkpoints,
    // numCheckpoints, DOMAIN_TYPEHASH, DELEGATION_TYPEHASH
    // are inherited from VotingPower.sol

    /// @notice The EIP-712 typehash for the permit struct used by the contract
    bytes32 public constant PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");

    // XXX: nonces is inherited from VotingPower.sol

    // XXX: deleted MinterChanged

    // XXX: deleted DelegateChanged, DelegateVotesChanged, Transfer and moved them to IVotingPower

    /// @notice The standard EIP-20 approval event
    event Approval(address indexed owner, address indexed spender, uint256 amount);

    // XXX: deleted constructor, setMinter, mint

    /**
     * @notice Get the number of tokens `spender` is approved to spend on behalf of `account`
     * @param account The address of the account holding the funds
     * @param spender The address of the account spending the funds
     * @return The number of tokens approved
     */
    function allowance(address account, address spender) external view returns (uint) {
        return allowances[account][spender];
    }

    // XXX_ADDED: upgrade to Solidity 0.8.3, which doesn't allow use of uintn(-1)
    uint256 internal constant MAX_INT = 2**256 - 1;
    uint96 internal constant MAX_INT_96 = 2**96 - 1;

    /**
     * @notice Approve `spender` to transfer up to `amount` from `src`
     * @dev This will overwrite the approval amount for `spender`
     *  and is subject to issues noted [here](https://eips.ethereum.org/EIPS/eip-20#approve)
     * @param spender The address of the account which may transfer tokens
     * @param rawAmount The number of tokens that are approved (2^256-1 means infinite)
     * @return Whether or not the approval succeeded
     */
    function approve(address spender, uint rawAmount) external returns (bool) {
        uint96 amount;
        // XXX: uint256(-1) => MAX_INT
        if (rawAmount == MAX_INT) {
            // XXX: uint96(-1) => MAX_INT_96
            amount = MAX_INT_96;
        } else {
            amount = safe96(rawAmount, "Uni::approve: amount exceeds 96 bits");
        }

        allowances[msg.sender][spender] = amount;

        emit Approval(msg.sender, spender, amount);
        return true;
    }

    /**
     * @notice Triggers an approval from owner to spends
     * @param owner The address to approve from
     * @param spender The address to be approved
     * @param rawAmount The number of tokens that are approved (2^256-1 means infinite)
     * @param deadline 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 permit(address owner, address spender, uint rawAmount, uint deadline, uint8 v, bytes32 r, bytes32 s) external {
        uint96 amount;
        // XXX: uint256(-1) => MAX_INT
        if (rawAmount == MAX_INT) {
            // XXX: uint96(-1) => MAX_INT_oy
            amount = MAX_INT_96;
        } else {
            amount = safe96(rawAmount, "Uni::permit: amount exceeds 96 bits");
        }

        // XXX_CHANGED: name => name()
        bytes32 domainSeparator = keccak256(abi.encode(DOMAIN_TYPEHASH, keccak256(bytes(name())), getChainId(), address(this)));
        bytes32 structHash = keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, rawAmount, nonces[owner]++, deadline));
        bytes32 digest = keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "Uni::permit: invalid signature");
        require(signatory == owner, "Uni::permit: unauthorized");
        // XXX: added linter disable
        // solhint-disable-next-line not-rely-on-time
        require(block.timestamp <= deadline, "Uni::permit: signature expired");

        allowances[owner][spender] = amount;

        emit Approval(owner, spender, amount);
    }

    // XXX: deleted balanceOf

    /**
     * @notice Transfer `amount` tokens from `msg.sender` to `dst`
     * @param dst The address of the destination account
     * @param rawAmount The number of tokens to transfer
     * @return Whether or not the transfer succeeded
     */
    function transfer(address dst, uint rawAmount) external returns (bool) {
        // XXX_ADDED
        require(
            dst != address(this),
            "TransferrableVotingToken::transfer: cannot send tokens to contract"
        );
        uint96 amount = safe96(rawAmount, "Uni::transfer: amount exceeds 96 bits");
        _transferTokens(msg.sender, dst, amount);
        return true;
    }

    /**
     * @notice Transfer `amount` tokens from `src` to `dst`
     * @param src The address of the source account
     * @param dst The address of the destination account
     * @param rawAmount The number of tokens to transfer
     * @return Whether or not the transfer succeeded
     */
    function transferFrom(address src, address dst, uint rawAmount) external returns (bool) {
        // XXX_ADDED
        require(
            dst != address(this),
            "TransferrableVotingToken::transferFrom: cannot send tokens to contract"
        );
        address spender = msg.sender;
        uint96 spenderAllowance = allowances[src][spender];
        uint96 amount = safe96(rawAmount, "Uni::approve: amount exceeds 96 bits");

        // XXX: uint96(-1) => MAX_INT_96
        if (spender != src && spenderAllowance != MAX_INT_96) {
            uint96 newAllowance = sub96(spenderAllowance, amount, "Uni::transferFrom: transfer amount exceeds spender allowance");
            allowances[src][spender] = newAllowance;

            emit Approval(src, spender, newAllowance);
        }

        _transferTokens(src, dst, amount);
        return true;
    }

    // XXX: rest is in VotingPower.sol
}

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

pragma solidity ^0.8.3;

import "../interfaces/IHasVotes.sol";
import "../interfaces/IVotingDelegates.sol";

/**
 * Power to vote. Heavily based on Uni.
 */
contract VotingPower is IHasVotes, IVotingDelegates {
    // Name of the token. This cannot be changed after creating the token.
    string private _name;

    // Total amount of voting power available.
    uint96 private totalVotingPowerSupply;

    constructor(string memory name_) {
        _name = name_;
    }

    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @notice Mint new voting power
     * @param dst The address of the destination account
     * @param amount The amount of voting power to be minted
     */
    function _mintVotes(address dst, uint96 amount) internal {
        require(dst != address(0), "VotingPower::_mintVotes: cannot mint to the zero address");

        // transfer the amount to the recipient
        balances[dst] = add96(balances[dst], amount, "VotingPower::_mintVotes: mint amount overflows");
        totalVotingPowerSupply = add96(
            totalVotingPowerSupply, amount, "VotingPower::_mintVotes: total supply overflows"
        );
        emit Transfer(address(0), dst, amount);

        // move delegates
        _moveDelegates(address(0), delegates[dst], amount);
    }

    /**
     * @notice Burn voting power
     * @param src The address of the source account
     * @param amount The amount of voting power to be burned
     */
    function _burnVotes(address src, uint96 amount) internal {
        require(src != address(0), "VotingPower::_burnVotes: cannot burn from the zero address");

        // transfer the amount to the recipient
        balances[src] = sub96(balances[src], amount, "VotingPower::_burnVotes: burn amount underflows");
        totalVotingPowerSupply = sub96(
            totalVotingPowerSupply, amount, "VotingPower::_burnVotes: total supply underflows"
        );
        emit Transfer(src, address(0), amount);

        // move delegates
        _moveDelegates(delegates[src], address(0), amount);
    }

    /**
     * @notice Get the amount of voting power of an account
     * @param account The address of the account to get the balance of
     * @return The amount of voting power held
     */
    function votingPower(address account) public view override returns (uint96) {
        return balances[account];
    }

    function totalVotingPower() public view override returns (uint96) {
        return totalVotingPowerSupply;
    }

    ////////////////////////////////
    //
    // The below code is copied from ../uniswap-governance/contracts/Uni.sol.
    // Changes are marked with "XXX".
    //
    ////////////////////////////////

    // XXX: deleted name, symbol, decimals, totalSupply, minter, mintingAllowedAfter,
    // minimumTimeBetweenMints, mintCap, allowances

    // Official record of token balances for each account
    // XXX: internal => private visibility
    mapping (address => uint96) private balances;

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

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

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

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

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

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

    // XXX: deleted PERMIT_TYPEHASH

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

    // XXX: deleted MinterChanged

    // XXX: deleted DelegateChanged, DelegateVotesChanged, Transfer and moved them to IVotingPower

    // XXX: deleted Approval

    // XXX: deleted constructor, setMinter, mint, allowance, approve, permit, balanceOf

    // XXX: deleted transfer, transferFrom

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegatee The address to delegate votes to
     */
    function delegate(address delegatee) public override {
        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, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s) public override {
        // XXX_CHANGED: name => _name
        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), "Uni::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "Uni::delegateBySig: invalid nonce");
        // XXX: added linter disable
        // solhint-disable-next-line not-rely-on-time
        require(block.timestamp <= expiry, "Uni::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 override returns (uint96) {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

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

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

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

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

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

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

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _transferTokens(address src, address dst, uint96 amount) internal {
        require(src != address(0), "Uni::_transferTokens: cannot transfer from the zero address");
        require(dst != address(0), "Uni::_transferTokens: cannot transfer to the zero address");

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

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

    function _moveDelegates(address srcRep, address dstRep, uint96 amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint96 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint96 srcRepNew = sub96(srcRepOld, amount, "Uni::_moveVotes: vote amount underflows");
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

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

    function _writeCheckpoint(address delegatee, uint32 nCheckpoints, uint96 oldVotes, uint96 newVotes) internal {
      uint32 blockNumber = safe32(block.number, "Uni::_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(uint n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

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

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

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

    function getChainId() internal view returns (uint) {
        uint256 chainId;
        // XXX: added linter disable
        // solhint-disable-next-line no-inline-assembly
        assembly { chainId := chainid() }
        return chainId;
    }
}

File 7 of 7 : VotingToken.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.3;

import "../interfaces/INonTransferrableToken.sol";
import "./VotingPower.sol";

/**
 * A non-transferrable token that can vote.
 */
contract VotingToken is INonTransferrableToken, VotingPower {
    string private _symbol;
    uint8 private immutable _decimals;

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

    function name()
        public
        view
        override(INonTransferrableToken, VotingPower)
        returns (string memory)
    {
        return VotingPower.name();
    }

    function symbol() public view override returns (string memory) {
        return _symbol;
    }

    function decimals() public view override returns (uint8) {
        return _decimals;
    }

    function totalSupply() public view override returns (uint256) {
        return totalVotingPower();
    }

    function balanceOf(address _account)
        public
        view
        override
        returns (uint256)
    {
        return votingPower(_account);
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_initialOwner","type":"address"}],"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":"amount","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","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":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","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":"rawAmount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint96","name":"votes","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","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":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","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":[],"name":"totalVotingPower","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"votingPower","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"}]

Contract Creation Code

60a06040523480156200001157600080fd5b5060405162002a4938038062002a4983398101604081905262000034916200071d565b604051806040016040528060078152602001660556265737761760cc1b8152506040518060400160405280600381526020016255424560e81b81525060126acecb8f27f4200f3a00000084848484828060009081620000949190620007ed565b5060079050620000a58382620007ed565b5060ff1660805250620000bb90508183620000c7565b505050505050620009ad565b6001600160a01b038216620001495760405162461bcd60e51b815260206004820152603860248201527f566f74696e67506f7765723a3a5f6d696e74566f7465733a2063616e6e6f742060448201527f6d696e7420746f20746865207a65726f2061646472657373000000000000000060648201526084015b60405180910390fd5b6001600160a01b03821660009081526002602090815260409182902054825160608101909352602e80845262000197936001600160601b0390921692859291906200296c9083013962000285565b6001600160a01b03831660009081526002602090815260409182902080546001600160601b0319166001600160601b03948516179055600154825160608101909352602f808452620001fb94919091169285929091906200299a9083013962000285565b600180546001600160601b0319166001600160601b0392831617905560405190821681526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36001600160a01b0380831660009081526003602052604081205462000281921683620002d7565b5050565b600080620002948486620008cf565b9050846001600160601b0316816001600160601b031610158390620002ce5760405162461bcd60e51b8152600401620001409190620008f9565b50949350505050565b816001600160a01b0316836001600160a01b0316141580156200030357506000816001600160601b0316115b156200049f576001600160a01b03831615620003d4576001600160a01b03831660009081526005602052604081205463ffffffff1690816200034757600062000396565b6001600160a01b0385166000908152600460205260408120906200036d6001856200094a565b63ffffffff16815260208101919091526040016000205464010000000090046001600160601b03165b90506000620003c0828560405180606001604052806027815260200162002a2260279139620004a4565b9050620003d086848484620004f3565b5050505b6001600160a01b038216156200049f576001600160a01b03821660009081526005602052604081205463ffffffff1690816200041257600062000461565b6001600160a01b038416600090815260046020526040812090620004386001856200094a565b63ffffffff16815260208101919091526040016000205464010000000090046001600160601b03165b905060006200048b8285604051806060016040528060268152602001620029c96026913962000285565b90506200049b85848484620004f3565b5050505b505050565b6000836001600160601b0316836001600160601b031611158290620004de5760405162461bcd60e51b8152600401620001409190620008f9565b50620004eb83856200096a565b949350505050565b60006200051a43604051806060016040528060338152602001620029ef60339139620006ea565b905060008463ffffffff161180156200057757506001600160a01b038516600090815260046020526040812063ffffffff8316916200055b6001886200094a565b63ffffffff908116825260208201929092526040016000205416145b15620005ea576001600160a01b03851660009081526004602052604081208391620005a46001886200094a565b63ffffffff168152602081019190915260400160002080546001600160601b039290921664010000000002600160201b600160801b031990921691909117905562000695565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000908152600482528681208b8616825290915294909420925183549451909116640100000000026001600160801b0319909416911617919091179055620006648460016200098d565b6001600160a01b0386166000908152600560205260409020805463ffffffff191663ffffffff929092169190911790555b604080516001600160601b038086168252841660208201526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b6000816401000000008410620007155760405162461bcd60e51b8152600401620001409190620008f9565b509192915050565b6000602082840312156200073057600080fd5b81516001600160a01b03811681146200074857600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200077a57607f821691505b6020821081036200079b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200049f576000816000526020600020601f850160051c81016020861015620007cc5750805b601f850160051c820191505b818110156200049b57828155600101620007d8565b81516001600160401b038111156200080957620008096200074f565b62000821816200081a845462000765565b84620007a1565b602080601f831160018114620008595760008415620008405750858301515b600019600386901b1c1916600185901b1785556200049b565b600085815260208120601f198616915b828110156200088a5788860151825594840194600190910190840162000869565b5085821015620008a95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b6001600160601b03818116838216019080821115620008f257620008f2620008b9565b5092915050565b60006020808352835180602085015260005b8181101562000929578581018301518582016040015282016200090b565b506000604082860101526040601f19601f8301168501019250505092915050565b63ffffffff828116828216039080821115620008f257620008f2620008b9565b6001600160601b03828116828216039080821115620008f257620008f2620008b9565b63ffffffff818116838216019080821115620008f257620008f2620008b9565b608051611fa3620009c9600039600061021c0152611fa36000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c806370a08231116100c3578063c07473f61161007c578063c07473f6146103a5578063c3cda520146103b3578063d505accf146103c6578063dd62ed3e146103d9578063e7a324dc1461041b578063f1127ed81461044257600080fd5b806370a0823114610312578063782d6fe1146103445780637ecebe001461035757806395d89b4114610377578063a9059cbb1461037f578063b4b5ea571461039257600080fd5b8063313ce56711610115578063313ce5671461021557806332cb6b0c14610246578063587cde1e146102705780635c19a95c146102b1578063671b3793146102c65780636fcfff45146102d757600080fd5b806306fdde031461015d578063095ea7b31461017b57806318160ddd1461019e57806320606b70146101b457806323b872dd146101db57806330adf81f146101ee575b600080fd5b6101656104a9565b60405161017291906119f3565b60405180910390f35b61018e610189366004611a5e565b6104b8565b6040519015158152602001610172565b6101a6610578565b604051908152602001610172565b6101a67f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b61018e6101e9366004611a88565b61059a565b6101a67f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60405160ff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610172565b6102586acecb8f27f4200f3a00000081565b6040516001600160601b039091168152602001610172565b61029961027e366004611ac4565b6003602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610172565b6102c46102bf366004611ac4565b610771565b005b6001546001600160601b0316610258565b6102fd6102e5366004611ac4565b60056020526000908152604090205463ffffffff1681565b60405163ffffffff9091168152602001610172565b6101a6610320366004611ac4565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b610258610352366004611a5e565b61077e565b6101a6610365366004611ac4565b60066020526000908152604090205481565b610165610a07565b61018e61038d366004611a5e565b610a99565b6102586103a0366004611ac4565b610b5f565b610258610320366004611ac4565b6102c46103c1366004611af0565b610bdd565b6102c46103d4366004611b48565b610eb0565b6101a66103e7366004611bb2565b6001600160a01b0391821660009081526008602090815260408083209390941682529190915220546001600160601b031690565b6101a67fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b610485610450366004611be5565b600460209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b6040805163ffffffff90931683526001600160601b03909116602083015201610172565b60606104b3611280565b905090565b60008060001983036104d257506001600160601b036104f7565b6104f483604051806060016040528060248152602001611f1b6024913961128f565b90505b3360008181526008602090815260408083206001600160a01b0389168085529083529281902080546001600160601b0319166001600160601b03871690811790915590519081529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a360019150505b92915050565b600061058c6001546001600160601b031690565b6001600160601b0316905090565b6000306001600160a01b0384160361062e5760405162461bcd60e51b815260206004820152604660248201527f5472616e736665727261626c65566f74696e67546f6b656e3a3a7472616e736660448201527f657246726f6d3a2063616e6e6f742073656e6420746f6b656e7320746f20636f6064820152651b9d1c9858dd60d21b608482015260a4015b60405180910390fd5b6001600160a01b03841660009081526008602090815260408083203380855290835281842054825160608101909352602480845291946001600160601b03909116939092610684928892611f1b9083013961128f565b9050866001600160a01b0316836001600160a01b0316141580156106b157506001600160601b0382811614155b156107595760006106db83836040518060600160405280603c8152602001611de2603c91396112be565b6001600160a01b038981166000818152600860209081526040808320948a168084529482529182902080546001600160601b0319166001600160601b0387169081179091559151918252939450919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505b610764878783611308565b5060019695505050505050565b61077b3382611559565b50565b60004382106107de5760405162461bcd60e51b815260206004820152602660248201527f556e693a3a6765745072696f72566f7465733a206e6f742079657420646574656044820152651c9b5a5b995960d21b6064820152608401610625565b6001600160a01b03831660009081526005602052604081205463ffffffff169081900361080f576000915050610572565b6001600160a01b03841660009081526004602052604081208491610834600185611c3b565b63ffffffff908116825260208201929092526040016000205416116108a7576001600160a01b038416600090815260046020526040812090610877600184611c3b565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b031691506105729050565b6001600160a01b038416600090815260046020908152604080832083805290915290205463ffffffff168310156108e2576000915050610572565b6000806108f0600184611c3b565b90505b8163ffffffff168163ffffffff1611156109c257600060026109158484611c3b565b61091f9190611c5f565b6109299083611c3b565b6001600160a01b038816600090815260046020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b031691810191909152919250879003610996576020015194506105729350505050565b805163ffffffff168711156109ad578193506109bb565b6109b8600183611c3b565b92505b50506108f3565b506001600160a01b038516600090815260046020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b606060078054610a1690611c90565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4290611c90565b8015610a8f5780601f10610a6457610100808354040283529160200191610a8f565b820191906000526020600020905b815481529060010190602001808311610a7257829003601f168201915b5050505050905090565b6000306001600160a01b03841603610b245760405162461bcd60e51b815260206004820152604260248201527f5472616e736665727261626c65566f74696e67546f6b656e3a3a7472616e736660448201527f65723a2063616e6e6f742073656e6420746f6b656e7320746f20636f6e74726160648201526118dd60f21b608482015260a401610625565b6000610b4883604051806060016040528060258152602001611ef66025913961128f565b9050610b55338583611308565b5060019392505050565b6001600160a01b03811660009081526005602052604081205463ffffffff1680610b8a576000610bd6565b6001600160a01b038316600090815260046020526040812090610bae600184611c3b565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b9392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8666000604051610c0f9190611cca565b6040518091039020610c1e4690565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a90528251808503909101815261014084019092528151919093012061190160f01b610160830152610162820183905261018282018190529192506000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015610d4a573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610dbb5760405162461bcd60e51b815260206004820152602560248201527f556e693a3a64656c656761746542795369673a20696e76616c6964207369676e604482015264617475726560d81b6064820152608401610625565b6001600160a01b0381166000908152600660205260408120805491610ddf83611d6b565b919050558914610e3b5760405162461bcd60e51b815260206004820152602160248201527f556e693a3a64656c656761746542795369673a20696e76616c6964206e6f6e636044820152606560f81b6064820152608401610625565b87421115610e995760405162461bcd60e51b815260206004820152602560248201527f556e693a3a64656c656761746542795369673a207369676e61747572652065786044820152641c1a5c995960da1b6064820152608401610625565b610ea3818b611559565b505050505b505050505050565b60006000198603610ec957506001600160601b03610eee565b610eeb86604051806060016040528060238152602001611e536023913961128f565b90505b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866610f196104a9565b80519060200120610f274690565b604080516020810194909452830191909152606082015230608082015260a00160408051601f1981840301815291815281516020928301206001600160a01b038c166000908152600690935290822080549193507f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9918c918c918c9186610fad83611d6b565b909155506040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810188905260e0016040516020818303038152906040528051906020012090506000828260405160200161102c92919061190160f01b81526002810192909252602282015260420190565b60408051601f198184030181528282528051602091820120600080855291840180845281905260ff8b169284019290925260608301899052608083018890529092509060019060a0016020604051602081039080840390855afa158015611097573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166110fa5760405162461bcd60e51b815260206004820152601e60248201527f556e693a3a7065726d69743a20696e76616c6964207369676e617475726500006044820152606401610625565b8b6001600160a01b0316816001600160a01b03161461115b5760405162461bcd60e51b815260206004820152601960248201527f556e693a3a7065726d69743a20756e617574686f72697a6564000000000000006044820152606401610625565b884211156111ab5760405162461bcd60e51b815260206004820152601e60248201527f556e693a3a7065726d69743a207369676e6174757265206578706972656400006044820152606401610625565b84600860008e6001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160601b0302191690836001600160601b031602179055508a6001600160a01b03168c6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258760405161126a91906001600160601b0391909116815260200190565b60405180910390a3505050505050505050505050565b606060008054610a1690611c90565b600081600160601b84106112b65760405162461bcd60e51b815260040161062591906119f3565b509192915050565b6000836001600160601b0316836001600160601b0316111582906112f55760405162461bcd60e51b815260040161062591906119f3565b506113008385611d84565b949350505050565b6001600160a01b0383166113845760405162461bcd60e51b815260206004820152603b60248201527f556e693a3a5f7472616e73666572546f6b656e733a2063616e6e6f742074726160448201527f6e736665722066726f6d20746865207a65726f206164647265737300000000006064820152608401610625565b6001600160a01b0382166114005760405162461bcd60e51b815260206004820152603960248201527f556e693a3a5f7472616e73666572546f6b656e733a2063616e6e6f742074726160448201527f6e7366657220746f20746865207a65726f2061646472657373000000000000006064820152608401610625565b6001600160a01b03831660009081526002602090815260409182902054825160608101909352603580845261144b936001600160601b039092169285929190611e1e908301396112be565b6001600160a01b03848116600090815260026020908152604080832080546001600160601b0319166001600160601b0396871617905592861682529082902054825160608101909352602f8084526114b39491909116928592909190611f3f908301396115e3565b6001600160a01b0383811660008181526002602090815260409182902080546001600160601b0319166001600160601b03968716179055905193851684529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36001600160a01b0380841660009081526003602052604080822054858416835291205461155492918216911683611630565b505050565b6001600160a01b03808316600081815260036020818152604080842080546002845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46115dd828483611630565b50505050565b6000806115f08486611da4565b9050846001600160601b0316816001600160601b0316101583906116275760405162461bcd60e51b815260040161062591906119f3565b50949350505050565b816001600160a01b0316836001600160a01b03161415801561165b57506000816001600160601b0316115b15611554576001600160a01b03831615611720576001600160a01b03831660009081526005602052604081205463ffffffff16908161169b5760006116e7565b6001600160a01b0385166000908152600460205260408120906116bf600185611c3b565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b9050600061170e8285604051806060016040528060278152602001611ecf602791396112be565b905061171c868484846117d8565b5050505b6001600160a01b03821615611554576001600160a01b03821660009081526005602052604081205463ffffffff16908161175b5760006117a7565b6001600160a01b03841660009081526004602052604081209061177f600185611c3b565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b905060006117ce8285604051806060016040528060268152602001611e76602691396115e3565b9050610ea8858484845b60006117fc43604051806060016040528060338152602001611e9c603391396119d0565b905060008463ffffffff1611801561185657506001600160a01b038516600090815260046020526040812063ffffffff83169161183a600188611c3b565b63ffffffff908116825260208201929092526040016000205416145b156118ca576001600160a01b03851660009081526004602052604081208391611880600188611c3b565b63ffffffff168152602081019190915260400160002080546001600160601b0392909216600160201b026fffffffffffffffffffffffff000000001990921691909117905561197b565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000908152600482528681208b8616825290915294909420925183549451909116600160201b026fffffffffffffffffffffffffffffffff1990941691161791909117905561194a846001611dc4565b6001600160a01b0386166000908152600560205260409020805463ffffffff191663ffffffff929092169190911790555b604080516001600160601b038086168252841660208201526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b600081600160201b84106112b65760405162461bcd60e51b815260040161062591905b60006020808352835180602085015260005b81811015611a2157858101830151858201604001528201611a05565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114611a5957600080fd5b919050565b60008060408385031215611a7157600080fd5b611a7a83611a42565b946020939093013593505050565b600080600060608486031215611a9d57600080fd5b611aa684611a42565b9250611ab460208501611a42565b9150604084013590509250925092565b600060208284031215611ad657600080fd5b610bd682611a42565b803560ff81168114611a5957600080fd5b60008060008060008060c08789031215611b0957600080fd5b611b1287611a42565b95506020870135945060408701359350611b2e60608801611adf565b92506080870135915060a087013590509295509295509295565b600080600080600080600060e0888a031215611b6357600080fd5b611b6c88611a42565b9650611b7a60208901611a42565b95506040880135945060608801359350611b9660808901611adf565b925060a0880135915060c0880135905092959891949750929550565b60008060408385031215611bc557600080fd5b611bce83611a42565b9150611bdc60208401611a42565b90509250929050565b60008060408385031215611bf857600080fd5b611c0183611a42565b9150602083013563ffffffff81168114611c1a57600080fd5b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b63ffffffff828116828216039080821115611c5857611c58611c25565b5092915050565b600063ffffffff80841680611c8457634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b600181811c90821680611ca457607f821691505b602082108103611cc457634e487b7160e01b600052602260045260246000fd5b50919050565b60008083548160018260011c91506001831680611ce857607f831692505b60208084108203611d0757634e487b7160e01b86526022600452602486fd5b818015611d1b5760018114611d3057611d5d565b60ff1986168952841515850289019650611d5d565b60008a81526020902060005b86811015611d555781548b820152908501908301611d3c565b505084890196505b509498975050505050505050565b600060018201611d7d57611d7d611c25565b5060010190565b6001600160601b03828116828216039080821115611c5857611c58611c25565b6001600160601b03818116838216019080821115611c5857611c58611c25565b63ffffffff818116838216019080821115611c5857611c58611c2556fe556e693a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e6365556e693a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e6365556e693a3a7065726d69743a20616d6f756e7420657863656564732039362062697473556e693a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f7773556e693a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473556e693a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773556e693a3a7472616e736665723a20616d6f756e7420657863656564732039362062697473556e693a3a617070726f76653a20616d6f756e7420657863656564732039362062697473556e693a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f7773a2646970667358221220885683df3abd7ef96a359b0151ca812f334ef10b4452954331de8c6519d5aaf064736f6c63430008170033566f74696e67506f7765723a3a5f6d696e74566f7465733a206d696e7420616d6f756e74206f766572666c6f7773566f74696e67506f7765723a3a5f6d696e74566f7465733a20746f74616c20737570706c79206f766572666c6f7773556e693a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f7773556e693a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473556e693a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f77730000000000000000000000002c2bc76b97bce84a5a9c6e2835ab13306b964cf1

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101585760003560e01c806370a08231116100c3578063c07473f61161007c578063c07473f6146103a5578063c3cda520146103b3578063d505accf146103c6578063dd62ed3e146103d9578063e7a324dc1461041b578063f1127ed81461044257600080fd5b806370a0823114610312578063782d6fe1146103445780637ecebe001461035757806395d89b4114610377578063a9059cbb1461037f578063b4b5ea571461039257600080fd5b8063313ce56711610115578063313ce5671461021557806332cb6b0c14610246578063587cde1e146102705780635c19a95c146102b1578063671b3793146102c65780636fcfff45146102d757600080fd5b806306fdde031461015d578063095ea7b31461017b57806318160ddd1461019e57806320606b70146101b457806323b872dd146101db57806330adf81f146101ee575b600080fd5b6101656104a9565b60405161017291906119f3565b60405180910390f35b61018e610189366004611a5e565b6104b8565b6040519015158152602001610172565b6101a6610578565b604051908152602001610172565b6101a67f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b61018e6101e9366004611a88565b61059a565b6101a67f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60405160ff7f0000000000000000000000000000000000000000000000000000000000000012168152602001610172565b6102586acecb8f27f4200f3a00000081565b6040516001600160601b039091168152602001610172565b61029961027e366004611ac4565b6003602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610172565b6102c46102bf366004611ac4565b610771565b005b6001546001600160601b0316610258565b6102fd6102e5366004611ac4565b60056020526000908152604090205463ffffffff1681565b60405163ffffffff9091168152602001610172565b6101a6610320366004611ac4565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b610258610352366004611a5e565b61077e565b6101a6610365366004611ac4565b60066020526000908152604090205481565b610165610a07565b61018e61038d366004611a5e565b610a99565b6102586103a0366004611ac4565b610b5f565b610258610320366004611ac4565b6102c46103c1366004611af0565b610bdd565b6102c46103d4366004611b48565b610eb0565b6101a66103e7366004611bb2565b6001600160a01b0391821660009081526008602090815260408083209390941682529190915220546001600160601b031690565b6101a67fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b610485610450366004611be5565b600460209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b6040805163ffffffff90931683526001600160601b03909116602083015201610172565b60606104b3611280565b905090565b60008060001983036104d257506001600160601b036104f7565b6104f483604051806060016040528060248152602001611f1b6024913961128f565b90505b3360008181526008602090815260408083206001600160a01b0389168085529083529281902080546001600160601b0319166001600160601b03871690811790915590519081529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a360019150505b92915050565b600061058c6001546001600160601b031690565b6001600160601b0316905090565b6000306001600160a01b0384160361062e5760405162461bcd60e51b815260206004820152604660248201527f5472616e736665727261626c65566f74696e67546f6b656e3a3a7472616e736660448201527f657246726f6d3a2063616e6e6f742073656e6420746f6b656e7320746f20636f6064820152651b9d1c9858dd60d21b608482015260a4015b60405180910390fd5b6001600160a01b03841660009081526008602090815260408083203380855290835281842054825160608101909352602480845291946001600160601b03909116939092610684928892611f1b9083013961128f565b9050866001600160a01b0316836001600160a01b0316141580156106b157506001600160601b0382811614155b156107595760006106db83836040518060600160405280603c8152602001611de2603c91396112be565b6001600160a01b038981166000818152600860209081526040808320948a168084529482529182902080546001600160601b0319166001600160601b0387169081179091559151918252939450919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505b610764878783611308565b5060019695505050505050565b61077b3382611559565b50565b60004382106107de5760405162461bcd60e51b815260206004820152602660248201527f556e693a3a6765745072696f72566f7465733a206e6f742079657420646574656044820152651c9b5a5b995960d21b6064820152608401610625565b6001600160a01b03831660009081526005602052604081205463ffffffff169081900361080f576000915050610572565b6001600160a01b03841660009081526004602052604081208491610834600185611c3b565b63ffffffff908116825260208201929092526040016000205416116108a7576001600160a01b038416600090815260046020526040812090610877600184611c3b565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b031691506105729050565b6001600160a01b038416600090815260046020908152604080832083805290915290205463ffffffff168310156108e2576000915050610572565b6000806108f0600184611c3b565b90505b8163ffffffff168163ffffffff1611156109c257600060026109158484611c3b565b61091f9190611c5f565b6109299083611c3b565b6001600160a01b038816600090815260046020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b031691810191909152919250879003610996576020015194506105729350505050565b805163ffffffff168711156109ad578193506109bb565b6109b8600183611c3b565b92505b50506108f3565b506001600160a01b038516600090815260046020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b606060078054610a1690611c90565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4290611c90565b8015610a8f5780601f10610a6457610100808354040283529160200191610a8f565b820191906000526020600020905b815481529060010190602001808311610a7257829003601f168201915b5050505050905090565b6000306001600160a01b03841603610b245760405162461bcd60e51b815260206004820152604260248201527f5472616e736665727261626c65566f74696e67546f6b656e3a3a7472616e736660448201527f65723a2063616e6e6f742073656e6420746f6b656e7320746f20636f6e74726160648201526118dd60f21b608482015260a401610625565b6000610b4883604051806060016040528060258152602001611ef66025913961128f565b9050610b55338583611308565b5060019392505050565b6001600160a01b03811660009081526005602052604081205463ffffffff1680610b8a576000610bd6565b6001600160a01b038316600090815260046020526040812090610bae600184611c3b565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b9392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8666000604051610c0f9190611cca565b6040518091039020610c1e4690565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a90528251808503909101815261014084019092528151919093012061190160f01b610160830152610162820183905261018282018190529192506000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015610d4a573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610dbb5760405162461bcd60e51b815260206004820152602560248201527f556e693a3a64656c656761746542795369673a20696e76616c6964207369676e604482015264617475726560d81b6064820152608401610625565b6001600160a01b0381166000908152600660205260408120805491610ddf83611d6b565b919050558914610e3b5760405162461bcd60e51b815260206004820152602160248201527f556e693a3a64656c656761746542795369673a20696e76616c6964206e6f6e636044820152606560f81b6064820152608401610625565b87421115610e995760405162461bcd60e51b815260206004820152602560248201527f556e693a3a64656c656761746542795369673a207369676e61747572652065786044820152641c1a5c995960da1b6064820152608401610625565b610ea3818b611559565b505050505b505050505050565b60006000198603610ec957506001600160601b03610eee565b610eeb86604051806060016040528060238152602001611e536023913961128f565b90505b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866610f196104a9565b80519060200120610f274690565b604080516020810194909452830191909152606082015230608082015260a00160408051601f1981840301815291815281516020928301206001600160a01b038c166000908152600690935290822080549193507f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9918c918c918c9186610fad83611d6b565b909155506040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810188905260e0016040516020818303038152906040528051906020012090506000828260405160200161102c92919061190160f01b81526002810192909252602282015260420190565b60408051601f198184030181528282528051602091820120600080855291840180845281905260ff8b169284019290925260608301899052608083018890529092509060019060a0016020604051602081039080840390855afa158015611097573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166110fa5760405162461bcd60e51b815260206004820152601e60248201527f556e693a3a7065726d69743a20696e76616c6964207369676e617475726500006044820152606401610625565b8b6001600160a01b0316816001600160a01b03161461115b5760405162461bcd60e51b815260206004820152601960248201527f556e693a3a7065726d69743a20756e617574686f72697a6564000000000000006044820152606401610625565b884211156111ab5760405162461bcd60e51b815260206004820152601e60248201527f556e693a3a7065726d69743a207369676e6174757265206578706972656400006044820152606401610625565b84600860008e6001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160601b0302191690836001600160601b031602179055508a6001600160a01b03168c6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258760405161126a91906001600160601b0391909116815260200190565b60405180910390a3505050505050505050505050565b606060008054610a1690611c90565b600081600160601b84106112b65760405162461bcd60e51b815260040161062591906119f3565b509192915050565b6000836001600160601b0316836001600160601b0316111582906112f55760405162461bcd60e51b815260040161062591906119f3565b506113008385611d84565b949350505050565b6001600160a01b0383166113845760405162461bcd60e51b815260206004820152603b60248201527f556e693a3a5f7472616e73666572546f6b656e733a2063616e6e6f742074726160448201527f6e736665722066726f6d20746865207a65726f206164647265737300000000006064820152608401610625565b6001600160a01b0382166114005760405162461bcd60e51b815260206004820152603960248201527f556e693a3a5f7472616e73666572546f6b656e733a2063616e6e6f742074726160448201527f6e7366657220746f20746865207a65726f2061646472657373000000000000006064820152608401610625565b6001600160a01b03831660009081526002602090815260409182902054825160608101909352603580845261144b936001600160601b039092169285929190611e1e908301396112be565b6001600160a01b03848116600090815260026020908152604080832080546001600160601b0319166001600160601b0396871617905592861682529082902054825160608101909352602f8084526114b39491909116928592909190611f3f908301396115e3565b6001600160a01b0383811660008181526002602090815260409182902080546001600160601b0319166001600160601b03968716179055905193851684529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36001600160a01b0380841660009081526003602052604080822054858416835291205461155492918216911683611630565b505050565b6001600160a01b03808316600081815260036020818152604080842080546002845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46115dd828483611630565b50505050565b6000806115f08486611da4565b9050846001600160601b0316816001600160601b0316101583906116275760405162461bcd60e51b815260040161062591906119f3565b50949350505050565b816001600160a01b0316836001600160a01b03161415801561165b57506000816001600160601b0316115b15611554576001600160a01b03831615611720576001600160a01b03831660009081526005602052604081205463ffffffff16908161169b5760006116e7565b6001600160a01b0385166000908152600460205260408120906116bf600185611c3b565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b9050600061170e8285604051806060016040528060278152602001611ecf602791396112be565b905061171c868484846117d8565b5050505b6001600160a01b03821615611554576001600160a01b03821660009081526005602052604081205463ffffffff16908161175b5760006117a7565b6001600160a01b03841660009081526004602052604081209061177f600185611c3b565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b905060006117ce8285604051806060016040528060268152602001611e76602691396115e3565b9050610ea8858484845b60006117fc43604051806060016040528060338152602001611e9c603391396119d0565b905060008463ffffffff1611801561185657506001600160a01b038516600090815260046020526040812063ffffffff83169161183a600188611c3b565b63ffffffff908116825260208201929092526040016000205416145b156118ca576001600160a01b03851660009081526004602052604081208391611880600188611c3b565b63ffffffff168152602081019190915260400160002080546001600160601b0392909216600160201b026fffffffffffffffffffffffff000000001990921691909117905561197b565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000908152600482528681208b8616825290915294909420925183549451909116600160201b026fffffffffffffffffffffffffffffffff1990941691161791909117905561194a846001611dc4565b6001600160a01b0386166000908152600560205260409020805463ffffffff191663ffffffff929092169190911790555b604080516001600160601b038086168252841660208201526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b600081600160201b84106112b65760405162461bcd60e51b815260040161062591905b60006020808352835180602085015260005b81811015611a2157858101830151858201604001528201611a05565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114611a5957600080fd5b919050565b60008060408385031215611a7157600080fd5b611a7a83611a42565b946020939093013593505050565b600080600060608486031215611a9d57600080fd5b611aa684611a42565b9250611ab460208501611a42565b9150604084013590509250925092565b600060208284031215611ad657600080fd5b610bd682611a42565b803560ff81168114611a5957600080fd5b60008060008060008060c08789031215611b0957600080fd5b611b1287611a42565b95506020870135945060408701359350611b2e60608801611adf565b92506080870135915060a087013590509295509295509295565b600080600080600080600060e0888a031215611b6357600080fd5b611b6c88611a42565b9650611b7a60208901611a42565b95506040880135945060608801359350611b9660808901611adf565b925060a0880135915060c0880135905092959891949750929550565b60008060408385031215611bc557600080fd5b611bce83611a42565b9150611bdc60208401611a42565b90509250929050565b60008060408385031215611bf857600080fd5b611c0183611a42565b9150602083013563ffffffff81168114611c1a57600080fd5b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b63ffffffff828116828216039080821115611c5857611c58611c25565b5092915050565b600063ffffffff80841680611c8457634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b600181811c90821680611ca457607f821691505b602082108103611cc457634e487b7160e01b600052602260045260246000fd5b50919050565b60008083548160018260011c91506001831680611ce857607f831692505b60208084108203611d0757634e487b7160e01b86526022600452602486fd5b818015611d1b5760018114611d3057611d5d565b60ff1986168952841515850289019650611d5d565b60008a81526020902060005b86811015611d555781548b820152908501908301611d3c565b505084890196505b509498975050505050505050565b600060018201611d7d57611d7d611c25565b5060010190565b6001600160601b03828116828216039080821115611c5857611c58611c25565b6001600160601b03818116838216019080821115611c5857611c58611c25565b63ffffffff818116838216019080821115611c5857611c58611c2556fe556e693a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e6365556e693a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e6365556e693a3a7065726d69743a20616d6f756e7420657863656564732039362062697473556e693a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f7773556e693a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473556e693a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773556e693a3a7472616e736665723a20616d6f756e7420657863656564732039362062697473556e693a3a617070726f76653a20616d6f756e7420657863656564732039362062697473556e693a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f7773a2646970667358221220885683df3abd7ef96a359b0151ca812f334ef10b4452954331de8c6519d5aaf064736f6c63430008170033

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

0000000000000000000000002c2bc76b97bce84a5a9c6e2835ab13306b964cf1

-----Decoded View---------------
Arg [0] : _initialOwner (address): 0x2c2bc76B97BCe84A5a9c6e2835AB13306B964cf1

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000002c2bc76b97bce84a5a9c6e2835ab13306b964cf1


Block Transaction Gas Used Reward
view all blocks validated

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

OVERVIEW

Ubeswap is a decentralized exchange and automated market maker protocol for Celo assets.

Loading...
Loading

Validator Index Block Amount
View All Withdrawals

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

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