USDB

Blast ERC-20 Token Browse chains

0x4300000000000000000000000000000000000003

Proxy implementation: 0x4ef0d788470e2feb6559b93075ec5be51dba737d

Solidity v0.8.15+commit.e14f2714

Fungible token following the ERC-20 standard.

🤖
Query this contract from your AI
Reference: 0x4300000000000000000000000000000000000003
Sample prompt: "Tell me the current state of blast/0x4300000000000000000000000000000000000003"
No AI wired up yet? → mcp.smarts.md · Browse chains
Blast is a docs-only chain on Smarts: source code and ABI are indexed, but live on-chain data (state, recent events, admin profile) is not currently available. AI agents can still query get_contract_info and get_contract_source via MCP.

Overview

Read Functions
22
Write Functions
10
Events
7

Read Functions

BRIDGE() view

Returns the bridge contract address used by this token.✨ AI

Returns

Name Type Description
address The bridge contract address that handles cross-chain deposits and withdrawals.✨ AI
DOMAIN_SEPARATOR() view

Provides the EIP-712 domain separator used to verify permit signatures.✨ AI

dev: EIP-712 domain separator computed from name, version, chainId, and contract address; it can change if chainId changes.✨ AI

Returns

Name Type Description
bytes32 bytes32 EIP-712 domain separator value used to construct and verify permit (EIP-2612) signatures.✨ AI
PERMIT_TYPEHASH() view

Returns the EIP-2612 permit type hash used to verify signed approvals.✨ AI

Returns

Name Type Description
bytes32 The bytes32 type hash used in EIP-712 for permit signatures (EIP-2612).✨ AI
REMOTE_TOKEN() view

Returns the address of the remote token contract used by this USDB token.✨ AI

Returns

Name Type Description
address The address of the remote token contract that this USDB instance references.✨ AI
REPORTER() view

Returns the address assigned to the REPORTER role.✨ AI

Returns

Name Type Description
address The address currently assigned as the contract's REPORTER role.✨ AI
allowance(owner: address, spender: address) view

Return the remaining token allowance that owner granted to spender.✨ AI

dev: 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.

Parameters

Name Type Description
owner address Owner address that granted the allowance.✨ AI
spender address Spender address authorized to transfer tokens on owner's behalf.✨ AI

Returns

Name Type Description
uint256 Remaining token amount that spender is permitted to transfer from owner.✨ AI
balanceOf(account: address) view

Returns the token balance of the given account.✨ AI

dev: Returns the amount of tokens owned by `account`.

Parameters

Name Type Description
account address Address whose token balance will be retrieved.✨ AI

Returns

Name Type Description
value uint256 The amount of tokens owned by the account, expressed in the token's smallest unit (uint256).✨ AI
bridge() view

Legacy getter for BRIDGE.

Returns

Name Type Description
address
count() view

Get the total number of shares. Needs to be overridden by the child contract.

Returns

Name Type Description
uint256 Total number of shares.
decimals() view

Return the number of decimal places used by the token.✨ AI

dev: Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}.

Returns

Name Type Description
uint8 Token decimals as a uint8 indicating fraction precision for balances and transfers.✨ AI
eip712Domain() view

Return the EIP-712 domain fields used for typed-data signing.✨ AI

dev: See {EIP-5267}. _Available since v4.9._

Returns

Name Type Description
fields bytes1 A single byte indicating the domain/prefix format (bytes1).✨ AI
name string The domain name string used for signing (e.g., token name).✨ AI
version string The domain version string used for signing.✨ AI
chainId uint256 The chain identifier (uint256) the domain is bound to.✨ AI
verifyingContract address The verifying contract address that accepts signed messages.✨ AI
salt bytes32 A 32-byte salt value used in domain separation (bytes32).✨ AI
extensions uint256[] An array of uint256 extension fields included in the domain.✨ AI
getClaimableAmount(account: address) view

Query an CLAIMABLE account's claimable yield.

Parameters

Name Type Description
account address Address to query the claimable amount.

Returns

Name Type Description
uint256 amount Claimable amount.
getConfiguration(account: address) view

Query an account's configured yield mode.

Parameters

Name Type Description
account address Address to query the configuration.

Returns

Name Type Description
uint8 Configured yield mode.
name() view

Returns the token's name.✨ AI

dev: Returns the name of the token.

Returns

Name Type Description
string The token's human-readable name string.✨ AI
nonces(owner: address) view

Returns the current signature nonce for a given owner address.✨ AI

dev: See {IERC20Permit-nonces}.

Parameters

Name Type Description
owner address Address of the token holder whose nonce is being queried.✨ AI

Returns

Name Type Description
uint256 The current uint256 nonce for the owner, used by permit signatures and incremented after use.✨ AI
pending() view

Returns the amount of USDB tokens currently pending to be claimed.✨ AI

Returns

Name Type Description
uint256 uint256 amount of USDB tokens pending claim, denominated in the token's smallest unit✨ AI
price() view

Returns the current USD-B token price as an unsigned integer.✨ AI

Returns

Name Type Description
uint256 Current price of the USD-B token as a uint256, scaled by the contract's price precision.✨ AI
remoteToken() view

Legacy getter for REMOTE_TOKEN.

Returns

Name Type Description
address
supportsInterface(_interfaceId: bytes4) pure

ERC165 interface check function.

Parameters

Name Type Description
_interfaceId bytes4 Interface ID to check.

Returns

Name Type Description
bool Whether or not the interface is supported by this contract.
symbol() view

Returns the token's symbol used to identify the token in wallets and user interfaces.✨ AI

dev: Returns the symbol of the token, usually a shorter version of the name.

Returns

Name Type Description
string The token symbol as a string (e.g., "USDB").✨ AI
totalSupply() view

Returns the total supply of USDB tokens.✨ AI

dev: Returns the amount of tokens in existence.

Returns

Name Type Description
uint256 Total supply as a uint256, denominated in the token's smallest unit (based on the token's decimals).✨ AI
version() view

Returns the full semver contract version.

Returns

Name Type Description
string Semver contract version as a string.

Write Functions

addValue(value: uint256) nonpayable

Report a yield event and update the share price.

Parameters

Name Type Description
value uint256 Amount of new yield
approve(spender: address, amount: uint256) nonpayable

Set the caller's allowance for spender to the specified token amount.✨ AI

dev: 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.

Parameters

Name Type Description
spender address Address approved to transfer tokens on the caller's behalf.✨ AI
amount uint256 Maximum number of tokens the spender is allowed to transfer.✨ AI

Returns

Name Type Description
bool True if the approval succeeded, otherwise false.✨ AI
burn(_from: address, _amount: uint256) nonpayable

Allows the StandardBridge on this network to burn tokens.

Parameters

Name Type Description
_from address Address to burn tokens from.
_amount uint256 Amount of tokens to burn.
claim(recipient: address, amount: uint256) nonpayable

Claim yield from a CLAIMABLE account and send to a recipient.

Parameters

Name Type Description
recipient address Address to receive the claimed balance.
amount uint256 Amount to claim.

Returns

Name Type Description
uint256 Amount claimed.
configure(yieldMode: uint8) nonpayable

Change the yield mode of the caller and update the balance to reflect the configuration.

Parameters

Name Type Description
yieldMode uint8 Yield mode to configure

Returns

Name Type Description
uint256 Current user balance
initialize() nonpayable

Initializer

mint(_to: address, _amount: uint256) nonpayable

Allows the StandardBridge on this network to mint tokens.

Parameters

Name Type Description
_to address Address to mint tokens to.
_amount uint256 Amount of tokens to mint.
permit(owner: address, spender: address, value: uint256, deadline: uint256, v: uint8, r: bytes32, s: bytes32) nonpayable

Allows an owner to approve a spender using an off-chain EIP-2612-style signature.✨ AI

dev: See {IERC20Permit-permit}.

Parameters

Name Type Description
owner address Token owner address that signed the permit.✨ AI
spender address Address that will be allowed to spend the tokens.✨ AI
value uint256 Amount of tokens to approve, expressed in the token's smallest units.✨ AI
deadline uint256 Unix timestamp after which the signature is no longer valid.✨ AI
v uint8 ECDSA signature recovery byte v.✨ AI
r bytes32 ECDSA signature r value (32 bytes).✨ AI
s bytes32 ECDSA signature s value (32 bytes).✨ AI
transfer(to: address, amount: uint256) nonpayable

Transfers tokens from the caller's balance to the specified recipient address.✨ AI

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

Parameters

Name Type Description
to address Recipient address that will receive the tokens.✨ AI
amount uint256 Amount of tokens to transfer, expressed in the token's smallest unit.✨ AI

Returns

Name Type Description
bool True if the transfer succeeded, otherwise false.✨ AI
transferFrom(from: address, to: address, amount: uint256) nonpayable

Transfer tokens from a specified account to another using an approved allowance.✨ AI

dev: Moves `amount` tokens from `from` to `to` 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.

Parameters

Name Type Description
from address Address to transfer tokens from.✨ AI
to address Address to transfer tokens to.✨ AI
amount uint256 Amount of tokens to transfer.✨ AI

Returns

Name Type Description
bool True if the transfer succeeded.✨ AI

Events

Approval(owner: address, spender: address, value: uint256)
Name Type Indexed Description
owner address
spender address
value uint256
Claim(account: address, recipient: address, amount: uint256)

Emitted when a CLAIMABLE account claims their yield.

Name Type Indexed Description
account address Address of the account.
recipient address Address of the recipient.
amount uint256 Amount of yield claimed.
Configure(account: address, yieldMode: uint8)

Emitted when an account configures their yield mode.

Name Type Indexed Description
account address Address of the account.
yieldMode uint8 Yield mode that was configured.
EIP712DomainChanged()
Initialized(version: uint8)
Name Type Indexed Description
version uint8
NewPrice(price: uint256)

Emitted when a new share price is set after a yield event.

Name Type Indexed Description
price uint256
Transfer(from: address, to: address, value: uint256)
Name Type Indexed Description
from address
to address
value uint256