NFTStandardOwner
Hierarchy
- unknown
- NFTStandardOwner
Implements
Index
Constructors
Properties
Methods
Constructors
constructor
Returns NFTStandardOwner
Properties
admin
The public key of the contract's administrator. This account has the authority to perform administrative actions such as pausing the contract or upgrading the verification key.
Methods
canApproveAddress
Parameters
collection: PublicKey
nft: PublicKey
approved: PublicKey
Returns Promise<Bool>
canChangeVerificationKey
Parameters
collection: PublicKey
nft: PublicKey
vk: VerificationKey
Returns Promise<Bool>
canPause
Parameters
collection: PublicKey
nft: PublicKey
Returns Promise<Bool>
canResume
Parameters
collection: PublicKey
nft: PublicKey
Returns Promise<Bool>
canTransfer
Parameters
params: TransferExtendedParams
Returns Promise<Bool>
deploy
Deploys the contract with initial settings.
Parameters
props: NFTOwnerDeployProps
Deployment properties including admin, upgradeAuthority, uri, canPause, and isPaused.
Returns Promise<void>
ensureOwnerSignature
Ensures that the transaction is authorized by the contract owner.
Returns Promise<AccountUpdate>
A signed
AccountUpdate
from the admin.
The NFTStandardOwner contract is the default implementation of the
NFTOwnerBase
interface.