CRV

Ethereum ERC-20 Token 瀏覽鏈

0xd533a949740bb3306d119cc777fa900ba034cd52

Solidity vyper:0.2.4

Fungible token following the ERC-20 standard.

🤖
透過你的 AI 查詢此合約
參考: crv-eth 0xd533a949740bb3306d119cc777fa900ba034cd52
範例提示詞: "Tell me the current state of crv-eth"
還沒有接入 AI?→ mcp.smarts.md · 瀏覽鏈

管理與風險

誰能修改規則?

Block #25,493,687

Detected upgradeable and mintable controls from the verified ABI.

Upgradeable Mintable

當前控制

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

概覽

讀取函式
13
寫入函式
11
事件
5

讀取函式

Block #25,493,687 · just now
available_supply() view → 2,408,668,245,597,763,446,419,140,860

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

回傳值

名稱 類型 描述
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

參數

名稱 類型 描述
start uint256 Start timestamp of the timeframe.✨ AI
end uint256 End timestamp of the timeframe.✨ AI

回傳值

名稱 類型 描述
uint256 Amount of tokens (uint256) that can be minted between start and end.✨ AI
totalSupply() view → 2,398,196,250.44 CRV

Returns the total number of tokens in existence.✨ AI

回傳值

名稱 類型 描述
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

參數

名稱 類型 描述
_owner address Address that owns the tokens.✨ AI
_spender address Address authorized to spend tokens on the owner's behalf.✨ AI

回傳值

名稱 類型 描述
uint256 Remaining token allowance (uint256) that _spender may spend from _owner.✨ AI
name() view → Curve DAO Token

Returns the token's name.✨ AI

回傳值

名稱 類型 描述
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

回傳值

名稱 類型 描述
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

回傳值

名稱 類型 描述
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

參數

名稱 類型 描述
arg0 address Address to check the token balance for.✨ AI

回傳值

名稱 類型 描述
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

回傳值

名稱 類型 描述
address The address authorized to mint new tokens.✨ AI
admin() view → 0x40907540d8a6c65c637785e8f8b742ae6b0b9968

Returns the current contract administrator address.✨ AI

回傳值

名稱 類型 描述
address The address that currently holds administrative privileges for this contract.✨ AI
mining_epoch() view → 5

Return the current mining epoch index.✨ AI

回傳值

名稱 類型 描述
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

回傳值

名稱 類型 描述
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

回傳值

名稱 類型 描述
uint256 Current rate as a uint256; interpretation depends on contract context (e.g., exchange rate or scaling factor).✨ AI

寫入函式

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

回傳值

名稱 類型 描述
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

回傳值

名稱 類型 描述
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

參數

名稱 類型 描述
_minter address Address to grant minting permission.✨ AI
set_admin(_admin: address) nonpayable

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

參數

名稱 類型 描述
_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

參數

名稱 類型 描述
_to address Recipient address to receive the tokens.✨ AI
_value uint256 Amount of tokens to transfer (in token smallest units).✨ AI

回傳值

名稱 類型 描述
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

參數

名稱 類型 描述
_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

回傳值

名稱 類型 描述
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

參數

名稱 類型 描述
_spender address Address that will be allowed to spend tokens.✨ AI
_value uint256 Maximum number of tokens the spender is permitted to transfer.✨ AI

回傳值

名稱 類型 描述
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

參數

名稱 類型 描述
_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

回傳值

名稱 類型 描述
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

參數

名稱 類型 描述
_value uint256 Amount of tokens to remove from the caller's balance.✨ AI

回傳值

名稱 類型 描述
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

參數

名稱 類型 描述
_name string New token name.✨ AI
_symbol string New token symbol.✨ AI

事件

Transfer(_from: address, _to: address, _value: uint256)
名稱 類型 已索引 描述
_from address
_to address
_value uint256
Approval(_owner: address, _spender: address, _value: uint256)
名稱 類型 已索引 描述
_owner address
_spender address
_value uint256
UpdateMiningParameters(time: uint256, rate: uint256, supply: uint256)
名稱 類型 已索引 描述
time uint256
rate uint256
supply uint256
SetMinter(minter: address)
名稱 類型 已索引 描述
minter address
SetAdmin(admin: address)
名稱 類型 已索引 描述
admin address