USDC

BNB Smart Chain ERC-20 Token

0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d

Proxy 实现合约: 0xba5fe23f8a3a24bed3236f05f2fcf35fd0bf0b5c

Solidity v0.6.4+commit.1dca32f3

Fungible token following the ERC-20 standard.

🤖
通过你的 AI 查询此合约
引用: 0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d
示例提示词: "Tell me the current state of bnb/0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d"
还没有接入 AI?→ mcp.smarts.md

管理与风险

谁能修改规则?

Detected upgradeable, mintable, and ownable controls from the verified ABI.

Upgradeable Mintable Ownable

当前控制

Implementation
0xba5fe23f8a3a24bed3236f05f2fcf35fd0bf0b5c ↗ BscScan → smarts proxy

概览

读取函数
8
写入函数
10
事件
3

读取函数

Block #100,469,991 · 26s ago
allowance(owner: address, spender: address) view

Returns the remaining number of tokens that spender is allowed to spend on behalf of owner.✨ AI

开发者: 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.

参数

名称 类型 描述
owner address Address that owns the tokens.✨ AI
spender address Address authorized to spend tokens on behalf of the owner.✨ AI

返回值

名称 类型 描述
uint256 Remaining token allowance for spender set by owner, expressed as a uint256.✨ AI
balanceOf(account: address) view

Returns the token balance of the specified account.✨ AI

开发者: Returns the amount of tokens owned by `account`.

参数

名称 类型 描述
account address Address whose token balance will be returned.✨ AI

返回值

名称 类型 描述
uint256 The uint256 token balance held by the specified account (expressed in the token's smallest unit).✨ AI
decimals() view → 18

Returns the number of decimal places the token uses.✨ AI

开发者: Returns the token decimals.

返回值

名称 类型 描述
uint8 The token's decimals as uint8, indicating how many decimal places token amounts use for display and conversion.✨ AI
getOwner() view → 0xf68a4b64162906eff0ff6ae34e2bb1cd42fef62d

Returns the contract owner's address.✨ AI

开发者: Returns the bep token owner.

返回值

名称 类型 描述
address The address that holds ownership and administrative rights for the token contract.✨ AI
mintable() view → true

Indicates if the contract currently allows minting of new tokens.✨ AI

开发者: Returns if the token is mintable or not

返回值

名称 类型 描述
bool True if minting is enabled and new tokens can be created, otherwise false.✨ AI
name() view → USD Coin

Return the token's name as a human-readable string.✨ AI

开发者: Returns the token name.

返回值

名称 类型 描述
string The token's descriptive name as a string (e.g., "MyToken").✨ AI
symbol() view → USDC

Returns the token's short symbol string (e.g., 'ABC').✨ AI

开发者: Returns the token symbol.

返回值

名称 类型 描述
string The token symbol as a string, typically a short identifier used in UIs.✨ AI
totalSupply() view → 1,288,999,879.43 USDC

Returns the total number of tokens in circulation.✨ AI

开发者: Returns the amount of tokens in existence.

返回值

名称 类型 描述
uint256 Total number of tokens in existence, denominated in the token's smallest units (uint256).✨ AI

写入函数

approve(spender: address, amount: uint256) nonpayable

Set the allowance for spender to spend up to amount of the caller's tokens.✨ AI

开发者: 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.

参数

名称 类型 描述
spender address Address allowed to transfer tokens from the caller's account.✨ AI
amount uint256 Maximum number of tokens the spender may transfer.✨ AI

返回值

名称 类型 描述
bool True if the approval succeeded.✨ AI
burn(amount: uint256) nonpayable

Destroy a specified amount of tokens from the caller's balance, reducing total supply.✨ AI

开发者: Burn `amount` tokens and decreasing the total supply.

参数

名称 类型 描述
amount uint256 Number of tokens to remove from the caller's balance.✨ AI

返回值

名称 类型 描述
bool True if the burn operation succeeded.✨ AI
decreaseAllowance(spender: address, subtractedValue: uint256) nonpayable

Decrease the caller's allowance granted to spender by subtractedValue.✨ AI

开发者: 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 {BEP20-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`.

参数

名称 类型 描述
spender address Address whose allowance will be decreased.✨ AI
subtractedValue uint256 Amount to subtract from the current allowance.✨ AI

返回值

名称 类型 描述
bool True if the allowance was successfully decreased.✨ AI
increaseAllowance(spender: address, addedValue: uint256) nonpayable

Increase the caller's allowance for a spender by addedValue and return true on success.✨ AI

开发者: 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 {BEP20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address.

参数

名称 类型 描述
spender address Address that will be allowed to spend the caller's tokens.✨ AI
addedValue uint256 Amount of tokens to add to the current allowance.✨ AI

返回值

名称 类型 描述
bool True if the allowance was successfully increased.✨ AI
initialize(name: string, symbol: string, decimals: uint8, amount: uint256, mintable: bool, owner: address) nonpayable

Initializes the token contract with metadata, initial supply, minting option, and owner.✨ AI

开发者: sets initials supply and the owner

参数

名称 类型 描述
name string Token name shown in wallets and explorers.✨ AI
symbol string Ticker symbol shown in wallets and explorers.✨ AI
decimals uint8 Number of decimal places for token amounts.✨ AI
amount uint256 Initial token supply minted to the owner, expressed in smallest units.✨ AI
mintable bool If true, additional tokens can be minted after initialization.✨ AI
owner address Address set as the token owner and initial recipient of the minted amount.✨ AI
mint(amount: uint256) nonpayable

Mint new tokens, increasing total supply and assigning them to the caller.✨ AI

开发者: Creates `amount` tokens and assigns them to `msg.sender`, increasing the total supply. Requirements - `msg.sender` must be the token owner - `_mintable` must be true

参数

名称 类型 描述
amount uint256 Amount of tokens to create, expressed in the token's smallest unit.✨ AI

返回值

名称 类型 描述
bool True if the mint operation succeeded, false otherwise.✨ AI
renounceOwnership() nonpayable

Allows the current owner to permanently renounce ownership, making the contract ownerless.✨ AI

开发者: 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.
transfer(recipient: address, amount: uint256) nonpayable

Transfers tokens from the caller to the recipient and returns true on success.✨ AI

开发者: Moves `amount` tokens from the caller's account to `recipient`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.

参数

名称 类型 描述
recipient address Address receiving the tokens.✨ AI
amount uint256 Amount of tokens to transfer, specified in the token's smallest unit.✨ AI

返回值

名称 类型 描述
bool True if the transfer succeeded, false otherwise.✨ AI
transferFrom(sender: address, recipient: address, amount: uint256) nonpayable

Transfers tokens from sender to recipient using the caller's allowance and returns true on success.✨ AI

开发者: 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.

参数

名称 类型 描述
sender address Address to debit tokens from.✨ AI
recipient address Address to credit tokens to.✨ AI
amount uint256 Number of tokens to transfer (in smallest unit).✨ AI

返回值

名称 类型 描述
bool True if the transfer succeeded.✨ AI
transferOwnership(newOwner: address) nonpayable

Transfer contract ownership to a new owner address.✨ AI

开发者: Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.

参数

名称 类型 描述
newOwner address Address to receive ownership of the contract.✨ AI

事件

Approval(owner: address, spender: address, value: uint256)
名称 类型 已索引 描述
owner address
spender address
value uint256
OwnershipTransferred(previousOwner: address, newOwner: address)
名称 类型 已索引 描述
previousOwner address
newOwner address
Transfer(from: address, to: address, value: uint256)
名称 类型 已索引 描述
from address
to address
value uint256