Skip to main content

MinaNFTVerifierBadge

Hierarchy

  • TokenContract
    • MinaNFTVerifierBadge

Index

Constructors

externalconstructor

  • Parameters

    • externaladdress: PublicKey
    • externaloptionaltokenId: Field

    Returns MinaNFTVerifierBadge

Properties

events

events: { deploy: typeof Field & (x: string | number | bigint | Field | FieldVar | FieldConst) => Field; issue: typeof MinaNFTVerifierBadgeEvent; revoke: typeof PublicKey } = ...

Type declaration

  • deploy: typeof Field & (x: string | number | bigint | Field | FieldVar | FieldConst) => Field
  • issue: typeof MinaNFTVerifierBadgeEvent
  • revoke: typeof PublicKey

name

name: State<Field> = ...

oracle

oracle: State<PublicKey> = ...

owner

owner: State<Field> = ...

verifiedKey

verifiedKey: State<Field> = ...

verifiedKind

verifiedKind: State<Field> = ...

Methods

approveBase

  • approveBase(forest: AccountUpdateForest): Promise<void>
  • Parameters

    • forest: AccountUpdateForest

    Returns Promise<void>

deploy

  • deploy(args: DeployArgs): Promise<void>
  • Parameters

    • args: DeployArgs

    Returns Promise<void>

issueBadge

revokeBadge

  • revokeBadge(nft: PublicKey, signature: Signature): Promise<void>
  • Parameters

    • nft: PublicKey
    • signature: Signature

    Returns Promise<void>

verifyBadge

  • verifyBadge(nft: PublicKey, nftTokenId: Field): Promise<void>
  • Parameters

    • nft: PublicKey
    • nftTokenId: Field

    Returns Promise<void>