USDC

Arc ERC-20 Token 瀏覽鏈

0x3600000000000000000000000000000000000000

Proxy 實作合約: 0xc6ad664ac6679f4ce74e10e91449c93ec1ae3ca6

Solidity v0.6.12+commit.27d51765

Fungible token following the ERC-20 standard.

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

管理與風險

誰能修改規則?

Block #32,891,477

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

Upgradeable Mintable Pausable Blacklistable Ownable

當前控制

Implementation
0xc6ad664ac6679f4ce74e10e91449c93ec1ae3ca6 ↗ ArcScan → smarts proxy
Paused
false
Owner
0xf5a5658b55983e2aa037cac7a8431b510e8a97f4 ↗ ArcScan → smarts
Master minter
0x5a6e6899ad7387ee1aae23041e3eb29ba11140e3 ↗ ArcScan → smarts
Pauser
0x51fa31e029abf0ce307bca9ee6bf48aed6345212 ↗ ArcScan → smarts
Blacklister
0x2a2b7ff330f15f9a8c52af5fec27d775f5138467 ↗ ArcScan → smarts
Rescuer
0x0000000000000000000000000000000000000000 (無)

概覽

讀取函式
27
寫入函式
31
事件
17

讀取函式

Block #32,891,477 · just now
CANCEL_AUTHORIZATION_TYPEHASH() view → 0x158b0a9edf7a828aad02f63cd515c68ef2f50ba807396f6d12842833a1597429

Return the EIP-712 typehash used to build cancelAuthorization signatures.✨ AI

回傳值

名稱 類型 描述
— bytes32 EIP-712 keccak256 hash of the CancelAuthorization type string used for signature hashing.✨ AI
DECIMALS_SCALING_FACTOR() view → 1,000,000,000,000

Return the token's decimals scaling factor used to convert between displayed units and smallest units.✨ AI

回傳值

名稱 類型 描述
— uint256 Scaling factor (10**decimals) as a uint256 for converting displayed token amounts to base units.✨ AI
DOMAIN_SEPARATOR() view → 0x940506929bba468048a19b567f4f0d534714bc06604b5c3017e5d16785ccdf84

Get the EIP712 Domain Separator.

回傳值

名稱 類型 描述
— bytes32 The bytes32 EIP712 domain separator.
NATIVE_COIN_AUTHORITY() view → 0x1800000000000000000000000000000000000000

Returns the address that holds native coin authority for this token.✨ AI

回傳值

名稱 類型 描述
— address The address with permission to act as the native coin authority.✨ AI
NATIVE_COIN_CONTROL() view → 0x1800000000000000000000000000000000000001

Returns the contract address that controls native coin settings for this token.✨ AI

回傳值

名稱 類型 描述
— address The address that has authority to manage or configure native coin behavior for this token.✨ AI
PERMIT_TYPEHASH() view → 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9

Returns the EIP-2612 permit typehash used to construct and verify permit signatures.✨ AI

回傳值

名稱 類型 描述
— bytes32 The bytes32 keccak256 typehash for the permit struct (EIP-2612).✨ AI
RECEIVE_WITH_AUTHORIZATION_TYPEHASH() view → 0xd099cc98ef71107a616c4f0f941f04c322d8e254fe26b3c6668db87aae413de8

Return the EIP-712 typehash used to verify receive-with-authorization signatures.✨ AI

開發者: EIP-712 struct typehash (keccak256) for the ReceiveWithAuthorization message used in signature recovery.✨ AI

回傳值

名稱 類型 描述
— bytes32 bytes32 EIP-712 typehash for the ReceiveWithAuthorization struct used to validate signatures.✨ AI
TRANSFER_WITH_AUTHORIZATION_TYPEHASH() view → 0x7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a2267

Return the EIP-712 type hash used for transferWithAuthorization authorization structs.✨ AI

回傳值

名稱 類型 描述
— bytes32 EIP-712 type hash (bytes32) identifying the transferWithAuthorization struct used in signed authorizations.✨ AI
allowance(owner: address, spender: address) view

Gets the remaining amount of fiat tokens a spender is allowed to transfer on behalf of the token owner.

參數

名稱 類型 描述
owner address The token owner's address.
spender address The spender's address.

回傳值

名稱 類型 描述
— uint256 The remaining allowance.
authorizationState(authorizer: address, nonce: bytes32) view

Returns the state of an authorization

開發者: Nonces are randomly generated 32-byte data unique to the authorizer's address

參數

名稱 類型 描述
authorizer address Authorizer's address
nonce bytes32 Nonce of the authorization

回傳值

名稱 類型 描述
— bool True if the nonce is used
balanceOf(account: address) view

Gets the fiat token balance of an account.

參數

名稱 類型 描述
account address The address to check.

回傳值

名稱 類型 描述
— uint256 balance The fiat token balance of the account.
blacklister() view → 0x2a2b7ff330f15f9a8c52af5fec27d775f5138467

Returns the address designated as the contract's blacklister.✨ AI

回傳值

名稱 類型 描述
— address The address currently assigned the role that can blacklist accounts.✨ AI
currency() view → USD

Return the token's configured fiat currency identifier.✨ AI

回傳值

名稱 類型 描述
— string The fiat currency identifier string assigned to the token (e.g., "USD").✨ AI
decimals() view → 6

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

回傳值

名稱 類型 描述
— uint8 Number of decimals used to display token amounts (uint8).✨ AI
isBlacklisted(_account: address) view

Checks if account is blacklisted.

參數

名稱 類型 描述
_account address The address to check.

回傳值

名稱 類型 描述
— bool True if the account is blacklisted, false if the account is not blacklisted.
isMinter(account: address) view

Checks if an account is a minter.

參數

名稱 類型 描述
account address The address to check.

回傳值

名稱 類型 描述
— bool True if the account is a minter, false if the account is not a minter.
masterMinter() view → 0x5a6e6899ad7387ee1aae23041e3eb29ba11140e3

Retrieve the address of the current master minter.✨ AI

回傳值

名稱 類型 描述
— address The address of the account holding master minter privileges that can manage minters and mint tokens.✨ AI
minterAllowance(minter: address) view

Gets the minter allowance for an account.

參數

名稱 類型 描述
minter address The address to check.

回傳值

名稱 類型 描述
— uint256 The remaining minter allowance for the account.
name() view → USDC

Returns the token's human-readable name.✨ AI

回傳值

名稱 類型 描述
— string The token's human-readable name string.✨ AI
nonces(owner: address) view

Nonces for permit

參數

名稱 類型 描述
owner address Token owner's address (Authorizer)

回傳值

名稱 類型 描述
— uint256 Next nonce
owner() view → 0xf5a5658b55983e2aa037cac7a8431b510e8a97f4

Return the contract owner's address.✨ AI

開發者: Tells the address of the owner

回傳值

名稱 類型 描述
— address the address of the owner
paused() view → false

Shows whether the token contract is currently paused.✨ AI

回傳值

名稱 類型 描述
— bool True if the contract is paused (restricted operations disabled); false if normal operations are allowed.✨ AI
pauser() view → 0x51fa31e029abf0ce307bca9ee6bf48aed6345212

Returns the address currently assigned the pauser role.✨ AI

回傳值

名稱 類型 描述
— address Address that holds the pauser role and can pause or unpause token transfers.✨ AI
rescuer() view → 0x0000000000000000000000000000000000000000

Returns current rescuer

回傳值

名稱 類型 描述
— address Rescuer's address
symbol() view → USDC

Returns the token's short symbol used to identify the token in wallets and UIs.✨ AI

回傳值

名稱 類型 描述
— string The token symbol as a string (short identifier shown in wallets and interfaces).✨ AI
totalSupply() view → 1,532,204,336.95 USDC

Gets the total supply of tokens in circulation.

開發者: This function delegates to the NATIVE_COIN_AUTHORITY contract to fetch the native supply (in 18 decimals), then converts it down to 6 decimals before returning. Supply is not tracked internally.

回傳值

名稱 類型 描述
— uint256 The total supply in 6 decimals (token precision).
version() pure → 2

Version string for the EIP712 domain separator

回傳值

名稱 類型 描述
— string Version string

寫入函式

approve(spender: address, value: uint256) nonpayable

Sets a fiat token allowance for a spender to spend on behalf of the caller.

參數

名稱 類型 描述
spender address The spender's address.
value uint256 The allowance amount.

回傳值

名稱 類型 描述
— bool True if the operation was successful.
blacklist(_account: address) nonpayable

Adds account to blacklist.

參數

名稱 類型 描述
_account address The address to blacklist.
burn(_amount: uint256) nonpayable

Allows a minter to burn their own tokens.

開發者: This function: 1. Requires the caller to be a minter and not blacklisted 2. Verifies the amount is positive and doesn't exceed caller's balance 3. Delegates the actual burning to NATIVE_COIN_AUTHORITY 4. Emits standard Burn and Transfer events

參數

名稱 類型 描述
_amount uint256 The amount of tokens to be burned.
cancelAuthorization(authorizer: address, nonce: bytes32, v: uint8, r: bytes32, s: bytes32) nonpayable

Attempt to cancel an authorization

開發者: Works only if the authorization is not yet used. EOA wallet signatures should be packed in the order of r, s, v.

參數

名稱 類型 描述
authorizer address Authorizer's address
nonce bytes32 Nonce of the authorization
v uint8
r bytes32
s bytes32
cancelAuthorization(authorizer: address, nonce: bytes32, signature: bytes) nonpayable

Attempt to cancel an authorization

開發者: Works only if the authorization is not yet used. EOA wallet signatures should be packed in the order of r, s, v.

參數

名稱 類型 描述
authorizer address Authorizer's address
nonce bytes32 Nonce of the authorization
signature bytes Signature bytes signed by an EOA wallet or a contract wallet
configureMinter(minter: address, minterAllowedAmount: uint256) nonpayable

Adds or updates a new minter with a mint allowance.

參數

名稱 類型 描述
minter address The address of the minter.
minterAllowedAmount uint256 The minting amount allowed for the minter.

回傳值

名稱 類型 描述
— bool True if the operation was successful.
decreaseAllowance(spender: address, decrement: uint256) nonpayable

Decrease the allowance by a given decrement

參數

名稱 類型 描述
spender address Spender's address
decrement uint256 Amount of decrease in allowance

回傳值

名稱 類型 描述
— bool True if successful
increaseAllowance(spender: address, increment: uint256) nonpayable

Increase the allowance by a given increment

參數

名稱 類型 描述
spender address Spender's address
increment uint256 Amount of increase in allowance

回傳值

名稱 類型 描述
— bool True if successful
initialize(tokenName: string, tokenSymbol: string, tokenCurrency: string, tokenDecimals: uint8, newMasterMinter: address, newPauser: address, newBlacklister: address, newOwner: address) nonpayable

Initializes the fiat token contract.

參數

名稱 類型 描述
tokenName string The name of the fiat token.
tokenSymbol string The symbol of the fiat token.
tokenCurrency string The fiat currency that the token represents.
tokenDecimals uint8 The number of decimals that the token uses.
newMasterMinter address The masterMinter address for the fiat token.
newPauser address The pauser address for the fiat token.
newBlacklister address The blacklister address for the fiat token.
newOwner address The owner of the fiat token.
initializeV2(newName: string) nonpayable

Initialize v2

參數

名稱 類型 描述
newName string New token name
initializeV2_1(lostAndFound: address) nonpayable

Initialize v2.1

參數

名稱 類型 描述
lostAndFound address The address to which the locked funds are sent
initializeV2_2(accountsToBlacklist: address[], newSymbol: string) nonpayable

Initialize v2.2

參數

名稱 類型 描述
accountsToBlacklist address[] A list of accounts to migrate from the old blacklist
newSymbol string New token symbol data structure to the new blacklist data structure.
mint(_to: address, _amount: uint256) nonpayable

Mints tokens to a specified address.

開發者: This function: 1. Requires the caller to be a minter and not blacklisted 2. Verifies the recipient is not blacklisted 3. Checks that amount doesn't exceed minter's allowance 4. Delegates the actual minting to NATIVE_COIN_AUTHORITY 5. Updates minter's remaining allowance 6. Emits Mint and Transfer events

參數

名稱 類型 描述
_to address The address that will receive the minted tokens.
_amount uint256 The amount of tokens to mint.

回傳值

名稱 類型 描述
— bool True if the operation was successful.
pause() nonpayable

Pauses the contract, disabling transfers, approvals and other actions guarded by the pause modifier.✨ AI

開發者: called by the owner to pause, triggers stopped state
permit(owner: address, spender: address, value: uint256, deadline: uint256, signature: bytes) nonpayable

Update allowance with a signed permit

開發者: EOA wallet signatures should be packed in the order of r, s, v.

參數

名稱 類型 描述
owner address Token owner's address (Authorizer)
spender address Spender's address
value uint256 Amount of allowance
deadline uint256 The time at which the signature expires (unix time), or max uint256 value to signal no expiration
signature bytes Signature bytes signed by an EOA wallet or a contract wallet
permit(owner: address, spender: address, value: uint256, deadline: uint256, v: uint8, r: bytes32, s: bytes32) nonpayable

Update allowance with a signed permit

開發者: EOA wallet signatures should be packed in the order of r, s, v.

參數

名稱 類型 描述
owner address Token owner's address (Authorizer)
spender address Spender's address
value uint256 Amount of allowance
deadline uint256 The time at which the signature expires (unix time), or max uint256 value to signal no expiration
v uint8
r bytes32
s bytes32
receiveWithAuthorization(from: address, to: address, value: uint256, validAfter: uint256, validBefore: uint256, nonce: bytes32, signature: bytes) nonpayable

Receive a transfer with a signed authorization from the payer

開發者: This has an additional check to ensure that the payee's address matches the caller of this function to prevent front-running attacks. EOA wallet signatures should be packed in the order of r, s, v.

參數

名稱 類型 描述
from address Payer's address (Authorizer)
to address Payee's address
value uint256 Amount to be transferred
validAfter uint256 The time after which this is valid (unix time)
validBefore uint256 The time before which this is valid (unix time)
nonce bytes32 Unique nonce
signature bytes Signature bytes signed by an EOA wallet or a contract wallet
receiveWithAuthorization(from: address, to: address, value: uint256, validAfter: uint256, validBefore: uint256, nonce: bytes32, v: uint8, r: bytes32, s: bytes32) nonpayable

Receive a transfer with a signed authorization from the payer

開發者: This has an additional check to ensure that the payee's address matches the caller of this function to prevent front-running attacks. EOA wallet signatures should be packed in the order of r, s, v.

參數

名稱 類型 描述
from address Payer's address (Authorizer)
to address Payee's address
value uint256 Amount to be transferred
validAfter uint256 The time after which this is valid (unix time)
validBefore uint256 The time before which this is valid (unix time)
nonce bytes32 Unique nonce
v uint8
r bytes32
s bytes32
removeMinter(minter: address) nonpayable

Removes a minter.

參數

名稱 類型 描述
minter address The address of the minter to remove.

回傳值

名稱 類型 描述
— bool True if the operation was successful.
rescueERC20(tokenContract: address, to: address, amount: uint256) nonpayable

Rescue ERC20 tokens locked up in this contract.

參數

名稱 類型 描述
tokenContract address ERC20 token contract address
to address Recipient address
amount uint256 Amount to withdraw
transfer(to: address, value: uint256) nonpayable

Transfers tokens from the caller.

參數

名稱 類型 描述
to address Payee's address.
value uint256 Transfer amount.

回傳值

名稱 類型 描述
— bool True if the operation was successful.
transferFrom(from: address, to: address, value: uint256) nonpayable

Transfers tokens from an address to another by spending the caller's allowance.

開發者: The caller must have some fiat token allowance on the payer's tokens.

參數

名稱 類型 描述
from address Payer's address.
to address Payee's address.
value uint256 Transfer amount.

回傳值

名稱 類型 描述
— bool True if the operation was successful.
transferOwnership(newOwner: address) nonpayable

Transfer ownership of the contract to the specified new owner address.✨ AI

開發者: Allows the current owner to transfer control of the contract to a newOwner.

參數

名稱 類型 描述
newOwner address The address to transfer ownership to.
transferWithAuthorization(from: address, to: address, value: uint256, validAfter: uint256, validBefore: uint256, nonce: bytes32, signature: bytes) nonpayable

Execute a transfer with a signed authorization

開發者: EOA wallet signatures should be packed in the order of r, s, v.

參數

名稱 類型 描述
from address Payer's address (Authorizer)
to address Payee's address
value uint256 Amount to be transferred
validAfter uint256 The time after which this is valid (unix time)
validBefore uint256 The time before which this is valid (unix time)
nonce bytes32 Unique nonce
signature bytes Signature bytes signed by an EOA wallet or a contract wallet
transferWithAuthorization(from: address, to: address, value: uint256, validAfter: uint256, validBefore: uint256, nonce: bytes32, v: uint8, r: bytes32, s: bytes32) nonpayable

Execute a transfer with a signed authorization

開發者: EOA wallet signatures should be packed in the order of r, s, v.

參數

名稱 類型 描述
from address Payer's address (Authorizer)
to address Payee's address
value uint256 Amount to be transferred
validAfter uint256 The time after which this is valid (unix time)
validBefore uint256 The time before which this is valid (unix time)
nonce bytes32 Unique nonce
v uint8
r bytes32
s bytes32
unBlacklist(_account: address) nonpayable

Removes account from blacklist.

參數

名稱 類型 描述
_account address The address to remove from the blacklist.
unpause() nonpayable

Unpauses token transfers and restores normal contract operations.✨ AI

開發者: called by the owner to unpause, returns to normal state
updateBlacklister(_newBlacklister: address) nonpayable

Updates the blacklister address.

參數

名稱 類型 描述
_newBlacklister address The address of the new blacklister.
updateMasterMinter(_newMasterMinter: address) nonpayable

Updates the master minter address.

參數

名稱 類型 描述
_newMasterMinter address The address of the new master minter.
updatePauser(_newPauser: address) nonpayable

Updates the pauser address.

參數

名稱 類型 描述
_newPauser address The address of the new pauser.
updateRescuer(newRescuer: address) nonpayable

Updates the rescuer address.

參數

名稱 類型 描述
newRescuer address The address of the new rescuer.

事件

Approval(owner: address, spender: address, value: uint256)
名稱 類型 已索引 描述
owner address ✓
spender address ✓
value uint256
AuthorizationCanceled(authorizer: address, nonce: bytes32)
名稱 類型 已索引 描述
authorizer address ✓
nonce bytes32 ✓
AuthorizationUsed(authorizer: address, nonce: bytes32)
名稱 類型 已索引 描述
authorizer address ✓
nonce bytes32 ✓
Blacklisted(_account: address)
名稱 類型 已索引 描述
_account address ✓
BlacklisterChanged(newBlacklister: address)
名稱 類型 已索引 描述
newBlacklister address ✓
Burn(burner: address, amount: uint256)
名稱 類型 已索引 描述
burner address ✓
amount uint256
MasterMinterChanged(newMasterMinter: address)
名稱 類型 已索引 描述
newMasterMinter address ✓
Mint(minter: address, to: address, amount: uint256)
名稱 類型 已索引 描述
minter address ✓
to address ✓
amount uint256
MinterConfigured(minter: address, minterAllowedAmount: uint256)
名稱 類型 已索引 描述
minter address ✓
minterAllowedAmount uint256
MinterRemoved(oldMinter: address)
名稱 類型 已索引 描述
oldMinter address ✓
OwnershipTransferred(previousOwner: address, newOwner: address)
名稱 類型 已索引 描述
previousOwner address representing the address of the previous owner
newOwner address representing the address of the new owner
Pause()
PauserChanged(newAddress: address)
名稱 類型 已索引 描述
newAddress address ✓
RescuerChanged(newRescuer: address)
名稱 類型 已索引 描述
newRescuer address ✓
Transfer(from: address, to: address, value: uint256)
名稱 類型 已索引 描述
from address ✓
to address ✓
value uint256
UnBlacklisted(_account: address)
名稱 類型 已索引 描述
_account address ✓
Unpause()