Token Autonomies

 

Overview ERC-20

Price
$0.00 @ 0.000000 MATIC
Fully Diluted Market Cap
Total Supply:
909,000,000 AUT

Holders:
36 addresses
Contract:
0x1e3a1edd81ff576bf9f71c3806293cdadec057c10x1E3A1edD81Ff576Bf9f71c3806293CDAdEc057c1

Decimals:
18

Social Profiles:
Not Available, Update ?

 
Filtered by Token Holder (Null: 0x000…000)

Balance
0 AUT

Value
$0.00
0x0000000000000000000000000000000000000000
Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

Click here to update the token ICO / general information
# Exchange Pair Price  24H Volume % Volume
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NVMMintableToken

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : NVMMintableToken.sol
//SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.4;

import "@ubeswap/governance/contracts/voting/TransferrableVotingToken.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./interfaces/IMintableVotingToken.sol";

contract NVMMintableToken is IMintableVotingToken, TransferrableVotingToken, Ownable {
    /**
     * @notice Construct a new NVM Token
     * @param _name             The name of the voting token
     * @param _symbol           The symbol of the voting token
     * @param _initialSupply    The initial supply of tokens
     */
    constructor(
        string memory _name,
        string memory _symbol,
        uint96 _initialSupply
    ) TransferrableVotingToken(_name, _symbol, 18, _initialSupply, msg.sender) {}

    /**
     * @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 10 : TransferrableVotingToken.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.3;

import "./VotingToken.sol";

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

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

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

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

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

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

    // XXX: nonces is inherited from VotingPower.sol

    // XXX: deleted MinterChanged

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

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

    // XXX: deleted constructor, setMinter, mint

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

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

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

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

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

    /**
     * @notice Triggers an approval from owner to spends
     * @param owner The address to approve from
     * @param spender The address to be approved
     * @param rawAmount The number of tokens that are approved (2^256-1 means infinite)
     * @param deadline The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function permit(address owner, address spender, uint rawAmount, uint deadline, uint8 v, bytes32 r, bytes32 s) external {
        uint96 amount;
        // XXX: uint256(-1) => MAX_INT
        if (rawAmount == MAX_INT) {
            // XXX: uint96(-1) => MAX_INT_oy
            amount = MAX_INT_96;
        } else {
            amount = safe96(rawAmount, "Uni::permit: amount exceeds 96 bits");
        }

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

        allowances[owner][spender] = amount;

        emit Approval(owner, spender, amount);
    }

    // XXX: deleted balanceOf

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

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

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

            emit Approval(src, spender, newAllowance);
        }

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

    // XXX: rest is in VotingPower.sol
}

File 3 of 10 : 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 4 of 10 : IMintableVotingToken.sol
//SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.4;

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

File 5 of 10 : 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 6 of 10 : 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 7 of 10 : 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 10 : 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 9 of 10 : 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 10 of 10 : 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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint96","name":"_initialSupply","type":"uint96"}],"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":"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":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_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":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"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":"dst","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"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"}]

60a06040523480156200001157600080fd5b5060405162003204380380620032048339810160408190526200003491620008ae565b8282601283338484848280600090805190602001906200005692919062000779565b505081516200006d90600790602085019062000779565b5060f81b7fff000000000000000000000000000000000000000000000000000000000000001660805250620000a590508183620000cd565b5050505050620000c4620000be6200028b60201b60201c565b6200028f565b50505062000aa3565b6001600160a01b0382166200014f5760405162461bcd60e51b815260206004820152603860248201527f566f74696e67506f7765723a3a5f6d696e74566f7465733a2063616e6e6f742060448201527f6d696e7420746f20746865207a65726f2061646472657373000000000000000060648201526084015b60405180910390fd5b6001600160a01b03821660009081526002602090815260409182902054825160608101909352602e8084526200019d936001600160601b0390921692859291906200312790830139620002e1565b6001600160a01b03831660009081526002602090815260409182902080546001600160601b0319166001600160601b03948516179055600154825160608101909352602f8084526200020194919091169285929091906200315590830139620002e1565b600180546001600160601b0319166001600160601b0392831617905560405190821681526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36001600160a01b038083166000908152600360205260408120546200028792168362000333565b5050565b3390565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080620002f0848662000997565b9050846001600160601b0316816001600160601b0316101583906200032a5760405162461bcd60e51b815260040162000146919062000937565b50949350505050565b816001600160a01b0316836001600160a01b0316141580156200035f57506000816001600160601b0316115b15620004fb576001600160a01b0383161562000430576001600160a01b03831660009081526005602052604081205463ffffffff169081620003a3576000620003f2565b6001600160a01b038516600090815260046020526040812090620003c9600185620009bc565b63ffffffff16815260208101919091526040016000205464010000000090046001600160601b03165b905060006200041c8285604051806060016040528060278152602001620031dd6027913962000500565b90506200042c868484846200054f565b5050505b6001600160a01b03821615620004fb576001600160a01b03821660009081526005602052604081205463ffffffff1690816200046e576000620004bd565b6001600160a01b03841660009081526004602052604081209062000494600185620009bc565b63ffffffff16815260208101919091526040016000205464010000000090046001600160601b03165b90506000620004e782856040518060600160405280602681526020016200318460269139620002e1565b9050620004f7858484846200054f565b5050505b505050565b6000836001600160601b0316836001600160601b0316111582906200053a5760405162461bcd60e51b815260040162000146919062000937565b50620005478385620009e4565b949350505050565b60006200057643604051806060016040528060338152602001620031aa6033913962000746565b905060008463ffffffff16118015620005d357506001600160a01b038516600090815260046020526040812063ffffffff831691620005b7600188620009bc565b63ffffffff908116825260208201929092526040016000205416145b1562000646576001600160a01b0385166000908152600460205260408120839162000600600188620009bc565b63ffffffff168152602081019190915260400160002080546001600160601b039290921664010000000002600160201b600160801b0319909216919091179055620006f1565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000908152600482528681208b8616825290915294909420925183549451909116640100000000026001600160801b0319909416911617919091179055620006c08460016200096c565b6001600160a01b0386166000908152600560205260409020805463ffffffff191663ffffffff929092169190911790555b604080516001600160601b038086168252841660208201526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b6000816401000000008410620007715760405162461bcd60e51b815260040162000146919062000937565b509192915050565b828054620007879062000a3a565b90600052602060002090601f016020900481019282620007ab5760008555620007f6565b82601f10620007c657805160ff1916838001178555620007f6565b82800160010185558215620007f6579182015b82811115620007f6578251825591602001919060010190620007d9565b506200080492915062000808565b5090565b5b8082111562000804576000815560010162000809565b600082601f83011262000830578081fd5b81516001600160401b03808211156200084d576200084d62000a8d565b604051601f8301601f19908116603f0116810190828211818310171562000878576200087862000a8d565b8160405283815286602085880101111562000891578485fd5b620008a484602083016020890162000a07565b9695505050505050565b600080600060608486031215620008c3578283fd5b83516001600160401b0380821115620008da578485fd5b620008e8878388016200081f565b94506020860151915080821115620008fe578384fd5b506200090d868287016200081f565b604086015190935090506001600160601b03811681146200092c578182fd5b809150509250925092565b60208152600082518060208401526200095881604085016020870162000a07565b601f01601f19169190910160400192915050565b600063ffffffff8083168185168083038211156200098e576200098e62000a77565b01949350505050565b60006001600160601b038281168482168083038211156200098e576200098e62000a77565b600063ffffffff83811690831681811015620009dc57620009dc62000a77565b039392505050565b60006001600160601b0383811690831681811015620009dc57620009dc62000a77565b60005b8381101562000a2457818101518382015260200162000a0a565b8381111562000a34576000848401525b50505050565b600181811c9082168062000a4f57607f821691505b6020821081141562000a7157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60805160f81c61266562000ac2600039600061029d01526126656000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063782d6fe1116100f9578063c07473f611610097578063dd62ed3e11610071578063dd62ed3e1461046e578063e7a324dc146104b0578063f1127ed8146104d7578063f2fde38b1461053e57600080fd5b8063c07473f61461043a578063c3cda52014610448578063d505accf1461045b57600080fd5b80638df2c8e6116100d35780638df2c8e6146103f957806395d89b411461040c578063a9059cbb14610414578063b4b5ea571461042757600080fd5b8063782d6fe1146103b55780637ecebe00146103c85780638da5cb5b146103e857600080fd5b8063313ce56711610166578063671b379311610140578063671b37931461031b5780636fcfff451461034057806370a082311461037b578063715018a6146103ad57600080fd5b8063313ce56714610296578063587cde1e146102c75780635c19a95c1461030857600080fd5b80631b025a40116101a25780631b025a401461022057806320606b701461023557806323b872dd1461025c57806330adf81f1461026f57600080fd5b806306fdde03146101c9578063095ea7b3146101e757806318160ddd1461020a575b600080fd5b6101d1610551565b6040516101de9190612235565b60405180910390f35b6101fa6101f53660046120a6565b610560565b60405190151581526020016101de565b610212610621565b6040519081526020016101de565b61023361022e366004612164565b610643565b005b6102127f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6101fa61026a366004612002565b610684565b6102127f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60405160ff7f00000000000000000000000000000000000000000000000000000000000000001681526020016101de565b6102f06102d5366004611fb6565b6003602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016101de565b610233610316366004611fb6565b610857565b6001546001600160601b03165b6040516001600160601b0390911681526020016101de565b61036661034e366004611fb6565b60056020526000908152604090205463ffffffff1681565b60405163ffffffff90911681526020016101de565b610212610389366004611fb6565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b610233610864565b6103286103c33660046120a6565b61089a565b6102126103d6366004611fb6565b60066020526000908152604090205481565b6009546001600160a01b03166102f0565b610233610407366004612164565b610b20565b6101d1610b54565b6101fa6104223660046120a6565b610be6565b610328610435366004611fb6565b610cad565b610328610389366004611fb6565b6102336104563660046120cf565b610d2b565b61023361046936600461203d565b610ffe565b61021261047c366004611fd0565b6001600160a01b0391821660009081526008602090815260408083209390941682529190915220546001600160601b031690565b6102127fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b61051a6104e5366004612126565b600460209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b6040805163ffffffff90931683526001600160601b039091166020830152016101de565b61023361054c366004611fb6565b6113cf565b606061055b611467565b905090565b60008060001983141561057b57506001600160601b036105a0565b61059d836040518060600160405280602481526020016125dd60249139611476565b90505b3360008181526008602090815260408083206001600160a01b0389168085529083529281902080546001600160601b0319166001600160601b03871690811790915590519081529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a360019150505b92915050565b60006106356001546001600160601b031690565b6001600160601b0316905090565b6009546001600160a01b031633146106765760405162461bcd60e51b815260040161066d90612288565b60405180910390fd5b61068082826114a5565b5050565b60006001600160a01b0383163014156107145760405162461bcd60e51b815260206004820152604660248201527f5472616e736665727261626c65566f74696e67546f6b656e3a3a7472616e736660448201527f657246726f6d3a2063616e6e6f742073656e6420746f6b656e7320746f20636f6064820152651b9d1c9858dd60d21b608482015260a40161066d565b6001600160a01b03841660009081526008602090815260408083203380855290835281842054825160608101909352602480845291946001600160601b0390911693909261076a9288926125dd90830139611476565b9050866001600160a01b0316836001600160a01b03161415801561079757506001600160601b0382811614155b1561083f5760006107c183836040518060600160405280603c8152602001612417603c9139611651565b6001600160a01b038981166000818152600860209081526040808320948a168084529482529182902080546001600160601b0319166001600160601b0387169081179091559151918252939450919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505b61084a87878361169b565b5060019695505050505050565b61086133826118ec565b50565b6009546001600160a01b0316331461088e5760405162461bcd60e51b815260040161066d90612288565b6108986000611976565b565b60004382106108fa5760405162461bcd60e51b815260206004820152602660248201527f556e693a3a6765745072696f72566f7465733a206e6f742079657420646574656044820152651c9b5a5b995960d21b606482015260840161066d565b6001600160a01b03831660009081526005602052604090205463ffffffff168061092857600091505061061b565b6001600160a01b0384166000908152600460205260408120849161094d600185612336565b63ffffffff908116825260208201929092526040016000205416116109c0576001600160a01b038416600090815260046020526040812090610990600184612336565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b0316915061061b9050565b6001600160a01b038416600090815260046020908152604080832083805290915290205463ffffffff168310156109fb57600091505061061b565b600080610a09600184612336565b90505b8163ffffffff168163ffffffff161115610adb5760006002610a2e8484612336565b610a389190612307565b610a429083612336565b6001600160a01b038816600090815260046020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b031691810191909152919250871415610aaf5760200151945061061b9350505050565b805163ffffffff16871115610ac657819350610ad4565b610ad1600183612336565b92505b5050610a0c565b506001600160a01b038516600090815260046020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b6009546001600160a01b03163314610b4a5760405162461bcd60e51b815260040161066d90612288565b61068082826119c8565b606060078054610b639061237b565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8f9061237b565b8015610bdc5780601f10610bb157610100808354040283529160200191610bdc565b820191906000526020600020905b815481529060010190602001808311610bbf57829003601f168201915b5050505050905090565b60006001600160a01b038316301415610c725760405162461bcd60e51b815260206004820152604260248201527f5472616e736665727261626c65566f74696e67546f6b656e3a3a7472616e736660448201527f65723a2063616e6e6f742073656e6420746f6b656e7320746f20636f6e74726160648201526118dd60f21b608482015260a40161066d565b6000610c96836040518060600160405280602581526020016125b860259139611476565b9050610ca333858361169b565b5060019392505050565b6001600160a01b03811660009081526005602052604081205463ffffffff1680610cd8576000610d24565b6001600160a01b038316600090815260046020526040812090610cfc600184612336565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b9392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8666000604051610d5d919061219a565b6040518091039020610d6c4690565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a90528251808503909101815261014084019092528151919093012061190160f01b610160830152610162820183905261018282018190529192506000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015610e98573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610f095760405162461bcd60e51b815260206004820152602560248201527f556e693a3a64656c656761746542795369673a20696e76616c6964207369676e604482015264617475726560d81b606482015260840161066d565b6001600160a01b0381166000908152600660205260408120805491610f2d836123b6565b919050558914610f895760405162461bcd60e51b815260206004820152602160248201527f556e693a3a64656c656761746542795369673a20696e76616c6964206e6f6e636044820152606560f81b606482015260840161066d565b87421115610fe75760405162461bcd60e51b815260206004820152602560248201527f556e693a3a64656c656761746542795369673a207369676e61747572652065786044820152641c1a5c995960da1b606482015260840161066d565b610ff1818b6118ec565b505050505b505050505050565b600060001986141561101857506001600160601b0361103d565b61103a8660405180606001604052806023815260200161251560239139611476565b90505b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866611068610551565b805190602001206110764690565b604080516020810194909452830191909152606082015230608082015260a00160408051601f1981840301815291815281516020928301206001600160a01b038c166000908152600690935290822080549193507f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9918c918c918c91866110fc836123b6565b909155506040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810188905260e0016040516020818303038152906040528051906020012090506000828260405160200161117b92919061190160f01b81526002810192909252602282015260420190565b60408051601f198184030181528282528051602091820120600080855291840180845281905260ff8b169284019290925260608301899052608083018890529092509060019060a0016020604051602081039080840390855afa1580156111e6573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166112495760405162461bcd60e51b815260206004820152601e60248201527f556e693a3a7065726d69743a20696e76616c6964207369676e61747572650000604482015260640161066d565b8b6001600160a01b0316816001600160a01b0316146112aa5760405162461bcd60e51b815260206004820152601960248201527f556e693a3a7065726d69743a20756e617574686f72697a656400000000000000604482015260640161066d565b884211156112fa5760405162461bcd60e51b815260206004820152601e60248201527f556e693a3a7065726d69743a207369676e617475726520657870697265640000604482015260640161066d565b84600860008e6001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160601b0302191690836001600160601b031602179055508a6001600160a01b03168c6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925876040516113b991906001600160601b0391909116815260200190565b60405180910390a3505050505050505050505050565b6009546001600160a01b031633146113f95760405162461bcd60e51b815260040161066d90612288565b6001600160a01b03811661145e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161066d565b61086181611976565b606060008054610b639061237b565b600081600160601b841061149d5760405162461bcd60e51b815260040161066d9190612235565b509192915050565b6001600160a01b0382166115215760405162461bcd60e51b815260206004820152603860248201527f566f74696e67506f7765723a3a5f6d696e74566f7465733a2063616e6e6f742060448201527f6d696e7420746f20746865207a65726f20616464726573730000000000000000606482015260840161066d565b6001600160a01b03821660009081526002602090815260409182902054825160608101909352602e80845261156c936001600160601b03909216928592919061245390830139611b75565b6001600160a01b03831660009081526002602090815260409182902080546001600160601b0319166001600160601b03948516179055600154825160608101909352602f8084526115cd94919091169285929091906124b690830139611b75565b600180546001600160601b0319166001600160601b0392831617905560405190821681526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36001600160a01b03808316600090815260036020526040812054610680921683611bc2565b6000836001600160601b0316836001600160601b0316111582906116885760405162461bcd60e51b815260040161066d9190612235565b50611693838561235b565b949350505050565b6001600160a01b0383166117175760405162461bcd60e51b815260206004820152603b60248201527f556e693a3a5f7472616e73666572546f6b656e733a2063616e6e6f742074726160448201527f6e736665722066726f6d20746865207a65726f20616464726573730000000000606482015260840161066d565b6001600160a01b0382166117935760405162461bcd60e51b815260206004820152603960248201527f556e693a3a5f7472616e73666572546f6b656e733a2063616e6e6f742074726160448201527f6e7366657220746f20746865207a65726f206164647265737300000000000000606482015260840161066d565b6001600160a01b0383166000908152600260209081526040918290205482516060810190935260358084526117de936001600160601b03909216928592919061248190830139611651565b6001600160a01b03848116600090815260026020908152604080832080546001600160601b0319166001600160601b0396871617905592861682529082902054825160608101909352602f808452611846949190911692859290919061260190830139611b75565b6001600160a01b0383811660008181526002602090815260409182902080546001600160601b0319166001600160601b03968716179055905193851684529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36001600160a01b038084166000908152600360205260408082205485841683529120546118e792918216911683611bc2565b505050565b6001600160a01b03808316600081815260036020818152604080842080546002845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4611970828483611bc2565b50505050565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216611a445760405162461bcd60e51b815260206004820152603a60248201527f566f74696e67506f7765723a3a5f6275726e566f7465733a2063616e6e6f742060448201527f6275726e2066726f6d20746865207a65726f2061646472657373000000000000606482015260840161066d565b6001600160a01b03821660009081526002602090815260409182902054825160608101909352602f808452611a8f936001600160601b0390921692859291906123e890830139611651565b6001600160a01b03831660009081526002602090815260409182902080546001600160601b0319166001600160601b039485161790556001548251606081019093526030808452611af094919091169285929091906124e590830139611651565b600180546001600160601b0319166001600160601b0392831617905560405190821681526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36001600160a01b0380831660009081526003602052604081205461068092169083611bc2565b600080611b8284866122e5565b9050846001600160601b0316816001600160601b031610158390611bb95760405162461bcd60e51b815260040161066d9190612235565b50949350505050565b816001600160a01b0316836001600160a01b031614158015611bed57506000816001600160601b0316115b156118e7576001600160a01b03831615611cb2576001600160a01b03831660009081526005602052604081205463ffffffff169081611c2d576000611c79565b6001600160a01b038516600090815260046020526040812090611c51600185612336565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b90506000611ca0828560405180606001604052806027815260200161259160279139611651565b9050611cae86848484611d6a565b5050505b6001600160a01b038216156118e7576001600160a01b03821660009081526005602052604081205463ffffffff169081611ced576000611d39565b6001600160a01b038416600090815260046020526040812090611d11600185612336565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b90506000611d60828560405180606001604052806026815260200161253860269139611b75565b9050610ff6858484845b6000611d8e4360405180606001604052806033815260200161255e60339139611f62565b905060008463ffffffff16118015611de857506001600160a01b038516600090815260046020526040812063ffffffff831691611dcc600188612336565b63ffffffff908116825260208201929092526040016000205416145b15611e5c576001600160a01b03851660009081526004602052604081208391611e12600188612336565b63ffffffff168152602081019190915260400160002080546001600160601b0392909216600160201b026fffffffffffffffffffffffff0000000019909216919091179055611f0d565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000908152600482528681208b8616825290915294909420925183549451909116600160201b026fffffffffffffffffffffffffffffffff19909416911617919091179055611edc8460016122bd565b6001600160a01b0386166000908152600560205260409020805463ffffffff191663ffffffff929092169190911790555b604080516001600160601b038086168252841660208201526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b600081600160201b841061149d5760405162461bcd60e51b815260040161066d9190612235565b80356001600160a01b0381168114611fa057600080fd5b919050565b803560ff81168114611fa057600080fd5b600060208284031215611fc7578081fd5b610d2482611f89565b60008060408385031215611fe2578081fd5b611feb83611f89565b9150611ff960208401611f89565b90509250929050565b600080600060608486031215612016578081fd5b61201f84611f89565b925061202d60208501611f89565b9150604084013590509250925092565b600080600080600080600060e0888a031215612057578283fd5b61206088611f89565b965061206e60208901611f89565b9550604088013594506060880135935061208a60808901611fa5565b925060a0880135915060c0880135905092959891949750929550565b600080604083850312156120b8578182fd5b6120c183611f89565b946020939093013593505050565b60008060008060008060c087890312156120e7578182fd5b6120f087611f89565b9550602087013594506040870135935061210c60608801611fa5565b92506080870135915060a087013590509295509295509295565b60008060408385031215612138578182fd5b61214183611f89565b9150602083013563ffffffff81168114612159578182fd5b809150509250929050565b60008060408385031215612176578182fd5b61217f83611f89565b915060208301356001600160601b0381168114612159578182fd5b600080835482600182811c9150808316806121b657607f831692505b60208084108214156121d657634e487b7160e01b87526022600452602487fd5b8180156121ea57600181146121fb57612227565b60ff19861689528489019650612227565b60008a815260209020885b8681101561221f5781548b820152908501908301612206565b505084890196505b509498975050505050505050565b6000602080835283518082850152825b8181101561226157858101830151858201604001528201612245565b818111156122725783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600063ffffffff8083168185168083038211156122dc576122dc6123d1565b01949350505050565b60006001600160601b038083168185168083038211156122dc576122dc6123d1565b600063ffffffff8084168061232a57634e487b7160e01b83526012600452602483fd5b92169190910492915050565b600063ffffffff83811690831681811015612353576123536123d1565b039392505050565b60006001600160601b0383811690831681811015612353576123536123d1565b600181811c9082168061238f57607f821691505b602082108114156123b057634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156123ca576123ca6123d1565b5060010190565b634e487b7160e01b600052601160045260246000fdfe566f74696e67506f7765723a3a5f6275726e566f7465733a206275726e20616d6f756e7420756e646572666c6f7773556e693a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e6365566f74696e67506f7765723a3a5f6d696e74566f7465733a206d696e7420616d6f756e74206f766572666c6f7773556e693a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e6365566f74696e67506f7765723a3a5f6d696e74566f7465733a20746f74616c20737570706c79206f766572666c6f7773566f74696e67506f7765723a3a5f6275726e566f7465733a20746f74616c20737570706c7920756e646572666c6f7773556e693a3a7065726d69743a20616d6f756e7420657863656564732039362062697473556e693a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f7773556e693a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473556e693a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773556e693a3a7472616e736665723a20616d6f756e7420657863656564732039362062697473556e693a3a617070726f76653a20616d6f756e7420657863656564732039362062697473556e693a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f7773a264697066735822122070e2bef97c8ae87d58243f29ce17d49b9c82cd53473101a68670d7b6b603aea864736f6c63430008040033566f74696e67506f7765723a3a5f6d696e74566f7465733a206d696e7420616d6f756e74206f766572666c6f7773566f74696e67506f7765723a3a5f6d696e74566f7465733a20746f74616c20737570706c79206f766572666c6f7773556e693a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f7773556e693a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473556e693a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000002efe83cbd4da7c4ad000000000000000000000000000000000000000000000000000000000000000000000a4175746f6e6f6d6965730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034155540000000000000000000000000000000000000000000000000000000000

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000002efe83cbd4da7c4ad000000000000000000000000000000000000000000000000000000000000000000000a4175746f6e6f6d6965730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034155540000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Autonomies
Arg [1] : _symbol (string): AUT
Arg [2] : _initialSupply (uint96): 909000000000000000000000000

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 000000000000000000000000000000000000000002efe83cbd4da7c4ad000000
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [4] : 4175746f6e6f6d69657300000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 4155540000000000000000000000000000000000000000000000000000000000


Loading