ERC-721-C مرجع وظيفة جمع
كل وظيفة قابلة للقراءة والكتابة في مجموعة ERC-721-C الحالية ، مع شرح الأذونات والإعدادات الدائمة.
في هذه الصفحة
ما هو العقد الذي تصفه؟
يغطي هذا المرجع CreatorCollection ، 0.7.0-beta.1. تحتفظ العقود القديمة المنشورة بسلوكها الأصلي. تحديث إعدادات المصنع Aurora يغير عمليات النشر المستقبلية ؛ لا يقوم بتحديث المجموعات الموجودة بالفعل. استخدم عنوان المجموعة الخاص بك، بما في ذلك Read as Proxy أو Write as Proxy عندما يقدم المستكشف علامات التبويب هذه. لا ترسل إجراءات التحصيل إلى عنوان التنفيذ الخاص بها.
وظائف القراءة فقط فحص الدولة دون تقديم معاملة. تتطلب الوظائف القابلة للكتابة معاملة محفظة و غاز. تقبل الوظائف المستحقة الدفع أيضًا الدفع بالعملة المحلية المطلوبة. جميع الأسعار والمبالغ في ABI هي أعداد صحيحة في أصغر وحدة عملة ؛ على Ethereum و Base ، هذه الوحدة هي وي.
توسيع وظيفة أدناه لرؤية حججها وقيم العودة والتفسير. يتم تضمين كل وظيفة عامة / خارجية في ABI المجمعة ، مع الأساليب الموروثة والوظائف الزائدة. لا تعني الوظيفة التي تظهر على المستكشف أن محفظتك مخولة للاتصال بها. BLOCKED يعني أن المحدد المعروض لا يمكن استخدامه بعد التهيئة.
الإجراءات والإعدادات في اتجاه واحد مكتوبة مرة واحدة
- يعمل النشر على إصلاح التنفيذ ، والتجليد المبدئي للمصادقة ، وسلطة الرسوم ، وهوية المعرض ، والاسم ، والرمز ، والسقف مدى الحياة سكّ. هذه العقود غير قابلة للترقية. يمكن استبدال مدقق النقل النشط أو تعطيله أو استعادته بواسطة المالك باستخدام updateTransferValidator .
- يعمل تسجيل الإصدار على إصلاح جذر المخزون وحجم المخزون ومرجع العنصر النائب. لإصدار مدعوم من العمل الفني ، ينشر المالك كتالوج الأعمال الفنية الملتزم بينما يتم إيقاف الإصدار مؤقتًا وقبل أول سكّ. يتم إلحاق الإدخالات بالترتيب والتحقق منها مقابل هذا الالتزام المجمد ؛ لا يمكن الكتابة فوق الإدخالات الحالية. يجب نشر الكتالوج الكامل قبل إلغاء الإيقاف المؤقت. لا يمكن تذكر الهويات الرمزية الحالية كعمل فني مختلف.
- setAutoEnableTrading قابل للتحرير فقط قبل أول سكّ وقبل تمكين التداول. enableTrading وأول تمكين تلقائي لا يمكن التراجع عنه.
- endDrop يغلق بشكل دائم إصدار واحد. closeMinting يوقف بشكل دائم كل مجموعة السكّ . وضع العلم وقفة مرة أخرى إلى كاذبة لا التراجع عن أي إغلاق.
- renounceOwnership يزيل بشكل دائم جميع أذونات المالك. إغلاق أول السكّ، وتمكين التداول، وسحب جميع العائدات وإنهاء أو إلغاء الكشف. مراجعة البيانات الوصفية النهائية وإعدادات عائد إعادة البيع قبل التقديم. لا يمكن استرداد الملكية ؛ لا يمكن لمالك تم ترشيحه مسبقًا قبوله بعد ذلك.
- يمنع التخلي البيانات الوصفية المستقبلية المصرح بها من المالك والتغييرات عائد إعادة البيع ، ولكن لا يمكن أن يجعل مضيف HTTPS غير قابل للتغيير أو تجميد سياسات المصادقة الخارجية. لا يزال بإمكان NFTs التجارة الخاضعة لتلك السياسات. إدارة المدقق المستقبلي التي تتطلب أن يصبح مالك المجموعة غير متاح.
Readable functions
DEFAULT_TRANSFER_VALIDATORRead only · constant
Upstream library default validator address. Use getTransferValidator for this collection’s actual validator.
- الوظيفة والحجج
DEFAULT_TRANSFER_VALIDATOR()- الإرجاع / الدفع
- address
MAX_BATCH_SIZERead only · constant
Maximum copies or unique NFTs in one mint transaction: 20.
- الوظيفة والحجج
MAX_BATCH_SIZE()- الإرجاع / الدفع
- uint256
MAX_ROYALTY_BPSRead only · constant
Maximum royalty setting: 1,000 basis points, or 10%.
- الوظيفة والحجج
MAX_ROYALTY_BPS()- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
allowlistLeaf(bytes32 dropId, bytes32 phaseId, address wallet, uint256 allowance, uint256 unitPrice)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
autoApproveTransfersFromValidator()- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
autoEnableTrading()- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
balanceOf(address owner)- الإرجاع / الدفع
- uint256
collectionRead only · identity
Returns this collection’s address. Native minting runs at the collection address itself.
- الوظيفة والحجج
collection()- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
concurrentPublicMint()- الإرجاع / الدفع
- bool
contractURIRead only · reference
Returns collection-level metadata, such as its profile. This is separate from individual token metadata.
- الوظيفة والحجج
contractURI()- الإرجاع / الدفع
- string
dropEndedRead only · permanent release flag
Reports whether a release has been permanently ended.
- الوظيفة والحجج
dropEnded(bytes32)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
editableMetadata()- الإرجاع / الدفع
- bool
factoryRead only · immutable
Returns the factory bound into this implementation at deployment. It cannot be replaced.
- الوظيفة والحجج
factory()- الإرجاع / الدفع
- address
galleryIdRead only · written ONCE
Aurora folder identity used to create this collection. It is fixed when initialized.
- الوظيفة والحجج
galleryId()- الإرجاع / الدفع
- bytes32
getApprovedRead only · approval
Returns the single address approved to transfer an ERC-721 token, or zero if none. The token must exist.
- الوظيفة والحجج
getApproved(uint256 tokenId)- الإرجاع / الدفع
- address
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.
- الوظيفة والحجج
getDrop(bytes32 dropId)- الإرجاع / الدفع
- (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.
- الوظيفة والحجج
getPhase(bytes32 dropId, bytes32 phaseId)- الإرجاع / الدفع
- (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.
- الوظيفة والحجج
getTransferValidationFunction()- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
getTransferValidator()- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
isApprovedForAll(address owner, address operator)- الإرجاع / الدفع
- bool isApproved
metadataBaseURIRead only · metadata reference
Returns the most recently published metadata directory. Covered tokens append their decimal token ID and .json.
- الوظيفة والحجج
metadataBaseURI()- الإرجاع / الدفع
- string
metadataRevisionRead only · increasing revision
Counts published complete metadata snapshots. Expected revision protects against accidentally overwriting a newer snapshot.
- الوظيفة والحجج
metadataRevision()- الإرجاع / الدفع
- uint256
metadataSupplyRead only · snapshot marker
Lifetime minted quantity covered when the last metadata snapshot was published. ERC-1155 counts copies, not token types.
- الوظيفة والحجج
metadataSupply()- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
mintCatalog()- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
mintCatalogSize(bytes32 dropId)- الإرجاع / الدفع
- uint256
mintFeeAuthorityRead only · immutable
Returns the immutable factory that validates public-mint fee authorizations. It does not have owner or withdrawal powers.
- الوظيفة والحجج
mintFeeAuthority()- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
mintNonce(address)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
mintSupplyCap()- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
mintedByWallet(bytes32, address)- الإرجاع / الدفع
- uint256
mintingClosedRead only · ONE-WAY flag
Whether collection minting has been permanently closed.
- الوظيفة والحجج
mintingClosed()- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
mintingPaused()- الإرجاع / الدفع
- bool
nameRead only · written ONCE
Collection name set at deployment. No later name setter is provided.
- الوظيفة والحجج
name()- الإرجاع / الدفع
- string
nativePublicMintRead only · capability
Returns true for integrated public minting. It does not by itself identify a particular version or payout capability.
- الوظيفة والحجج
nativePublicMint()- الإرجاع / الدفع
- bool
ownerRead only · authority
Wallet or contract with collection administrator rights. Zero address means ownership was renounced and owner-only functions cannot be used.
- الوظيفة والحجج
owner()- الإرجاع / الدفع
- address
ownerOfRead only · token ownership
Returns the current owner of a minted ERC-721 token. This token owner is distinct from the collection administrator.
- الوظيفة والحجج
ownerOf(uint256 tokenId)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
paused()- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
payoutRecipient(bytes32)- الإرجاع / الدفع
- address
pendingOwnerRead only · ownership handover
Nominated next collection owner. Control changes only after this address accepts. Renunciation clears any pending nomination.
- الوظيفة والحجج
pendingOwner()- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
pendingReveal()- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
phaseMintedByWallet(bytes32, bytes32, address)- الإرجاع / الدفع
- uint256
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.
- الوظيفة والحجج
proceeds()- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
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)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
revealCommitment(bytes32 dropId, string baseURI, bytes32 salt, uint256 baseSupply, uint256 maxSupply, uint256 expectedRevision, uint64 revealAt)- الإرجاع / الدفع
- bytes32
royaltyBpsRead only · royalty setting
Secondary-sale royalty setting in basis points: 500 means 5%. This is unrelated to primary mint price.
- الوظيفة والحجج
royaltyBps()- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
royaltyInfo(uint256 tokenId, uint256 salePrice)- الإرجاع / الدفع
- address, uint256
royaltyReceiverRead only · separate from mint proceeds
Receiving wallet for secondary-sale royalties. It does not gain ownership or withdrawal permission.
- الوظيفة والحجج
royaltyReceiver()- الإرجاع / الدفع
- address
supportsInterfaceRead only · integration helper
Reports support for a given interface identifier. This does not attest to audit status or marketplace compatibility.
- الوظيفة والحجج
supportsInterface(bytes4 interfaceId)- الإرجاع / الدفع
- bool
symbolRead only · written ONCE
Collection ticker set during deployment. No later symbol setter is provided.
- الوظيفة والحجج
symbol()- الإرجاع / الدفع
- 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).
- الوظيفة والحجج
tokenIdForArtwork(bytes32)- الإرجاع / الدفع
- uint256
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.
- الوظيفة والحجج
tokenURI(uint256 tokenId)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
totalSupply()- الإرجاع / الدفع
- uint256
tradingEnabledRead only · ONE-WAY flag
Whether transfers have been permanently enabled. Validator restrictions still apply when true.
- الوظيفة والحجج
tradingEnabled()- الإرجاع / الدفع
- bool
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.
- الوظيفة والحجج
validator()- الإرجاع / الدفع
- address
Writable functions
acceptOwnershipPending owner · completes two-step transfer
The nominated pending owner accepts collection control. A pending reveal prevents the handover.
- الوظيفة والحجج
acceptOwnership()- الإرجاع / الدفع
- No return value
approveToken holder or approved operator · repeatable
Authorizes one address to transfer one ERC-721 token. A zero address clears the approval; transferring the token clears its single-token approval.
- الوظيفة والحجج
approve(address to, uint256 tokenId)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
cancelReveal()- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
closeMinting()- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
configureDrop(bytes32 dropId, (bytes32 inventoryRoot, uint256 inventorySize, string placeholderURI, uint256 supplyCap, uint256 walletCap, bool paused) config)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
configurePayout(bytes32 dropId, address recipient)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
configurePhase(bytes32 dropId, bytes32 phaseId, (uint64 startsAt, uint64 endsAt, uint256 unitPrice, uint256 supplyCap, uint256 walletCap, bytes32 allowlistRoot, bool paused) config)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
enableTrading()- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
endDrop(bytes32 dropId)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
executeReveal(string baseURI, bytes32 salt)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
initialize(address creator, bytes32 galleryId_, string name_, string symbol_, address royaltyReceiver_, uint96 royaltyBps_, uint256 supplyCap_)- الإرجاع / الدفع
- No return value
initializeERC721Factory initialization only · ONCE
Inherited name/symbol initializer, already called by the factory through initialize. Further calls revert; it is not a name-change tool.
- الوظيفة والحجج
initializeERC721(string name_, string symbol_)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
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)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
mintBatch(bytes32[] artworkIds, string[] tokenURIs, address recipient)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
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)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
renounceOwnership()- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
safeTransferFrom(address from, address to, uint256 tokenId)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
safeTransferFrom(address from, address to, uint256 tokenId, bytes data)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
scheduleReveal(bytes32 dropId, bytes32 commitment, uint256 baseSupply, uint256 maxSupply, uint256 expectedRevision, uint64 revealAt)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
setApprovalForAll(address operator, bool approved)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
setAutoEnableTrading(bool enabled)- الإرجاع / الدفع
- No return value
setAutomaticApprovalOfTransfersFromValidatorBLOCKED after initialization
Inherited upstream setter. Disabled after factory initialization; the collection owner cannot use it to grant automatic validator approval.
- الوظيفة والحجج
setAutomaticApprovalOfTransfersFromValidator(bool autoApprove)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
setContractURI(string uri)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
setDefaultRoyalty(address receiver, uint96 basisPoints)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
setMetadataBaseURI(string uri, uint256 expectedSupply, uint256 expectedRevision)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
setMintingPaused(bool paused)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
setPaused(bool value)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
setTransferValidator(address transferValidator_)- الإرجاع / الدفع
- No return value
transferFromHolder or approved operator · prefer safeTransferFrom
ERC-721 transfer with authorization, trading and validator checks but without a safe recipient callback. Tokens can be lost if sent to a contract unable to handle them.
- الوظيفة والحجج
transferFrom(address from, address to, uint256 tokenId)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
transferOwnership(address newOwner)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
updateTransferValidator(address nextValidator)- الإرجاع / الدفع
- 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.
- الوظيفة والحجج
withdraw(address recipient, uint256 amount)- الإرجاع / الدفع
- No return value
سكّ المدخلات ومراجع البيانات الوصفية
A tuple هي مجموعة من الحقول المسماة تظهر معا في توقيع الدالة. DropConfig يحتوي على inventoryRoot، inventorySize، placeholderURI، supplyCap، walletCap وتوقف مؤقتا. PhaseConfig يحتوي على startsAt ، endsAt ، unitPrice ، supplyCap ، walletCap ، allowlistRoot وتوقف. الأوقات هي ثوان يونكس؛ نهاية المرحلة 0 تعني عدم وجود نهاية مجدولة. إن سقف العرض أو المحفظة البالغ 0 يعني غير محدود عند مستوى الحد الأقصى هذا، في حين أن بدل القائمة البيضاء البالغ 0 لا يسمح mints.
MintRequest يربط dropId ، phaseId ، dropVersion ، phaseVersion ، الكمية ، expectedMinted ، maxUnitPrice ، المستلم ، البدل و allowlistPrice. في هذه الإصدارات الحالية ، يحتفظ expectedMinted باسم ABI السابق ولكنه يعني mintNonce (الدافع) ، وليس إجمالي عدد الإصدار تم سكّه. يتم استهلاك الموافقة من قبل الجمهور الناجح لهذا الدافع سكّ. يمكن للمحافظ المنفصلة أن تحمل موافقات صالحة في نفس الوقت ؛ محفظة أخرى السكّ وحدها لا تبطل لك. انتهاء الصلاحية ، وتغيير الإعدادات ، وحدود المحفظة ، وتوقيت الطور والبيع الفعلي لا يزال بإمكانه منع سكّ.
يتم تعيين العمل الفني عندما تنجح المعاملة، وذلك باستخدام إدخالات الكتالوج الملتزمة التالية. لا تحتفظ الموافقات بعمل فني أو توريد معين ، ولا يمكن لهواة الجمع اختيار فهرس كتالوج مختلف. يجب أن تكون حجة المخزون على mintWithFee فارغة في هذه المباني. يتم استخدام InventoryItem (artworkId، tokenURI وإثبات ميركل) بدلا من ذلك عندما ينشر المالك إدخالات الكتالوج إلى عقد المصنع المنفصل mintCatalog. يقوم Aurora بإعداد معاملات النشر هذه على دفعات محدودة بينما يتم إيقاف الإصدار مؤقتًا وليس لديه mints. أنها تتطلب توقيع المالك وشبكة غاز ؛ يستأنف النشر من mintCatalogSize بعد انقطاع. لا تتطلب إصدارات Placeholder فقط كتالوجًا فنيًا.
الكتالوج هو بيانات على البلوكشين العامة ، والتخصيص يتبع أمره الملتزم ؛ انها ليست مصدرا للعشوائية. يمكن فحص عناوين URL الفنية النهائية المنشورة في الكتالوج قبل السكّ حتى عندما تعرض الرموز عنصر نائب. يجب أن يحتفظ الكشف المتأخر بالمراجع الفنية النهائية خارج الكتالوج المنشور حتى يتم الكشف عنه. ويعالج إعداد الكشف المدعوم Aurora هذا بشكل منفصل عن العمل الفني الفوري.
تقبل مراجع البيانات الوصفية أي مخطط URI صالح من الناحية النحوية بدلاً من قائمة البروتوكول المسموح بها. تقتصر المراجع على 256 بايت ؛ دلائل لقطة إلى 220 بايت ومائلة زائدة ، دون أي استفسار أو جزء. تستخدم ملفات الدليل معرفات رمزية عشرية متبوعة بـ .json. يتم رفض المراجع الفارغة والمساحة البيضاء وشخصيات التحكم والظهر. العقود تخزن المراجع ولكن لا تجلب أو تنفذ أو تضمن المحتوى. لا يزال Aurora يطبق قواعد العرض والجلب الآمنة الخاصة به.