Deploy ERC1155 via factory

[TESTNET ONLY] This contract has not been audited.

Returns transaction data for deploying a new ERC1155 token via the factory contract.

Calls deployAndInitializeProxy on the ERC1155AutoIdPausableRecoverableFactory to atomically deploy and initialize a new token proxy.

The deployed token supports:

  • mint(to, amount, data) - Mint tokens with auto-generated ID (MINTER_ROLE gated)
  • mintBatch(to, amounts, data) - Mint multiple tokens with auto-generated IDs (MINTER_ROLE gated)
  • burn(account, id, amount) - Burn tokens
  • burnBatch(account, ids, amounts) - Burn multiple tokens
  • setURI(newuri) - Set metadata URI (DEFAULT_ADMIN_ROLE gated)
  • pause() / unpause() - Pause/unpause transfers (PAUSER_ROLE gated)
  • recover(token, to, amount) - Recover tokens (RECOVER_ROLE gated)
Language
Response
Click Try It! to start a request and see the response here!