CELO Price: $0.329921 (+5.88%)
Gas: 52.5 GWei

Contract

0xFC39D3f2cBE4D5efc21CE48047bB2511ACa5cAF3

Overview

CELO Balance

Celo Chain LogoCelo Chain LogoCelo Chain Logo0 CELO

CELO Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Delegate241886132024-02-22 14:49:02425 days ago1708613342IN
0xFC39D3f2...1ACa5cAF3
0 CELO0.0009573910
Transfer208825342023-08-15 6:32:16617 days ago1692081136IN
0xFC39D3f2...1ACa5cAF3
0 CELO0.000547625
Transfer Ownersh...133001312022-06-01 10:36:541056 days ago1654079814IN
0xFC39D3f2...1ACa5cAF3
0 CELO0.000014330.5

View more zero value Internal Transactions in Advanced View mode

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SPACTToken

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Apache-2.0 license
File 1 of 9 : SPACTToken.sol
//SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.4;

import "@ubeswap/governance/contracts/voting/VotingToken.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./interfaces/IMintableToken.sol";

contract SPACTToken is IMintableToken, VotingToken, Ownable {
    /**
     * @notice Construct a Staking PACT Token
     */
    constructor() VotingToken("StakingPactToken", "SPACT", 18) {}

    /**
     * @notice Mint new voting power
     * @param _account     The address of the destination account
     * @param _amount      The amount of voting power to be minted
     */
    function mint(address _account, uint96 _amount) external override onlyOwner {
        _mintVotes(_account, _amount);
    }

    /**
     * @notice Burn voting power
     * @param _account     The address of the source account
     * @param _amount      The amount of voting power to be burned
     */
    function burn(address _account, uint96 _amount) external override onlyOwner {
        _burnVotes(_account, _amount);
    }
}

File 2 of 9 : 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 3 of 9 : 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 4 of 9 : 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 5 of 9 : 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 6 of 9 : 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 7 of 9 : 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 8 of 9 : 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);
    }
}

File 9 of 9 : IMintableToken.sol
//SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.4;

interface IMintableToken {
    function mint(address _account, uint96 _amount) external;
    function burn(address _account, uint96 _amount) external;
}

Settings
{
  "evmVersion": "istanbul",
  "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":[],"stateMutability":"nonpayable","type":"constructor"},{"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":"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":[{"internalType":"address","name":"_account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint96","name":"_amount","type":"uint96"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint96","name":"_amount","type":"uint96"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalVotingPower","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"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

60a06040523480156200001157600080fd5b50604080518082018252601081526f29ba30b5b4b733a830b1ba2a37b5b2b760811b60208083019182528351808501909452600584526414d41050d560da1b90840152815191929160129184916200006c9160009162000119565b505081516200008390600790602085019062000119565b5060f81b7fff000000000000000000000000000000000000000000000000000000000000001660805250620000c19050620000bb3390565b620000c7565b620001fc565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200012790620001bf565b90600052602060002090601f0160209004810192826200014b576000855562000196565b82601f106200016657805160ff191683800117855562000196565b8280016001018555821562000196579182015b828111156200019657825182559160200191906001019062000179565b50620001a4929150620001a8565b5090565b5b80821115620001a45760008155600101620001a9565b600181811c90821680620001d457607f821691505b60208210811415620001f657634e487b7160e01b600052602260045260246000fd5b50919050565b60805160f81c6119986200021b60003960006101be01526119986000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c8063782d6fe1116100b8578063b4b5ea571161007c578063b4b5ea5714610335578063c07473f614610348578063c3cda52014610356578063e7a324dc14610369578063f1127ed814610390578063f2fde38b146103f757600080fd5b8063782d6fe1146102d65780637ecebe00146102e95780638da5cb5b146103095780638df2c8e61461031a57806395d89b411461032d57600080fd5b8063587cde1e1161010a578063587cde1e146101e85780635c19a95c14610229578063671b37931461023c5780636fcfff451461026157806370a082311461029c578063715018a6146102ce57600080fd5b806306fdde031461014757806318160ddd146101655780631b025a401461017b57806320606b7014610190578063313ce567146101b7575b600080fd5b61014f61040a565b60405161015c9190611674565b60405180910390f35b61016d610419565b60405190815260200161015c565b61018e6101893660046115a3565b61043b565b005b61016d7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b60405160ff7f000000000000000000000000000000000000000000000000000000000000000016815260200161015c565b6102116101f63660046114c4565b6003602052600090815260409020546001600160a01b031681565b6040516001600160a01b03909116815260200161015c565b61018e6102373660046114c4565b61047c565b6001546001600160601b03165b6040516001600160601b03909116815260200161015c565b61028761026f3660046114c4565b60056020526000908152604090205463ffffffff1681565b60405163ffffffff909116815260200161015c565b61016d6102aa3660046114c4565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b61018e610489565b6102496102e43660046114de565b6104bf565b61016d6102f73660046114c4565b60066020526000908152604090205481565b6008546001600160a01b0316610211565b61018e6103283660046115a3565b610746565b61014f61077a565b6102496103433660046114c4565b61080c565b6102496102aa3660046114c4565b61018e610364366004611507565b61088a565b61016d7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b6103d361039e366004611565565b600460209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b6040805163ffffffff90931683526001600160601b0390911660208301520161015c565b61018e6104053660046114c4565b610b5d565b6060610414610bf5565b905090565b600061042d6001546001600160601b031690565b6001600160601b0316905090565b6008546001600160a01b0316331461046e5760405162461bcd60e51b8152600401610465906116c7565b60405180910390fd5b6104788282610c04565b5050565b6104863382610db0565b50565b6008546001600160a01b031633146104b35760405162461bcd60e51b8152600401610465906116c7565b6104bd6000610e3a565b565b600043821061051f5760405162461bcd60e51b815260206004820152602660248201527f556e693a3a6765745072696f72566f7465733a206e6f742079657420646574656044820152651c9b5a5b995960d21b6064820152608401610465565b6001600160a01b03831660009081526005602052604090205463ffffffff168061054d576000915050610740565b6001600160a01b03841660009081526004602052604081208491610572600185611775565b63ffffffff908116825260208201929092526040016000205416116105e5576001600160a01b0384166000908152600460205260408120906105b5600184611775565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b031691506107409050565b6001600160a01b038416600090815260046020908152604080832083805290915290205463ffffffff16831015610620576000915050610740565b60008061062e600184611775565b90505b8163ffffffff168163ffffffff16111561070057600060026106538484611775565b61065d9190611746565b6106679083611775565b6001600160a01b038816600090815260046020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b0316918101919091529192508714156106d4576020015194506107409350505050565b805163ffffffff168711156106eb578193506106f9565b6106f6600183611775565b92505b5050610631565b506001600160a01b038516600090815260046020908152604080832063ffffffff909416835292905220546001600160601b03600160201b909104169150505b92915050565b6008546001600160a01b031633146107705760405162461bcd60e51b8152600401610465906116c7565b6104788282610e8c565b606060078054610789906117ba565b80601f01602080910402602001604051908101604052809291908181526020018280546107b5906117ba565b80156108025780601f106107d757610100808354040283529160200191610802565b820191906000526020600020905b8154815290600101906020018083116107e557829003601f168201915b5050505050905090565b6001600160a01b03811660009081526005602052604081205463ffffffff1680610837576000610883565b6001600160a01b03831660009081526004602052604081209061085b600184611775565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b9392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86660006040516108bc91906115d9565b60405180910390206108cb4690565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a90528251808503909101815261014084019092528151919093012061190160f01b610160830152610162820183905261018282018190529192506000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa1580156109f7573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610a685760405162461bcd60e51b815260206004820152602560248201527f556e693a3a64656c656761746542795369673a20696e76616c6964207369676e604482015264617475726560d81b6064820152608401610465565b6001600160a01b0381166000908152600660205260408120805491610a8c836117f5565b919050558914610ae85760405162461bcd60e51b815260206004820152602160248201527f556e693a3a64656c656761746542795369673a20696e76616c6964206e6f6e636044820152606560f81b6064820152608401610465565b87421115610b465760405162461bcd60e51b815260206004820152602560248201527f556e693a3a64656c656761746542795369673a207369676e61747572652065786044820152641c1a5c995960da1b6064820152608401610465565b610b50818b610db0565b505050505b505050505050565b6008546001600160a01b03163314610b875760405162461bcd60e51b8152600401610465906116c7565b6001600160a01b038116610bec5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610465565b61048681610e3a565b606060008054610789906117ba565b6001600160a01b038216610c805760405162461bcd60e51b815260206004820152603860248201527f566f74696e67506f7765723a3a5f6d696e74566f7465733a2063616e6e6f742060448201527f6d696e7420746f20746865207a65726f206164647265737300000000000000006064820152608401610465565b6001600160a01b03821660009081526002602090815260409182902054825160608101909352602e808452610ccb936001600160601b03909216928592919061185690830139611039565b6001600160a01b03831660009081526002602090815260409182902080546001600160601b0319166001600160601b03948516179055600154825160608101909352602f808452610d2c949190911692859290919061188490830139611039565b600180546001600160601b0319166001600160601b0392831617905560405190821681526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36001600160a01b03808316600090815260036020526040812054610478921683611086565b6001600160a01b03808316600081815260036020818152604080842080546002845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610e34828483611086565b50505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216610f085760405162461bcd60e51b815260206004820152603a60248201527f566f74696e67506f7765723a3a5f6275726e566f7465733a2063616e6e6f742060448201527f6275726e2066726f6d20746865207a65726f20616464726573730000000000006064820152608401610465565b6001600160a01b03821660009081526002602090815260409182902054825160608101909352602f808452610f53936001600160601b03909216928592919061182790830139611237565b6001600160a01b03831660009081526002602090815260409182902080546001600160601b0319166001600160601b039485161790556001548251606081019093526030808452610fb494919091169285929091906118b390830139611237565b600180546001600160601b0319166001600160601b0392831617905560405190821681526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36001600160a01b0380831660009081526003602052604081205461047892169083611086565b6000806110468486611724565b9050846001600160601b0316816001600160601b03161015839061107d5760405162461bcd60e51b81526004016104659190611674565b50949350505050565b816001600160a01b0316836001600160a01b0316141580156110b157506000816001600160601b0316115b15611232576001600160a01b03831615611176576001600160a01b03831660009081526005602052604081205463ffffffff1690816110f157600061113d565b6001600160a01b038516600090815260046020526040812090611115600185611775565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b90506000611164828560405180606001604052806027815260200161193c60279139611237565b905061117286848484611281565b5050505b6001600160a01b03821615611232576001600160a01b03821660009081526005602052604081205463ffffffff1690816111b15760006111fd565b6001600160a01b0384166000908152600460205260408120906111d5600185611775565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b9050600061122482856040518060600160405280602681526020016118e360269139611039565b9050610b5585848484611281565b505050565b6000836001600160601b0316836001600160601b03161115829061126e5760405162461bcd60e51b81526004016104659190611674565b50611279838561179a565b949350505050565b60006112a54360405180606001604052806033815260200161190960339139611479565b905060008463ffffffff161180156112ff57506001600160a01b038516600090815260046020526040812063ffffffff8316916112e3600188611775565b63ffffffff908116825260208201929092526040016000205416145b15611373576001600160a01b03851660009081526004602052604081208391611329600188611775565b63ffffffff168152602081019190915260400160002080546001600160601b0392909216600160201b026fffffffffffffffffffffffff0000000019909216919091179055611424565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000908152600482528681208b8616825290915294909420925183549451909116600160201b026fffffffffffffffffffffffffffffffff199094169116179190911790556113f38460016116fc565b6001600160a01b0386166000908152600560205260409020805463ffffffff191663ffffffff929092169190911790555b604080516001600160601b038086168252841660208201526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b600081600160201b84106114a05760405162461bcd60e51b81526004016104659190611674565b509192915050565b80356001600160a01b03811681146114bf57600080fd5b919050565b6000602082840312156114d5578081fd5b610883826114a8565b600080604083850312156114f0578081fd5b6114f9836114a8565b946020939093013593505050565b60008060008060008060c0878903121561151f578182fd5b611528876114a8565b95506020870135945060408701359350606087013560ff8116811461154b578283fd5b9598949750929560808101359460a0909101359350915050565b60008060408385031215611577578182fd5b611580836114a8565b9150602083013563ffffffff81168114611598578182fd5b809150509250929050565b600080604083850312156115b5578182fd5b6115be836114a8565b915060208301356001600160601b0381168114611598578182fd5b600080835482600182811c9150808316806115f557607f831692505b602080841082141561161557634e487b7160e01b87526022600452602487fd5b818015611629576001811461163a57611666565b60ff19861689528489019650611666565b60008a815260209020885b8681101561165e5781548b820152908501908301611645565b505084890196505b509498975050505050505050565b6000602080835283518082850152825b818110156116a057858101830151858201604001528201611684565b818111156116b15783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600063ffffffff80831681851680830382111561171b5761171b611810565b01949350505050565b60006001600160601b0380831681851680830382111561171b5761171b611810565b600063ffffffff8084168061176957634e487b7160e01b83526012600452602483fd5b92169190910492915050565b600063ffffffff8381169083168181101561179257611792611810565b039392505050565b60006001600160601b038381169083168181101561179257611792611810565b600181811c908216806117ce57607f821691505b602082108114156117ef57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561180957611809611810565b5060010190565b634e487b7160e01b600052601160045260246000fdfe566f74696e67506f7765723a3a5f6275726e566f7465733a206275726e20616d6f756e7420756e646572666c6f7773566f74696e67506f7765723a3a5f6d696e74566f7465733a206d696e7420616d6f756e74206f766572666c6f7773566f74696e67506f7765723a3a5f6d696e74566f7465733a20746f74616c20737570706c79206f766572666c6f7773566f74696e67506f7765723a3a5f6275726e566f7465733a20746f74616c20737570706c7920756e646572666c6f7773556e693a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f7773556e693a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473556e693a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773a2646970667358221220d093abf49f44dc9e9731a6ef1f178310e45f58feb937d942d07e2196c40a975c64736f6c63430008040033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101425760003560e01c8063782d6fe1116100b8578063b4b5ea571161007c578063b4b5ea5714610335578063c07473f614610348578063c3cda52014610356578063e7a324dc14610369578063f1127ed814610390578063f2fde38b146103f757600080fd5b8063782d6fe1146102d65780637ecebe00146102e95780638da5cb5b146103095780638df2c8e61461031a57806395d89b411461032d57600080fd5b8063587cde1e1161010a578063587cde1e146101e85780635c19a95c14610229578063671b37931461023c5780636fcfff451461026157806370a082311461029c578063715018a6146102ce57600080fd5b806306fdde031461014757806318160ddd146101655780631b025a401461017b57806320606b7014610190578063313ce567146101b7575b600080fd5b61014f61040a565b60405161015c9190611674565b60405180910390f35b61016d610419565b60405190815260200161015c565b61018e6101893660046115a3565b61043b565b005b61016d7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b60405160ff7f000000000000000000000000000000000000000000000000000000000000001216815260200161015c565b6102116101f63660046114c4565b6003602052600090815260409020546001600160a01b031681565b6040516001600160a01b03909116815260200161015c565b61018e6102373660046114c4565b61047c565b6001546001600160601b03165b6040516001600160601b03909116815260200161015c565b61028761026f3660046114c4565b60056020526000908152604090205463ffffffff1681565b60405163ffffffff909116815260200161015c565b61016d6102aa3660046114c4565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b61018e610489565b6102496102e43660046114de565b6104bf565b61016d6102f73660046114c4565b60066020526000908152604090205481565b6008546001600160a01b0316610211565b61018e6103283660046115a3565b610746565b61014f61077a565b6102496103433660046114c4565b61080c565b6102496102aa3660046114c4565b61018e610364366004611507565b61088a565b61016d7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b6103d361039e366004611565565b600460209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b6040805163ffffffff90931683526001600160601b0390911660208301520161015c565b61018e6104053660046114c4565b610b5d565b6060610414610bf5565b905090565b600061042d6001546001600160601b031690565b6001600160601b0316905090565b6008546001600160a01b0316331461046e5760405162461bcd60e51b8152600401610465906116c7565b60405180910390fd5b6104788282610c04565b5050565b6104863382610db0565b50565b6008546001600160a01b031633146104b35760405162461bcd60e51b8152600401610465906116c7565b6104bd6000610e3a565b565b600043821061051f5760405162461bcd60e51b815260206004820152602660248201527f556e693a3a6765745072696f72566f7465733a206e6f742079657420646574656044820152651c9b5a5b995960d21b6064820152608401610465565b6001600160a01b03831660009081526005602052604090205463ffffffff168061054d576000915050610740565b6001600160a01b03841660009081526004602052604081208491610572600185611775565b63ffffffff908116825260208201929092526040016000205416116105e5576001600160a01b0384166000908152600460205260408120906105b5600184611775565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b031691506107409050565b6001600160a01b038416600090815260046020908152604080832083805290915290205463ffffffff16831015610620576000915050610740565b60008061062e600184611775565b90505b8163ffffffff168163ffffffff16111561070057600060026106538484611775565b61065d9190611746565b6106679083611775565b6001600160a01b038816600090815260046020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b0316918101919091529192508714156106d4576020015194506107409350505050565b805163ffffffff168711156106eb578193506106f9565b6106f6600183611775565b92505b5050610631565b506001600160a01b038516600090815260046020908152604080832063ffffffff909416835292905220546001600160601b03600160201b909104169150505b92915050565b6008546001600160a01b031633146107705760405162461bcd60e51b8152600401610465906116c7565b6104788282610e8c565b606060078054610789906117ba565b80601f01602080910402602001604051908101604052809291908181526020018280546107b5906117ba565b80156108025780601f106107d757610100808354040283529160200191610802565b820191906000526020600020905b8154815290600101906020018083116107e557829003601f168201915b5050505050905090565b6001600160a01b03811660009081526005602052604081205463ffffffff1680610837576000610883565b6001600160a01b03831660009081526004602052604081209061085b600184611775565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b9392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86660006040516108bc91906115d9565b60405180910390206108cb4690565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a90528251808503909101815261014084019092528151919093012061190160f01b610160830152610162820183905261018282018190529192506000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa1580156109f7573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610a685760405162461bcd60e51b815260206004820152602560248201527f556e693a3a64656c656761746542795369673a20696e76616c6964207369676e604482015264617475726560d81b6064820152608401610465565b6001600160a01b0381166000908152600660205260408120805491610a8c836117f5565b919050558914610ae85760405162461bcd60e51b815260206004820152602160248201527f556e693a3a64656c656761746542795369673a20696e76616c6964206e6f6e636044820152606560f81b6064820152608401610465565b87421115610b465760405162461bcd60e51b815260206004820152602560248201527f556e693a3a64656c656761746542795369673a207369676e61747572652065786044820152641c1a5c995960da1b6064820152608401610465565b610b50818b610db0565b505050505b505050505050565b6008546001600160a01b03163314610b875760405162461bcd60e51b8152600401610465906116c7565b6001600160a01b038116610bec5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610465565b61048681610e3a565b606060008054610789906117ba565b6001600160a01b038216610c805760405162461bcd60e51b815260206004820152603860248201527f566f74696e67506f7765723a3a5f6d696e74566f7465733a2063616e6e6f742060448201527f6d696e7420746f20746865207a65726f206164647265737300000000000000006064820152608401610465565b6001600160a01b03821660009081526002602090815260409182902054825160608101909352602e808452610ccb936001600160601b03909216928592919061185690830139611039565b6001600160a01b03831660009081526002602090815260409182902080546001600160601b0319166001600160601b03948516179055600154825160608101909352602f808452610d2c949190911692859290919061188490830139611039565b600180546001600160601b0319166001600160601b0392831617905560405190821681526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36001600160a01b03808316600090815260036020526040812054610478921683611086565b6001600160a01b03808316600081815260036020818152604080842080546002845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610e34828483611086565b50505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216610f085760405162461bcd60e51b815260206004820152603a60248201527f566f74696e67506f7765723a3a5f6275726e566f7465733a2063616e6e6f742060448201527f6275726e2066726f6d20746865207a65726f20616464726573730000000000006064820152608401610465565b6001600160a01b03821660009081526002602090815260409182902054825160608101909352602f808452610f53936001600160601b03909216928592919061182790830139611237565b6001600160a01b03831660009081526002602090815260409182902080546001600160601b0319166001600160601b039485161790556001548251606081019093526030808452610fb494919091169285929091906118b390830139611237565b600180546001600160601b0319166001600160601b0392831617905560405190821681526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36001600160a01b0380831660009081526003602052604081205461047892169083611086565b6000806110468486611724565b9050846001600160601b0316816001600160601b03161015839061107d5760405162461bcd60e51b81526004016104659190611674565b50949350505050565b816001600160a01b0316836001600160a01b0316141580156110b157506000816001600160601b0316115b15611232576001600160a01b03831615611176576001600160a01b03831660009081526005602052604081205463ffffffff1690816110f157600061113d565b6001600160a01b038516600090815260046020526040812090611115600185611775565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b90506000611164828560405180606001604052806027815260200161193c60279139611237565b905061117286848484611281565b5050505b6001600160a01b03821615611232576001600160a01b03821660009081526005602052604081205463ffffffff1690816111b15760006111fd565b6001600160a01b0384166000908152600460205260408120906111d5600185611775565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b9050600061122482856040518060600160405280602681526020016118e360269139611039565b9050610b5585848484611281565b505050565b6000836001600160601b0316836001600160601b03161115829061126e5760405162461bcd60e51b81526004016104659190611674565b50611279838561179a565b949350505050565b60006112a54360405180606001604052806033815260200161190960339139611479565b905060008463ffffffff161180156112ff57506001600160a01b038516600090815260046020526040812063ffffffff8316916112e3600188611775565b63ffffffff908116825260208201929092526040016000205416145b15611373576001600160a01b03851660009081526004602052604081208391611329600188611775565b63ffffffff168152602081019190915260400160002080546001600160601b0392909216600160201b026fffffffffffffffffffffffff0000000019909216919091179055611424565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000908152600482528681208b8616825290915294909420925183549451909116600160201b026fffffffffffffffffffffffffffffffff199094169116179190911790556113f38460016116fc565b6001600160a01b0386166000908152600560205260409020805463ffffffff191663ffffffff929092169190911790555b604080516001600160601b038086168252841660208201526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b600081600160201b84106114a05760405162461bcd60e51b81526004016104659190611674565b509192915050565b80356001600160a01b03811681146114bf57600080fd5b919050565b6000602082840312156114d5578081fd5b610883826114a8565b600080604083850312156114f0578081fd5b6114f9836114a8565b946020939093013593505050565b60008060008060008060c0878903121561151f578182fd5b611528876114a8565b95506020870135945060408701359350606087013560ff8116811461154b578283fd5b9598949750929560808101359460a0909101359350915050565b60008060408385031215611577578182fd5b611580836114a8565b9150602083013563ffffffff81168114611598578182fd5b809150509250929050565b600080604083850312156115b5578182fd5b6115be836114a8565b915060208301356001600160601b0381168114611598578182fd5b600080835482600182811c9150808316806115f557607f831692505b602080841082141561161557634e487b7160e01b87526022600452602487fd5b818015611629576001811461163a57611666565b60ff19861689528489019650611666565b60008a815260209020885b8681101561165e5781548b820152908501908301611645565b505084890196505b509498975050505050505050565b6000602080835283518082850152825b818110156116a057858101830151858201604001528201611684565b818111156116b15783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600063ffffffff80831681851680830382111561171b5761171b611810565b01949350505050565b60006001600160601b0380831681851680830382111561171b5761171b611810565b600063ffffffff8084168061176957634e487b7160e01b83526012600452602483fd5b92169190910492915050565b600063ffffffff8381169083168181101561179257611792611810565b039392505050565b60006001600160601b038381169083168181101561179257611792611810565b600181811c908216806117ce57607f821691505b602082108114156117ef57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561180957611809611810565b5060010190565b634e487b7160e01b600052601160045260246000fdfe566f74696e67506f7765723a3a5f6275726e566f7465733a206275726e20616d6f756e7420756e646572666c6f7773566f74696e67506f7765723a3a5f6d696e74566f7465733a206d696e7420616d6f756e74206f766572666c6f7773566f74696e67506f7765723a3a5f6d696e74566f7465733a20746f74616c20737570706c79206f766572666c6f7773566f74696e67506f7765723a3a5f6275726e566f7465733a20746f74616c20737570706c7920756e646572666c6f7773556e693a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f7773556e693a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473556e693a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773a2646970667358221220d093abf49f44dc9e9731a6ef1f178310e45f58feb937d942d07e2196c40a975c64736f6c63430008040033

Block Transaction Gas Used Reward
view all blocks validated

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.