diff --git a/enums/programs.tokenManager.InvalidationType.html b/enums/programs.tokenManager.InvalidationType.html index 1d06420c..5ff618f9 100644 --- a/enums/programs.tokenManager.InvalidationType.html +++ b/enums/programs.tokenManager.InvalidationType.html @@ -1 +1 @@ -InvalidationType | @cardinal/token-manager - v4.5.1
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Enumeration Members

Invalidate: 2
Reissue: 4
Release: 3
Return: 1
Vest: 5

Generated using TypeDoc

\ No newline at end of file +InvalidationType | @cardinal/token-manager - v4.6.0
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Enumeration Members

Invalidate: 2
Reissue: 4
Release: 3
Return: 1
Vest: 5

Generated using TypeDoc

\ No newline at end of file diff --git a/enums/programs.tokenManager.TokenManagerKind.html b/enums/programs.tokenManager.TokenManagerKind.html index 21e8ebd7..a7e0eec3 100644 --- a/enums/programs.tokenManager.TokenManagerKind.html +++ b/enums/programs.tokenManager.TokenManagerKind.html @@ -1 +1 @@ -TokenManagerKind | @cardinal/token-manager - v4.5.1
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Enumeration Members

Edition: 3
Managed: 1
Permissioned: 4
Programmable: 5
Unmanaged: 2

Generated using TypeDoc

\ No newline at end of file +TokenManagerKind | @cardinal/token-manager - v4.6.0
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Enumeration Members

Edition: 3
Managed: 1
Permissioned: 4
Programmable: 5
Unmanaged: 2

Generated using TypeDoc

\ No newline at end of file diff --git a/enums/programs.tokenManager.TokenManagerState.html b/enums/programs.tokenManager.TokenManagerState.html index db5f16a9..d3aaeb02 100644 --- a/enums/programs.tokenManager.TokenManagerState.html +++ b/enums/programs.tokenManager.TokenManagerState.html @@ -1 +1 @@ -TokenManagerState | @cardinal/token-manager - v4.5.1
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Enumeration Members

Claimed: 2
Initialized: 0
Invalidated: 3
Issued: 1

Generated using TypeDoc

\ No newline at end of file +TokenManagerState | @cardinal/token-manager - v4.6.0
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Enumeration Members

Claimed: 2
Initialized: 0
Invalidated: 3
Issued: 1

Generated using TypeDoc

\ No newline at end of file diff --git a/index.html b/index.html index 60e99fb6..f0e52451 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ -@cardinal/token-manager - v4.5.1
Options
All
  • Public
  • Public/Protected
  • All
Menu

@cardinal/token-manager - v4.5.1

+@cardinal/token-manager - v4.6.0
Options
All
  • Public
  • Public/Protected
  • All
Menu

@cardinal/token-manager - v4.6.0

Cardinal

diff --git a/modules.html b/modules.html index 60e8c962..c93bd4c2 100644 --- a/modules.html +++ b/modules.html @@ -1,8 +1,8 @@ -@cardinal/token-manager - v4.5.1
Options
All
  • Public
  • Public/Protected
  • All
Menu

@cardinal/token-manager - v4.5.1

Index

Type Aliases

IssueParameters: { amount?: BN; claimPayment?: ClaimApproverParams; customInvalidators?: PublicKey[]; invalidationType?: InvalidationType; issuerTokenAccountId: PublicKey; kind?: TokenManagerKind; mint: PublicKey; permissionedClaimApprover?: PublicKey; receiptOptions?: { receiptMintKeypair: Keypair }; rulesetId?: PublicKey; timeInvalidation?: TimeInvalidationParams; transferAuthorityInfo?: { creator?: PublicKey; transferAuthorityName: string }; useInvalidation?: UseInvalidationParams; visibility?: "private" | "public" | "permissioned" }

Type declaration

  • Optional amount?: BN
  • Optional claimPayment?: ClaimApproverParams
  • Optional customInvalidators?: PublicKey[]
  • Optional invalidationType?: InvalidationType
  • issuerTokenAccountId: PublicKey
  • Optional kind?: TokenManagerKind
  • mint: PublicKey
  • Optional permissionedClaimApprover?: PublicKey
  • Optional receiptOptions?: { receiptMintKeypair: Keypair }
    • receiptMintKeypair: Keypair
  • Optional rulesetId?: PublicKey
  • Optional timeInvalidation?: TimeInvalidationParams
  • Optional transferAuthorityInfo?: { creator?: PublicKey; transferAuthorityName: string }
    • Optional creator?: PublicKey
    • transferAuthorityName: string
  • Optional useInvalidation?: UseInvalidationParams
  • Optional visibility?: "private" | "public" | "permissioned"

Functions

  • claimToken(connection: Connection, wallet: Wallet, tokenManagerId: PublicKey, additionalOptions?: { payer?: PublicKey }): Promise<Transaction>
  • Parameters

    • connection: Connection
    • wallet: Wallet
    • tokenManagerId: PublicKey
    • Optional additionalOptions: { payer?: PublicKey }
      • Optional payer?: PublicKey

    Returns Promise<Transaction>

  • extendExpiration(connection: Connection, wallet: Wallet, tokenManagerId: PublicKey, paymentAmount: number): Promise<Transaction>
  • Parameters

    • connection: Connection
    • wallet: Wallet
    • tokenManagerId: PublicKey
    • paymentAmount: number

    Returns Promise<Transaction>

  • extendUsages(connection: Connection, wallet: Wallet, tokenManagerId: PublicKey, usagesToAdd: number): Promise<Transaction>
  • Parameters

    • connection: Connection
    • wallet: Wallet
    • tokenManagerId: PublicKey
    • usagesToAdd: number

    Returns Promise<Transaction>

  • invalidate(connection: Connection, wallet: Wallet, mintId: PublicKey): Promise<Transaction>
  • Parameters

    • connection: Connection
    • wallet: Wallet
    • mintId: PublicKey

    Returns Promise<Transaction>

  • issueToken(connection: Connection, wallet: Wallet, rentalParameters: IssueParameters): Promise<[Transaction, PublicKey, undefined | Keypair]>
  • Parameters

    Returns Promise<[Transaction, PublicKey, undefined | Keypair]>

  • release(connection: Connection, wallet: Wallet, mintId: PublicKey, transferAuthorityId: PublicKey, listerTokenAccountId: PublicKey): Promise<Transaction>
  • Parameters

    • connection: Connection
    • wallet: Wallet
    • mintId: PublicKey
    • transferAuthorityId: PublicKey
    • listerTokenAccountId: PublicKey

    Returns Promise<Transaction>

  • unissueToken(connection: Connection, wallet: Wallet, mintId: PublicKey): Promise<Transaction>
  • Parameters

    • connection: Connection
    • wallet: Wallet
    • mintId: PublicKey

    Returns Promise<Transaction>

  • useTransaction(connection: Connection, wallet: Wallet, mintId: PublicKey, usages: number, collector?: PublicKey): Promise<Transaction>
  • Parameters

    • connection: Connection
    • wallet: Wallet
    • mintId: PublicKey
    • usages: number
    • Optional collector: PublicKey

    Returns Promise<Transaction>

  • withAcceptListing(transaction: Transaction, connection: Connection, wallet: Wallet, buyer: PublicKey, mintId: PublicKey, paymentAmount: BN, paymentMint: PublicKey, buySideReceiver?: PublicKey, payer?: PublicKey): Promise<Transaction>
  • Parameters

    • transaction: Transaction
    • connection: Connection
    • wallet: Wallet
    • buyer: PublicKey
    • mintId: PublicKey
    • paymentAmount: BN
    • paymentMint: PublicKey
    • Optional buySideReceiver: PublicKey
    • payer: PublicKey = buyer

    Returns Promise<Transaction>

  • withAcceptTransfer(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey, recipient: PublicKey, holder: PublicKey): Promise<Transaction>
  • Parameters

    • transaction: Transaction
    • connection: Connection
    • wallet: Wallet
    • mintId: PublicKey
    • recipient: PublicKey
    • holder: PublicKey

    Returns Promise<Transaction>

  • withCancelTransfer(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey): Promise<Transaction>
  • Parameters

    • transaction: Transaction
    • connection: Connection
    • wallet: Wallet
    • mintId: PublicKey

    Returns Promise<Transaction>

  • withClaimToken(transaction: Transaction, connection: Connection, wallet: Wallet, tokenManagerId: PublicKey, additionalOptions?: { payer?: PublicKey }, buySideTokenAccountId?: PublicKey): Promise<Transaction>
  • +@cardinal/token-manager - v4.6.0
    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    @cardinal/token-manager - v4.6.0

    Index

    Type Aliases

    IssueParameters: { amount?: BN; claimPayment?: ClaimApproverParams; customInvalidators?: PublicKey[]; invalidationType?: InvalidationType; issuerTokenAccountId: PublicKey; kind?: TokenManagerKind; mint: PublicKey; permissionedClaimApprover?: PublicKey; receiptOptions?: { receiptMintKeypair: Keypair }; rulesetId?: PublicKey; timeInvalidation?: TimeInvalidationParams; transferAuthorityInfo?: { creator?: PublicKey; transferAuthorityName: string }; useInvalidation?: UseInvalidationParams; visibility?: "private" | "public" | "permissioned" }

    Type declaration

    • Optional amount?: BN
    • Optional claimPayment?: ClaimApproverParams
    • Optional customInvalidators?: PublicKey[]
    • Optional invalidationType?: InvalidationType
    • issuerTokenAccountId: PublicKey
    • Optional kind?: TokenManagerKind
    • mint: PublicKey
    • Optional permissionedClaimApprover?: PublicKey
    • Optional receiptOptions?: { receiptMintKeypair: Keypair }
      • receiptMintKeypair: Keypair
    • Optional rulesetId?: PublicKey
    • Optional timeInvalidation?: TimeInvalidationParams
    • Optional transferAuthorityInfo?: { creator?: PublicKey; transferAuthorityName: string }
      • Optional creator?: PublicKey
      • transferAuthorityName: string
    • Optional useInvalidation?: UseInvalidationParams
    • Optional visibility?: "private" | "public" | "permissioned"

    Functions

    • claimToken(connection: Connection, wallet: Wallet, tokenManagerId: PublicKey, additionalOptions?: { payer?: PublicKey }): Promise<Transaction>
    • Parameters

      • connection: Connection
      • wallet: Wallet
      • tokenManagerId: PublicKey
      • Optional additionalOptions: { payer?: PublicKey }
        • Optional payer?: PublicKey

      Returns Promise<Transaction>

    • extendExpiration(connection: Connection, wallet: Wallet, tokenManagerId: PublicKey, paymentAmount: number): Promise<Transaction>
    • Parameters

      • connection: Connection
      • wallet: Wallet
      • tokenManagerId: PublicKey
      • paymentAmount: number

      Returns Promise<Transaction>

    • extendUsages(connection: Connection, wallet: Wallet, tokenManagerId: PublicKey, usagesToAdd: number): Promise<Transaction>
    • Parameters

      • connection: Connection
      • wallet: Wallet
      • tokenManagerId: PublicKey
      • usagesToAdd: number

      Returns Promise<Transaction>

    • invalidate(connection: Connection, wallet: Wallet, mintId: PublicKey): Promise<Transaction>
    • Parameters

      • connection: Connection
      • wallet: Wallet
      • mintId: PublicKey

      Returns Promise<Transaction>

    • issueToken(connection: Connection, wallet: Wallet, rentalParameters: IssueParameters): Promise<[Transaction, PublicKey, undefined | Keypair]>
    • Parameters

      Returns Promise<[Transaction, PublicKey, undefined | Keypair]>

    • release(connection: Connection, wallet: Wallet, mintId: PublicKey, transferAuthorityId: PublicKey, listerTokenAccountId: PublicKey): Promise<Transaction>
    • Parameters

      • connection: Connection
      • wallet: Wallet
      • mintId: PublicKey
      • transferAuthorityId: PublicKey
      • listerTokenAccountId: PublicKey

      Returns Promise<Transaction>

    • unissueToken(connection: Connection, wallet: Wallet, mintId: PublicKey): Promise<Transaction>
    • Parameters

      • connection: Connection
      • wallet: Wallet
      • mintId: PublicKey

      Returns Promise<Transaction>

    • useTransaction(connection: Connection, wallet: Wallet, mintId: PublicKey, usages: number, collector?: PublicKey): Promise<Transaction>
    • Parameters

      • connection: Connection
      • wallet: Wallet
      • mintId: PublicKey
      • usages: number
      • Optional collector: PublicKey

      Returns Promise<Transaction>

    • withAcceptListing(transaction: Transaction, connection: Connection, wallet: Wallet, buyer: PublicKey, mintId: PublicKey, paymentAmount: BN, paymentMint: PublicKey, buySideReceiver?: PublicKey, payer?: PublicKey): Promise<Transaction>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • buyer: PublicKey
      • mintId: PublicKey
      • paymentAmount: BN
      • paymentMint: PublicKey
      • Optional buySideReceiver: PublicKey
      • payer: PublicKey = buyer

      Returns Promise<Transaction>

    • withAcceptTransfer(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey, recipient: PublicKey, holder: PublicKey): Promise<Transaction>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • mintId: PublicKey
      • recipient: PublicKey
      • holder: PublicKey

      Returns Promise<Transaction>

    • withCancelTransfer(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey): Promise<Transaction>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • mintId: PublicKey

      Returns Promise<Transaction>

    • withClaimToken(transaction: Transaction, connection: Connection, wallet: Wallet, tokenManagerId: PublicKey, additionalOptions?: { payer?: PublicKey }, buySideTokenAccountId?: PublicKey): Promise<Transaction>
    • Add claim instructions to a transaction

      Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • tokenManagerId: PublicKey
      • Optional additionalOptions: { payer?: PublicKey }
        • Optional payer?: PublicKey
      • Optional buySideTokenAccountId: PublicKey

      Returns Promise<Transaction>

      Transaction with relevent claim instructions added

      -
    • withCreateListing(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey, markeptlaceName: string, paymentAmount: BN, paymentMint?: PublicKey, payer?: PublicKey): Promise<[Transaction, PublicKey]>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • mintId: PublicKey
      • markeptlaceName: string
      • paymentAmount: BN
      • paymentMint: PublicKey = PublicKey.default
      • payer: PublicKey = wallet.publicKey

      Returns Promise<[Transaction, PublicKey]>

    • withDelegate(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey, recipient?: PublicKey): Promise<Transaction>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • mintId: PublicKey
      • recipient: PublicKey = wallet.publicKey

      Returns Promise<Transaction>

    • withExtendExpiration(transaction: Transaction, connection: Connection, wallet: Wallet, tokenManagerId: PublicKey, secondsToAdd: number, options?: { payer?: PublicKey }, buySideTokenAccountId?: PublicKey): Promise<Transaction>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • tokenManagerId: PublicKey
      • secondsToAdd: number
      • Optional options: { payer?: PublicKey }
        • Optional payer?: PublicKey
      • Optional buySideTokenAccountId: PublicKey

      Returns Promise<Transaction>

    • withExtendUsages(transaction: Transaction, connection: Connection, wallet: Wallet, tokenManagerId: PublicKey, usagesToAdd: number, options?: { payer?: PublicKey }, buySideTokenAccountId?: PublicKey): Promise<Transaction>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • tokenManagerId: PublicKey
      • usagesToAdd: number
      • Optional options: { payer?: PublicKey }
        • Optional payer?: PublicKey
      • Optional buySideTokenAccountId: PublicKey

      Returns Promise<Transaction>

    • withInitMarketplace(transaction: Transaction, connection: Connection, wallet: Wallet, name: string, paymentManagerName: string, paymentMints?: PublicKey[], payer?: PublicKey): Promise<[Transaction, PublicKey]>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • name: string
      • paymentManagerName: string
      • Optional paymentMints: PublicKey[]
      • payer: PublicKey = wallet.publicKey

      Returns Promise<[Transaction, PublicKey]>

    • withInitTransfer(transaction: Transaction, connection: Connection, wallet: Wallet, to: PublicKey, mintId: PublicKey, holderTokenAccountId: PublicKey, payer?: PublicKey): Promise<Transaction>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • to: PublicKey
      • mintId: PublicKey
      • holderTokenAccountId: PublicKey
      • payer: PublicKey = wallet.publicKey

      Returns Promise<Transaction>

    • withInitTransferAuthority(transaction: Transaction, connection: Connection, wallet: Wallet, name: string, authority?: PublicKey, payer?: PublicKey, allowedMarketplaces?: PublicKey[]): Promise<[Transaction, PublicKey]>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • name: string
      • authority: PublicKey = wallet.publicKey
      • payer: PublicKey = wallet.publicKey
      • Optional allowedMarketplaces: PublicKey[]

      Returns Promise<[Transaction, PublicKey]>

    • withInvalidate(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey, UTCNow?: number): Promise<Transaction>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • mintId: PublicKey
      • UTCNow: number = ...

      Returns Promise<Transaction>

    • withIssueToken(transaction: Transaction, connection: Connection, wallet: Wallet, __namedParameters: IssueParameters, payer?: PublicKey): Promise<[Transaction, PublicKey, undefined | Keypair]>
    • withCreateListing(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey, markeptlaceName: string, paymentAmount: BN, paymentMint?: PublicKey, payer?: PublicKey): Promise<[Transaction, PublicKey]>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • mintId: PublicKey
      • markeptlaceName: string
      • paymentAmount: BN
      • paymentMint: PublicKey = PublicKey.default
      • payer: PublicKey = wallet.publicKey

      Returns Promise<[Transaction, PublicKey]>

    • withDelegate(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey, recipient?: PublicKey): Promise<Transaction>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • mintId: PublicKey
      • recipient: PublicKey = wallet.publicKey

      Returns Promise<Transaction>

    • withExtendExpiration(transaction: Transaction, connection: Connection, wallet: Wallet, tokenManagerId: PublicKey, secondsToAdd: number, options?: { payer?: PublicKey }, buySideTokenAccountId?: PublicKey): Promise<Transaction>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • tokenManagerId: PublicKey
      • secondsToAdd: number
      • Optional options: { payer?: PublicKey }
        • Optional payer?: PublicKey
      • Optional buySideTokenAccountId: PublicKey

      Returns Promise<Transaction>

    • withExtendUsages(transaction: Transaction, connection: Connection, wallet: Wallet, tokenManagerId: PublicKey, usagesToAdd: number, options?: { payer?: PublicKey }, buySideTokenAccountId?: PublicKey): Promise<Transaction>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • tokenManagerId: PublicKey
      • usagesToAdd: number
      • Optional options: { payer?: PublicKey }
        • Optional payer?: PublicKey
      • Optional buySideTokenAccountId: PublicKey

      Returns Promise<Transaction>

    • withInitMarketplace(transaction: Transaction, connection: Connection, wallet: Wallet, name: string, paymentManagerName: string, paymentMints?: PublicKey[], payer?: PublicKey): Promise<[Transaction, PublicKey]>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • name: string
      • paymentManagerName: string
      • Optional paymentMints: PublicKey[]
      • payer: PublicKey = wallet.publicKey

      Returns Promise<[Transaction, PublicKey]>

    • withInitTransfer(transaction: Transaction, connection: Connection, wallet: Wallet, to: PublicKey, mintId: PublicKey, holderTokenAccountId: PublicKey, payer?: PublicKey): Promise<Transaction>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • to: PublicKey
      • mintId: PublicKey
      • holderTokenAccountId: PublicKey
      • payer: PublicKey = wallet.publicKey

      Returns Promise<Transaction>

    • withInitTransferAuthority(transaction: Transaction, connection: Connection, wallet: Wallet, name: string, authority?: PublicKey, payer?: PublicKey, allowedMarketplaces?: PublicKey[]): Promise<[Transaction, PublicKey]>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • name: string
      • authority: PublicKey = wallet.publicKey
      • payer: PublicKey = wallet.publicKey
      • Optional allowedMarketplaces: PublicKey[]

      Returns Promise<[Transaction, PublicKey]>

    • withInvalidate(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey, UTCNow?: number): Promise<Transaction>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • mintId: PublicKey
      • UTCNow: number = ...

      Returns Promise<Transaction>

    • withIssueToken(transaction: Transaction, connection: Connection, wallet: Wallet, __namedParameters: IssueParameters, payer?: PublicKey): Promise<[Transaction, PublicKey, undefined | Keypair]>
    • Main method for issuing any managed token Allows for optional payment, optional usages or expiration and includes a otp for private links

      Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • __namedParameters: IssueParameters
      • payer: PublicKey = wallet.publicKey

      Returns Promise<[Transaction, PublicKey, undefined | Keypair]>

      Transaction, public key for the created token manager and a otp if necessary for private links

      -
    • withRelease(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey, transferAuthorityId: PublicKey, holderTokenAccountId: PublicKey, payer?: PublicKey): Promise<Transaction>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • mintId: PublicKey
      • transferAuthorityId: PublicKey
      • holderTokenAccountId: PublicKey
      • payer: PublicKey = wallet.publicKey

      Returns Promise<Transaction>

    • withRemoveListing(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey, listerMintTokenAccountId: PublicKey): Promise<Transaction>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • mintId: PublicKey
      • listerMintTokenAccountId: PublicKey

      Returns Promise<Transaction>

    • withReplaceInvalidator(transaction: Transaction, connection: Connection, wallet: Wallet, tokenManagerId: PublicKey, newInvalidator: PublicKey): Promise<Transaction>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • tokenManagerId: PublicKey
      • newInvalidator: PublicKey

      Returns Promise<Transaction>

    • withResetExpiration(transaction: Transaction, connection: Connection, wallet: Wallet, tokenManagerId: PublicKey): Promise<Transaction>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • tokenManagerId: PublicKey

      Returns Promise<Transaction>

    • withReturn(transaction: Transaction, connection: Connection, wallet: Wallet, tokenManagerData: AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>): Promise<Transaction>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • tokenManagerData: AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>

      Returns Promise<Transaction>

    • withSend(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey, senderTokenAccountId: PublicKey, target: PublicKey): Promise<Transaction>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • mintId: PublicKey
      • senderTokenAccountId: PublicKey
      • target: PublicKey

      Returns Promise<Transaction>

    • withTransfer(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey, recipient?: PublicKey): Promise<Transaction>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • mintId: PublicKey
      • recipient: PublicKey = wallet.publicKey

      Returns Promise<Transaction>

    • withUndelegate(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey, recipient?: PublicKey): Promise<Transaction>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • mintId: PublicKey
      • Optional recipient: PublicKey

      Returns Promise<Transaction>

    • withUnissueToken(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey): Promise<Transaction>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • mintId: PublicKey

      Returns Promise<Transaction>

    • withUpdateListing(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey, marketplaceId: PublicKey, paymentAmount: BN, paymentMint: PublicKey): Promise<Transaction>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • mintId: PublicKey
      • marketplaceId: PublicKey
      • paymentAmount: BN
      • paymentMint: PublicKey

      Returns Promise<Transaction>

    • withUpdateMarketplace(transaction: Transaction, connection: Connection, wallet: Wallet, name: string, paymentManagerName: string, authority: PublicKey, paymentMints: PublicKey[]): Promise<Transaction>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • name: string
      • paymentManagerName: string
      • authority: PublicKey
      • paymentMints: PublicKey[]

      Returns Promise<Transaction>

    • withUpdateMaxExpiration(transaction: Transaction, connection: Connection, wallet: Wallet, tokenManagerId: PublicKey, newMaxExpiration: BN): Promise<Transaction>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • tokenManagerId: PublicKey
      • newMaxExpiration: BN

      Returns Promise<Transaction>

    • withUpdateTransferAuthority(transaction: Transaction, connection: Connection, wallet: Wallet, name: string, authority: PublicKey, allowedMarketplaces?: PublicKey[]): Promise<Transaction>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • name: string
      • authority: PublicKey
      • Optional allowedMarketplaces: PublicKey[]

      Returns Promise<Transaction>

    • withUse(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey, usages: number, collector?: PublicKey): Promise<Transaction>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • mintId: PublicKey
      • usages: number
      • Optional collector: PublicKey

      Returns Promise<Transaction>

    • withWhitelistMarektplaces(transaction: Transaction, connection: Connection, wallet: Wallet, transferAuthorityName: string, marketplaceNames: string[]): Promise<Transaction>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • transferAuthorityName: string
      • marketplaceNames: string[]

      Returns Promise<Transaction>

    • withWrapToken(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey, transferAuthorityInfo?: { creator?: PublicKey; transferAuthorityName: string }, payer?: PublicKey): Promise<[Transaction, PublicKey]>
    • Parameters

      • transaction: Transaction
      • connection: Connection
      • wallet: Wallet
      • mintId: PublicKey
      • Optional transferAuthorityInfo: { creator?: PublicKey; transferAuthorityName: string }
        • Optional creator?: PublicKey
        • transferAuthorityName: string
      • payer: PublicKey = wallet.publicKey

      Returns Promise<[Transaction, PublicKey]>

    Settings

    Theme

    Generated using TypeDoc

    \ No newline at end of file +
  • withRelease(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey, transferAuthorityId: PublicKey, holderTokenAccountId: PublicKey, payer?: PublicKey): Promise<Transaction>
  • Parameters

    • transaction: Transaction
    • connection: Connection
    • wallet: Wallet
    • mintId: PublicKey
    • transferAuthorityId: PublicKey
    • holderTokenAccountId: PublicKey
    • payer: PublicKey = wallet.publicKey

    Returns Promise<Transaction>

  • withRemoveListing(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey, listerMintTokenAccountId: PublicKey): Promise<Transaction>
  • Parameters

    • transaction: Transaction
    • connection: Connection
    • wallet: Wallet
    • mintId: PublicKey
    • listerMintTokenAccountId: PublicKey

    Returns Promise<Transaction>

  • withReplaceInvalidator(transaction: Transaction, connection: Connection, wallet: Wallet, tokenManagerId: PublicKey, newInvalidator: PublicKey): Promise<Transaction>
  • Parameters

    • transaction: Transaction
    • connection: Connection
    • wallet: Wallet
    • tokenManagerId: PublicKey
    • newInvalidator: PublicKey

    Returns Promise<Transaction>

  • withResetExpiration(transaction: Transaction, connection: Connection, wallet: Wallet, tokenManagerId: PublicKey): Promise<Transaction>
  • Parameters

    • transaction: Transaction
    • connection: Connection
    • wallet: Wallet
    • tokenManagerId: PublicKey

    Returns Promise<Transaction>

  • withReturn(transaction: Transaction, connection: Connection, wallet: Wallet, tokenManagerData: AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>): Promise<Transaction>
  • Parameters

    • transaction: Transaction
    • connection: Connection
    • wallet: Wallet
    • tokenManagerData: AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>

    Returns Promise<Transaction>

  • withSend(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey, senderTokenAccountId: PublicKey, target: PublicKey): Promise<Transaction>
  • Parameters

    • transaction: Transaction
    • connection: Connection
    • wallet: Wallet
    • mintId: PublicKey
    • senderTokenAccountId: PublicKey
    • target: PublicKey

    Returns Promise<Transaction>

  • withTransfer(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey, recipient?: PublicKey): Promise<Transaction>
  • Parameters

    • transaction: Transaction
    • connection: Connection
    • wallet: Wallet
    • mintId: PublicKey
    • recipient: PublicKey = wallet.publicKey

    Returns Promise<Transaction>

  • withUndelegate(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey, recipient?: PublicKey): Promise<Transaction>
  • Parameters

    • transaction: Transaction
    • connection: Connection
    • wallet: Wallet
    • mintId: PublicKey
    • Optional recipient: PublicKey

    Returns Promise<Transaction>

  • withUnissueToken(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey): Promise<Transaction>
  • Parameters

    • transaction: Transaction
    • connection: Connection
    • wallet: Wallet
    • mintId: PublicKey

    Returns Promise<Transaction>

  • withUpdateListing(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey, marketplaceId: PublicKey, paymentAmount: BN, paymentMint: PublicKey): Promise<Transaction>
  • Parameters

    • transaction: Transaction
    • connection: Connection
    • wallet: Wallet
    • mintId: PublicKey
    • marketplaceId: PublicKey
    • paymentAmount: BN
    • paymentMint: PublicKey

    Returns Promise<Transaction>

  • withUpdateMarketplace(transaction: Transaction, connection: Connection, wallet: Wallet, name: string, paymentManagerName: string, authority: PublicKey, paymentMints: PublicKey[]): Promise<Transaction>
  • Parameters

    • transaction: Transaction
    • connection: Connection
    • wallet: Wallet
    • name: string
    • paymentManagerName: string
    • authority: PublicKey
    • paymentMints: PublicKey[]

    Returns Promise<Transaction>

  • withUpdateMaxExpiration(transaction: Transaction, connection: Connection, wallet: Wallet, tokenManagerId: PublicKey, newMaxExpiration: BN): Promise<Transaction>
  • Parameters

    • transaction: Transaction
    • connection: Connection
    • wallet: Wallet
    • tokenManagerId: PublicKey
    • newMaxExpiration: BN

    Returns Promise<Transaction>

  • withUpdateTransferAuthority(transaction: Transaction, connection: Connection, wallet: Wallet, name: string, authority: PublicKey, allowedMarketplaces?: PublicKey[]): Promise<Transaction>
  • Parameters

    • transaction: Transaction
    • connection: Connection
    • wallet: Wallet
    • name: string
    • authority: PublicKey
    • Optional allowedMarketplaces: PublicKey[]

    Returns Promise<Transaction>

  • withUse(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey, usages: number, collector?: PublicKey): Promise<Transaction>
  • Parameters

    • transaction: Transaction
    • connection: Connection
    • wallet: Wallet
    • mintId: PublicKey
    • usages: number
    • Optional collector: PublicKey

    Returns Promise<Transaction>

  • withWhitelistMarektplaces(transaction: Transaction, connection: Connection, wallet: Wallet, transferAuthorityName: string, marketplaceNames: string[]): Promise<Transaction>
  • Parameters

    • transaction: Transaction
    • connection: Connection
    • wallet: Wallet
    • transferAuthorityName: string
    • marketplaceNames: string[]

    Returns Promise<Transaction>

  • withWrapToken(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey, transferAuthorityInfo?: { creator?: PublicKey; transferAuthorityName: string }, payer?: PublicKey): Promise<[Transaction, PublicKey]>
  • Parameters

    • transaction: Transaction
    • connection: Connection
    • wallet: Wallet
    • mintId: PublicKey
    • Optional transferAuthorityInfo: { creator?: PublicKey; transferAuthorityName: string }
      • Optional creator?: PublicKey
      • transferAuthorityName: string
    • payer: PublicKey = wallet.publicKey

    Returns Promise<[Transaction, PublicKey]>

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/modules/claimLinks.html b/modules/claimLinks.html index f49b1841..8a92606c 100644 --- a/modules/claimLinks.html +++ b/modules/claimLinks.html @@ -1 +1 @@ -claimLinks | @cardinal/token-manager - v4.5.1
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • claimFromLink(connection: Connection, wallet: Wallet, tokenManagerId: PublicKey): Promise<Transaction>
  • Parameters

    • connection: Connection
    • wallet: Wallet
    • tokenManagerId: PublicKey

    Returns Promise<Transaction>

  • fromLink(link: string): [PublicKey, Keypair]
  • getLink(tokenManagerId: PublicKey, otp: undefined | Keypair, cluster?: string, baseUrl?: string, collection?: string): string
  • Parameters

    • tokenManagerId: PublicKey
    • otp: undefined | Keypair
    • cluster: string = "devnet"
    • baseUrl: string = "https://rent.cardinal.so"
    • collection: string = "claim"

    Returns string

  • issueToken(connection: Connection, wallet: Wallet, __namedParameters: { amount?: BN; invalidationType?: InvalidationType; issuerTokenAccountId: PublicKey; kind?: TokenManagerKind; mint: PublicKey; useInvalidation?: UseInvalidationParams }): Promise<[Transaction, PublicKey, Keypair]>

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +claimLinks | @cardinal/token-manager - v4.6.0
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • claimFromLink(connection: Connection, wallet: Wallet, tokenManagerId: PublicKey): Promise<Transaction>
  • Parameters

    • connection: Connection
    • wallet: Wallet
    • tokenManagerId: PublicKey

    Returns Promise<Transaction>

  • fromLink(link: string): [PublicKey, Keypair]
  • getLink(tokenManagerId: PublicKey, otp: undefined | Keypair, cluster?: string, baseUrl?: string, collection?: string): string
  • Parameters

    • tokenManagerId: PublicKey
    • otp: undefined | Keypair
    • cluster: string = "devnet"
    • baseUrl: string = "https://rent.cardinal.so"
    • collection: string = "claim"

    Returns string

  • issueToken(connection: Connection, wallet: Wallet, __namedParameters: { amount?: BN; invalidationType?: InvalidationType; issuerTokenAccountId: PublicKey; kind?: TokenManagerKind; mint: PublicKey; useInvalidation?: UseInvalidationParams }): Promise<[Transaction, PublicKey, Keypair]>

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/modules/programs.claimApprover.accounts.html b/modules/programs.claimApprover.accounts.html index 76c4f312..3ea0beb6 100644 --- a/modules/programs.claimApprover.accounts.html +++ b/modules/programs.claimApprover.accounts.html @@ -1 +1 @@ -accounts | @cardinal/token-manager - v4.5.1
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • getAllClaimApprovers(connection: Connection): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "paymentMint"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }]; kind: "struct" } }], EmptyDefined>>>[]>
  • Parameters

    • connection: Connection

    Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "paymentMint"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }]; kind: "struct" } }], EmptyDefined>>>[]>

  • getClaimApprover(connection: Connection, tokenManagerId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "paymentMint"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }]; kind: "struct" } }], EmptyDefined>>>>
  • Parameters

    • connection: Connection
    • tokenManagerId: PublicKey

    Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "paymentMint"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }]; kind: "struct" } }], EmptyDefined>>>>

  • getClaimApprovers(connection: Connection, claimApproverIds: PublicKey[]): Promise<AccountData<null | DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "paymentMint"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }]; kind: "struct" } }], EmptyDefined>>>[]>
  • Parameters

    • connection: Connection
    • claimApproverIds: PublicKey[]

    Returns Promise<AccountData<null | DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "paymentMint"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }]; kind: "struct" } }], EmptyDefined>>>[]>

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +accounts | @cardinal/token-manager - v4.6.0
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • getAllClaimApprovers(connection: Connection): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "paymentMint"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }]; kind: "struct" } }], EmptyDefined>>>[]>
  • Parameters

    • connection: Connection

    Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "paymentMint"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }]; kind: "struct" } }], EmptyDefined>>>[]>

  • getClaimApprover(connection: Connection, tokenManagerId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "paymentMint"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }]; kind: "struct" } }], EmptyDefined>>>>
  • Parameters

    • connection: Connection
    • tokenManagerId: PublicKey

    Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "paymentMint"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }]; kind: "struct" } }], EmptyDefined>>>>

  • getClaimApprovers(connection: Connection, claimApproverIds: PublicKey[]): Promise<AccountData<null | DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "paymentMint"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }]; kind: "struct" } }], EmptyDefined>>>[]>
  • Parameters

    • connection: Connection
    • claimApproverIds: PublicKey[]

    Returns Promise<AccountData<null | DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "paymentMint"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }]; kind: "struct" } }], EmptyDefined>>>[]>

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/modules/programs.claimApprover.html b/modules/programs.claimApprover.html index 99a1ce83..0ec317ae 100644 --- a/modules/programs.claimApprover.html +++ b/modules/programs.claimApprover.html @@ -1 +1 @@ -claimApprover | @cardinal/token-manager - v4.5.1
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type Aliases

CLAIM_APPROVER_PROGRAM: CLAIM_APPROVER_TYPES.CardinalPaidClaimApprover
ClaimApproverParams: { collector?: PublicKey; paymentAmount: number; paymentManager?: PublicKey; paymentMint: PublicKey }

Type declaration

  • Optional collector?: PublicKey
  • paymentAmount: number
  • Optional paymentManager?: PublicKey
  • paymentMint: PublicKey
PaidClaimApproverData: ParsedIdlAccountData<"paidClaimApprover", CLAIM_APPROVER_PROGRAM>

Variables

CLAIM_APPROVER_ADDRESS: PublicKey = ...
CLAIM_APPROVER_IDL: CardinalPaidClaimApprover = CLAIM_APPROVER_TYPES.IDL
CLAIM_APPROVER_SEED: "paid-claim-approver" = "paid-claim-approver"
defaultPaymentManagerId: PublicKey = ...

Functions

  • claimApproverProgram(connection: Connection, wallet?: Wallet, confirmOptions?: ConfirmOptions): Program<CardinalPaidClaimApprover>

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +claimApprover | @cardinal/token-manager - v4.6.0
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type Aliases

CLAIM_APPROVER_PROGRAM: CLAIM_APPROVER_TYPES.CardinalPaidClaimApprover
ClaimApproverParams: { collector?: PublicKey; paymentAmount: number; paymentManager?: PublicKey; paymentMint: PublicKey }

Type declaration

  • Optional collector?: PublicKey
  • paymentAmount: number
  • Optional paymentManager?: PublicKey
  • paymentMint: PublicKey
PaidClaimApproverData: ParsedIdlAccountData<"paidClaimApprover", CLAIM_APPROVER_PROGRAM>

Variables

CLAIM_APPROVER_ADDRESS: PublicKey = ...
CLAIM_APPROVER_IDL: CardinalPaidClaimApprover = CLAIM_APPROVER_TYPES.IDL
CLAIM_APPROVER_SEED: "paid-claim-approver" = "paid-claim-approver"
defaultPaymentManagerId: PublicKey = ...

Functions

  • claimApproverProgram(connection: Connection, wallet?: Wallet, confirmOptions?: ConfirmOptions): Program<CardinalPaidClaimApprover>

Settings

Theme

Generated using TypeDoc

\ No newline at end of file diff --git a/modules/programs.claimApprover.pda.html b/modules/programs.claimApprover.pda.html index 9a28d1cd..50ece10f 100644 --- a/modules/programs.claimApprover.pda.html +++ b/modules/programs.claimApprover.pda.html @@ -1,3 +1,3 @@ -pda | @cardinal/token-manager - v4.5.1
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • findClaimApproverAddress(tokenManagerId: PublicKey): PublicKey
  • +pda | @cardinal/token-manager - v4.6.0
    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Index

    Functions

    • findClaimApproverAddress(tokenManagerId: PublicKey): PublicKey

    Settings

    Theme

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/programs.html b/modules/programs.html index d734c721..c3961574 100644 --- a/modules/programs.html +++ b/modules/programs.html @@ -1 +1 @@ -programs | @cardinal/token-manager - v4.5.1
    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Settings

    Theme

    Generated using TypeDoc

    \ No newline at end of file +programs | @cardinal/token-manager - v4.6.0
    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Settings

    Theme

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/programs.timeInvalidator.accounts.html b/modules/programs.timeInvalidator.accounts.html index 1a93447f..f652a5f6 100644 --- a/modules/programs.timeInvalidator.accounts.html +++ b/modules/programs.timeInvalidator.accounts.html @@ -1 +1 @@ -accounts | @cardinal/token-manager - v4.5.1
    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Index

    Functions

    • getAllTimeInvalidators(connection: Connection): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }, { name: "expiration"; type: { option: "i64" } }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "collector"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }, { name: "extensionDurationSeconds"; type: { option: "u64" } }, { name: "extensionPaymentMint"; type: { option: "publicKey" } }, { name: "maxExpiration"; type: { option: "i64" } }, { name: "disablePartialExtension"; type: { option: "bool" } }]; kind: "struct" } }, { name: "UpdateMaxExpirationIx"; type: { fields: [{ name: "newMaxExpiration"; type: "i64" }]; kind: "struct" } }], EmptyDefined>>>[]>
    • Parameters

      • connection: Connection

      Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }, { name: "expiration"; type: { option: "i64" } }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "collector"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }, { name: "extensionDurationSeconds"; type: { option: "u64" } }, { name: "extensionPaymentMint"; type: { option: "publicKey" } }, { name: "maxExpiration"; type: { option: "i64" } }, { name: "disablePartialExtension"; type: { option: "bool" } }]; kind: "struct" } }, { name: "UpdateMaxExpirationIx"; type: { fields: [{ name: "newMaxExpiration"; type: "i64" }]; kind: "struct" } }], EmptyDefined>>>[]>

    • getExpiredTimeInvalidators(connection: Connection): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }, { name: "expiration"; type: { option: "i64" } }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "collector"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }, { name: "extensionDurationSeconds"; type: { option: "u64" } }, { name: "extensionPaymentMint"; type: { option: "publicKey" } }, { name: "maxExpiration"; type: { option: "i64" } }, { name: "disablePartialExtension"; type: { option: "bool" } }]; kind: "struct" } }, { name: "UpdateMaxExpirationIx"; type: { fields: [{ name: "newMaxExpiration"; type: "i64" }]; kind: "struct" } }], EmptyDefined>>>[]>
    • Parameters

      • connection: Connection

      Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }, { name: "expiration"; type: { option: "i64" } }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "collector"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }, { name: "extensionDurationSeconds"; type: { option: "u64" } }, { name: "extensionPaymentMint"; type: { option: "publicKey" } }, { name: "maxExpiration"; type: { option: "i64" } }, { name: "disablePartialExtension"; type: { option: "bool" } }]; kind: "struct" } }, { name: "UpdateMaxExpirationIx"; type: { fields: [{ name: "newMaxExpiration"; type: "i64" }]; kind: "struct" } }], EmptyDefined>>>[]>

    • getTimeInvalidator(connection: Connection, timeInvalidatorId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }, { name: "expiration"; type: { option: "i64" } }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "collector"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }, { name: "extensionDurationSeconds"; type: { option: "u64" } }, { name: "extensionPaymentMint"; type: { option: "publicKey" } }, { name: "maxExpiration"; type: { option: "i64" } }, { name: "disablePartialExtension"; type: { option: "bool" } }]; kind: "struct" } }, { name: "UpdateMaxExpirationIx"; type: { fields: [{ name: "newMaxExpiration"; type: "i64" }]; kind: "struct" } }], EmptyDefined>>>>
    • Parameters

      • connection: Connection
      • timeInvalidatorId: PublicKey

      Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }, { name: "expiration"; type: { option: "i64" } }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "collector"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }, { name: "extensionDurationSeconds"; type: { option: "u64" } }, { name: "extensionPaymentMint"; type: { option: "publicKey" } }, { name: "maxExpiration"; type: { option: "i64" } }, { name: "disablePartialExtension"; type: { option: "bool" } }]; kind: "struct" } }, { name: "UpdateMaxExpirationIx"; type: { fields: [{ name: "newMaxExpiration"; type: "i64" }]; kind: "struct" } }], EmptyDefined>>>>

    • getTimeInvalidators(connection: Connection, timeInvalidatorIds: PublicKey[]): Promise<AccountData<null | DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }, { name: "expiration"; type: { option: "i64" } }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "collector"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }, { name: "extensionDurationSeconds"; type: { option: "u64" } }, { name: "extensionPaymentMint"; type: { option: "publicKey" } }, { name: "maxExpiration"; type: { option: "i64" } }, { name: "disablePartialExtension"; type: { option: "bool" } }]; kind: "struct" } }, { name: "UpdateMaxExpirationIx"; type: { fields: [{ name: "newMaxExpiration"; type: "i64" }]; kind: "struct" } }], EmptyDefined>>>[]>
    • Parameters

      • connection: Connection
      • timeInvalidatorIds: PublicKey[]

      Returns Promise<AccountData<null | DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }, { name: "expiration"; type: { option: "i64" } }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "collector"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }, { name: "extensionDurationSeconds"; type: { option: "u64" } }, { name: "extensionPaymentMint"; type: { option: "publicKey" } }, { name: "maxExpiration"; type: { option: "i64" } }, { name: "disablePartialExtension"; type: { option: "bool" } }]; kind: "struct" } }, { name: "UpdateMaxExpirationIx"; type: { fields: [{ name: "newMaxExpiration"; type: "i64" }]; kind: "struct" } }], EmptyDefined>>>[]>

    Settings

    Theme

    Generated using TypeDoc

    \ No newline at end of file +accounts | @cardinal/token-manager - v4.6.0
    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Index

    Functions

    • getAllTimeInvalidators(connection: Connection): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }, { name: "expiration"; type: { option: "i64" } }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "collector"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }, { name: "extensionDurationSeconds"; type: { option: "u64" } }, { name: "extensionPaymentMint"; type: { option: "publicKey" } }, { name: "maxExpiration"; type: { option: "i64" } }, { name: "disablePartialExtension"; type: { option: "bool" } }]; kind: "struct" } }, { name: "UpdateMaxExpirationIx"; type: { fields: [{ name: "newMaxExpiration"; type: "i64" }]; kind: "struct" } }], EmptyDefined>>>[]>
    • Parameters

      • connection: Connection

      Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }, { name: "expiration"; type: { option: "i64" } }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "collector"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }, { name: "extensionDurationSeconds"; type: { option: "u64" } }, { name: "extensionPaymentMint"; type: { option: "publicKey" } }, { name: "maxExpiration"; type: { option: "i64" } }, { name: "disablePartialExtension"; type: { option: "bool" } }]; kind: "struct" } }, { name: "UpdateMaxExpirationIx"; type: { fields: [{ name: "newMaxExpiration"; type: "i64" }]; kind: "struct" } }], EmptyDefined>>>[]>

    • getExpiredTimeInvalidators(connection: Connection): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }, { name: "expiration"; type: { option: "i64" } }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "collector"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }, { name: "extensionDurationSeconds"; type: { option: "u64" } }, { name: "extensionPaymentMint"; type: { option: "publicKey" } }, { name: "maxExpiration"; type: { option: "i64" } }, { name: "disablePartialExtension"; type: { option: "bool" } }]; kind: "struct" } }, { name: "UpdateMaxExpirationIx"; type: { fields: [{ name: "newMaxExpiration"; type: "i64" }]; kind: "struct" } }], EmptyDefined>>>[]>
    • Parameters

      • connection: Connection

      Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }, { name: "expiration"; type: { option: "i64" } }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "collector"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }, { name: "extensionDurationSeconds"; type: { option: "u64" } }, { name: "extensionPaymentMint"; type: { option: "publicKey" } }, { name: "maxExpiration"; type: { option: "i64" } }, { name: "disablePartialExtension"; type: { option: "bool" } }]; kind: "struct" } }, { name: "UpdateMaxExpirationIx"; type: { fields: [{ name: "newMaxExpiration"; type: "i64" }]; kind: "struct" } }], EmptyDefined>>>[]>

    • getTimeInvalidator(connection: Connection, timeInvalidatorId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }, { name: "expiration"; type: { option: "i64" } }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "collector"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }, { name: "extensionDurationSeconds"; type: { option: "u64" } }, { name: "extensionPaymentMint"; type: { option: "publicKey" } }, { name: "maxExpiration"; type: { option: "i64" } }, { name: "disablePartialExtension"; type: { option: "bool" } }]; kind: "struct" } }, { name: "UpdateMaxExpirationIx"; type: { fields: [{ name: "newMaxExpiration"; type: "i64" }]; kind: "struct" } }], EmptyDefined>>>>
    • Parameters

      • connection: Connection
      • timeInvalidatorId: PublicKey

      Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }, { name: "expiration"; type: { option: "i64" } }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "collector"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }, { name: "extensionDurationSeconds"; type: { option: "u64" } }, { name: "extensionPaymentMint"; type: { option: "publicKey" } }, { name: "maxExpiration"; type: { option: "i64" } }, { name: "disablePartialExtension"; type: { option: "bool" } }]; kind: "struct" } }, { name: "UpdateMaxExpirationIx"; type: { fields: [{ name: "newMaxExpiration"; type: "i64" }]; kind: "struct" } }], EmptyDefined>>>>

    • getTimeInvalidators(connection: Connection, timeInvalidatorIds: PublicKey[]): Promise<AccountData<null | DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }, { name: "expiration"; type: { option: "i64" } }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "collector"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }, { name: "extensionDurationSeconds"; type: { option: "u64" } }, { name: "extensionPaymentMint"; type: { option: "publicKey" } }, { name: "maxExpiration"; type: { option: "i64" } }, { name: "disablePartialExtension"; type: { option: "bool" } }]; kind: "struct" } }, { name: "UpdateMaxExpirationIx"; type: { fields: [{ name: "newMaxExpiration"; type: "i64" }]; kind: "struct" } }], EmptyDefined>>>[]>
    • Parameters

      • connection: Connection
      • timeInvalidatorIds: PublicKey[]

      Returns Promise<AccountData<null | DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }, { name: "expiration"; type: { option: "i64" } }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "collector"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }, { name: "extensionDurationSeconds"; type: { option: "u64" } }, { name: "extensionPaymentMint"; type: { option: "publicKey" } }, { name: "maxExpiration"; type: { option: "i64" } }, { name: "disablePartialExtension"; type: { option: "bool" } }]; kind: "struct" } }, { name: "UpdateMaxExpirationIx"; type: { fields: [{ name: "newMaxExpiration"; type: "i64" }]; kind: "struct" } }], EmptyDefined>>>[]>

    Settings

    Theme

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/programs.timeInvalidator.html b/modules/programs.timeInvalidator.html index bc4414ff..3cb6a2b5 100644 --- a/modules/programs.timeInvalidator.html +++ b/modules/programs.timeInvalidator.html @@ -1 +1 @@ -timeInvalidator | @cardinal/token-manager - v4.5.1
    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Index

    Type Aliases

    TIME_INVALIDATOR_PROGRAM: TIME_INVALIDATOR_TYPES.CardinalTimeInvalidator
    TimeInvalidationParams: { collector?: PublicKey; durationSeconds?: number; extension?: { disablePartialExtension?: boolean; extensionDurationSeconds: number; extensionPaymentAmount: number; extensionPaymentMint: PublicKey }; maxExpiration?: number; paymentManager?: PublicKey }

    Type declaration

    • Optional collector?: PublicKey
    • Optional durationSeconds?: number
    • Optional extension?: { disablePartialExtension?: boolean; extensionDurationSeconds: number; extensionPaymentAmount: number; extensionPaymentMint: PublicKey }
      • Optional disablePartialExtension?: boolean
      • extensionDurationSeconds: number
      • extensionPaymentAmount: number
      • extensionPaymentMint: PublicKey
    • Optional maxExpiration?: number
    • Optional paymentManager?: PublicKey
    TimeInvalidatorData: ParsedIdlAccountData<"timeInvalidator", TIME_INVALIDATOR_PROGRAM>

    Variables

    TIME_INVALIDATOR_ADDRESS: PublicKey = ...
    TIME_INVALIDATOR_IDL: CardinalTimeInvalidator = TIME_INVALIDATOR_TYPES.IDL
    TIME_INVALIDATOR_SEED: "time-invalidator" = "time-invalidator"

    Functions

    • timeInvalidatorProgram(connection: Connection, wallet?: Wallet, confirmOptions?: ConfirmOptions): Program<CardinalTimeInvalidator>

    Settings

    Theme

    Generated using TypeDoc

    \ No newline at end of file +timeInvalidator | @cardinal/token-manager - v4.6.0
    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Index

    Type Aliases

    TIME_INVALIDATOR_PROGRAM: TIME_INVALIDATOR_TYPES.CardinalTimeInvalidator
    TimeInvalidationParams: { collector?: PublicKey; durationSeconds?: number; extension?: { disablePartialExtension?: boolean; extensionDurationSeconds: number; extensionPaymentAmount: number; extensionPaymentMint: PublicKey }; maxExpiration?: number; paymentManager?: PublicKey }

    Type declaration

    • Optional collector?: PublicKey
    • Optional durationSeconds?: number
    • Optional extension?: { disablePartialExtension?: boolean; extensionDurationSeconds: number; extensionPaymentAmount: number; extensionPaymentMint: PublicKey }
      • Optional disablePartialExtension?: boolean
      • extensionDurationSeconds: number
      • extensionPaymentAmount: number
      • extensionPaymentMint: PublicKey
    • Optional maxExpiration?: number
    • Optional paymentManager?: PublicKey
    TimeInvalidatorData: ParsedIdlAccountData<"timeInvalidator", TIME_INVALIDATOR_PROGRAM>

    Variables

    TIME_INVALIDATOR_ADDRESS: PublicKey = ...
    TIME_INVALIDATOR_IDL: CardinalTimeInvalidator = TIME_INVALIDATOR_TYPES.IDL
    TIME_INVALIDATOR_SEED: "time-invalidator" = "time-invalidator"

    Functions

    • timeInvalidatorProgram(connection: Connection, wallet?: Wallet, confirmOptions?: ConfirmOptions): Program<CardinalTimeInvalidator>

    Settings

    Theme

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/programs.timeInvalidator.pda.html b/modules/programs.timeInvalidator.pda.html index d9c51e5c..c88e6a3c 100644 --- a/modules/programs.timeInvalidator.pda.html +++ b/modules/programs.timeInvalidator.pda.html @@ -1,3 +1,3 @@ -pda | @cardinal/token-manager - v4.5.1
    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Index

    Functions

    • findTimeInvalidatorAddress(tokenManagerId: PublicKey): PublicKey
    • +pda | @cardinal/token-manager - v4.6.0
      Options
      All
      • Public
      • Public/Protected
      • All
      Menu

      Index

      Functions

      • findTimeInvalidatorAddress(tokenManagerId: PublicKey): PublicKey

      Settings

      Theme

      Generated using TypeDoc

      \ No newline at end of file diff --git a/modules/programs.timeInvalidator.utils.html b/modules/programs.timeInvalidator.utils.html index 5b8d064b..14fe5ba5 100644 --- a/modules/programs.timeInvalidator.utils.html +++ b/modules/programs.timeInvalidator.utils.html @@ -1 +1 @@ -utils | @cardinal/token-manager - v4.5.1
      Options
      All
      • Public
      • Public/Protected
      • All
      Menu

      Index

      Functions

      • shouldTimeInvalidate(tokenManagerData: AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>, timeInvalidatorData: AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }, { name: "expiration"; type: { option: "i64" } }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "collector"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }, { name: "extensionDurationSeconds"; type: { option: "u64" } }, { name: "extensionPaymentMint"; type: { option: "publicKey" } }, { name: "maxExpiration"; type: { option: "i64" } }, { name: "disablePartialExtension"; type: { option: "bool" } }]; kind: "struct" } }, { name: "UpdateMaxExpirationIx"; type: { fields: [{ name: "newMaxExpiration"; type: "i64" }]; kind: "struct" } }], EmptyDefined>>>, UTCNow?: number): boolean
      • Parameters

        • tokenManagerData: AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>
        • timeInvalidatorData: AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }, { name: "expiration"; type: { option: "i64" } }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "collector"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }, { name: "extensionDurationSeconds"; type: { option: "u64" } }, { name: "extensionPaymentMint"; type: { option: "publicKey" } }, { name: "maxExpiration"; type: { option: "i64" } }, { name: "disablePartialExtension"; type: { option: "bool" } }]; kind: "struct" } }, { name: "UpdateMaxExpirationIx"; type: { fields: [{ name: "newMaxExpiration"; type: "i64" }]; kind: "struct" } }], EmptyDefined>>>
        • UTCNow: number = ...

        Returns boolean

      Settings

      Theme

      Generated using TypeDoc

      \ No newline at end of file +utils | @cardinal/token-manager - v4.6.0
      Options
      All
      • Public
      • Public/Protected
      • All
      Menu

      Index

      Functions

      • shouldTimeInvalidate(tokenManagerData: AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>, timeInvalidatorData: AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }, { name: "expiration"; type: { option: "i64" } }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "collector"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }, { name: "extensionDurationSeconds"; type: { option: "u64" } }, { name: "extensionPaymentMint"; type: { option: "publicKey" } }, { name: "maxExpiration"; type: { option: "i64" } }, { name: "disablePartialExtension"; type: { option: "bool" } }]; kind: "struct" } }, { name: "UpdateMaxExpirationIx"; type: { fields: [{ name: "newMaxExpiration"; type: "i64" }]; kind: "struct" } }], EmptyDefined>>>, UTCNow?: number): boolean
      • Parameters

        • tokenManagerData: AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>
        • timeInvalidatorData: AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }, { name: "expiration"; type: { option: "i64" } }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "collector"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "durationSeconds"; type: { option: "i64" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }, { name: "extensionDurationSeconds"; type: { option: "u64" } }, { name: "extensionPaymentMint"; type: { option: "publicKey" } }, { name: "maxExpiration"; type: { option: "i64" } }, { name: "disablePartialExtension"; type: { option: "bool" } }]; kind: "struct" } }, { name: "UpdateMaxExpirationIx"; type: { fields: [{ name: "newMaxExpiration"; type: "i64" }]; kind: "struct" } }], EmptyDefined>>>
        • UTCNow: number = ...

        Returns boolean

      Settings

      Theme

      Generated using TypeDoc

      \ No newline at end of file diff --git a/modules/programs.tokenManager.accounts.html b/modules/programs.tokenManager.accounts.html index c5d1be7f..5fb2ab41 100644 --- a/modules/programs.tokenManager.accounts.html +++ b/modules/programs.tokenManager.accounts.html @@ -1 +1 @@ -accounts | @cardinal/token-manager - v4.5.1
      Options
      All
      • Public
      • Public/Protected
      • All
      Menu

      Index

      Functions

      • getMintCounter(connection: Connection, mintCounterId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "mint"; type: "publicKey" }, { name: "count"; type: "u64" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>>
      • Parameters

        • connection: Connection
        • mintCounterId: PublicKey

        Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "mint"; type: "publicKey" }, { name: "count"; type: "u64" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>>

      • getMintManager(connection: Connection, mintManagerId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "initializer"; type: "publicKey" }, { name: "tokenManagers"; type: "u64" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>>
      • Parameters

        • connection: Connection
        • mintManagerId: PublicKey

        Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "initializer"; type: "publicKey" }, { name: "tokenManagers"; type: "u64" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>>

      • getTokenManager(connection: Connection, tokenManagerId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>>
      • Parameters

        • connection: Connection
        • tokenManagerId: PublicKey

        Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>>

      • getTokenManagers(connection: Connection, tokenManagerIds: PublicKey[]): Promise<AccountData<null | DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>[]>
      • Parameters

        • connection: Connection
        • tokenManagerIds: PublicKey[]

        Returns Promise<AccountData<null | DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>[]>

      • getTokenManagersByState(connection: Connection, state: null | TokenManagerState): Promise<AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>[]>
      • Parameters

        Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>[]>

      • getTokenManagersForIssuer(connection: Connection, issuerId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>[]>
      • Parameters

        • connection: Connection
        • issuerId: PublicKey

        Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>[]>

      • getTransferReceipt(connection: Connection, transferReceiptId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "mintCount"; type: "u64" }, { name: "tokenManager"; type: "publicKey" }, { name: "target"; type: "publicKey" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>>
      • Parameters

        • connection: Connection
        • transferReceiptId: PublicKey

        Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "mintCount"; type: "u64" }, { name: "tokenManager"; type: "publicKey" }, { name: "target"; type: "publicKey" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>>

      Settings

      Theme

      Generated using TypeDoc

      \ No newline at end of file +accounts | @cardinal/token-manager - v4.6.0
      Options
      All
      • Public
      • Public/Protected
      • All
      Menu

      Index

      Functions

      • getMintCounter(connection: Connection, mintCounterId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "mint"; type: "publicKey" }, { name: "count"; type: "u64" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>>
      • Parameters

        • connection: Connection
        • mintCounterId: PublicKey

        Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "mint"; type: "publicKey" }, { name: "count"; type: "u64" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>>

      • getMintManager(connection: Connection, mintManagerId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "initializer"; type: "publicKey" }, { name: "tokenManagers"; type: "u64" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>>
      • Parameters

        • connection: Connection
        • mintManagerId: PublicKey

        Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "initializer"; type: "publicKey" }, { name: "tokenManagers"; type: "u64" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>>

      • getTokenManager(connection: Connection, tokenManagerId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>>
      • Parameters

        • connection: Connection
        • tokenManagerId: PublicKey

        Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>>

      • getTokenManagers(connection: Connection, tokenManagerIds: PublicKey[]): Promise<AccountData<null | DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>[]>
      • Parameters

        • connection: Connection
        • tokenManagerIds: PublicKey[]

        Returns Promise<AccountData<null | DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>[]>

      • getTokenManagersByState(connection: Connection, state: null | TokenManagerState): Promise<AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>[]>
      • Parameters

        Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>[]>

      • getTokenManagersForIssuer(connection: Connection, issuerId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>[]>
      • Parameters

        • connection: Connection
        • issuerId: PublicKey

        Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>[]>

      • getTransferReceipt(connection: Connection, transferReceiptId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "mintCount"; type: "u64" }, { name: "tokenManager"; type: "publicKey" }, { name: "target"; type: "publicKey" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>>
      • Parameters

        • connection: Connection
        • transferReceiptId: PublicKey

        Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "mintCount"; type: "u64" }, { name: "tokenManager"; type: "publicKey" }, { name: "target"; type: "publicKey" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>>

      Settings

      Theme

      Generated using TypeDoc

      \ No newline at end of file diff --git a/modules/programs.tokenManager.html b/modules/programs.tokenManager.html index 26589650..38b9b688 100644 --- a/modules/programs.tokenManager.html +++ b/modules/programs.tokenManager.html @@ -1,5 +1,5 @@ -tokenManager | @cardinal/token-manager - v4.5.1
      Options
      All
      • Public
      • Public/Protected
      • All
      Menu

      Index

      Type Aliases

      MintCounterData: ParsedIdlAccountData<"mintCounter", TOKEN_MANAGER_PROGRAM>
      MintManagerData: ParsedIdlAccountData<"mintManager", TOKEN_MANAGER_PROGRAM>
      TOKEN_MANAGER_PROGRAM: TOKEN_MANAGER_TYPES.CardinalTokenManager
      TokenManagerData: ParsedIdlAccountData<"tokenManager", TOKEN_MANAGER_PROGRAM>
      TransferReceiptData: ParsedIdlAccountData<"transferReceipt", TOKEN_MANAGER_PROGRAM>

      Variables

      CLAIM_RECEIPT_SEED: "claim-receipt" = "claim-receipt"
      CRANK_KEY: PublicKey = ...
      MINT_COUNTER_SEED: "mint-counter" = "mint-counter"
      MINT_MANAGER_SEED: "mint-manager" = "mint-manager"
      RECEIPT_MINT_MANAGER_SEED: "receipt-mint-manager" = "receipt-mint-manager"
      TOKEN_MANAGER_ADDRESS: PublicKey = ...
      TOKEN_MANAGER_IDL: CardinalTokenManager = TOKEN_MANAGER_TYPES.IDL
      TOKEN_MANAGER_SEED: "token-manager" = "token-manager"
      TRANSFER_RECEIPT_SEED: "transfer-receipt" = "transfer-receipt"

      Functions

      • findRuleSetId(authority: PublicKey, name: string): PublicKey
      • findTokenRecordId(mint: PublicKey, token: PublicKey): PublicKey
      • getRemainingAccountsForClaim(tokenManagerData: AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>, recipientTokenAccountId: PublicKey, metadata: null | Metadata, claimReceiptId?: PublicKey): AccountMeta[]
      • Parameters

        • tokenManagerData: AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>
        • recipientTokenAccountId: PublicKey
        • metadata: null | Metadata
        • Optional claimReceiptId: PublicKey

        Returns AccountMeta[]

      • getRemainingAccountsForInvalidate(connection: Connection, wallet: Wallet, mintId: PublicKey): Promise<AccountMeta[]>
      • +tokenManager | @cardinal/token-manager - v4.6.0
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Index

        Type Aliases

        MintCounterData: ParsedIdlAccountData<"mintCounter", TOKEN_MANAGER_PROGRAM>
        MintManagerData: ParsedIdlAccountData<"mintManager", TOKEN_MANAGER_PROGRAM>
        TOKEN_MANAGER_PROGRAM: TOKEN_MANAGER_TYPES.CardinalTokenManager
        TokenManagerData: ParsedIdlAccountData<"tokenManager", TOKEN_MANAGER_PROGRAM>
        TransferReceiptData: ParsedIdlAccountData<"transferReceipt", TOKEN_MANAGER_PROGRAM>

        Variables

        CLAIM_RECEIPT_SEED: "claim-receipt" = "claim-receipt"
        CRANK_KEY: PublicKey = ...
        MINT_COUNTER_SEED: "mint-counter" = "mint-counter"
        MINT_MANAGER_SEED: "mint-manager" = "mint-manager"
        RECEIPT_MINT_MANAGER_SEED: "receipt-mint-manager" = "receipt-mint-manager"
        TOKEN_MANAGER_ADDRESS: PublicKey = ...
        TOKEN_MANAGER_IDL: CardinalTokenManager = TOKEN_MANAGER_TYPES.IDL
        TOKEN_MANAGER_SEED: "token-manager" = "token-manager"
        TRANSFER_RECEIPT_SEED: "transfer-receipt" = "transfer-receipt"

        Functions

        • findRuleSetId(authority: PublicKey, name: string): PublicKey
        • findTokenRecordId(mint: PublicKey, token: PublicKey): PublicKey
        • getRemainingAccountsForClaim(tokenManagerData: AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>, recipientTokenAccountId: PublicKey, metadata: null | Metadata, claimReceiptId?: PublicKey): AccountMeta[]
        • Parameters

          • tokenManagerData: AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>
          • recipientTokenAccountId: PublicKey
          • metadata: null | Metadata
          • Optional claimReceiptId: PublicKey

          Returns AccountMeta[]

        • getRemainingAccountsForInvalidate(connection: Connection, wallet: Wallet, mintId: PublicKey): Promise<AccountMeta[]>
        • Convenience method to get remaining accounts for invalidation NOTE: This ignores token account creation and assumes that is handled outside. Use withRemainingAccountsForInvalidate to include token account creation in the current transaction

          -

          Parameters

          • connection: Connection
          • wallet: Wallet
          • mintId: PublicKey

          Returns Promise<AccountMeta[]>

        • getRemainingAccountsForIssue(tokenManagerKind: TokenManagerKind, mintId: PublicKey, issuerTokenAccountId: PublicKey, tokenManagerTokenAccountId: PublicKey, rulesetId?: PublicKey): AccountMeta[]
        • getRemainingAccountsForKind(mintId: PublicKey, tokenManagerKind: TokenManagerKind): AccountMeta[]
        • getRemainingAccountsForTransfer(transferAuthority: null | PublicKey, tokenManagerId: PublicKey): AccountMeta[]
        • getRemainingAccountsForUnissue(tokenManagerId: PublicKey, tokenManagerData: DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>, metadata: null | Metadata): AccountMeta[]
        • Parameters

          • tokenManagerId: PublicKey
          • tokenManagerData: DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>
          • metadata: null | Metadata

          Returns AccountMeta[]

        • remainingAccountForProgrammable(mintId: PublicKey, fromTokenAccountId: PublicKey, toTokenAccountId: PublicKey, rulesetId: undefined | null | PublicKey): AccountMeta[]
        • Parameters

          • mintId: PublicKey
          • fromTokenAccountId: PublicKey
          • toTokenAccountId: PublicKey
          • rulesetId: undefined | null | PublicKey

          Returns AccountMeta[]

        • remainingAccountForProgrammableUnlockAndTransfer(recipient: PublicKey, payer: PublicKey, mintId: PublicKey, fromTokenAccountId: PublicKey, rulesetId?: null | PublicKey): AccountMeta[]
        • Parameters

          • recipient: PublicKey
          • payer: PublicKey
          • mintId: PublicKey
          • fromTokenAccountId: PublicKey
          • Optional rulesetId: null | PublicKey

          Returns AccountMeta[]

        • tokenManagerProgram(connection: Connection, wallet?: Wallet, confirmOptions?: ConfirmOptions): Program<CardinalTokenManager>
        • withRemainingAccountsForInvalidate(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey, tokenManagerData: AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>, recipientTokenAccountOwnerId: PublicKey, metadata: null | Metadata): Promise<AccountMeta[]>
        • Parameters

          • transaction: Transaction
          • connection: Connection
          • wallet: Wallet
          • mintId: PublicKey
          • tokenManagerData: AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>
          • recipientTokenAccountOwnerId: PublicKey
          • metadata: null | Metadata

          Returns Promise<AccountMeta[]>

        • withRemainingAccountsForReturn(transaction: Transaction, connection: Connection, wallet: Wallet, tokenManagerData: AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>, recipientTokenAccountOwnerId?: PublicKey, rulesetId?: PublicKey): Promise<AccountMeta[]>
        • Parameters

          • transaction: Transaction
          • connection: Connection
          • wallet: Wallet
          • tokenManagerData: AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>
          • Optional recipientTokenAccountOwnerId: PublicKey
          • Optional rulesetId: PublicKey

          Returns Promise<AccountMeta[]>

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file +

        Parameters

        • connection: Connection
        • wallet: Wallet
        • mintId: PublicKey

        Returns Promise<AccountMeta[]>

      • getRemainingAccountsForIssue(tokenManagerKind: TokenManagerKind, mintId: PublicKey, issuerTokenAccountId: PublicKey, tokenManagerTokenAccountId: PublicKey, rulesetId?: PublicKey): AccountMeta[]
      • getRemainingAccountsForKind(mintId: PublicKey, tokenManagerKind: TokenManagerKind): AccountMeta[]
      • getRemainingAccountsForTransfer(transferAuthority: null | PublicKey, tokenManagerId: PublicKey): AccountMeta[]
      • getRemainingAccountsForUnissue(tokenManagerId: PublicKey, tokenManagerData: DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>, metadata: null | Metadata): AccountMeta[]
      • Parameters

        • tokenManagerId: PublicKey
        • tokenManagerData: DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>
        • metadata: null | Metadata

        Returns AccountMeta[]

      • remainingAccountForProgrammable(mintId: PublicKey, fromTokenAccountId: PublicKey, toTokenAccountId: PublicKey, rulesetId: undefined | null | PublicKey): AccountMeta[]
      • Parameters

        • mintId: PublicKey
        • fromTokenAccountId: PublicKey
        • toTokenAccountId: PublicKey
        • rulesetId: undefined | null | PublicKey

        Returns AccountMeta[]

      • remainingAccountForProgrammableUnlockAndTransfer(recipient: PublicKey, payer: PublicKey, mintId: PublicKey, fromTokenAccountId: PublicKey, rulesetId?: null | PublicKey): AccountMeta[]
      • Parameters

        • recipient: PublicKey
        • payer: PublicKey
        • mintId: PublicKey
        • fromTokenAccountId: PublicKey
        • Optional rulesetId: null | PublicKey

        Returns AccountMeta[]

      • tokenManagerProgram(connection: Connection, wallet?: Wallet, confirmOptions?: ConfirmOptions): Program<CardinalTokenManager>
      • withRemainingAccountsForInvalidate(transaction: Transaction, connection: Connection, wallet: Wallet, mintId: PublicKey, tokenManagerData: AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>, recipientTokenAccountOwnerId: PublicKey, metadata: null | Metadata): Promise<AccountMeta[]>
      • Parameters

        • transaction: Transaction
        • connection: Connection
        • wallet: Wallet
        • mintId: PublicKey
        • tokenManagerData: AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>
        • recipientTokenAccountOwnerId: PublicKey
        • metadata: null | Metadata

        Returns Promise<AccountMeta[]>

      • withRemainingAccountsForReturn(transaction: Transaction, connection: Connection, wallet: Wallet, tokenManagerData: AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>, recipientTokenAccountOwnerId?: PublicKey, rulesetId?: PublicKey): Promise<AccountMeta[]>
      • Parameters

        • transaction: Transaction
        • connection: Connection
        • wallet: Wallet
        • tokenManagerData: AccountData<DecodeStruct<{ fields: [{ name: "version"; type: "u8" }, { name: "bump"; type: "u8" }, { name: "count"; type: "u64" }, { name: "numInvalidators"; type: "u8" }, { name: "issuer"; type: "publicKey" }, { name: "mint"; type: "publicKey" }, { name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "amount"; type: "u64" }, { name: "kind"; type: "u8" }, { name: "invalidationType"; type: "u8" }, { name: "numInvalidators"; type: "u8" }]; kind: "struct" } }, { name: "TokenManagerState"; type: { kind: "enum"; variants: [{ name: "Initialized" }, { name: "Issued" }, { name: "Claimed" }, { name: "Invalidated" }] } }, { name: "TokenManagerKind"; type: { kind: "enum"; variants: [{ name: "Managed" }, { name: "Unmanaged" }, { name: "Edition" }, { name: "Permissioned" }, { name: "Programmable" }] } }, { name: "InvalidationType"; type: { kind: "enum"; variants: [{ name: "Return" }, { name: "Invalidate" }, { name: "Release" }, { name: "Reissue" }, { name: "Vest" }] } }], EmptyDefined>>>
        • Optional recipientTokenAccountOwnerId: PublicKey
        • Optional rulesetId: PublicKey

        Returns Promise<AccountMeta[]>

      Settings

      Theme

      Generated using TypeDoc

      \ No newline at end of file diff --git a/modules/programs.tokenManager.pda.html b/modules/programs.tokenManager.pda.html index 14ac47c0..5a2c544e 100644 --- a/modules/programs.tokenManager.pda.html +++ b/modules/programs.tokenManager.pda.html @@ -1,17 +1,17 @@ -pda | @cardinal/token-manager - v4.5.1
      Options
      All
      • Public
      • Public/Protected
      • All
      Menu

      Index

      Functions

      • findClaimReceiptId(tokenManagerId: PublicKey, recipientKey: PublicKey): PublicKey
      • +pda | @cardinal/token-manager - v4.6.0
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Index

        Functions

        • findClaimReceiptId(tokenManagerId: PublicKey, recipientKey: PublicKey): PublicKey
        • findMintCounterId(mintId: PublicKey): PublicKey
        • findMintCounterId(mintId: PublicKey): PublicKey
        • findMintManagerId(mintId: PublicKey): PublicKey
        • findMintManagerId(mintId: PublicKey): PublicKey
        • findReceiptMintManagerId(): PublicKey
        • findReceiptMintManagerId(): PublicKey
        • findTokenManagerAddress(mint: PublicKey): PublicKey
        • findTokenManagerAddress(mint: PublicKey): PublicKey
        • findTransferReceiptId(tokenManagerId: PublicKey): PublicKey
        • findTransferReceiptId(tokenManagerId: PublicKey): PublicKey
        • tokenManagerAddressFromMint(mint: PublicKey): PublicKey
        • tokenManagerAddressFromMint(mint: PublicKey): PublicKey
        • tryTokenManagerAddressFromMint(mint: PublicKey): null | PublicKey
        • tryTokenManagerAddressFromMint(mint: PublicKey): null | PublicKey

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file diff --git a/modules/programs.transferAuthority.accounts.html b/modules/programs.transferAuthority.accounts.html index 22179281..cddb889f 100644 --- a/modules/programs.transferAuthority.accounts.html +++ b/modules/programs.transferAuthority.accounts.html @@ -1 +1 @@ -accounts | @cardinal/token-manager - v4.5.1
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Index

        Functions

        • getAllListings(connection: Connection): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "lister"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>
        • Parameters

          • connection: Connection

          Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "lister"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>

        • getAllMarketplaces(connection: Connection): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "paymentManager"; type: "publicKey" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>
        • Parameters

          • connection: Connection

          Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "paymentManager"; type: "publicKey" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>

        • getAllOfType<T>(connection: Connection, key: string): Promise<AccountData<T>[]>
        • getAllTransferAuthorities(connection: Connection): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "allowedMarketplaces"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>
        • Parameters

          • connection: Connection

          Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "allowedMarketplaces"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>

        • getListing(connection: Connection, mintId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "lister"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>
        • Parameters

          • connection: Connection
          • mintId: PublicKey

          Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "lister"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>

        • getListingsForIssuer(connection: Connection, issuerId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "lister"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>
        • Parameters

          • connection: Connection
          • issuerId: PublicKey

          Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "lister"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>

        • getListingsForMarketplace(connection: Connection, marketplaceId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "lister"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>
        • Parameters

          • connection: Connection
          • marketplaceId: PublicKey

          Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "lister"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>

        • getMarketplace(connection: Connection, marketplaceId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "paymentManager"; type: "publicKey" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>
        • Parameters

          • connection: Connection
          • marketplaceId: PublicKey

          Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "paymentManager"; type: "publicKey" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>

        • getMarketplaceByName(connection: Connection, name: string): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "paymentManager"; type: "publicKey" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>
        • Parameters

          • connection: Connection
          • name: string

          Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "paymentManager"; type: "publicKey" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>

        • getTransfer(connection: Connection, mintId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "from"; type: "publicKey" }, { name: "to"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>
        • Parameters

          • connection: Connection
          • mintId: PublicKey

          Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "from"; type: "publicKey" }, { name: "to"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>

        • getTransferAuthority(connection: Connection, transferAuthorityId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "allowedMarketplaces"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>
        • Parameters

          • connection: Connection
          • transferAuthorityId: PublicKey

          Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "allowedMarketplaces"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>

        • getTransferAuthorityByName(connection: Connection, name: string): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "allowedMarketplaces"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>
        • Parameters

          • connection: Connection
          • name: string

          Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "allowedMarketplaces"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>

        • getTransfersFromUser(connection: Connection, from: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "from"; type: "publicKey" }, { name: "to"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>
        • Parameters

          • connection: Connection
          • from: PublicKey

          Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "from"; type: "publicKey" }, { name: "to"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>

        • getTransfersToUser(connection: Connection, to: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "from"; type: "publicKey" }, { name: "to"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>
        • Parameters

          • connection: Connection
          • to: PublicKey

          Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "from"; type: "publicKey" }, { name: "to"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file +accounts | @cardinal/token-manager - v4.6.0
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Index

        Functions

        • getAllListings(connection: Connection): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "lister"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>
        • Parameters

          • connection: Connection

          Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "lister"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>

        • getAllMarketplaces(connection: Connection): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "paymentManager"; type: "publicKey" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>
        • Parameters

          • connection: Connection

          Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "paymentManager"; type: "publicKey" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>

        • getAllOfType<T>(connection: Connection, key: string): Promise<AccountData<T>[]>
        • getAllTransferAuthorities(connection: Connection): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "allowedMarketplaces"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>
        • Parameters

          • connection: Connection

          Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "allowedMarketplaces"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>

        • getListing(connection: Connection, mintId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "lister"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>
        • Parameters

          • connection: Connection
          • mintId: PublicKey

          Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "lister"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>

        • getListingsForIssuer(connection: Connection, issuerId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "lister"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>
        • Parameters

          • connection: Connection
          • issuerId: PublicKey

          Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "lister"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>

        • getListingsForMarketplace(connection: Connection, marketplaceId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "lister"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>
        • Parameters

          • connection: Connection
          • marketplaceId: PublicKey

          Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "lister"; type: "publicKey" }, { name: "tokenManager"; type: "publicKey" }, { name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>

        • getMarketplace(connection: Connection, marketplaceId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "paymentManager"; type: "publicKey" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>
        • Parameters

          • connection: Connection
          • marketplaceId: PublicKey

          Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "paymentManager"; type: "publicKey" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>

        • getMarketplaceByName(connection: Connection, name: string): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "paymentManager"; type: "publicKey" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>
        • Parameters

          • connection: Connection
          • name: string

          Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "paymentManager"; type: "publicKey" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>

        • getTransfer(connection: Connection, mintId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "from"; type: "publicKey" }, { name: "to"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>
        • Parameters

          • connection: Connection
          • mintId: PublicKey

          Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "from"; type: "publicKey" }, { name: "to"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>

        • getTransferAuthority(connection: Connection, transferAuthorityId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "allowedMarketplaces"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>
        • Parameters

          • connection: Connection
          • transferAuthorityId: PublicKey

          Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "allowedMarketplaces"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>

        • getTransferAuthorityByName(connection: Connection, name: string): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "allowedMarketplaces"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>
        • Parameters

          • connection: Connection
          • name: string

          Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "allowedMarketplaces"; type: { option: { vec: "publicKey" } } }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>>

        • getTransfersFromUser(connection: Connection, from: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "from"; type: "publicKey" }, { name: "to"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>
        • Parameters

          • connection: Connection
          • from: PublicKey

          Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "from"; type: "publicKey" }, { name: "to"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>

        • getTransfersToUser(connection: Connection, to: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "from"; type: "publicKey" }, { name: "to"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>
        • Parameters

          • connection: Connection
          • to: PublicKey

          Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "tokenManager"; type: "publicKey" }, { name: "from"; type: "publicKey" }, { name: "to"; type: "publicKey" }]; kind: "struct" }, RecursiveDepth4<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], DecodedHelper<[{ name: "AcceptListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }]; kind: "struct" } }, { name: "CreateListingIx"; type: { fields: [{ name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "UpdateListingIx"; type: { fields: [{ name: "marketplace"; type: "publicKey" }, { name: "paymentAmount"; type: "u64" }, { name: "paymentMint"; type: "publicKey" }]; kind: "struct" } }, { name: "InitMarketplaceIx"; type: { fields: [{ name: "name"; type: "string" }, { name: "authority"; type: "publicKey" }, { name: "paymentMints"; type: { option: { vec: "publicKey" } } }]; kind: "struct" } }], EmptyDefined>>>>>>[]>

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file diff --git a/modules/programs.transferAuthority.html b/modules/programs.transferAuthority.html index f2af2384..9baf1f64 100644 --- a/modules/programs.transferAuthority.html +++ b/modules/programs.transferAuthority.html @@ -1 +1 @@ -transferAuthority | @cardinal/token-manager - v4.5.1
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Index

        Type Aliases

        ListingData: ParsedIdlAccountData<"listing", TRANSFER_AUTHORITY_PROGRAM>
        MarketplaceData: ParsedIdlAccountData<"marketplace", TRANSFER_AUTHORITY_PROGRAM>
        TRANSFER_AUTHORITY_PROGRAM: TRANSFER_AUTHORITY_TYPES.CardinalTransferAuthority
        TransferAuthorityData: ParsedIdlAccountData<"transferAuthority", TRANSFER_AUTHORITY_PROGRAM>
        TransferData: ParsedIdlAccountData<"transfer", TRANSFER_AUTHORITY_PROGRAM>

        Variables

        DEFAULT_TRANSFER_AUTHORITY_NAME: "global" = "global"
        LISTING_SEED: "listing" = "listing"
        MARKETPLACE_SEED: "marketplace" = "marketplace"
        TRANSFER_AUTHORITY_ADDRESS: PublicKey = ...
        TRANSFER_AUTHORITY_IDL: CardinalTransferAuthority = TRANSFER_AUTHORITY_TYPES.IDL
        TRANSFER_AUTHORITY_SEED: "transfer-authority" = "transfer-authority"
        TRANSFER_SEED: "transfer" = "transfer"
        WSOL_MINT: PublicKey = ...

        Functions

        • transferAuthorityProgram(connection: Connection, wallet?: Wallet, confirmOptions?: ConfirmOptions): Program<CardinalTransferAuthority>

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file +transferAuthority | @cardinal/token-manager - v4.6.0
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Index

        Type Aliases

        ListingData: ParsedIdlAccountData<"listing", TRANSFER_AUTHORITY_PROGRAM>
        MarketplaceData: ParsedIdlAccountData<"marketplace", TRANSFER_AUTHORITY_PROGRAM>
        TRANSFER_AUTHORITY_PROGRAM: TRANSFER_AUTHORITY_TYPES.CardinalTransferAuthority
        TransferAuthorityData: ParsedIdlAccountData<"transferAuthority", TRANSFER_AUTHORITY_PROGRAM>
        TransferData: ParsedIdlAccountData<"transfer", TRANSFER_AUTHORITY_PROGRAM>

        Variables

        DEFAULT_TRANSFER_AUTHORITY_NAME: "global" = "global"
        LISTING_SEED: "listing" = "listing"
        MARKETPLACE_SEED: "marketplace" = "marketplace"
        TRANSFER_AUTHORITY_ADDRESS: PublicKey = ...
        TRANSFER_AUTHORITY_IDL: CardinalTransferAuthority = TRANSFER_AUTHORITY_TYPES.IDL
        TRANSFER_AUTHORITY_SEED: "transfer-authority" = "transfer-authority"
        TRANSFER_SEED: "transfer" = "transfer"
        WSOL_MINT: PublicKey = ...

        Functions

        • transferAuthorityProgram(connection: Connection, wallet?: Wallet, confirmOptions?: ConfirmOptions): Program<CardinalTransferAuthority>

        Settings

        Theme

        Generated using TypeDoc

        \ No newline at end of file diff --git a/modules/programs.transferAuthority.pda.html b/modules/programs.transferAuthority.pda.html index e36443fd..4efad846 100644 --- a/modules/programs.transferAuthority.pda.html +++ b/modules/programs.transferAuthority.pda.html @@ -1,9 +1,9 @@ -pda | @cardinal/token-manager - v4.5.1
        Options
        All
        • Public
        • Public/Protected
        • All
        Menu

        Index

        Functions

        • findListingAddress(mintId: PublicKey): PublicKey
        • +pda | @cardinal/token-manager - v4.6.0
          Options
          All
          • Public
          • Public/Protected
          • All
          Menu

          Index

          Functions

          • findListingAddress(mintId: PublicKey): PublicKey
          • findMarketplaceAddress(name: string): PublicKey
          • findMarketplaceAddress(name: string): PublicKey
          • findTransferAddress(mintId: PublicKey): PublicKey
          • findTransferAddress(mintId: PublicKey): PublicKey
          • findTransferAuthorityAddress(name: string): PublicKey
          • findTransferAuthorityAddress(name: string): PublicKey

          Settings

          Theme

          Generated using TypeDoc

          \ No newline at end of file diff --git a/modules/programs.useInvalidator.accounts.html b/modules/programs.useInvalidator.accounts.html index 583b3454..ab4033b7 100644 --- a/modules/programs.useInvalidator.accounts.html +++ b/modules/programs.useInvalidator.accounts.html @@ -1 +1 @@ -accounts | @cardinal/token-manager - v4.5.1
          Options
          All
          • Public
          • Public/Protected
          • All
          Menu

          Index

          Functions

          • getUseInvalidator(connection: Connection, useInvalidatorId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "usages"; type: "u64" }, { name: "tokenManager"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }, { name: "useAuthority"; type: { option: "publicKey" } }, { name: "totalUsages"; type: { option: "u64" } }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "collector"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "totalUsages"; type: { option: "u64" } }, { name: "maxUsages"; type: { option: "u64" } }, { name: "useAuthority"; type: { option: "publicKey" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }, { name: "extensionPaymentMint"; type: { option: "publicKey" } }, { name: "extensionUsages"; type: { option: "u64" } }]; kind: "struct" } }], EmptyDefined>>>>
          • Parameters

            • connection: Connection
            • useInvalidatorId: PublicKey

            Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "usages"; type: "u64" }, { name: "tokenManager"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }, { name: "useAuthority"; type: { option: "publicKey" } }, { name: "totalUsages"; type: { option: "u64" } }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "collector"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "totalUsages"; type: { option: "u64" } }, { name: "maxUsages"; type: { option: "u64" } }, { name: "useAuthority"; type: { option: "publicKey" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }, { name: "extensionPaymentMint"; type: { option: "publicKey" } }, { name: "extensionUsages"; type: { option: "u64" } }]; kind: "struct" } }], EmptyDefined>>>>

          • getUseInvalidators(connection: Connection, useInvalidatorIds: PublicKey[]): Promise<AccountData<null | DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "usages"; type: "u64" }, { name: "tokenManager"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }, { name: "useAuthority"; type: { option: "publicKey" } }, { name: "totalUsages"; type: { option: "u64" } }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "collector"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "totalUsages"; type: { option: "u64" } }, { name: "maxUsages"; type: { option: "u64" } }, { name: "useAuthority"; type: { option: "publicKey" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }, { name: "extensionPaymentMint"; type: { option: "publicKey" } }, { name: "extensionUsages"; type: { option: "u64" } }]; kind: "struct" } }], EmptyDefined>>>[]>
          • Parameters

            • connection: Connection
            • useInvalidatorIds: PublicKey[]

            Returns Promise<AccountData<null | DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "usages"; type: "u64" }, { name: "tokenManager"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }, { name: "useAuthority"; type: { option: "publicKey" } }, { name: "totalUsages"; type: { option: "u64" } }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "collector"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "totalUsages"; type: { option: "u64" } }, { name: "maxUsages"; type: { option: "u64" } }, { name: "useAuthority"; type: { option: "publicKey" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }, { name: "extensionPaymentMint"; type: { option: "publicKey" } }, { name: "extensionUsages"; type: { option: "u64" } }]; kind: "struct" } }], EmptyDefined>>>[]>

          Settings

          Theme

          Generated using TypeDoc

          \ No newline at end of file +accounts | @cardinal/token-manager - v4.6.0
          Options
          All
          • Public
          • Public/Protected
          • All
          Menu

          Index

          Functions

          • getUseInvalidator(connection: Connection, useInvalidatorId: PublicKey): Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "usages"; type: "u64" }, { name: "tokenManager"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }, { name: "useAuthority"; type: { option: "publicKey" } }, { name: "totalUsages"; type: { option: "u64" } }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "collector"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "totalUsages"; type: { option: "u64" } }, { name: "maxUsages"; type: { option: "u64" } }, { name: "useAuthority"; type: { option: "publicKey" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }, { name: "extensionPaymentMint"; type: { option: "publicKey" } }, { name: "extensionUsages"; type: { option: "u64" } }]; kind: "struct" } }], EmptyDefined>>>>
          • Parameters

            • connection: Connection
            • useInvalidatorId: PublicKey

            Returns Promise<AccountData<DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "usages"; type: "u64" }, { name: "tokenManager"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }, { name: "useAuthority"; type: { option: "publicKey" } }, { name: "totalUsages"; type: { option: "u64" } }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "collector"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "totalUsages"; type: { option: "u64" } }, { name: "maxUsages"; type: { option: "u64" } }, { name: "useAuthority"; type: { option: "publicKey" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }, { name: "extensionPaymentMint"; type: { option: "publicKey" } }, { name: "extensionUsages"; type: { option: "u64" } }]; kind: "struct" } }], EmptyDefined>>>>

          • getUseInvalidators(connection: Connection, useInvalidatorIds: PublicKey[]): Promise<AccountData<null | DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "usages"; type: "u64" }, { name: "tokenManager"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }, { name: "useAuthority"; type: { option: "publicKey" } }, { name: "totalUsages"; type: { option: "u64" } }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "collector"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "totalUsages"; type: { option: "u64" } }, { name: "maxUsages"; type: { option: "u64" } }, { name: "useAuthority"; type: { option: "publicKey" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }, { name: "extensionPaymentMint"; type: { option: "publicKey" } }, { name: "extensionUsages"; type: { option: "u64" } }]; kind: "struct" } }], EmptyDefined>>>[]>
          • Parameters

            • connection: Connection
            • useInvalidatorIds: PublicKey[]

            Returns Promise<AccountData<null | DecodeStruct<{ fields: [{ name: "bump"; type: "u8" }, { name: "usages"; type: "u64" }, { name: "tokenManager"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "collector"; type: "publicKey" }, { name: "useAuthority"; type: { option: "publicKey" } }, { name: "totalUsages"; type: { option: "u64" } }]; kind: "struct" }, DecodedHelper<[{ name: "InitIx"; type: { fields: [{ name: "collector"; type: "publicKey" }, { name: "paymentManager"; type: "publicKey" }, { name: "totalUsages"; type: { option: "u64" } }, { name: "maxUsages"; type: { option: "u64" } }, { name: "useAuthority"; type: { option: "publicKey" } }, { name: "extensionPaymentAmount"; type: { option: "u64" } }, { name: "extensionPaymentMint"; type: { option: "publicKey" } }, { name: "extensionUsages"; type: { option: "u64" } }]; kind: "struct" } }], EmptyDefined>>>[]>

          Settings

          Theme

          Generated using TypeDoc

          \ No newline at end of file diff --git a/modules/programs.useInvalidator.html b/modules/programs.useInvalidator.html index 7b1fba07..3546a4db 100644 --- a/modules/programs.useInvalidator.html +++ b/modules/programs.useInvalidator.html @@ -1 +1 @@ -useInvalidator | @cardinal/token-manager - v4.5.1
          Options
          All
          • Public
          • Public/Protected
          • All
          Menu

          Index

          Type Aliases

          USE_INVALIDATOR_PROGRAM: USE_INVALIDATOR_TYPES.CardinalUseInvalidator
          UseInvalidationParams: { collector?: PublicKey; extension?: { extensionPaymentAmount: number; extensionPaymentMint: PublicKey; extensionUsages: number; maxUsages?: number }; paymentManager?: PublicKey; totalUsages?: number; useAuthority?: PublicKey }

          Type declaration

          • Optional collector?: PublicKey
          • Optional extension?: { extensionPaymentAmount: number; extensionPaymentMint: PublicKey; extensionUsages: number; maxUsages?: number }
            • extensionPaymentAmount: number
            • extensionPaymentMint: PublicKey
            • extensionUsages: number
            • Optional maxUsages?: number
          • Optional paymentManager?: PublicKey
          • Optional totalUsages?: number
          • Optional useAuthority?: PublicKey
          UseInvalidatorData: ParsedIdlAccountData<"useInvalidator", USE_INVALIDATOR_PROGRAM>

          Variables

          USE_INVALIDATOR_ADDRESS: PublicKey = ...
          USE_INVALIDATOR_IDL: CardinalUseInvalidator = USE_INVALIDATOR_TYPES.IDL
          USE_INVALIDATOR_SEED: "use-invalidator" = "use-invalidator"

          Functions

          • useInvalidatorProgram(connection: Connection, wallet?: Wallet, confirmOptions?: ConfirmOptions): Program<CardinalUseInvalidator>

          Settings

          Theme

          Generated using TypeDoc

          \ No newline at end of file +useInvalidator | @cardinal/token-manager - v4.6.0
          Options
          All
          • Public
          • Public/Protected
          • All
          Menu

          Index

          Type Aliases

          USE_INVALIDATOR_PROGRAM: USE_INVALIDATOR_TYPES.CardinalUseInvalidator
          UseInvalidationParams: { collector?: PublicKey; extension?: { extensionPaymentAmount: number; extensionPaymentMint: PublicKey; extensionUsages: number; maxUsages?: number }; paymentManager?: PublicKey; totalUsages?: number; useAuthority?: PublicKey }

          Type declaration

          • Optional collector?: PublicKey
          • Optional extension?: { extensionPaymentAmount: number; extensionPaymentMint: PublicKey; extensionUsages: number; maxUsages?: number }
            • extensionPaymentAmount: number
            • extensionPaymentMint: PublicKey
            • extensionUsages: number
            • Optional maxUsages?: number
          • Optional paymentManager?: PublicKey
          • Optional totalUsages?: number
          • Optional useAuthority?: PublicKey
          UseInvalidatorData: ParsedIdlAccountData<"useInvalidator", USE_INVALIDATOR_PROGRAM>

          Variables

          USE_INVALIDATOR_ADDRESS: PublicKey = ...
          USE_INVALIDATOR_IDL: CardinalUseInvalidator = USE_INVALIDATOR_TYPES.IDL
          USE_INVALIDATOR_SEED: "use-invalidator" = "use-invalidator"

          Functions

          • useInvalidatorProgram(connection: Connection, wallet?: Wallet, confirmOptions?: ConfirmOptions): Program<CardinalUseInvalidator>

          Settings

          Theme

          Generated using TypeDoc

          \ No newline at end of file diff --git a/modules/programs.useInvalidator.pda.html b/modules/programs.useInvalidator.pda.html index 528ccd08..77c76126 100644 --- a/modules/programs.useInvalidator.pda.html +++ b/modules/programs.useInvalidator.pda.html @@ -1,3 +1,3 @@ -pda | @cardinal/token-manager - v4.5.1
          Options
          All
          • Public
          • Public/Protected
          • All
          Menu

          Index

          Functions

          • findUseInvalidatorAddress(tokenManagerId: PublicKey): PublicKey