Contract 0x511aB53F793683763E5a8829738301368a2411E3 1

Contract Overview

Moonwell Artemis: WELL Token V1
Balance:
0 GLMR

GLMR Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x2146f18f154bf3890b4a1a95d1efdcb959e4020646c349107de583c286fc60f8Transfer37197402023-06-06 3:16:248 mins ago0x6c51d544c1ac203148484b35e8d0e741cfb67dce IN  Moonwell Artemis: WELL Token V10 GLMR0.005327100492
0x01fdc3fe1994655bc924ee4c4e19c1e9cbae9b804c3daca79a47c8ba3f9e0fafApprove37196572023-06-06 2:59:3025 mins ago0xa3004ef42947fc7977e75d745fba8465f43c4b43 IN  Moonwell Artemis: WELL Token V10 GLMR0.006115752332
0x3c762d8245f31ddb03fe3deb1dc007da5b5a18828730057f2ff605fb056edce2Approve37196482023-06-06 2:57:4227 mins ago0xa3004ef42947fc7977e75d745fba8465f43c4b43 IN  Moonwell Artemis: WELL Token V10 GLMR0.004473268491
0xb3e745db5847fec0cfb4220e54ddd465de9eda2a8cfb24ee3e77fa2c7310416dApprove37196402023-06-06 2:56:0029 mins ago0xa3004ef42947fc7977e75d745fba8465f43c4b43 IN  Moonwell Artemis: WELL Token V10 GLMR0.004473268491
0x919b6e6c754e6cc3e1e98c6b4d02ee8a9a5a53c61d8210a4d484d1eeeb02c5b0Approve37196312023-06-06 2:54:1230 mins ago0xa3004ef42947fc7977e75d745fba8465f43c4b43 IN  Moonwell Artemis: WELL Token V10 GLMR0.007038514883
0xdc4925aabec6217788bdf84385e716574c0c3bd66dbfd878faa74275aec79e7cTransfer37196172023-06-06 2:51:1833 mins ago0xefec47c5d0adf9769ffaaee735def547a40a1e3a IN  Moonwell Artemis: WELL Token V10 GLMR0.007265401
0x23c8155f221b89c76f49520cbe23321a64e8cdc948332d2ec5f250c59f2bc0e3Approve37192322023-06-06 1:33:361 hr 51 mins ago0x9c3967dc0e688554a8f72b360203769108202e6f IN  Moonwell Artemis: WELL Token V10 GLMR0.003151621
0x6f6608f1a94e127f21320f8db92abd8e4d4eb60d05318cada01c8754b13ff404Approve37192312023-06-06 1:33:241 hr 51 mins ago0x9c3967dc0e688554a8f72b360203769108202e6f IN  Moonwell Artemis: WELL Token V10 GLMR0.003161133165
0x5435c9c77074a15aa376bf78032ea15ef79142fdc34d9dd8b4b6f4d0cbd491e9Approve37191922023-06-06 1:25:301 hr 59 mins ago0x9c3967dc0e688554a8f72b360203769108202e6f IN  Moonwell Artemis: WELL Token V10 GLMR0.0040752
0x14260af904a5eddd97cbe2e9cd9c9f28509cdde5370d2b3b02f434200da31108Approve37191882023-06-06 1:24:422 hrs ago0x9c3967dc0e688554a8f72b360203769108202e6f IN  Moonwell Artemis: WELL Token V10 GLMR0.0070602
0x77b04d5aff6982da4165716aacbeca7cc770876fef30a65fd59ac2b367959e23Transfer37191652023-06-06 1:20:062 hrs 5 mins ago0x9465633ecf5a90a3f3f47435840e46a2252f5b46 IN  Moonwell Artemis: WELL Token V10 GLMR0.0213276
0x24646b4d0dbf985806ae8e986597049e470cc114bb7262637bdb8d5987b0434fTransfer37191222023-06-06 1:11:182 hrs 13 mins ago0xb44d0ded20d3b018ff26a9512c1171d23de632ab IN  Moonwell Artemis: WELL Token V10 GLMR0.0072525575
0xa584384ea7423de83b1e93becd5655e0a5d1c84867087071c19f000efa77a41fApprove37190522023-06-06 0:57:122 hrs 27 mins ago0x9c3967dc0e688554a8f72b360203769108202e6f IN  Moonwell Artemis: WELL Token V10 GLMR0.0070602
0x5a11809632eefc669a456cbe63a527a793b08064c54030cf66344c3854245c8aApprove37190182023-06-06 0:50:122 hrs 34 mins ago0x8f02063402eefae824b3a71c06da48fc51a4e89a IN  Moonwell Artemis: WELL Token V10 GLMR0.0044733
0xee2016fa6f35ceb34d61a1bbfa4390af59d49676eda0b8cd855630c4ca154ef5Transfer37189732023-06-06 0:41:122 hrs 43 mins ago0x9465633ecf5a90a3f3f47435840e46a2252f5b46 IN  Moonwell Artemis: WELL Token V10 GLMR0.0213276
0x325baa3135c0751db85f127c3623cbb94827f7e468f0b324d03386ab09ef15cdTransfer37189302023-06-06 0:32:362 hrs 52 mins ago0xb44d0ded20d3b018ff26a9512c1171d23de632ab IN  Moonwell Artemis: WELL Token V10 GLMR0.0072525575
0xe18d2fc7020d35e4e90d9df2d0bb43ade1f5b7e05bba692d883b0ee11fefd546Transfer37186502023-06-05 23:36:203 hrs 48 mins ago0x9465633ecf5a90a3f3f47435840e46a2252f5b46 IN  Moonwell Artemis: WELL Token V10 GLMR0.0213276
0x863253a8f8f844d24a2ec3dce17759dc592742827ca27a5235290c506c6a4ca0Transfer37186072023-06-05 23:27:363 hrs 57 mins ago0xb44d0ded20d3b018ff26a9512c1171d23de632ab IN  Moonwell Artemis: WELL Token V10 GLMR0.0072525575
0xda7a165c526c347dd3229862e6da6712d270d83394c16b1b35ee5792aeba5d61Transfer37185502023-06-05 23:16:124 hrs 8 mins ago0x9465633ecf5a90a3f3f47435840e46a2252f5b46 IN  Moonwell Artemis: WELL Token V10 GLMR0.0213276
0x72b703e2a78e1cc213b935d45fd14f7fc394641424ee6613c7dd6e7a19a296a9Transfer37185072023-06-05 23:07:364 hrs 17 mins ago0xb44d0ded20d3b018ff26a9512c1171d23de632ab IN  Moonwell Artemis: WELL Token V10 GLMR0.007252793595
0x7f08435f5373eda2aafd82c3e57b3bd6474f2ed67c3b6b0705540de8414c0b8fApprove37184592023-06-05 22:58:004 hrs 27 mins ago0xee08f92682d1f6cfa1b79494d8a34e3c037a384a IN  Moonwell Artemis: WELL Token V10 GLMR0.0070383
0xb1a3b0a1fe76a4a692d5d738cd7bd46ae3f264d3024bfac7f46d2e183eea3755Approve37181312023-06-05 21:52:005 hrs 33 mins ago0x1aaf7ebf56b203cb69dfb010c34ed2a5be0278f2 IN  Moonwell Artemis: WELL Token V10 GLMR0.0070602
0x8bcf54910f72103660ebd9a6342fff6af789c49b0f7bc23ef5786f501593a56dTransfer37178912023-06-05 21:03:306 hrs 21 mins ago0x9465633ecf5a90a3f3f47435840e46a2252f5b46 IN  Moonwell Artemis: WELL Token V10 GLMR0.0213276
0x51259a7a7fb1b62399a9b994cced693d1dcb1604d9f2001b1b767d50b95100a6Approve37178772023-06-05 21:00:426 hrs 24 mins ago0x85fc0dcb0fffc542a8a1b6664d71ac9a4068acae IN  Moonwell Artemis: WELL Token V10 GLMR0.0070383
0xb001d3661ee576c6c0583d0dd623b4d5aa0e1438cbb8782d345001e5501ce10bTransfer37178522023-06-05 20:55:426 hrs 29 mins ago0xb44d0ded20d3b018ff26a9512c1171d23de632ab IN  Moonwell Artemis: WELL Token V10 GLMR0.007266143623
[ Download CSV Export 

OVERVIEW

Moonwell Artemis is an open lending and borrowing DeFi protocol on Moonbeam.

Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Well

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : Well.sol
pragma solidity ^0.5.16;
pragma experimental ABIEncoderV2;

contract Well {
    /// @notice EIP-20 token name for this token
    string public constant name = "WELL";

    /// @notice EIP-20 token symbol for this token
    string public constant symbol = "WELL";

    /// @notice EIP-20 token decimals for this token
    uint8 public constant decimals = 18;

    /// @notice Total number of tokens in circulation
    uint public constant totalSupply = 5_000_000_000e18;

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

    /// @notice Official record of token balances for each account
    mapping (address => uint96) internal balances;

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

    /// @notice A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        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)");

    /// @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)");

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

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

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

    /// @notice The standard EIP-20 transfer event
    event Transfer(address indexed from, address indexed to, uint256 amount);

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

    /**
     * @notice Construct a new WELL token
     * @param account The initial account to grant all the tokens
     */
    constructor(address account) public {
        balances[account] = uint96(totalSupply);
        emit Transfer(address(0), account, totalSupply);
    }

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

    /**
     * @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;
        if (rawAmount == uint(-1)) {
            amount = uint96(-1);
        } else {
            amount = safe96(rawAmount, "Well::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;
        if (rawAmount == uint(-1)) {
            amount = uint96(-1);
        } else {
            amount = safe96(rawAmount, "Well::permit: amount exceeds 96 bits");
        }

        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), "Well::permit: invalid signature");
        require(signatory == owner, "Well::permit: unauthorized");
        require(now <= deadline, "Well::permit: signature expired");

        allowances[owner][spender] = amount;

        emit Approval(owner, spender, amount);
    }

    /**
     * @notice Get the number of tokens held by the `account`
     * @param account The address of the account to get the balance of
     * @return The number of tokens held
     */
    function balanceOf(address account) external view returns (uint) {
        return balances[account];
    }

    /**
     * @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) {
        uint96 amount = safe96(rawAmount, "Well::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) {
        address spender = msg.sender;
        uint96 spenderAllowance = allowances[src][spender];
        uint96 amount = safe96(rawAmount, "Well::approve: amount exceeds 96 bits");

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

            emit Approval(src, spender, newAllowance);
        }

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

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

    /**
     * @notice Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s) public {
        bytes32 domainSeparator = keccak256(abi.encode(DOMAIN_TYPEHASH, keccak256(bytes(name)), getChainId(), address(this)));
        bytes32 structHash = keccak256(abi.encode(DELEGATION_TYPEHASH, delegatee, nonce, expiry));
        bytes32 digest = keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "Well::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "Well::delegateBySig: invalid nonce");
        require(now <= expiry, "Well::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }

    /**
     * @notice Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account) external view returns (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 returns (uint96) {
        require(blockNumber < block.number, "Well::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), "Well::_transferTokens: cannot transfer from the zero address");
        require(dst != address(0), "Well::_transferTokens: cannot transfer to the zero address");

        balances[src] = sub96(balances[src], amount, "Well::_transferTokens: transfer amount exceeds balance");
        balances[dst] = add96(balances[dst], amount, "Well::_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, "Well::_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, "Well::_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, "Well::_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 pure returns (uint) {
        uint256 chainId;
        assembly { chainId := chainid() }
        return chainId;
    }
}

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

Contract ABI

[{"inputs":[{"internalType":"address","name":"account","type":"address"}],"payable":false,"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"},{"constant":true,"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"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"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"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":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"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":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"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"}],"payable":false,"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162002140380380620021408339810160408190526200003491620000bd565b6001600160a01b03811660008181526001602052604080822080546001600160601b0319166b1027e72f1f1281308800000090811790915590517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef916200009b91620000f7565b60405180910390a35062000136565b8051620000b7816200011c565b92915050565b600060208284031215620000d057600080fd5b6000620000de8484620000aa565b949350505050565b620000f18162000119565b82525050565b60208101620000b78284620000e6565b60006001600160a01b038216620000b7565b90565b620001278162000107565b81146200013357600080fd5b50565b611ffa80620001466000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c806370a08231116100b8578063b4b5ea571161007c578063b4b5ea5714610275578063c3cda52014610288578063d505accf1461029b578063dd62ed3e146102ae578063e7a324dc146102c1578063f1127ed8146102c957610137565b806370a082311461021c578063782d6fe11461022f5780637ecebe001461024f57806395d89b411461013c578063a9059cbb1461026257610137565b806330adf81f116100ff57806330adf81f146101aa578063313ce567146101b2578063587cde1e146101c75780635c19a95c146101e75780636fcfff45146101fc57610137565b806306fdde031461013c578063095ea7b31461015a57806318160ddd1461017a57806320606b701461018f57806323b872dd14610197575b600080fd5b6101446102ea565b6040516101519190611c57565b60405180910390f35b61016d610168366004611596565b61030a565b6040516101519190611b53565b6101826103c7565b6040516101519190611b61565b6101826103d7565b61016d6101a53660046114ad565b6103ee565b610182610533565b6101ba61053f565b6040516101519190611d21565b6101da6101d536600461144d565b610544565b6040516101519190611b45565b6101fa6101f536600461144d565b61055f565b005b61020f61020a36600461144d565b61056c565b6040516101519190611cf8565b61018261022a36600461144d565b610584565b61024261023d366004611596565b6105a8565b6040516101519190611d3d565b61018261025d36600461144d565b6107bf565b61016d610270366004611596565b6107d1565b61024261028336600461144d565b61080d565b6101fa6102963660046115c6565b61087d565b6101fa6102a93660046114fa565b610a63565b6101826102bc366004611473565b610d4a565b610182610d7c565b6102dc6102d736600461164d565b610d88565b604051610151929190611d06565b6040518060400160405280600481526020016315d1531360e21b81525081565b6000806000198314156103205750600019610345565b61034283604051806060016040528060258152602001611f4560259139610dbd565b90505b336000818152602081815260408083206001600160a01b03891680855292529182902080546001600160601b0319166001600160601b03861617905590519091907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103b3908590611d2f565b60405180910390a360019150505b92915050565b6b1027e72f1f1281308800000081565b6040516103e390611b2f565b604051809103902081565b6001600160a01b0383166000908152602081815260408083203380855290835281842054825160608101909352602580845291936001600160601b039091169285926104449288929190611f4590830139610dbd565b9050866001600160a01b0316836001600160a01b03161415801561047157506001600160601b0382811614155b1561051957600061049b83836040518060600160405280603d8152602001611e7b603d9139610dec565b6001600160a01b03898116600081815260208181526040808320948a16808452949091529081902080546001600160601b0319166001600160601b0386161790555192935090917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061050f908590611d2f565b60405180910390a3505b610524878783610e2b565b600193505050505b9392505050565b6040516103e390611b24565b601281565b6002602052600090815260409020546001600160a01b031681565b6105693382610fd6565b50565b60046020526000908152604090205463ffffffff1681565b6001600160a01b03166000908152600160205260409020546001600160601b031690565b60004382106105d25760405162461bcd60e51b81526004016105c990611ca8565b60405180910390fd5b6001600160a01b03831660009081526004602052604090205463ffffffff16806106005760009150506103c1565b6001600160a01b038416600090815260036020908152604080832063ffffffff60001986018116855292529091205416831061067c576001600160a01b03841660009081526003602090815260408083206000199490940163ffffffff1683529290522054600160201b90046001600160601b031690506103c1565b6001600160a01b038416600090815260036020908152604080832083805290915290205463ffffffff168310156106b75760009150506103c1565b600060001982015b8163ffffffff168163ffffffff16111561077a57600282820363ffffffff160481036106e961140a565b506001600160a01b038716600090815260036020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b03169181019190915290871415610755576020015194506103c19350505050565b805163ffffffff1687111561076c57819350610773565b6001820392505b50506106bf565b506001600160a01b038516600090815260036020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b60056020526000908152604090205481565b6000806107f683604051806060016040528060268152602001611f6a60269139610dbd565b9050610803338583610e2b565b5060019392505050565b6001600160a01b03811660009081526004602052604081205463ffffffff168061083857600061052c565b6001600160a01b0383166000908152600360209081526040808320600019850163ffffffff168452909152902054600160201b90046001600160601b03169392505050565b600060405161088b90611b2f565b60408051918290038220828201909152600482526315d1531360e21b6020909201919091527f588ed3398bc491df1e85c6bb394e750f0d38e77e88b4aea0c52e0a8b8d57bc166108d9611060565b306040516020016108ed9493929190611c07565b604051602081830303815290604052805190602001209050600060405161091390611b3a565b60405190819003812061092e918a908a908a90602001611bc9565b6040516020818303038152906040528051906020012090506000828260405160200161095b929190611af3565b6040516020818303038152906040528051906020012090506000600182888888604051600081526020016040526040516109989493929190611c3c565b6020604051602081039080840390855afa1580156109ba573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166109ed5760405162461bcd60e51b81526004016105c990611ce8565b6001600160a01b03811660009081526005602052604090208054600181019091558914610a2c5760405162461bcd60e51b81526004016105c990611c78565b87421115610a4c5760405162461bcd60e51b81526004016105c990611c88565b610a56818b610fd6565b505050505b505050505050565b6000600019861415610a785750600019610a9d565b610a9a86604051806060016040528060248152602001611e5760249139610dbd565b90505b6000604051610aab90611b2f565b60408051918290038220828201909152600482526315d1531360e21b6020909201919091527f588ed3398bc491df1e85c6bb394e750f0d38e77e88b4aea0c52e0a8b8d57bc16610af9611060565b30604051602001610b0d9493929190611c07565b6040516020818303038152906040528051906020012090506000604051610b3390611b24565b604080519182900382206001600160a01b038d16600090815260056020908152929020805460018101909155610b759391928e928e928e9290918e9101611b6f565b60405160208183030381529060405280519060200120905060008282604051602001610ba2929190611af3565b604051602081830303815290604052805190602001209050600060018289898960405160008152602001604052604051610bdf9493929190611c3c565b6020604051602081039080840390855afa158015610c01573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610c345760405162461bcd60e51b81526004016105c990611c68565b8b6001600160a01b0316816001600160a01b031614610c655760405162461bcd60e51b81526004016105c990611cd8565b88421115610c855760405162461bcd60e51b81526004016105c990611c98565b846000808e6001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160601b0302191690836001600160601b031602179055508a6001600160a01b03168c6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92587604051610d349190611d2f565b60405180910390a3505050505050505050505050565b6001600160a01b039182166000908152602081815260408083209390941682529190915220546001600160601b031690565b6040516103e390611b3a565b600360209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b600081600160601b8410610de45760405162461bcd60e51b81526004016105c99190611c57565b509192915050565b6000836001600160601b0316836001600160601b031611158290610e235760405162461bcd60e51b81526004016105c99190611c57565b505050900390565b6001600160a01b038316610e515760405162461bcd60e51b81526004016105c990611cb8565b6001600160a01b038216610e775760405162461bcd60e51b81526004016105c990611cc8565b6001600160a01b038316600090815260016020908152604091829020548251606081019093526036808452610ec2936001600160601b039092169285929190611eb890830139610dec565b6001600160a01b03848116600090815260016020908152604080832080546001600160601b0319166001600160601b03968716179055928616825290829020548251606081019093526030808452610f2a9491909116928592909190611f1590830139611064565b6001600160a01b038381166000818152600160205260409081902080546001600160601b0319166001600160601b0395909516949094179093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610f97908590611d2f565b60405180910390a36001600160a01b03808416600090815260026020526040808220548584168352912054610fd1929182169116836110a0565b505050565b6001600160a01b03808316600081815260026020818152604080842080546001845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a461105a8284836110a0565b50505050565b4690565b6000838301826001600160601b0380871690831610156110975760405162461bcd60e51b81526004016105c99190611c57565b50949350505050565b816001600160a01b0316836001600160a01b0316141580156110cb57506000816001600160601b0316115b15610fd1576001600160a01b03831615611183576001600160a01b03831660009081526004602052604081205463ffffffff16908161110b57600061114a565b6001600160a01b0385166000908152600360209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b905060006111718285604051806060016040528060288152602001611f9060289139610dec565b905061117f8684848461122e565b5050505b6001600160a01b03821615610fd1576001600160a01b03821660009081526004602052604081205463ffffffff1690816111be5760006111fd565b6001600160a01b0384166000908152600360209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b905060006112248285604051806060016040528060278152602001611eee60279139611064565b9050610a5b858484845b600061125243604051806060016040528060348152602001611e23603491396113e3565b905060008463ffffffff1611801561129b57506001600160a01b038516600090815260036020908152604080832063ffffffff6000198901811685529252909120548282169116145b156112fa576001600160a01b0385166000908152600360209081526040808320600019880163ffffffff168452909152902080546fffffffffffffffffffffffff000000001916600160201b6001600160601b03851602179055611399565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000818152600383528781208c871682528352878120965187549451909516600160201b026fffffffffffffffffffffffff000000001995871663ffffffff19958616179590951694909417909555938252600490935292909220805460018801909316929091169190911790555b846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72484846040516113d4929190611d4b565b60405180910390a25050505050565b600081600160201b8410610de45760405162461bcd60e51b81526004016105c99190611c57565b604080518082019091526000808252602082015290565b80356103c181611df3565b80356103c181611e07565b80356103c181611e10565b80356103c181611e19565b60006020828403121561145f57600080fd5b600061146b8484611421565b949350505050565b6000806040838503121561148657600080fd5b60006114928585611421565b92505060206114a385828601611421565b9150509250929050565b6000806000606084860312156114c257600080fd5b60006114ce8686611421565b93505060206114df86828701611421565b92505060406114f08682870161142c565b9150509250925092565b600080600080600080600060e0888a03121561151557600080fd5b60006115218a8a611421565b97505060206115328a828b01611421565b96505060406115438a828b0161142c565b95505060606115548a828b0161142c565b94505060806115658a828b01611442565b93505060a06115768a828b0161142c565b92505060c06115878a828b0161142c565b91505092959891949750929550565b600080604083850312156115a957600080fd5b60006115b58585611421565b92505060206114a38582860161142c565b60008060008060008060c087890312156115df57600080fd5b60006115eb8989611421565b96505060206115fc89828a0161142c565b955050604061160d89828a0161142c565b945050606061161e89828a01611442565b935050608061162f89828a0161142c565b92505060a061164089828a0161142c565b9150509295509295509295565b6000806040838503121561166057600080fd5b600061166c8585611421565b92505060206114a385828601611437565b61168681611d78565b82525050565b61168681611d83565b61168681611d88565b6116866116aa82611d88565b611d88565b60006116ba82611d66565b6116c48185611d6a565b93506116d4818560208601611dbd565b6116dd81611de9565b9093019392505050565b60006116f4601f83611d6a565b7f57656c6c3a3a7065726d69743a20696e76616c6964207369676e617475726500815260200192915050565b600061172d602283611d6a565b7f57656c6c3a3a64656c656761746542795369673a20696e76616c6964206e6f6e815261636560f01b602082015260400192915050565b6000611771600283611d73565b61190160f01b815260020192915050565b600061178f602683611d6a565b7f57656c6c3a3a64656c656761746542795369673a207369676e617475726520658152651e1c1a5c995960d21b602082015260400192915050565b60006117d7605283611d73565b7f5065726d69742861646472657373206f776e65722c616464726573732073706581527f6e6465722c75696e743235362076616c75652c75696e74323536206e6f6e63656020820152712c75696e7432353620646561646c696e652960701b604082015260520192915050565b6000611851601f83611d6a565b7f57656c6c3a3a7065726d69743a207369676e6174757265206578706972656400815260200192915050565b600061188a604383611d73565b7f454950373132446f6d61696e28737472696e67206e616d652c75696e7432353681527f20636861696e49642c6164647265737320766572696679696e67436f6e74726160208201526263742960e81b604082015260430192915050565b60006118f5602783611d6a565b7f57656c6c3a3a6765745072696f72566f7465733a206e6f742079657420646574815266195c9b5a5b995960ca1b602082015260400192915050565b600061193e603c83611d6a565b7f57656c6c3a3a5f7472616e73666572546f6b656e733a2063616e6e6f7420747281527f616e736665722066726f6d20746865207a65726f206164647265737300000000602082015260400192915050565b600061199d603a83611d6a565b7f57656c6c3a3a5f7472616e73666572546f6b656e733a2063616e6e6f7420747281527f616e7366657220746f20746865207a65726f2061646472657373000000000000602082015260400192915050565b60006119fc603a83611d73565b7f44656c65676174696f6e28616464726573732064656c6567617465652c75696e81527f74323536206e6f6e63652c75696e7432353620657870697279290000000000006020820152603a0192915050565b6000611a5b601a83611d6a565b7f57656c6c3a3a7065726d69743a20756e617574686f72697a6564000000000000815260200192915050565b6000611a94602683611d6a565b7f57656c6c3a3a64656c656761746542795369673a20696e76616c6964207369678152656e617475726560d01b602082015260400192915050565b61168681611d97565b61168681611da0565b61168681611db2565b61168681611da6565b6000611afe82611764565b9150611b0a828561169e565b602082019150611b1a828461169e565b5060200192915050565b60006103c1826117ca565b60006103c18261187d565b60006103c1826119ef565b602081016103c1828461167d565b602081016103c1828461168c565b602081016103c18284611695565b60c08101611b7d8289611695565b611b8a602083018861167d565b611b97604083018761167d565b611ba46060830186611695565b611bb16080830185611695565b611bbe60a0830184611695565b979650505050505050565b60808101611bd78287611695565b611be4602083018661167d565b611bf16040830185611695565b611bfe6060830184611695565b95945050505050565b60808101611c158287611695565b611c226020830186611695565b611c2f6040830185611695565b611bfe606083018461167d565b60808101611c4a8287611695565b611be46020830186611ad8565b6020808252810161052c81846116af565b602080825281016103c1816116e7565b602080825281016103c181611720565b602080825281016103c181611782565b602080825281016103c181611844565b602080825281016103c1816118e8565b602080825281016103c181611931565b602080825281016103c181611990565b602080825281016103c181611a4e565b602080825281016103c181611a87565b602081016103c18284611acf565b60408101611d148285611acf565b61052c6020830184611aea565b602081016103c18284611ad8565b602081016103c18284611ae1565b602081016103c18284611aea565b60408101611d598285611ae1565b61052c6020830184611ae1565b5190565b90815260200190565b919050565b60006103c182611d8b565b151590565b90565b6001600160a01b031690565b63ffffffff1690565b60ff1690565b6001600160601b031690565b60006103c182611da6565b60005b83811015611dd8578181015183820152602001611dc0565b8381111561105a5750506000910152565b601f01601f191690565b611dfc81611d78565b811461056957600080fd5b611dfc81611d88565b611dfc81611d97565b611dfc81611da056fe57656c6c3a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747357656c6c3a3a7065726d69743a20616d6f756e742065786365656473203936206269747357656c6c3a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e636557656c6c3a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e636557656c6c3a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f777357656c6c3a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f777357656c6c3a3a617070726f76653a20616d6f756e742065786365656473203936206269747357656c6c3a3a7472616e736665723a20616d6f756e742065786365656473203936206269747357656c6c3a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773a365627a7a7231582062eab0fa2207613cb38628348e4453ba3efe5947606dccebdae02f4289e72c676c6578706572696d656e74616cf564736f6c63430005110040000000000000000000000000ddbf679d6332d9e5b409865b9671d1927255b52a

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

000000000000000000000000ddbf679d6332d9e5b409865b9671d1927255b52a

-----Decoded View---------------
Arg [0] : account (address): 0xddbf679d6332d9e5b409865b9671d1927255b52a

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000ddbf679d6332d9e5b409865b9671d1927255b52a


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.