Overview
Max Total Supply
77,226,500.096240951261352317 AURA
Holders
4,735 ( -0.401%)
Market
Price
$0.40 @ 0.000119 ETH (-6.94%)
Onchain Market Cap
$30,668,496.62
Circulating Supply Market Cap
$19,709,062.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
253.477184372549655943 AURAValue
$100.66 ( ~0.0302634918376396 Eth) [0.0003%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
AuraToken
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
Yes with 800 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; import { ERC20 } from "@openzeppelin/contracts-0.8/token/ERC20/ERC20.sol"; import { AuraMath } from "./AuraMath.sol"; interface IStaker { function operator() external view returns (address); } /** * @title AuraToken * @notice Basically an ERC20 with minting functionality operated by the "operator" of the VoterProxy (Booster). * @dev The minting schedule is based on the amount of CRV earned through staking and is * distirbuted along a supply curve (cliffs etc). Fork of ConvexToken. */ contract AuraToken is ERC20 { using AuraMath for uint256; address public operator; address public immutable vecrvProxy; uint256 public constant EMISSIONS_MAX_SUPPLY = 5e25; // 50m uint256 public constant INIT_MINT_AMOUNT = 5e25; // 50m uint256 public constant totalCliffs = 500; uint256 public immutable reductionPerCliff; address public minter; uint256 private minterMinted = type(uint256).max; /* ========== EVENTS ========== */ event Initialised(); event OperatorChanged(address indexed previousOperator, address indexed newOperator); /** * @param _proxy CVX VoterProxy * @param _nameArg Token name * @param _symbolArg Token symbol */ constructor( address _proxy, string memory _nameArg, string memory _symbolArg ) ERC20(_nameArg, _symbolArg) { operator = msg.sender; vecrvProxy = _proxy; reductionPerCliff = EMISSIONS_MAX_SUPPLY.div(totalCliffs); } /** * @dev Initialise and mints initial supply of tokens. * @param _to Target address to mint. * @param _minter The minter address. */ function init(address _to, address _minter) external { require(msg.sender == operator, "Only operator"); require(totalSupply() == 0, "Only once"); require(_minter != address(0), "Invalid minter"); _mint(_to, INIT_MINT_AMOUNT); updateOperator(); minter = _minter; minterMinted = 0; emit Initialised(); } /** * @dev This can be called if the operator of the voterProxy somehow changes. */ function updateOperator() public { require(totalSupply() != 0, "!init"); address newOperator = IStaker(vecrvProxy).operator(); require(newOperator != operator && newOperator != address(0), "!operator"); emit OperatorChanged(operator, newOperator); operator = newOperator; } /** * @dev Mints AURA to a given user based on the BAL supply schedule. */ function mint(address _to, uint256 _amount) external { require(totalSupply() != 0, "Not initialised"); if (msg.sender != operator) { // dont error just return. if a shutdown happens, rewards on old system // can still be claimed, just wont mint cvx return; } // e.g. emissionsMinted = 6e25 - 5e25 - 0 = 1e25; uint256 emissionsMinted = totalSupply() - INIT_MINT_AMOUNT - minterMinted; // e.g. reductionPerCliff = 5e25 / 500 = 1e23 // e.g. cliff = 1e25 / 1e23 = 100 uint256 cliff = emissionsMinted.div(reductionPerCliff); // e.g. 100 < 500 if (cliff < totalCliffs) { // e.g. (new) reduction = (500 - 100) * 2.5 + 700 = 1700; // e.g. (new) reduction = (500 - 250) * 2.5 + 700 = 1325; // e.g. (new) reduction = (500 - 400) * 2.5 + 700 = 950; uint256 reduction = totalCliffs.sub(cliff).mul(5).div(2).add(700); // e.g. (new) amount = 1e19 * 1700 / 500 = 34e18; // e.g. (new) amount = 1e19 * 1325 / 500 = 26.5e18; // e.g. (new) amount = 1e19 * 950 / 500 = 19e17; uint256 amount = _amount.mul(reduction).div(totalCliffs); // e.g. amtTillMax = 5e25 - 1e25 = 4e25 uint256 amtTillMax = EMISSIONS_MAX_SUPPLY.sub(emissionsMinted); if (amount > amtTillMax) { amount = amtTillMax; } _mint(_to, amount); } } /** * @dev Allows minter to mint to a specific address */ function minterMint(address _to, uint256 _amount) external { require(msg.sender == minter, "Only minter"); minterMinted += _amount; _mint(_to, _amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol) 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.11; /// @notice A library for performing overflow-/underflow-safe math, /// updated with awesomeness from of DappHub (https://github.com/dapphub/ds-math). library AuraMath { /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } function add(uint256 a, uint256 b) internal pure returns (uint256 c) { c = a + b; } function sub(uint256 a, uint256 b) internal pure returns (uint256 c) { c = a - b; } function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { c = a * b; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow, so we distribute. return (a / 2) + (b / 2) + (((a % 2) + (b % 2)) / 2); } function to224(uint256 a) internal pure returns (uint224 c) { require(a <= type(uint224).max, "AuraMath: uint224 Overflow"); c = uint224(a); } function to128(uint256 a) internal pure returns (uint128 c) { require(a <= type(uint128).max, "AuraMath: uint128 Overflow"); c = uint128(a); } function to112(uint256 a) internal pure returns (uint112 c) { require(a <= type(uint112).max, "AuraMath: uint112 Overflow"); c = uint112(a); } function to96(uint256 a) internal pure returns (uint96 c) { require(a <= type(uint96).max, "AuraMath: uint96 Overflow"); c = uint96(a); } function to32(uint256 a) internal pure returns (uint32 c) { require(a <= type(uint32).max, "AuraMath: uint32 Overflow"); c = uint32(a); } } /// @notice A library for performing overflow-/underflow-safe addition and subtraction on uint32. library AuraMath32 { function sub(uint32 a, uint32 b) internal pure returns (uint32 c) { c = a - b; } } /// @notice A library for performing overflow-/underflow-safe addition and subtraction on uint112. library AuraMath112 { function add(uint112 a, uint112 b) internal pure returns (uint112 c) { c = a + b; } function sub(uint112 a, uint112 b) internal pure returns (uint112 c) { c = a - b; } } /// @notice A library for performing overflow-/underflow-safe addition and subtraction on uint224. library AuraMath224 { function add(uint224 a, uint224 b) internal pure returns (uint224 c) { c = a + b; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) 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 // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) 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 // 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; } }
{ "metadata": { "bytecodeHash": "none" }, "optimizer": { "enabled": true, "runs": 800 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_proxy","type":"address"},{"internalType":"string","name":"_nameArg","type":"string"},{"internalType":"string","name":"_symbolArg","type":"string"}],"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":[],"name":"Initialised","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOperator","type":"address"},{"indexed":true,"internalType":"address","name":"newOperator","type":"address"}],"name":"OperatorChanged","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"},{"inputs":[],"name":"EMISSIONS_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INIT_MINT_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"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":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"address","name":"_minter","type":"address"}],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"minterMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reductionPerCliff","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalCliffs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"updateOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vecrvProxy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60c06040526000196007553480156200001757600080fd5b50604051620014a9380380620014a98339810160408190526200003a9162000247565b81518290829062000053906003906020850190620000d4565b50805162000069906004906020840190620000d4565b505060058054336001600160a01b0319909116179055506001600160a01b038316608052620000b26a295be96e640669720000006101f4620000bf602090811b62000af217901c565b60a0525062000331915050565b6000620000cd8284620002d1565b9392505050565b828054620000e290620002f4565b90600052602060002090601f01602090048101928262000106576000855562000151565b82601f106200012157805160ff191683800117855562000151565b8280016001018555821562000151579182015b828111156200015157825182559160200191906001019062000134565b506200015f92915062000163565b5090565b5b808211156200015f576000815560010162000164565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001a257600080fd5b81516001600160401b0380821115620001bf57620001bf6200017a565b604051601f8301601f19908116603f01168101908282118183101715620001ea57620001ea6200017a565b816040528381526020925086838588010111156200020757600080fd5b600091505b838210156200022b57858201830151818301840152908201906200020c565b838211156200023d5760008385830101525b9695505050505050565b6000806000606084860312156200025d57600080fd5b83516001600160a01b03811681146200027557600080fd5b60208501519093506001600160401b03808211156200029357600080fd5b620002a18783880162000190565b93506040860151915080821115620002b857600080fd5b50620002c78682870162000190565b9150509250925092565b600082620002ef57634e487b7160e01b600052601260045260246000fd5b500490565b600181811c908216806200030957607f821691505b602082108114156200032b57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05161114462000365600039600081816102ec015261064e015260008181610367015261081d01526111446000f3fe608060405234801561001057600080fd5b50600436106101825760003560e01c80636cd16339116100d8578063aa74e6221161008c578063e6c6700e11610066578063e6c6700e1461027e578063f09a40161461034f578063fca975a11461036257600080fd5b8063aa74e622146102e7578063d5934b761461030e578063dd62ed3e1461031657600080fd5b806395d89b41116100bd57806395d89b41146102b9578063a457c2d7146102c1578063a9059cbb146102d457600080fd5b80636cd163391461027e57806370a082311461029057600080fd5b806321f314ca1161013a5780633950935111610114578063395093511461024557806340c10f1914610258578063570ca7351461026b57600080fd5b806321f314ca1461020e57806323b872dd14610223578063313ce5671461023657600080fd5b8063095ea7b31161016b578063095ea7b3146101d057806318160ddd146101f35780631f96e76f1461020557600080fd5b806306fdde031461018757806307546172146101a5575b600080fd5b61018f610389565b60405161019c9190610f29565b60405180910390f35b6006546101b8906001600160a01b031681565b6040516001600160a01b03909116815260200161019c565b6101e36101de366004610f96565b61041b565b604051901515815260200161019c565b6002545b60405190815260200161019c565b6101f76101f481565b61022161021c366004610f96565b610431565b005b6101e3610231366004610fc2565b6104b6565b6040516012815260200161019c565b6101e3610253366004610f96565b610575565b610221610266366004610f96565b6105b1565b6005546101b8906001600160a01b031681565b6101f76a295be96e6406697200000081565b6101f761029e366004611003565b6001600160a01b031660009081526020819052604090205490565b61018f6106fd565b6101e36102cf366004610f96565b61070c565b6101e36102e2366004610f96565b6107bd565b6101f77f000000000000000000000000000000000000000000000000000000000000000081565b6102216107ca565b6101f7610324366004611020565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61022161035d366004611020565b61097b565b6101b87f000000000000000000000000000000000000000000000000000000000000000081565b60606003805461039890611059565b80601f01602080910402602001604051908101604052809291908181526020018280546103c490611059565b80156104115780601f106103e657610100808354040283529160200191610411565b820191906000526020600020905b8154815290600101906020018083116103f457829003601f168201915b5050505050905090565b6000610428338484610b05565b50600192915050565b6006546001600160a01b031633146104905760405162461bcd60e51b815260206004820152600b60248201527f4f6e6c79206d696e74657200000000000000000000000000000000000000000060448201526064015b60405180910390fd5b80600760008282546104a291906110aa565b909155506104b290508282610c29565b5050565b60006104c3848484610d08565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561055d5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e63650000000000000000000000000000000000000000000000006064820152608401610487565b61056a8533858403610b05565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916104289185906105ac9086906110aa565b610b05565b6002546106005760405162461bcd60e51b815260206004820152600f60248201527f4e6f7420696e697469616c6973656400000000000000000000000000000000006044820152606401610487565b6005546001600160a01b03163314610616575050565b60006007546a295be96e6406697200000061063060025490565b61063a91906110c2565b61064491906110c2565b90506000610672827f0000000000000000000000000000000000000000000000000000000000000000610af2565b90506101f48110156106f75760006106ae6102bc6106a860026106a2600561069c6101f489610f05565b90610f11565b90610af2565b90610f1d565b905060006106c26101f46106a28785610f11565b905060006106db6a295be96e6406697200000086610f05565b9050808211156106e9578091505b6106f38783610c29565b5050505b50505050565b60606004805461039890611059565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156107a65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610487565b6107b33385858403610b05565b5060019392505050565b6000610428338484610d08565b6002546108195760405162461bcd60e51b815260206004820152600560248201527f21696e69740000000000000000000000000000000000000000000000000000006044820152606401610487565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663570ca7356040518163ffffffff1660e01b8152600401602060405180830381865afa158015610879573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089d91906110d9565b6005549091506001600160a01b038083169116148015906108c657506001600160a01b03811615155b6109125760405162461bcd60e51b815260206004820152600960248201527f216f70657261746f7200000000000000000000000000000000000000000000006044820152606401610487565b6005546040516001600160a01b038084169216907fd58299b712891143e76310d5e664c4203c940a67db37cf856bdaa3c5c76a802c90600090a36005805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6005546001600160a01b031633146109d55760405162461bcd60e51b815260206004820152600d60248201527f4f6e6c79206f70657261746f72000000000000000000000000000000000000006044820152606401610487565b60025415610a255760405162461bcd60e51b815260206004820152600960248201527f4f6e6c79206f6e636500000000000000000000000000000000000000000000006044820152606401610487565b6001600160a01b038116610a7b5760405162461bcd60e51b815260206004820152600e60248201527f496e76616c6964206d696e7465720000000000000000000000000000000000006044820152606401610487565b610a90826a295be96e64066972000000610c29565b610a986107ca565b6006805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038316179055600060078190556040517f09dfb9099a2610601d58030170fde7ae9db3e1bcb751c3d6800216cbe3b499b59190a15050565b6000610afe82846110f6565b9392505050565b6001600160a01b038316610b675760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610487565b6001600160a01b038216610bc85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610487565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216610c7f5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610487565b8060026000828254610c9191906110aa565b90915550506001600160a01b03821660009081526020819052604081208054839290610cbe9084906110aa565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038316610d845760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610487565b6001600160a01b038216610de65760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610487565b6001600160a01b03831660009081526020819052604090205481811015610e755760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610487565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610eac9084906110aa565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ef891815260200190565b60405180910390a36106f7565b6000610afe82846110c2565b6000610afe8284611118565b6000610afe82846110aa565b600060208083528351808285015260005b81811015610f5657858101830151858201604001528201610f3a565b81811115610f68576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610f9357600080fd5b50565b60008060408385031215610fa957600080fd5b8235610fb481610f7e565b946020939093013593505050565b600080600060608486031215610fd757600080fd5b8335610fe281610f7e565b92506020840135610ff281610f7e565b929592945050506040919091013590565b60006020828403121561101557600080fd5b8135610afe81610f7e565b6000806040838503121561103357600080fd5b823561103e81610f7e565b9150602083013561104e81610f7e565b809150509250929050565b600181811c9082168061106d57607f821691505b6020821081141561108e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156110bd576110bd611094565b500190565b6000828210156110d4576110d4611094565b500390565b6000602082840312156110eb57600080fd5b8151610afe81610f7e565b60008261111357634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561113257611132611094565b50029056fea164736f6c634300080b000a000000000000000000000000af52695e1bb01a16d33d7194c28c42b10e0dbec2000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000004417572610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044155524100000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101825760003560e01c80636cd16339116100d8578063aa74e6221161008c578063e6c6700e11610066578063e6c6700e1461027e578063f09a40161461034f578063fca975a11461036257600080fd5b8063aa74e622146102e7578063d5934b761461030e578063dd62ed3e1461031657600080fd5b806395d89b41116100bd57806395d89b41146102b9578063a457c2d7146102c1578063a9059cbb146102d457600080fd5b80636cd163391461027e57806370a082311461029057600080fd5b806321f314ca1161013a5780633950935111610114578063395093511461024557806340c10f1914610258578063570ca7351461026b57600080fd5b806321f314ca1461020e57806323b872dd14610223578063313ce5671461023657600080fd5b8063095ea7b31161016b578063095ea7b3146101d057806318160ddd146101f35780631f96e76f1461020557600080fd5b806306fdde031461018757806307546172146101a5575b600080fd5b61018f610389565b60405161019c9190610f29565b60405180910390f35b6006546101b8906001600160a01b031681565b6040516001600160a01b03909116815260200161019c565b6101e36101de366004610f96565b61041b565b604051901515815260200161019c565b6002545b60405190815260200161019c565b6101f76101f481565b61022161021c366004610f96565b610431565b005b6101e3610231366004610fc2565b6104b6565b6040516012815260200161019c565b6101e3610253366004610f96565b610575565b610221610266366004610f96565b6105b1565b6005546101b8906001600160a01b031681565b6101f76a295be96e6406697200000081565b6101f761029e366004611003565b6001600160a01b031660009081526020819052604090205490565b61018f6106fd565b6101e36102cf366004610f96565b61070c565b6101e36102e2366004610f96565b6107bd565b6101f77f00000000000000000000000000000000000000000000152d02c7e14af680000081565b6102216107ca565b6101f7610324366004611020565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61022161035d366004611020565b61097b565b6101b87f000000000000000000000000af52695e1bb01a16d33d7194c28c42b10e0dbec281565b60606003805461039890611059565b80601f01602080910402602001604051908101604052809291908181526020018280546103c490611059565b80156104115780601f106103e657610100808354040283529160200191610411565b820191906000526020600020905b8154815290600101906020018083116103f457829003601f168201915b5050505050905090565b6000610428338484610b05565b50600192915050565b6006546001600160a01b031633146104905760405162461bcd60e51b815260206004820152600b60248201527f4f6e6c79206d696e74657200000000000000000000000000000000000000000060448201526064015b60405180910390fd5b80600760008282546104a291906110aa565b909155506104b290508282610c29565b5050565b60006104c3848484610d08565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561055d5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e63650000000000000000000000000000000000000000000000006064820152608401610487565b61056a8533858403610b05565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916104289185906105ac9086906110aa565b610b05565b6002546106005760405162461bcd60e51b815260206004820152600f60248201527f4e6f7420696e697469616c6973656400000000000000000000000000000000006044820152606401610487565b6005546001600160a01b03163314610616575050565b60006007546a295be96e6406697200000061063060025490565b61063a91906110c2565b61064491906110c2565b90506000610672827f00000000000000000000000000000000000000000000152d02c7e14af6800000610af2565b90506101f48110156106f75760006106ae6102bc6106a860026106a2600561069c6101f489610f05565b90610f11565b90610af2565b90610f1d565b905060006106c26101f46106a28785610f11565b905060006106db6a295be96e6406697200000086610f05565b9050808211156106e9578091505b6106f38783610c29565b5050505b50505050565b60606004805461039890611059565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156107a65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610487565b6107b33385858403610b05565b5060019392505050565b6000610428338484610d08565b6002546108195760405162461bcd60e51b815260206004820152600560248201527f21696e69740000000000000000000000000000000000000000000000000000006044820152606401610487565b60007f000000000000000000000000af52695e1bb01a16d33d7194c28c42b10e0dbec26001600160a01b031663570ca7356040518163ffffffff1660e01b8152600401602060405180830381865afa158015610879573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089d91906110d9565b6005549091506001600160a01b038083169116148015906108c657506001600160a01b03811615155b6109125760405162461bcd60e51b815260206004820152600960248201527f216f70657261746f7200000000000000000000000000000000000000000000006044820152606401610487565b6005546040516001600160a01b038084169216907fd58299b712891143e76310d5e664c4203c940a67db37cf856bdaa3c5c76a802c90600090a36005805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6005546001600160a01b031633146109d55760405162461bcd60e51b815260206004820152600d60248201527f4f6e6c79206f70657261746f72000000000000000000000000000000000000006044820152606401610487565b60025415610a255760405162461bcd60e51b815260206004820152600960248201527f4f6e6c79206f6e636500000000000000000000000000000000000000000000006044820152606401610487565b6001600160a01b038116610a7b5760405162461bcd60e51b815260206004820152600e60248201527f496e76616c6964206d696e7465720000000000000000000000000000000000006044820152606401610487565b610a90826a295be96e64066972000000610c29565b610a986107ca565b6006805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038316179055600060078190556040517f09dfb9099a2610601d58030170fde7ae9db3e1bcb751c3d6800216cbe3b499b59190a15050565b6000610afe82846110f6565b9392505050565b6001600160a01b038316610b675760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610487565b6001600160a01b038216610bc85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610487565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216610c7f5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610487565b8060026000828254610c9191906110aa565b90915550506001600160a01b03821660009081526020819052604081208054839290610cbe9084906110aa565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038316610d845760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610487565b6001600160a01b038216610de65760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610487565b6001600160a01b03831660009081526020819052604090205481811015610e755760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610487565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610eac9084906110aa565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ef891815260200190565b60405180910390a36106f7565b6000610afe82846110c2565b6000610afe8284611118565b6000610afe82846110aa565b600060208083528351808285015260005b81811015610f5657858101830151858201604001528201610f3a565b81811115610f68576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610f9357600080fd5b50565b60008060408385031215610fa957600080fd5b8235610fb481610f7e565b946020939093013593505050565b600080600060608486031215610fd757600080fd5b8335610fe281610f7e565b92506020840135610ff281610f7e565b929592945050506040919091013590565b60006020828403121561101557600080fd5b8135610afe81610f7e565b6000806040838503121561103357600080fd5b823561103e81610f7e565b9150602083013561104e81610f7e565b809150509250929050565b600181811c9082168061106d57607f821691505b6020821081141561108e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156110bd576110bd611094565b500190565b6000828210156110d4576110d4611094565b500390565b6000602082840312156110eb57600080fd5b8151610afe81610f7e565b60008261111357634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561113257611132611094565b50029056fea164736f6c634300080b000a
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000af52695e1bb01a16d33d7194c28c42b10e0dbec2000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000004417572610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044155524100000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _proxy (address): 0xaF52695E1bB01A16D33D7194C28C42b10e0Dbec2
Arg [1] : _nameArg (string): Aura
Arg [2] : _symbolArg (string): AURA
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 000000000000000000000000af52695e1bb01a16d33d7194c28c42b10e0dbec2
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [4] : 4175726100000000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 4155524100000000000000000000000000000000000000000000000000000000
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.