Overview
Max Total Supply
24,999,962,662.241383060553385821 VADER
Holders
6,294 (0.00%)
Market
Price
$0.00 @ 0.000000 ETH (-20.91%)
Onchain Market Cap
$183,499.73
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
27,211.199073675264083685 VADERValue
$0.20 ( ~5.93927028437395E-05 Eth) [0.0001%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Vader
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT AND AGPL-3.0-or-later pragma solidity =0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "../shared/ProtocolConstants.sol"; import "../interfaces/tokens/IUSDV.sol"; import "../interfaces/tokens/IVader.sol"; import "../interfaces/tokens/vesting/ILinearVesting.sol"; import "../interfaces/tokens/converter/IConverter.sol"; /** * @dev Implementation of the {IVader} interface. * * The Vader token that acts as the backbone of the Vader protocol, * burned and minted to mint and burn USDV tokens respectively. * * The token has a fixed initial supply at 25 billion units that is meant to then * fluctuate depending on the amount of USDV minted into and burned from circulation. * * Emissions are initially controlled by the Vader team and then will be governed * by the DAO. */ contract Vader is IVader, ProtocolConstants, ERC20, Ownable { /* ========== STATE VARIABLES ========== */ // The Vader <-> Vether converter contract IConverter public converter; // The Vader Team vesting contract ILinearVesting public vest; // The USDV contract, used to apply proper access control IUSDV public usdv; // The initial maximum supply of the token, equivalent to 25 bn units uint256 public maxSupply = _INITIAL_VADER_SUPPLY; /* ========== CONSTRUCTOR ========== */ /** * @dev Mints the ecosystem growth fund and grant allocation amount described in the whitepaper to the * token contract itself. * * As the token is meant to be minted and burned freely between USDV and itself, * there is no real initialization taking place apart from the initially minted * supply for the following components: * * - Grant Allocation: The amount of funds meant to be distributed by the DAO as grants to expand the protocol * * - Ecosystem Growth: An allocation that is released to strategic partners for the * protocol's expansion * * The latter two of the allocations are minted at a later date given that the addresses of * the converter and vesting contract are not known on deployment. */ constructor() ERC20("Vader", "VADER") { _mint(address(this), _GRANT_ALLOCATION); _mint(address(this), _ECOSYSTEM_GROWTH); } /* ========== MUTATIVE FUNCTIONS ========== */ /** * @dev Creates a manual emission event * * Emits an {Emission} event indicating the amount emitted as well as what the current * era's timestamp is. */ function createEmission(address user, uint256 amount) external override onlyOwner { _transfer(address(this), user, amount); emit Emission(user, amount); } /* ========== RESTRICTED FUNCTIONS ========== */ /** * @dev Sets the initial {converter} and {vest} contract addresses. Additionally, mints * the Vader amount available for conversion as well as the team allocation that is meant * to be vested to each respective contract. * * Emits a {ProtocolInitialized} event indicating all the supplied values of the function. * * Requirements: * * - the caller must be the deployer of the contract * - the contract must not have already been initialized */ function setComponents( IConverter _converter, ILinearVesting _vest, address[] calldata vesters, uint192[] calldata amounts ) external onlyOwner { require( _converter != IConverter(_ZERO_ADDRESS) && _vest != ILinearVesting(_ZERO_ADDRESS), "Vader::setComponents: Incorrect Arguments" ); require( converter == IConverter(_ZERO_ADDRESS), "Vader::setComponents: Already Set" ); converter = _converter; vest = _vest; _mint(address(_converter), _VETH_ALLOCATION); _mint(address(_vest), _TEAM_ALLOCATION); _vest.begin(vesters, amounts); emit ProtocolInitialized( address(_converter), address(_vest) ); } /** * @dev Set USDV * Emits a {USDVSet} event indicating that USDV is set * * Requirements: * * - the caller must be owner * - USDV must be of a non-zero address * - USDV must not be set */ function setUSDV(IUSDV _usdv) external onlyOwner { require(_usdv != IUSDV(_ZERO_ADDRESS), "Vader::setUSDV: Invalid USDV address"); require(usdv == IUSDV(_ZERO_ADDRESS), "Vader::setUSDV: USDV already set"); usdv = _usdv; emit USDVSet(address(_usdv)); } /** * @dev Allows a strategic partnership grant to be claimed. * * Emits a {GrantClaimed} event indicating the beneficiary of the grant as * well as the grant amount. * * Requirements: * * - the caller must be the DAO * - the token must hold sufficient Vader allocation for the grant * - the grant must be of a non-zero amount */ function claimGrant(address beneficiary, uint256 amount) external onlyOwner { require(amount != 0, "Vader::claimGrant: Non-Zero Amount Required"); emit GrantClaimed(beneficiary, amount); _transfer(address(this), beneficiary, amount); } /** * @dev Allows the maximum supply of the token to be adjusted. * * Emits an {MaxSupplyChanged} event indicating the previous and next maximum * total supplies. * * Requirements: * * - the caller must be the DAO * - the new maximum supply must be greater than the current supply */ function adjustMaxSupply(uint256 _maxSupply) external onlyOwner { require( _maxSupply >= totalSupply(), "Vader::adjustMaxSupply: Max supply cannot subcede current supply" ); emit MaxSupplyChanged(maxSupply, _maxSupply); maxSupply = _maxSupply; } /** * @dev Allows the USDV token to perform mints of VADER tokens * * Emits an ERC-20 {Transfer} event signaling the minting operation. * * Requirements: * * - the caller must be the USDV * - the new supply must be below the maximum supply */ function mint(address _user, uint256 _amount) external onlyUSDV { require( maxSupply >= totalSupply() + _amount, "Vader::mint: Max supply reached" ); _mint(_user, _amount); } /** * @dev Allows the USDV token to perform burns of VADER tokens * * Emits an ERC-20 {Transfer} event signaling the burning operation. * * Requirements: * * - the caller must be the USDV * - the USDV contract must have a sufficient VADER balance */ function burn(uint256 _amount) external onlyUSDV { _burn(msg.sender, _amount); } /* ========== INTERNAL FUNCTIONS ========== */ /* ========== PRIVATE FUNCTIONS ========== */ /** * @dev Ensures only the USDV is able to invoke a particular function by validating that the * contract has been set up and that the msg.sender is the USDV address */ function _onlyUSDV() private view { require( address(usdv) == msg.sender, "Vader::_onlyUSDV: Insufficient Privileges" ); } /* ========== MODIFIERS ========== */ /** * @dev Throws if invoked by anyone else other than the USDV */ modifier onlyUSDV() { _onlyUSDV(); _; } }
// SPDX-License-Identifier: MIT AND AGPL-3.0-or-later pragma solidity =0.8.9; abstract contract ProtocolConstants { /* ========== GENERAL ========== */ // The zero address, utility address internal constant _ZERO_ADDRESS = address(0); // One year, utility uint256 internal constant _ONE_YEAR = 365 days; // Basis Points uint256 internal constant _MAX_BASIS_POINTS = 100_00; /* ========== VADER TOKEN ========== */ // Max VADER supply uint256 internal constant _INITIAL_VADER_SUPPLY = 25_000_000_000 * 1 ether; // Allocation for VETH holders uint256 internal constant _VETH_ALLOCATION = 7_500_000_000 * 1 ether; // Team allocation vested over {VESTING_DURATION} years uint256 internal constant _TEAM_ALLOCATION = 2_500_000_000 * 1 ether; // Ecosystem growth fund unlocked for partnerships & USDV provision uint256 internal constant _ECOSYSTEM_GROWTH = 2_500_000_000 * 1 ether; // Total grant tokens uint256 internal constant _GRANT_ALLOCATION = 12_500_000_000 * 1 ether; // Emission Era uint256 internal constant _EMISSION_ERA = 24 hours; // Initial Emission Curve, 5 uint256 internal constant _INITIAL_EMISSION_CURVE = 5; // Fee Basis Points uint256 internal constant _MAX_FEE_BASIS_POINTS = 1_00; /* ========== VESTING ========== */ // Vesting Duration uint256 internal constant _VESTING_DURATION = 2 * _ONE_YEAR; /* ========== CONVERTER ========== */ // Vader -> Vether Conversion Rate (1000:1) uint256 internal constant _VADER_VETHER_CONVERSION_RATE = 10_000; // Burn Address address internal constant _BURN = 0xdeaDDeADDEaDdeaDdEAddEADDEAdDeadDEADDEaD; /* ========== SWAP QUEUE ========== */ // A minimum of 10 swaps will be executed per block uint256 internal constant _MIN_SWAPS_EXECUTED = 10; // Expressed in basis points (50%) uint256 internal constant _DEFAULT_SWAPS_EXECUTED = 50_00; // The queue size of each block is 100 units uint256 internal constant _QUEUE_SIZE = 100; /* ========== GAS QUEUE ========== */ // Address of Chainlink Fast Gas Price Oracle address internal constant _FAST_GAS_ORACLE = 0x169E633A2D1E6c10dD91238Ba11c4A708dfEF37C; /* ========== VADER RESERVE ========== */ // Minimum delay between grants uint256 internal constant _GRANT_DELAY = 30 days; // Maximum grant size divisor uint256 internal constant _MAX_GRANT_BASIS_POINTS = 10_00; }
// SPDX-License-Identifier: MIT AND AGPL-3.0-or-later pragma solidity =0.8.9; interface ILinearVesting { /* ========== STRUCTS ========== */ // Struct of a vesting member, tight-packed to 256-bits struct Vester { uint192 amount; uint64 lastClaim; uint128 start; uint128 end; } /* ========== FUNCTIONS ========== */ function getClaim(address _vester) external view returns (uint256 vestedAmount); function claim() external returns (uint256 vestedAmount); // function claimConverted() external returns (uint256 vestedAmount); function begin(address[] calldata vesters, uint192[] calldata amounts) external; function vestFor(address user, uint256 amount) external; /* ========== EVENTS ========== */ event VestingInitialized(uint256 duration); event VestingCreated(address user, uint256 amount); event Vested(address indexed from, uint256 amount); }
// SPDX-License-Identifier: MIT AND AGPL-3.0-or-later pragma solidity =0.8.9; interface IConverter { /* ========== FUNCTIONS ========== */ function convert(bytes32[] calldata proof, uint256 amount, uint256 minVader) external returns (uint256 vaderReceived); /* ========== EVENTS ========== */ event Conversion( address indexed user, uint256 vetherAmount, uint256 vaderAmount ); }
// SPDX-License-Identifier: MIT AND AGPL-3.0-or-later pragma solidity =0.8.9; interface IVader { /* ========== FUNCTIONS ========== */ function createEmission(address user, uint256 amount) external; /* ========== EVENTS ========== */ event Emission(address to, uint256 amount); event EmissionChanged(uint256 previous, uint256 next); event MaxSupplyChanged(uint256 previous, uint256 next); event GrantClaimed(address indexed beneficiary, uint256 amount); event ProtocolInitialized( address converter, address vest ); event USDVSet(address usdv); /* ========== DEPRECATED ========== */ // function getCurrentEraEmission() external view returns (uint256); // function getEraEmission(uint256 currentSupply) // external // view // returns (uint256); // function calculateFee() external view returns (uint256 basisPoints); }
// SPDX-License-Identifier: MIT AND AGPL-3.0-or-later pragma solidity =0.8.9; interface IUSDV { /* ========== STRUCTS ========== */ /* ========== FUNCTIONS ========== */ /* ========== EVENTS ========== */ }
// SPDX-License-Identifier: MIT 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; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT 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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Emission","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previous","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"next","type":"uint256"}],"name":"EmissionChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"GrantClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previous","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"next","type":"uint256"}],"name":"MaxSupplyChanged","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":false,"internalType":"address","name":"converter","type":"address"},{"indexed":false,"internalType":"address","name":"vest","type":"address"}],"name":"ProtocolInitialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"usdv","type":"address"}],"name":"USDVSet","type":"event"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"adjustMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"claimGrant","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"converter","outputs":[{"internalType":"contract IConverter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"createEmission","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IConverter","name":"_converter","type":"address"},{"internalType":"contract ILinearVesting","name":"_vest","type":"address"},{"internalType":"address[]","name":"vesters","type":"address[]"},{"internalType":"uint192[]","name":"amounts","type":"uint192[]"}],"name":"setComponents","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IUSDV","name":"_usdv","type":"address"}],"name":"setUSDV","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"usdv","outputs":[{"internalType":"contract IUSDV","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vest","outputs":[{"internalType":"contract ILinearVesting","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526b50c783eb9b5c85f2a80000006009553480156200002157600080fd5b50604051806040016040528060058152602001642b30b232b960d91b815250604051806040016040528060058152602001642b20a222a960d91b8152508160039080519060200190620000769291906200021d565b5080516200008c9060049060208401906200021d565b505050620000a9620000a3620000df60201b60201c565b620000e3565b620000c1306b2863c1f5cdae42f95400000062000135565b620000d9306b0813f3978f8940984400000062000135565b62000327565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001905760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620001a49190620002c3565b90915550506001600160a01b03821660009081526020819052604081208054839290620001d3908490620002c3565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b8280546200022b90620002ea565b90600052602060002090601f0160209004810192826200024f57600085556200029a565b82601f106200026a57805160ff19168380011785556200029a565b828001600101855582156200029a579182015b828111156200029a5782518255916020019190600101906200027d565b50620002a8929150620002ac565b5090565b5b80821115620002a85760008155600101620002ad565b60008219821115620002e557634e487b7160e01b600052601160045260246000fd5b500190565b600181811c90821680620002ff57607f821691505b602082108114156200032157634e487b7160e01b600052602260045260246000fd5b50919050565b61165c80620003376000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80637373aa9f116100de578063bd38837b11610097578063e30de15e11610071578063e30de15e14610351578063e816d42314610364578063e9ba318414610377578063f2fde38b1461038a57600080fd5b8063bd38837b146102fc578063d5abeb011461030f578063dd62ed3e1461031857600080fd5b80637373aa9f146102975780638da5cb5b146102aa5780639420069c146102bb57806395d89b41146102ce578063a457c2d7146102d6578063a9059cbb146102e957600080fd5b80633950935111610130578063395093511461020257806340c10f191461021557806342966c6814610228578063458efde31461023b57806370a0823114610266578063715018a61461028f57600080fd5b806306fdde031461017857806308e13f3c14610196578063095ea7b3146101ab57806318160ddd146101ce57806323b872dd146101e0578063313ce567146101f3575b600080fd5b61018061039d565b60405161018d91906112a7565b60405180910390f35b6101a96101a436600461135d565b61042f565b005b6101be6101b93660046113f2565b61064f565b604051901515815260200161018d565b6002545b60405190815260200161018d565b6101be6101ee36600461141e565b610665565b6040516012815260200161018d565b6101be6102103660046113f2565b61070f565b6101a96102233660046113f2565b61074b565b6101a961023636600461145f565b6107c6565b60075461024e906001600160a01b031681565b6040516001600160a01b03909116815260200161018d565b6101d2610274366004611478565b6001600160a01b031660009081526020819052604090205490565b6101a96107db565b6101a96102a53660046113f2565b610811565b6005546001600160a01b031661024e565b60085461024e906001600160a01b031681565b61018061088c565b6101be6102e43660046113f2565b61089b565b6101be6102f73660046113f2565b610934565b60065461024e906001600160a01b031681565b6101d260095481565b6101d261032636600461149c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101a961035f36600461145f565b610941565b6101a9610372366004611478565b610a26565b6101a96103853660046113f2565b610b5f565b6101a9610398366004611478565b610c38565b6060600380546103ac906114d5565b80601f01602080910402602001604051908101604052809291908181526020018280546103d8906114d5565b80156104255780601f106103fa57610100808354040283529160200191610425565b820191906000526020600020905b81548152906001019060200180831161040857829003601f168201915b5050505050905090565b6005546001600160a01b031633146104625760405162461bcd60e51b815260040161045990611510565b60405180910390fd5b6001600160a01b0386161580159061048257506001600160a01b03851615155b6104e05760405162461bcd60e51b815260206004820152602960248201527f56616465723a3a736574436f6d706f6e656e74733a20496e636f727265637420604482015268417267756d656e747360b81b6064820152608401610459565b6006546001600160a01b0316156105435760405162461bcd60e51b815260206004820152602160248201527f56616465723a3a736574436f6d706f6e656e74733a20416c72656164792053656044820152601d60fa1b6064820152608401610459565b600680546001600160a01b038089166001600160a01b0319928316179092556007805492881692909116919091179055610589866b183bdac6ae9bc1c8cc000000610cd0565b61059f856b0813f3978f89409844000000610cd0565b60405163e6e48a7f60e01b81526001600160a01b0386169063e6e48a7f906105d1908790879087908790600401611545565b600060405180830381600087803b1580156105eb57600080fd5b505af11580156105ff573d6000803e3d6000fd5b5050604080516001600160a01b03808b168252891660208201527fed1c5a7f881890228238224319dee002bc3bb8beedcae78a1f83e063683aa383935001905060405180910390a1505050505050565b600061065c338484610daf565b50600192915050565b6000610672848484610ed4565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156106f75760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610459565b6107048533858403610daf565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161065c9185906107469086906115f7565b610daf565b6107536110a3565b8061075d60025490565b61076791906115f7565b60095410156107b85760405162461bcd60e51b815260206004820152601f60248201527f56616465723a3a6d696e743a204d617820737570706c792072656163686564006044820152606401610459565b6107c28282610cd0565b5050565b6107ce6110a3565b6107d8338261110f565b50565b6005546001600160a01b031633146108055760405162461bcd60e51b815260040161045990611510565b61080f6000611255565b565b6005546001600160a01b0316331461083b5760405162461bcd60e51b815260040161045990611510565b610846308383610ed4565b604080516001600160a01b0384168152602081018390527ff54dbf4cddb908bac0d67a3e6d3e4de95d0e7bc059afe2d34b37a6ebbc3879ca910160405180910390a15050565b6060600480546103ac906114d5565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561091d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610459565b61092a3385858403610daf565b5060019392505050565b600061065c338484610ed4565b6005546001600160a01b0316331461096b5760405162461bcd60e51b815260040161045990611510565b6002548110156109e5576040805162461bcd60e51b81526020600482015260248101919091527f56616465723a3a61646a7573744d6178537570706c793a204d6178207375707060448201527f6c792063616e6e6f7420737562636564652063757272656e7420737570706c796064820152608401610459565b60095460408051918252602082018390527fa626f93317e2474b716846a09cf0e28aacb96052643b252fe97704208fecf9b5910160405180910390a1600955565b6005546001600160a01b03163314610a505760405162461bcd60e51b815260040161045990611510565b6001600160a01b038116610ab25760405162461bcd60e51b8152602060048201526024808201527f56616465723a3a736574555344563a20496e76616c69642055534456206164646044820152637265737360e01b6064820152608401610459565b6008546001600160a01b031615610b0b5760405162461bcd60e51b815260206004820181905260248201527f56616465723a3a736574555344563a205553445620616c7265616479207365746044820152606401610459565b600880546001600160a01b0319166001600160a01b0383169081179091556040519081527fa3f7235d93635f429b50cfcb58fc77c16c48601307ef4f90fd0a965b194dd6599060200160405180910390a150565b6005546001600160a01b03163314610b895760405162461bcd60e51b815260040161045990611510565b80610bea5760405162461bcd60e51b815260206004820152602b60248201527f56616465723a3a636c61696d4772616e743a204e6f6e2d5a65726f20416d6f7560448201526a1b9d0814995c5d5a5c995960aa1b6064820152608401610459565b816001600160a01b03167f2aa1d398fac8a867531b04feb1273747a6f1ec3d4700f40a2901dce75363edc082604051610c2591815260200190565b60405180910390a26107c2308383610ed4565b6005546001600160a01b03163314610c625760405162461bcd60e51b815260040161045990611510565b6001600160a01b038116610cc75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610459565b6107d881611255565b6001600160a01b038216610d265760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610459565b8060026000828254610d3891906115f7565b90915550506001600160a01b03821660009081526020819052604081208054839290610d659084906115f7565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038316610e115760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610459565b6001600160a01b038216610e725760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610459565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610f385760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610459565b6001600160a01b038216610f9a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610459565b6001600160a01b038316600090815260208190526040902054818110156110125760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610459565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906110499084906115f7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161109591815260200190565b60405180910390a350505050565b6008546001600160a01b0316331461080f5760405162461bcd60e51b815260206004820152602960248201527f56616465723a3a5f6f6e6c79555344563a20496e73756666696369656e742050604482015268726976696c6567657360b81b6064820152608401610459565b6001600160a01b03821661116f5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610459565b6001600160a01b038216600090815260208190526040902054818110156111e35760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610459565b6001600160a01b038316600090815260208190526040812083830390556002805484929061121290849061160f565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610ec7565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600060208083528351808285015260005b818110156112d4578581018301518582016040015282016112b8565b818111156112e6576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b03811681146107d857600080fd5b60008083601f84011261132357600080fd5b50813567ffffffffffffffff81111561133b57600080fd5b6020830191508360208260051b850101111561135657600080fd5b9250929050565b6000806000806000806080878903121561137657600080fd5b8635611381816112fc565b95506020870135611391816112fc565b9450604087013567ffffffffffffffff808211156113ae57600080fd5b6113ba8a838b01611311565b909650945060608901359150808211156113d357600080fd5b506113e089828a01611311565b979a9699509497509295939492505050565b6000806040838503121561140557600080fd5b8235611410816112fc565b946020939093013593505050565b60008060006060848603121561143357600080fd5b833561143e816112fc565b9250602084013561144e816112fc565b929592945050506040919091013590565b60006020828403121561147157600080fd5b5035919050565b60006020828403121561148a57600080fd5b8135611495816112fc565b9392505050565b600080604083850312156114af57600080fd5b82356114ba816112fc565b915060208301356114ca816112fc565b809150509250929050565b600181811c908216806114e957607f821691505b6020821081141561150a57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6040808252810184905260008560608301825b8781101561158857823561156b816112fc565b6001600160a01b0316825260209283019290910190600101611558565b5083810360208581019190915285825291508590820160005b868110156115d45782356001600160c01b0381168082146115c157600080fd5b83525091830191908301906001016115a1565b5098975050505050505050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561160a5761160a6115e1565b500190565b600082821015611621576116216115e1565b50039056fea2646970667358221220f5c5ec8e8e4c73e28dd4c9ead7b579dfe1281b1c703e4ff1ee9483bb8981a2a764736f6c63430008090033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101735760003560e01c80637373aa9f116100de578063bd38837b11610097578063e30de15e11610071578063e30de15e14610351578063e816d42314610364578063e9ba318414610377578063f2fde38b1461038a57600080fd5b8063bd38837b146102fc578063d5abeb011461030f578063dd62ed3e1461031857600080fd5b80637373aa9f146102975780638da5cb5b146102aa5780639420069c146102bb57806395d89b41146102ce578063a457c2d7146102d6578063a9059cbb146102e957600080fd5b80633950935111610130578063395093511461020257806340c10f191461021557806342966c6814610228578063458efde31461023b57806370a0823114610266578063715018a61461028f57600080fd5b806306fdde031461017857806308e13f3c14610196578063095ea7b3146101ab57806318160ddd146101ce57806323b872dd146101e0578063313ce567146101f3575b600080fd5b61018061039d565b60405161018d91906112a7565b60405180910390f35b6101a96101a436600461135d565b61042f565b005b6101be6101b93660046113f2565b61064f565b604051901515815260200161018d565b6002545b60405190815260200161018d565b6101be6101ee36600461141e565b610665565b6040516012815260200161018d565b6101be6102103660046113f2565b61070f565b6101a96102233660046113f2565b61074b565b6101a961023636600461145f565b6107c6565b60075461024e906001600160a01b031681565b6040516001600160a01b03909116815260200161018d565b6101d2610274366004611478565b6001600160a01b031660009081526020819052604090205490565b6101a96107db565b6101a96102a53660046113f2565b610811565b6005546001600160a01b031661024e565b60085461024e906001600160a01b031681565b61018061088c565b6101be6102e43660046113f2565b61089b565b6101be6102f73660046113f2565b610934565b60065461024e906001600160a01b031681565b6101d260095481565b6101d261032636600461149c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101a961035f36600461145f565b610941565b6101a9610372366004611478565b610a26565b6101a96103853660046113f2565b610b5f565b6101a9610398366004611478565b610c38565b6060600380546103ac906114d5565b80601f01602080910402602001604051908101604052809291908181526020018280546103d8906114d5565b80156104255780601f106103fa57610100808354040283529160200191610425565b820191906000526020600020905b81548152906001019060200180831161040857829003601f168201915b5050505050905090565b6005546001600160a01b031633146104625760405162461bcd60e51b815260040161045990611510565b60405180910390fd5b6001600160a01b0386161580159061048257506001600160a01b03851615155b6104e05760405162461bcd60e51b815260206004820152602960248201527f56616465723a3a736574436f6d706f6e656e74733a20496e636f727265637420604482015268417267756d656e747360b81b6064820152608401610459565b6006546001600160a01b0316156105435760405162461bcd60e51b815260206004820152602160248201527f56616465723a3a736574436f6d706f6e656e74733a20416c72656164792053656044820152601d60fa1b6064820152608401610459565b600680546001600160a01b038089166001600160a01b0319928316179092556007805492881692909116919091179055610589866b183bdac6ae9bc1c8cc000000610cd0565b61059f856b0813f3978f89409844000000610cd0565b60405163e6e48a7f60e01b81526001600160a01b0386169063e6e48a7f906105d1908790879087908790600401611545565b600060405180830381600087803b1580156105eb57600080fd5b505af11580156105ff573d6000803e3d6000fd5b5050604080516001600160a01b03808b168252891660208201527fed1c5a7f881890228238224319dee002bc3bb8beedcae78a1f83e063683aa383935001905060405180910390a1505050505050565b600061065c338484610daf565b50600192915050565b6000610672848484610ed4565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156106f75760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610459565b6107048533858403610daf565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161065c9185906107469086906115f7565b610daf565b6107536110a3565b8061075d60025490565b61076791906115f7565b60095410156107b85760405162461bcd60e51b815260206004820152601f60248201527f56616465723a3a6d696e743a204d617820737570706c792072656163686564006044820152606401610459565b6107c28282610cd0565b5050565b6107ce6110a3565b6107d8338261110f565b50565b6005546001600160a01b031633146108055760405162461bcd60e51b815260040161045990611510565b61080f6000611255565b565b6005546001600160a01b0316331461083b5760405162461bcd60e51b815260040161045990611510565b610846308383610ed4565b604080516001600160a01b0384168152602081018390527ff54dbf4cddb908bac0d67a3e6d3e4de95d0e7bc059afe2d34b37a6ebbc3879ca910160405180910390a15050565b6060600480546103ac906114d5565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561091d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610459565b61092a3385858403610daf565b5060019392505050565b600061065c338484610ed4565b6005546001600160a01b0316331461096b5760405162461bcd60e51b815260040161045990611510565b6002548110156109e5576040805162461bcd60e51b81526020600482015260248101919091527f56616465723a3a61646a7573744d6178537570706c793a204d6178207375707060448201527f6c792063616e6e6f7420737562636564652063757272656e7420737570706c796064820152608401610459565b60095460408051918252602082018390527fa626f93317e2474b716846a09cf0e28aacb96052643b252fe97704208fecf9b5910160405180910390a1600955565b6005546001600160a01b03163314610a505760405162461bcd60e51b815260040161045990611510565b6001600160a01b038116610ab25760405162461bcd60e51b8152602060048201526024808201527f56616465723a3a736574555344563a20496e76616c69642055534456206164646044820152637265737360e01b6064820152608401610459565b6008546001600160a01b031615610b0b5760405162461bcd60e51b815260206004820181905260248201527f56616465723a3a736574555344563a205553445620616c7265616479207365746044820152606401610459565b600880546001600160a01b0319166001600160a01b0383169081179091556040519081527fa3f7235d93635f429b50cfcb58fc77c16c48601307ef4f90fd0a965b194dd6599060200160405180910390a150565b6005546001600160a01b03163314610b895760405162461bcd60e51b815260040161045990611510565b80610bea5760405162461bcd60e51b815260206004820152602b60248201527f56616465723a3a636c61696d4772616e743a204e6f6e2d5a65726f20416d6f7560448201526a1b9d0814995c5d5a5c995960aa1b6064820152608401610459565b816001600160a01b03167f2aa1d398fac8a867531b04feb1273747a6f1ec3d4700f40a2901dce75363edc082604051610c2591815260200190565b60405180910390a26107c2308383610ed4565b6005546001600160a01b03163314610c625760405162461bcd60e51b815260040161045990611510565b6001600160a01b038116610cc75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610459565b6107d881611255565b6001600160a01b038216610d265760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610459565b8060026000828254610d3891906115f7565b90915550506001600160a01b03821660009081526020819052604081208054839290610d659084906115f7565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038316610e115760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610459565b6001600160a01b038216610e725760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610459565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610f385760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610459565b6001600160a01b038216610f9a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610459565b6001600160a01b038316600090815260208190526040902054818110156110125760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610459565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906110499084906115f7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161109591815260200190565b60405180910390a350505050565b6008546001600160a01b0316331461080f5760405162461bcd60e51b815260206004820152602960248201527f56616465723a3a5f6f6e6c79555344563a20496e73756666696369656e742050604482015268726976696c6567657360b81b6064820152608401610459565b6001600160a01b03821661116f5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610459565b6001600160a01b038216600090815260208190526040902054818110156111e35760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610459565b6001600160a01b038316600090815260208190526040812083830390556002805484929061121290849061160f565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610ec7565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600060208083528351808285015260005b818110156112d4578581018301518582016040015282016112b8565b818111156112e6576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b03811681146107d857600080fd5b60008083601f84011261132357600080fd5b50813567ffffffffffffffff81111561133b57600080fd5b6020830191508360208260051b850101111561135657600080fd5b9250929050565b6000806000806000806080878903121561137657600080fd5b8635611381816112fc565b95506020870135611391816112fc565b9450604087013567ffffffffffffffff808211156113ae57600080fd5b6113ba8a838b01611311565b909650945060608901359150808211156113d357600080fd5b506113e089828a01611311565b979a9699509497509295939492505050565b6000806040838503121561140557600080fd5b8235611410816112fc565b946020939093013593505050565b60008060006060848603121561143357600080fd5b833561143e816112fc565b9250602084013561144e816112fc565b929592945050506040919091013590565b60006020828403121561147157600080fd5b5035919050565b60006020828403121561148a57600080fd5b8135611495816112fc565b9392505050565b600080604083850312156114af57600080fd5b82356114ba816112fc565b915060208301356114ca816112fc565b809150509250929050565b600181811c908216806114e957607f821691505b6020821081141561150a57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6040808252810184905260008560608301825b8781101561158857823561156b816112fc565b6001600160a01b0316825260209283019290910190600101611558565b5083810360208581019190915285825291508590820160005b868110156115d45782356001600160c01b0381168082146115c157600080fd5b83525091830191908301906001016115a1565b5098975050505050505050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561160a5761160a6115e1565b500190565b600082821015611621576116216115e1565b50039056fea2646970667358221220f5c5ec8e8e4c73e28dd4c9ead7b579dfe1281b1c703e4ff1ee9483bb8981a2a764736f6c63430008090033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.