CRV

Ethereum ERC-20 Token Browse chains

0xd533a949740bb3306d119cc777fa900ba034cd52

Solidity vyper:0.2.4

Fungible token following the ERC-20 standard.

🤖
Query this contract from your AI
Reference: crv-eth 0xd533a949740bb3306d119cc777fa900ba034cd52
Sample prompt: "Tell me the current state of crv-eth"
No AI wired up yet? → mcp.smarts.md · Browse chains

Admin & Risk

Who can change the rules?

Block #25,493,371

Detected upgradeable and mintable controls from the verified ABI.

Upgradeable Mintable

Current controls

Admin
0x40907540d8a6c65c637785e8f8b742ae6b0b9968 ↗ Etherscan → smarts
  • Upgradeability inferred from ABI/events; proxy storage resolution may be incomplete.

Overview

Read Functions
13
Write Functions
11
Events
5

Read Functions

Block #25,493,371 · just now
available_supply() view → 2,408,654,264,053,384,934,248,619,100

Returns the amount of tokens currently available for immediate use.✨ AI

Returns

Name Type Description
uint256 Available token supply as a uint256, representing the number of tokens currently available for use✨ AI
mintable_in_timeframe(start: uint256, end: uint256) view

Return the amount of tokens that can be minted in the given timeframe.✨ AI

Parameters

Name Type Description
start uint256 Start timestamp of the timeframe.✨ AI
end uint256 End timestamp of the timeframe.✨ AI

Returns

Name Type Description
uint256 Amount of tokens (uint256) that can be minted between start and end.✨ AI
totalSupply() view → 2,398,181,149.48 CRV

Returns the total number of tokens in existence.✨ AI

Returns

Name Type Description
uint256 The total token supply as a uint256 (total number of tokens currently in existence).✨ AI
allowance(_owner: address, _spender: address) view

Returns the remaining token allowance that _spender may transfer from _owner.✨ AI

Parameters

Name Type Description
_owner address Address that owns the tokens.✨ AI
_spender address Address authorized to spend tokens on the owner's behalf.✨ AI

Returns

Name Type Description
uint256 Remaining token allowance (uint256) that _spender may spend from _owner.✨ AI
name() view → Curve DAO Token

Returns the token's name.✨ AI

Returns

Name Type Description
string The token's name as a human-readable string.✨ AI
symbol() view → CRV

Returns the token's short symbol used to identify the token to users.✨ AI

Returns

Name Type Description
string The token symbol as a string (for example, "ABC").✨ AI
decimals() view → 18

Returns the number of decimal places used to display token balances.✨ AI

Returns

Name Type Description
uint256 The token's decimals as an unsigned integer (commonly 18), determining display precision.✨ AI
balanceOf(arg0: address) view

Returns the token balance for a given address.✨ AI

Parameters

Name Type Description
arg0 address Address to check the token balance for.✨ AI

Returns

Name Type Description
uint256 The token balance of the given address, expressed in the token's smallest unit (uint256).✨ AI
minter() view → 0xd061d61a4d941c39e5453435b6345dc261c2fce0

Returns the address currently assigned the minter role.✨ AI

Returns

Name Type Description
address The address authorized to mint new tokens.✨ AI
admin() view → 0x40907540d8a6c65c637785e8f8b742ae6b0b9968

Returns the current contract administrator address.✨ AI

Returns

Name Type Description
address The address that currently holds administrative privileges for this contract.✨ AI
mining_epoch() view → 5

Return the current mining epoch index.✨ AI

Returns

Name Type Description
int128 Current mining epoch number as int128.✨ AI
start_epoch_time() view → 1,755,037,048

Returns the Unix timestamp when the current epoch started.✨ AI

Returns

Name Type Description
uint256 Unix timestamp (seconds since Unix epoch) marking the start of the current epoch.✨ AI
rate() view → 3,663,926,723,928,765,860

Get the current rate used for token conversions or pricing.✨ AI

Returns

Name Type Description
uint256 Current rate as a uint256; interpretation depends on contract context (e.g., exchange rate or scaling factor).✨ AI

Write Functions

update_mining_parameters() nonpayable

Update the token's mining parameters according to the contract's emission schedule.✨ AI

start_epoch_time_write() nonpayable

Records the current block timestamp as the epoch start time and returns it.✨ AI

Returns

Name Type Description
uint256 The epoch start timestamp as a uint256 (seconds since the Unix epoch).✨ AI
future_epoch_time_write() nonpayable

Write and return the timestamp for the next epoch.✨ AI

Returns

Name Type Description
uint256 The next epoch timestamp as a uint256 UNIX time (seconds) after it is written to contract storage.✨ AI
set_minter(_minter: address) nonpayable

Sets the account allowed to mint new tokens.✨ AI

Parameters

Name Type Description
_minter address Address to grant minting permission.✨ AI
set_admin(_admin: address) nonpayable

Set the contract admin address to a new account.✨ AI

Parameters

Name Type Description
_admin address The address to assign as the new admin.✨ AI
transfer(_to: address, _value: uint256) nonpayable

Transfer tokens from the caller's account to a recipient address.✨ AI

Parameters

Name Type Description
_to address Recipient address to receive the tokens.✨ AI
_value uint256 Amount of tokens to transfer (in token smallest units).✨ AI

Returns

Name Type Description
bool True if the transfer succeeded, otherwise false.✨ AI
transferFrom(_from: address, _to: address, _value: uint256) nonpayable

Transfer tokens from a permitted address to another address using the caller's allowance.✨ AI

Parameters

Name Type Description
_from address Address to debit tokens from.✨ AI
_to address Address to credit tokens to.✨ AI
_value uint256 Amount of tokens to transfer, expressed in the token's smallest unit.✨ AI

Returns

Name Type Description
bool True if the transfer succeeded; the function reverts on failure.✨ AI
approve(_spender: address, _value: uint256) nonpayable

Authorize _spender to transfer up to _value tokens from your account.✨ AI

Parameters

Name Type Description
_spender address Address that will be allowed to spend tokens.✨ AI
_value uint256 Maximum number of tokens the spender is permitted to transfer.✨ AI

Returns

Name Type Description
bool True if the approval operation succeeded.✨ AI
mint(_to: address, _value: uint256) nonpayable

Mints new tokens and assigns them to the specified address.✨ AI

Parameters

Name Type Description
_to address Recipient address that will receive the newly minted tokens.✨ AI
_value uint256 Amount of tokens to mint, expressed in the token's smallest unit.✨ AI

Returns

Name Type Description
bool True if the mint succeeded, false otherwise.✨ AI
burn(_value: uint256) nonpayable

Burns _value tokens from the caller's balance and decreases the token total supply.✨ AI

Parameters

Name Type Description
_value uint256 Amount of tokens to remove from the caller's balance.✨ AI

Returns

Name Type Description
bool True if the burn operation succeeded and the contract state was updated.✨ AI
set_name(_name: string, _symbol: string) nonpayable

Set the token's name and symbol.✨ AI

Parameters

Name Type Description
_name string New token name.✨ AI
_symbol string New token symbol.✨ AI

Events

Transfer(_from: address, _to: address, _value: uint256)
Name Type Indexed Description
_from address
_to address
_value uint256
Approval(_owner: address, _spender: address, _value: uint256)
Name Type Indexed Description
_owner address
_spender address
_value uint256
UpdateMiningParameters(time: uint256, rate: uint256, supply: uint256)
Name Type Indexed Description
time uint256
rate uint256
supply uint256
SetMinter(minter: address)
Name Type Indexed Description
minter address
SetAdmin(admin: address)
Name Type Indexed Description
admin address