Vai al contenuto secondario
Aiuto e guide
Sfoglia le guide

Legacy Collectibles V1 (ERC-1155-C) riferimento alla funzione di raccolta

Archived AuroraCollectiblesV1 function reference. This Editions-based contract has no sealed packs; use the V2 or V3 guides for pack collections.

In questa pagina
Il creatore possiede la raccolta e sceglie direttamente coniare pagamenti o proventi conservati. Le commissioni della piattaforma, i permessi dei titolari di token e i controlli del proprietario della raccolta sono separati.
Un proprietario di contratto controlla coniare impostazioni. I titolari di token controllano le proprie approvazioni e trasferimenti NFT. Apri immagine per ingrandire

Quale contratto descrive questo?

Questo riferimento riguarda AuroraCollectiblesV1, 1.0.0-collectibles-beta.1 . I contratti più vecchi mantengono il loro comportamento originale. L'aggiornamento dell'impostazione di fabbrica di Aurora cambia le implementazioni future; non aggiorna le raccolte già esistenti. Usa il tuo indirizzo di raccolta, tra cui Leggi come proxy o Scrivi come proxy quando l'esploratore offre quelle schede. Non inviare azioni di raccolta al suo indirizzo di implementazione.

Le funzioni di sola lettura ispezionano lo stato senza inviare una transazione. Le funzioni scrivibili richiedono una transazione di portafoglio e gas . Le funzioni a pagamento accettano anche il pagamento in valuta nativa richiesto. Tutti i prezzi e gli importi negli ABI sono interi nella più piccola unità di valuta; su Ethereum e Base, tale unità è wei.

Espandere una funzione qui sotto per vedere i suoi argomenti, i valori di ritorno e la spiegazione. Ogni funzione pubblica/esterna nell'ABI compilato è inclusa, con metodi ereditari e funzioni sovraccariche. Una funzione che appare su un esploratore non significa che il tuo portafoglio sia autorizzato a chiamarlo. BLOCKED significa che il selettore visualizzato non può essere utilizzato dopo l'inizializzazione.

Azioni e impostazioni a senso unico scritte una volta

  • Il deployment corregge l'implementazione, l'associazione iniziale del validatore, l'autorità delle commissioni, l'identità della galleria, il nome, il simbolo e il soffitto di durata coniare. Questi contratti non sono aggiornabili. Il validatore di trasferimento attivo può essere sostituito, disabilitato o ripristinato dal proprietario utilizzando updateTransferValidator.
  • La registrazione di rilascio fissa la radice dell'inventario, le dimensioni dell'inventario e il riferimento del segnaposto. Per un rilascio supportato da opere d'arte, il proprietario pubblica il catalogo di opere d'arte impegnato mentre il rilascio viene messo in pausa e prima della sua prima coniare . Le voci sono aggiunte in ordine e controllate rispetto a tale impegno congelato; le voci esistenti non possono essere sovrascritte. Il catalogo completo deve essere pubblicato prima di unpausing. Le identità dei token esistenti non possono essere reminted come diverse opere d'arte.
  • setAutoEnableTrading è modificabile solo prima della prima coniare e prima che la negoziazione sia abilitata. enableTrading e la prima attivazione automatica non può essere annullata.
  • endDrop chiude definitivamente una versione. closeMinting ferma definitivamente tutta la collezione conio. Impostare un flag di pausa su false non annulla né la chiusura.
  • renounceOwnership rimuove definitivamente tutte le autorizzazioni del proprietario. Per prima cosa chiudi conio, abilita il trading, ritira tutti i proventi e termina o annulla la rivelazione. Esaminare i metadati finali e le impostazioni royalty prima di inviare. La proprietà non può essere recuperata; un proprietario precedentemente nominato non può accettare in seguito.
  • La rinuncia impedisce futuri metadati autorizzati dal proprietario e royalty modifiche, ma non può rendere immutabile un host HTTPS o congelare i criteri di validazione esterni. NFTs possono ancora essere oggetto di tali politiche. L'amministrazione del validatore futuro che richiede il proprietario della raccolta non è disponibile.

Readable functions

DEFAULT_TRANSFER_VALIDATORRead only · constant

Upstream library default validator address. Use getTransferValidator for this collection’s actual validator.

Funzione e argomenti
DEFAULT_TRANSFER_VALIDATOR()
Resi / pagamento
address
MAX_BATCH_SIZERead only · constant

Maximum copies or unique NFTs in one mint transaction: 20.

Funzione e argomenti
MAX_BATCH_SIZE()
Resi / pagamento
uint256
MAX_ROYALTY_BPSRead only · constant

Maximum royalty setting: 1,000 basis points, or 10%.

Funzione e argomenti
MAX_ROYALTY_BPS()
Resi / pagamento
uint96
allowlistLeafRead only · proof helper

Calculates the whitelist proof leaf for a wallet, allocation and individual price, bound to this chain, collection, release and phase.

Funzione e argomenti
allowlistLeaf(bytes32 dropId, bytes32 phaseId, address wallet, uint256 allowance, uint256 unitPrice)
Resi / pagamento
bytes32
autoApproveTransfersFromValidatorRead only · locked setting

Reports whether the validator has automatic operator approval. It is disabled and cannot be enabled after initialization in these builds.

Funzione e argomenti
autoApproveTransfersFromValidator()
Resi / pagamento
bool
autoEnableTradingRead only · pre-mint choice

Reports whether the first mint automatically enables transfers. It can be changed only before any mint and before trading is enabled.

Funzione e argomenti
autoEnableTrading()
Resi / pagamento
bool
balanceOfRead only · holder balance

ERC-721: number of NFTs held by a wallet. ERC-1155: number of copies of a specified token ID held by an account.

Funzione e argomenti
balanceOf(address account, uint256 id)
Resi / pagamento
uint256
balanceOfBatchRead only · holder balances

Returns ERC-1155 balances for matching account and token-ID arrays. The arrays must have equal length.

Funzione e argomenti
balanceOfBatch(address[] accounts, uint256[] ids)
Resi / pagamento
uint256[]
collectionRead only · identity

Returns this collection’s address. Native minting runs at the collection address itself.

Funzione e argomenti
collection()
Resi / pagamento
address
concurrentPublicMintRead only · capability for new collections

Returns true for the current mint design: each payer has an independent authorization sequence, so another wallet minting does not invalidate their approval. Real supply, phase, price and expiry checks still apply. Older deployed builds retain their original approval behavior.

Funzione e argomenti
concurrentPublicMint()
Resi / pagamento
bool
contractFamilyRead only · family identity

Identifies this immutable collection as the independent Aurora Collectibles family; its token interface is ERC-1155.

Funzione e argomenti
contractFamily()
Resi / pagamento
string
contractURIRead only · reference

Returns collection-level metadata, such as its profile. This is separate from individual token metadata.

Funzione e argomenti
contractURI()
Resi / pagamento
string
dropEndedRead only · permanent release flag

Reports whether a release has been permanently ended.

Funzione e argomenti
dropEnded(bytes32)
Resi / pagamento
bool
editableMetadataRead only · capability, not current permission

Identifies a contract with metadata-update functions. It stays true even after ownership is renounced, when nobody can authorize owner-only updates.

Funzione e argomenti
editableMetadata()
Resi / pagamento
bool
factoryRead only · immutable

Returns the factory bound into this implementation at deployment. It cannot be replaced.

Funzione e argomenti
factory()
Resi / pagamento
address
galleryIdRead only · written ONCE

Aurora folder identity used to create this collection. It is fixed when initialized.

Funzione e argomenti
galleryId()
Resi / pagamento
bytes32
getDropRead only · release state

Returns the release configuration, minted count, version and existence flag. A zero cap means uncapped at that level; collection limits still apply.

Funzione e argomenti
getDrop(bytes32 dropId)
Resi / pagamento
(bytes32 inventoryRoot, uint256 inventorySize, string placeholderURI, uint256 supplyCap, uint256 walletCap, bool paused) config, uint256 minted, uint256 version, bool exists
getPhaseRead only · phase state

Returns phase timing, price, caps, allowlist root, pause flag, minted count, version and existence flag.

Funzione e argomenti
getPhase(bytes32 dropId, bytes32 phaseId)
Resi / pagamento
(uint64 startsAt, uint64 endsAt, uint256 unitPrice, uint256 supplyCap, uint256 walletCap, bytes32 allowlistRoot, bool paused) config, uint256 minted, uint256 version, bool exists
getTransferValidationFunctionRead only · integration helper

Returns the validator function selector and whether the validation call is read-only. ERC-1155 validation includes transfer amount.

Funzione e argomenti
getTransferValidationFunction()
Resi / pagamento
bytes4 functionSignature, bool isViewFunction
getTransferValidatorRead only · current validator or zero

Returns the active transfer validator. The zero address means validator checks are disabled. The owner can change this using updateTransferValidator.

Funzione e argomenti
getTransferValidator()
Resi / pagamento
address validator
isApprovedForAllRead only · operator approval

Reports whether an operator is approved to transfer the holder’s tokens. Approval does not give collection administrator permissions.

Funzione e argomenti
isApprovedForAll(address owner, address operator)
Resi / pagamento
bool isApproved
metadataBaseURIRead only · metadata reference

Returns the most recently published metadata directory. Covered tokens append their decimal token ID and .json.

Funzione e argomenti
metadataBaseURI()
Resi / pagamento
string
metadataRevisionRead only · increasing revision

Counts published complete metadata snapshots. Expected revision protects against accidentally overwriting a newer snapshot.

Funzione e argomenti
metadataRevision()
Resi / pagamento
uint256
metadataSupplyRead only · snapshot marker

Lifetime minted quantity covered when the last metadata snapshot was published. ERC-1155 counts copies, not token types.

Funzione e argomenti
metadataSupply()
Resi / pagamento
uint256
mintCatalogRead only · immutable catalog address

Returns the immutable artwork catalog bound to this factory or collection implementation. Registered collections use it to store and verify committed inventory before opening a mint, then read artwork during successful mint transactions. The collection owner publishes entries through the catalog’s appendMintCatalog function; this getter does not publish or modify artwork.

Funzione e argomenti
mintCatalog()
Resi / pagamento
address
mintCatalogSizeRead only · catalog publication progress

Returns the number of artwork entries uploaded to this release’s immutable catalog. A release backed by artwork cannot open until this equals its committed inventory size. This is publication progress, not the number already minted.

Funzione e argomenti
mintCatalogSize(bytes32 dropId)
Resi / pagamento
uint256
mintFeeAuthorityRead only · immutable

Returns the immutable factory that validates public-mint fee authorizations. It does not have owner or withdrawal powers.

Funzione e argomenti
mintFeeAuthority()
Resi / pagamento
address
mintNonceRead only · payer-specific replay protection

Returns the next authorization sequence for a paying wallet across this collection. A successful public mint increments only that payer’s sequence, consuming their previous approvals; another wallet’s mint does not change it. Failed transactions roll back the increment. This value is used in the legacy-named expectedMinted request field in current builds.

Funzione e argomenti
mintNonce(address)
Resi / pagamento
uint256
mintSupplyCapRead only · written ONCE, cannot raise or remove

Lifetime collection mint ceiling. Zero means uncapped. It includes manual and public mints; ERC-1155 counts all copies.

Funzione e argomenti
mintSupplyCap()
Resi / pagamento
uint256
mintedByWalletRead only · cumulative count

Total quantity minted by a paying wallet within a release. Sending the NFTs to a different recipient does not move this payer’s allowance.

Funzione e argomenti
mintedByWallet(bytes32, address)
Resi / pagamento
uint256
mintingClosedRead only · ONE-WAY flag

Whether collection minting has been permanently closed.

Funzione e argomenti
mintingClosed()
Resi / pagamento
bool
mintingPausedRead only · reversible until closed

Whether collection-level minting is paused. This is separate from the native sale pause and per-release/phase pauses.

Funzione e argomenti
mintingPaused()
Resi / pagamento
bool
nameRead only · written ONCE

Collection name set at deployment. No later name setter is provided.

Funzione e argomenti
name()
Resi / pagamento
string
nativePublicMintRead only · capability

Returns true for integrated public minting. It does not by itself identify a particular version or payout capability.

Funzione e argomenti
nativePublicMint()
Resi / pagamento
bool
ownerRead only · authority

Wallet or contract with collection administrator rights. Zero address means ownership was renounced and owner-only functions cannot be used.

Funzione e argomenti
owner()
Resi / pagamento
address
pausedRead only · reversible sale flag

Native sale pause flag. It blocks public minting and the owner mintBatch path; it does not stop already-enabled transfers or withdrawals.

Funzione e argomenti
paused()
Resi / pagamento
bool
payoutRecipientRead only · release payment mode

Payment destination for a release. Zero means retain artwork proceeds; any configured nonzero address receives direct payouts. Different releases can have different destinations.

Funzione e argomenti
payoutRecipient(bytes32)
Resi / pagamento
address
pendingOwnerRead only · ownership handover

Nominated next collection owner. Control changes only after this address accepts. Renunciation clears any pending nomination.

Funzione e argomenti
pendingOwner()
Resi / pagamento
address
pendingRevealRead only · reveal plan

Current reveal commitment, release ID, base/max supply, expected metadata revision, due time and existence flag. There can be one pending reveal across the collection.

Funzione e argomenti
pendingReveal()
Resi / pagamento
bytes32 dropId, bytes32 commitment, uint256 baseSupply, uint256 maxSupply, uint256 expectedRevision, uint64 revealAt, bool exists
phaseMintedByWalletRead only · cumulative count

Cumulative quantity paid for by one wallet in one release phase. Counts remain when the phase settings change.

Funzione e argomenti
phaseMintedByWallet(bytes32, bytes32, address)
Resi / pagamento
uint256
placeholderArtworkIdRead only · deterministic identity

Returns the stable ERC-1155 artwork ID for placeholder mints in a release. All copies in that placeholder release share the same token ID.

Funzione e argomenti
placeholderArtworkId(bytes32 dropId)
Resi / pagamento
bytes32
proceedsRead only · accounted balance

Creator revenue retained for withdrawal across releases. Excludes direct payouts and platform fees. Forced or unrelated native-currency deposits are not necessarily withdrawable proceeds.

Funzione e argomenti
proceeds()
Resi / pagamento
uint256
quoteRead only · current-state estimate

Validates a proposed mint against current phase, version, supply, payer nonce and wallet rules and returns artwork unit and total prices. Another payer minting does not change this payer’s nonce. Does not include the platform fee or gas, reserve inventory, validate fee authorization, or guarantee a receiving contract accepts payment.

Funzione e argomenti
quote((bytes32 dropId, bytes32 phaseId, uint256 dropVersion, uint256 phaseVersion, uint256 quantity, uint256 expectedMinted, uint256 maxUnitPrice, address recipient, uint256 allowance, uint256 allowlistPrice) request, address payer, bytes32[] allowlistProof)
Resi / pagamento
uint256 unitPrice, uint256 totalPrice
revealCommitmentRead only · reveal helper

Computes the hash binding a metadata directory, secret salt, release, supply bounds, revision and due time to this chain and collection.

Funzione e argomenti
revealCommitment(bytes32 dropId, string baseURI, bytes32 salt, uint256 baseSupply, uint256 maxSupply, uint256 expectedRevision, uint64 revealAt)
Resi / pagamento
bytes32
royaltyBpsRead only · royalty setting

Secondary-sale royalty setting in basis points: 500 means 5%. This is unrelated to primary mint price.

Funzione e argomenti
royaltyBps()
Resi / pagamento
uint96
royaltyInfoRead only · ERC-2981

Returns the royalty receiver and calculated amount for a token and sale price. It is royalty information, not proof that every marketplace enforces payment.

Funzione e argomenti
royaltyInfo(uint256 tokenId, uint256 salePrice)
Resi / pagamento
address, uint256
royaltyReceiverRead only · separate from mint proceeds

Receiving wallet for secondary-sale royalties. It does not gain ownership or withdrawal permission.

Funzione e argomenti
royaltyReceiver()
Resi / pagamento
address
supportsInterfaceRead only · integration helper

Reports support for a given interface identifier. This does not attest to audit status or marketplace compatibility.

Funzione e argomenti
supportsInterface(bytes4 interfaceId)
Resi / pagamento
bool
symbolRead only · written ONCE

Collection ticker set during deployment. No later symbol setter is provided.

Funzione e argomenti
symbol()
Resi / pagamento
string
tokenIdForArtworkRead only · artwork identity

Maps an artwork ID to its minted token ID, or zero if none. ERC-721 IDs are sequential; ERC-1155 uses uint256(artworkId).

Funzione e argomenti
tokenIdForArtwork(bytes32)
Resi / pagamento
uint256
tokenStandardRead only · constant

Returns ERC1155 for edition contracts.

Funzione e argomenti
tokenStandard()
Resi / pagamento
string
tokenURIRead only · token metadata

Returns resolved metadata for a minted token. ERC-721 requires the token to exist; the ERC-1155 alias follows uri and returns empty for an unknown token.

Funzione e argomenti
tokenURI(uint256 tokenId)
Resi / pagamento
string
totalSupplyRead only · cumulative supply

Lifetime minted quantity: unique NFTs for ERC-721, total copies across all editions for ERC-1155. Transfers do not reduce it.

Funzione e argomenti
totalSupply()
Resi / pagamento
uint256
totalSupplyOfRead only · edition supply

Lifetime copies minted for one ERC-1155 token ID. This is not a wallet balance.

Funzione e argomenti
totalSupplyOf(uint256)
Resi / pagamento
uint256
totalTokenTypesRead only · edition count

Number of distinct minted ERC-1155 artwork/token IDs, independent of how many copies exist.

Funzione e argomenti
totalTokenTypes()
Resi / pagamento
uint256
tradingEnabledRead only · ONE-WAY flag

Whether transfers have been permanently enabled. Validator restrictions still apply when true.

Funzione e argomenti
tradingEnabled()
Resi / pagamento
bool
uriRead only · token metadata

ERC-1155 metadata reference for a token ID, empty if unknown. Snapshot updates affect every copy of a covered edition. Filenames use decimal IDs, not the standard {id} substitution pattern.

Funzione e argomenti
uri(uint256 tokenId)
Resi / pagamento
string
validatorRead only · immutable initial binding

Initial validator bound into the factory/implementation at deployment for provenance. It does not change when a collection replaces or disables its active validator. Read getTransferValidator on the collection for the active setting.

Funzione e argomenti
validator()
Resi / pagamento
address

Writable functions

acceptOwnershipPending owner · completes two-step transfer

The nominated pending owner accepts collection control. A pending reveal prevents the handover.

Funzione e argomenti
acceptOwnership()
Resi / pagamento
No return value
cancelRevealOwner · cancels the current commitment

Removes the pending reveal commitment. Does not publish artwork or automatically resume paused minting. The owner can prepare a new reveal or metadata update.

Funzione e argomenti
cancelReveal()
Resi / pagamento
No return value
closeMintingOwner · ONE WAY, cannot reopen

Permanently stops both owner and public minting across the collection. Existing tokens can still trade if trading is enabled; metadata and withdrawal controls remain available until ownership is renounced.

Funzione e argomenti
closeMinting()
Resi / pagamento
No return value
configureDropOwner · inventory written ONCE per release; caps and pause repeatable

Creates or updates a release. Its inventory root, inventory size and placeholder reference cannot change once registered. A release backed by artwork must have its full verified catalog uploaded before it is unpaused. Supply caps cannot fall below already minted amounts. Changes increment the release version and invalidate old quotes.

Funzione e argomenti
configureDrop(bytes32 dropId, (bytes32 inventoryRoot, uint256 inventorySize, string placeholderURI, uint256 supplyCap, uint256 walletCap, bool paused) config)
Resi / pagamento
No return value
configurePayoutOwner · repeatable while release is paused and not ended

Sets a release’s receiving wallet. Zero address means retain proceeds for withdrawal; a nonzero address receives each artwork payment. Requires an existing paused release that has not been ended. The collection itself cannot be its payout recipient. Changes invalidate old quotes; earlier proceeds stay withdrawable.

Funzione e argomenti
configurePayout(bytes32 dropId, address recipient)
Resi / pagamento
No return value
configurePhaseOwner · repeatable until release is permanently ended

Creates or edits timing, artwork price, supply/wallet limits, allowlist root and pause state within an open release. End must be zero or after start. Already minted counts remain; changes invalidate old quotes.

Funzione e argomenti
configurePhase(bytes32 dropId, bytes32 phaseId, (uint64 startsAt, uint64 endsAt, uint256 unitPrice, uint256 supplyCap, uint256 walletCap, bytes32 allowlistRoot, bool paused) config)
Resi / pagamento
No return value
enableTradingOwner · ONE WAY, cannot disable trading

Permanently enables transfers, including when minting is paused or closed. Validator policies still apply. Repeated calls after enabling revert.

Funzione e argomenti
enableTrading()
Resi / pagamento
No return value
endDropOwner · ONE WAY for this release

Permanently ends one release and invalidates its mint quotes. It does not close other releases, cancel its pending reveal or withdraw funds.

Funzione e argomenti
endDrop(bytes32 dropId)
Resi / pagamento
No return value
executeRevealAnyone with committed data after due time · consumes the commitment ONCE

Publishes the exact committed metadata directory and salt after the reveal time. Supply must match the commitment’s bounds and revision. Clears the pending reveal and leaves public minting paused. This function alone does not end the release: Aurora’s reveal flow adds an owner-approved endDrop call. Force reveal uses separate owner transactions; this function cannot bypass the due time.

Funzione e argomenti
executeReveal(string baseURI, bytes32 salt)
Resi / pagamento
No return value
initializeFactory only · ONCE during deployment

The factory sets owner, collection identity, name, symbol, royalty settings, lifetime supply cap and initial trading policy while creating the clone. It cannot initialize the same clone again.

Funzione e argomenti
initialize(address creator, bytes32 galleryId_, string name_, string symbol_, address royaltyReceiver_, uint96 royaltyBps_, uint256 supplyCap_)
Resi / pagamento
No return value
initializeERC1155Factory initialization only · ONCE

Inherited ERC-1155 initialization hook, already called during clone creation. Further calls revert; it is not a metadata-update tool.

Funzione e argomenti
initializeERC1155(string uri_)
Resi / pagamento
No return value
mintBLOCKED · compatibility selector

Legacy unsigned public-mint selector. It always reverts in these fee-authorized builds, including for free mints. Use mintWithFee.

Funzione e argomenti
mint((bytes32 dropId, bytes32 phaseId, uint256 dropVersion, uint256 phaseVersion, uint256 quantity, uint256 expectedMinted, uint256 maxUnitPrice, address recipient, uint256 allowance, uint256 allowlistPrice) request, bytes32[] allowlistProof, (bytes32 artworkId, string tokenURI, bytes32[] proof)[] inventory)
Resi / pagamento
No return value · PAYABLE
mintBatchOwner · repeatable while minting is available

Owner mints selected artwork directly, without public-phase pricing or platform mint-fee authorization. ERC-721 artwork IDs must be unique; ERC-1155 includes copy amounts and can reuse an existing edition. Collection supply limits, pause/closure and receiver checks still apply; a pending reveal blocks this path.

Funzione e argomenti
mintBatch(bytes32[] artworkIds, string[] tokenURIs, uint256[] amounts, address recipient)
Resi / pagamento
No return value
mintWithFeeEligible payer with valid authorization · payable

Public mint with a whitelist proof when required, exact artwork price plus signed platform fee, quantity/wallet limits and current versions. Current builds use the payer’s mintNonce and assign artwork from the next committed catalog entries when the transaction succeeds; the inventory argument must be empty. A valid authorization is required even for zero fees. Creator payment follows configurePayout. Any failure rolls back the mint and payments; network gas can still be charged.

Funzione e argomenti
mintWithFee((bytes32 dropId, bytes32 phaseId, uint256 dropVersion, uint256 phaseVersion, uint256 quantity, uint256 expectedMinted, uint256 maxUnitPrice, address recipient, uint256 allowance, uint256 allowlistPrice) request, bytes32[] allowlistProof, (bytes32 artworkId, string tokenURI, bytes32[] proof)[] inventory, uint256 fee, bytes authorization)
Resi / pagamento
No return value · PAYABLE
renounceOwnershipOwner · IRREVERSIBLE, final action only

Permanently sets owner and pendingOwner to zero. Requires mintingClosed=true, tradingEnabled=true, proceeds=0 and no pending reveal. Removes metadata, royalty, payout, pause and other owner administration permanently. External validator rules still apply and may change; nobody can recover ownership through this contract.

Funzione e argomenti
renounceOwnership()
Resi / pagamento
No return value
safeBatchTransferFromHolder or approved operator · batch transfer

Transfers several ERC-1155 IDs and amounts with matching arrays. Applies holder/operator authorization, trading and validator rules and contract receiver checks.

Funzione e argomenti
safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data)
Resi / pagamento
No return value
safeTransferFromHolder or approved operator · each transfer changes ownership/balance

Transfers a token, or ERC-1155 copies, from its holder to a recipient. Requires holder/operator authorization, enabled trading and validator approval. A contract recipient must accept the NFT callback. The ERC-721 overload with bytes passes optional receiver data.

Funzione e argomenti
safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data)
Resi / pagamento
No return value
scheduleRevealOwner · one pending commitment; cancel before replacing

Stores a commitment and future due time for one existing release, matching current supply/revision and valid upper supply bounds. Pending reveal restricts other mint paths and ownership changes. Does not schedule an automatic transaction.

Funzione e argomenti
scheduleReveal(bytes32 dropId, bytes32 commitment, uint256 baseSupply, uint256 maxSupply, uint256 expectedRevision, uint64 revealAt)
Resi / pagamento
No return value
setApprovalForAllToken holder · repeatable approval/revocation

Grants or revokes an operator’s ability to transfer all of the caller’s collection tokens. It cannot transfer collection administrator ownership.

Funzione e argomenti
setApprovalForAll(address operator, bool approved)
Resi / pagamento
No return value
setAutoEnableTradingOwner · editable BEFORE first mint/trading only

Chooses whether the first successful mint enables transfers automatically. Only available before any mint and before trading is enabled. False allows manual enabling later.

Funzione e argomenti
setAutoEnableTrading(bool enabled)
Resi / pagamento
No return value
setAutomaticApprovalOfTransfersFromValidatorBLOCKED after initialization

Inherited upstream setter. Disabled after factory initialization; the collection owner cannot use it to grant automatic validator approval.

Funzione e argomenti
setAutomaticApprovalOfTransfersFromValidator(bool autoApprove)
Resi / pagamento
No return value
setContractURIOwner · repeatable until ownership is renounced

Changes the collection-level metadata reference. Accepts URI schemes without a protocol allowlist, subject to syntax and length checks. Does not change individual token metadata.

Funzione e argomenti
setContractURI(string newURI)
Resi / pagamento
No return value
setDefaultRoyaltyOwner · repeatable until ownership is renounced

Changes the secondary-sale receiver and royalty rate, from 0 to 1,000 basis points. Receiver must be nonzero. Does not change the mint proceeds wallet.

Funzione e argomenti
setDefaultRoyalty(address receiver, uint96 basisPoints)
Resi / pagamento
No return value
setMetadataBaseURIOwner · repeatable until ownership is renounced

Publishes a complete directory for existing tokens using exact current lifetime supply and metadata revision. Requires a nonempty collection and no pending reveal. Directory must end in / and use decimal token-ID .json filenames. Scheme is unrestricted; existing marketplace support is not guaranteed.

Funzione e argomenti
setMetadataBaseURI(string newURI, uint256 expectedSupply, uint256 expectedRevision)
Resi / pagamento
No return value
setMintingPausedOwner · reversible BEFORE permanent closure

Pauses or resumes collection minting. Once closeMinting has been called, this action cannot reopen it. It does not lock trading.

Funzione e argomenti
setMintingPaused(bool value)
Resi / pagamento
No return value
setPausedOwner · reversible; cannot override permanent closure

Pauses or resumes native sale minting and the guarded owner mint path. Separate collection, release and phase gates can still stop minting. Reveals leave this flag true.

Funzione e argomenti
setPaused(bool value)
Resi / pagamento
No return value
setTransferValidatorFactory initialization / internal guarded call only · direct calls BLOCKED

Inherited setter visible in the ABI. Direct calls after initialization are BLOCKED, including owner calls. Use the guarded updateTransferValidator function to replace, disable or restore the active validator.

Funzione e argomenti
setTransferValidator(address transferValidator_)
Resi / pagamento
No return value
transferOwnershipOwner · two-step, repeatable until renounced

Nominates the next collection owner; that address must acceptOwnership. Zero cancels the nomination without renouncing. Pending reveal blocks the change.

Funzione e argomenti
transferOwnership(address newOwner)
Resi / pagamento
No return value
updateTransferValidatorOwner · reversible and repeatable until renounced

Replaces the active validator with a compatible deployed contract, or disables it with 0x0000000000000000000000000000000000000000. The owner can restore it later. Disabling stops validator-based royalty enforcement and other validator restrictions, but preserves royaltyInfo, holder approvals, the trading lock and mint fees. Nonzero addresses need deployed code and cannot be this collection. Code presence does not prove safety or compatibility; token-type registration is attempted and policies may need separate setup. Emits TransferValidatorUpdated. Reentrant changes are blocked and automatic validator approval stays disabled. Unavailable after ownership is renounced.

Funzione e argomenti
updateTransferValidator(address nextValidator)
Resi / pagamento
No return value
withdrawOwner · repeatable while proceeds remain

Sends a positive amount no greater than proceeds to a nonzero chosen recipient. Only the owner authorizes it; the recipient can differ from Aurora’s saved wallet. Available during or after minting. Failed payments revert; reentrant withdrawals are blocked.

Funzione e argomenti
withdraw(address recipient, uint256 amount)
Resi / pagamento
No return value

coniare input e riferimenti ai metadati

Una tupla è un gruppo di campi denominati mostrati insieme nella firma della funzione. DropConfig contiene inventoryRoot , inventorySize , placeholderURI , supplyCap , walletCap e in pausa. PhaseConfig contiene startsAt , endsAt , unitPrice , supplyCap , walletCap , allowlistRoot I tempi sono secondi Unix; una fine di fase 0 significa nessuna fine programmata. Una fornitura o un cappuccio del portafoglio di 0 significa illimitato a quel livello limite, mentre un whitelist indennità di 0 permesso n mints .

MintRequest lega dropId , phaseId , dropVersion , phaseVersion , quantità , expectedMinted , maxUnitPrice , destinatario , indennità e allowlistPrice . In queste build attuali, expectedMinted mantiene il suo nome ABI precedente, ma significa mintNonce (payer), non il conteggio totale della versione coniato. Un'approvazione è consumata dal pubblico di successo di quel pagatore coniare. I portafogli separati possono contenere approvazioni valide allo stesso tempo; un altro portafoglio conio da solo non invalida la tua. Scadenza, impostazioni modificate, limiti di portafoglio, tempi di fase e sellout effettivo possono ancora impedire un coniare .

L'opera d'arte viene assegnata quando la transazione ha successo, utilizzando le successive voci di catalogo impegnate. Le approvazioni non riservano particolari opere d'arte o forniture e i collezionisti non possono scegliere un indice di catalogo diverso. L'argomento dell'inventario su mintWithFee deve essere vuoto in queste build. InventoryItem (artworkId, tokenURI e la sua prova Merkle) viene invece utilizzato quando il proprietario pubblica voci di catalogo al contratto separato mintCatalog della fabbrica. Aurora prepara tali operazioni di pubblicazione in lotti limitati mentre il rilascio è sospeso e non ha mints . Richiede la firma del proprietario e la rete gas; la pubblicazione riprende da mintCatalogSize dopo un'interruzione. Le versioni riservate ai segnaposto non richiedono un catalogo di opere d'arte.

Il catalogo è pubblico on-chain dati, e l'allocazione segue il suo ordine impegnato; non è una fonte di casualità. Gli URL finali delle opere d'arte pubblicati in un catalogo possono essere ispezionati prima di conio, anche quando i token visualizzano un segnaposto. Una rivelazione ritardata deve tenere i riferimenti finali dell'opera d'arte fuori dal catalogo pubblicato fino alla rivelazione. Aurora ha supportato il setup di rivelazione che gestisce questo separatamente dall'opera d'arte a rivelazione istantanea.

I riferimenti ai metadati accettano qualsiasi schema URI sintatticamente valido piuttosto che un protocollo permissionlist. I riferimenti sono limitati a 256 byte; directory di snapshot a 220 byte e una barra finale, senza query o frammento. I file di directory utilizzano ID token decimali seguiti da .json. Riferimenti vuoti, spazi bianchi, caratteri di controllo e backslash vengono rifiutati. I contratti memorizzano i riferimenti ma non recuperano, eseguono o garantiscono il contenuto. Aurora applica ancora le proprie regole di visualizzazione e recupero sicure.