OptimismMintableERC20Factory

Blast

0x4200000000000000000000000000000000000012

Proxy implementation: 0xc0d3c0d3c0d3c0d3c0d3c0d3c0d3c0d3c2d30012

Solidity v0.8.15+commit.e14f2714

🤖
Query this contract from your AI
Reference: 0x4200000000000000000000000000000000000012
Sample prompt: "Tell me the current state of blast/0x4200000000000000000000000000000000000012"
No AI wired up yet? → mcp.smarts.md
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
3
Write Functions
4
Events
3

Read Functions

BRIDGE() view

Returns the address of the StandardBridge on this chain. This is a legacy getter, use `bridge` instead.

Returns

Name Type Description
address
bridge() view

Legacy getter for BRIDGE.

Returns

Name Type Description
address
version() view

Getter for the semantic version of the contract. This is not meant to be used onchain but instead meant to be used by offchain tooling.

Returns

Name Type Description
string Semver contract version as a string.

Write Functions

createOptimismMintableERC20(_remoteToken: address, _name: string, _symbol: string) nonpayable

Creates an instance of the OptimismMintableERC20 contract.

Parameters

Name Type Description
_remoteToken address Address of the token on the remote chain.
_name string ERC20 name.
_symbol string ERC20 symbol.

Returns

Name Type Description
address Address of the newly created token.
createOptimismMintableERC20WithDecimals(_remoteToken: address, _name: string, _symbol: string, _decimals: uint8) nonpayable

Creates an instance of the OptimismMintableERC20 contract, with specified decimals.

Parameters

Name Type Description
_remoteToken address Address of the token on the remote chain.
_name string ERC20 name.
_symbol string ERC20 symbol.
_decimals uint8 ERC20 decimals

Returns

Name Type Description
address Address of the newly created token.
createStandardL2Token(_remoteToken: address, _name: string, _symbol: string) nonpayable

Creates an instance of the OptimismMintableERC20 contract. Legacy version of the newer createOptimismMintableERC20 function, which has a more intuitive name.

Parameters

Name Type Description
_remoteToken address Address of the token on the remote chain.
_name string ERC20 name.
_symbol string ERC20 symbol.

Returns

Name Type Description
address Address of the newly created token.
initialize(_bridge: address) nonpayable

Initializer.

Parameters

Name Type Description
_bridge address Address of the StandardBridge on this chain.

Events

Initialized(version: uint8)
Name Type Indexed Description
version uint8
OptimismMintableERC20Created(localToken: address, remoteToken: address, deployer: address)

Emitted whenever a new OptimismMintableERC20 is created.

Name Type Indexed Description
localToken address Address of the created token on the local chain.
remoteToken address Address of the corresponding token on the remote chain.
deployer address Address of the account that deployed the token.
StandardL2TokenCreated(remoteToken: address, localToken: address)

Emitted whenever a new OptimismMintableERC20 is created. Legacy version of the newer OptimismMintableERC20Created event. We recommend relying on that event instead.

Name Type Indexed Description
remoteToken address Address of the token on the remote chain.
localToken address Address of the created token on the local chain.