USDC
BNB Smart Chain ERC-20 Token0xba5fe23f8a3a24bed3236f05f2fcf35fd0bf0b5c
Solidity v0.6.4+commit.1dca32f3
Fungible token following the ERC-20 standard.
管理與風險
誰能修改規則?
Detected mintable and ownable controls from the verified ABI.
概覽
讀取函式
Block #100,475,131 · just nowReturns the remaining number of tokens that spender is allowed to spend on behalf of owner.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| 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 |
Returns the token balance of the specified account.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| 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 |
Returns the number of decimal places the token uses.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint8 | The token's decimals as uint8, indicating how many decimal places token amounts use for display and conversion.✨ AI |
Returns the contract owner's address.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | address | The address that holds ownership and administrative rights for the token contract.✨ AI |
Indicates if the contract currently allows minting of new tokens.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if minting is enabled and new tokens can be created, otherwise false.✨ AI |
Return the token's name as a human-readable string.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | string | The token's descriptive name as a string (e.g., "MyToken").✨ AI |
Returns the token's short symbol string (e.g., 'ABC').✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | string | The token symbol as a string, typically a short identifier used in UIs.✨ AI |
Returns the total number of tokens in circulation.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | uint256 | Total number of tokens in existence, denominated in the token's smallest units (uint256).✨ AI |
寫入函式
Set the allowance for spender to spend up to amount of the caller's tokens.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| 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 |
Destroy a specified amount of tokens from the caller's balance, reducing total supply.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| amount | uint256 | Number of tokens to remove from the caller's balance.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if the burn operation succeeded.✨ AI |
Decrease the caller's allowance granted to spender by subtractedValue.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| 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 |
Increase the caller's allowance for a spender by addedValue and return true on success.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| 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 |
Initializes the token contract with metadata, initial supply, minting option, and owner.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| 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 new tokens, increasing total supply and assigning them to the caller.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| 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 |
Allows the current owner to permanently renounce ownership, making the contract ownerless.✨ AI
Transfers tokens from the caller to the recipient and returns true on success.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| 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 |
Transfers tokens from sender to recipient using the caller's allowance and returns true on success.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| 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 |
Transfer contract ownership to a new owner address.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| newOwner | address | Address to receive ownership of the contract.✨ AI |
事件
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| owner | address | ✓ | |
| spender | address | ✓ | |
| value | uint256 |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| previousOwner | address | ✓ | |
| newOwner | address | ✓ |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| from | address | ✓ | |
| to | address | ✓ | |
| value | uint256 |