diff --git a/modules.html b/modules.html index 662d911..de3712e 100644 --- a/modules.html +++ b/modules.html @@ -1 +1 @@ -@cardinal/generator - v0.0.1
Options
All
  • Public
  • Public/Protected
  • All
Menu

@cardinal/generator - v0.0.1

Index

Functions

  • executeTransaction(connection: Connection, wallet: Wallet, transaction: Transaction, config: { confirmOptions?: ConfirmOptions; signers?: Signer[]; silent?: boolean; callback?: any }): Promise<string>
  • Parameters

    • connection: Connection
    • wallet: Wallet
    • transaction: Transaction
    • config: { confirmOptions?: ConfirmOptions; signers?: Signer[]; silent?: boolean; callback?: any }
      • Optional confirmOptions?: ConfirmOptions
      • Optional signers?: Signer[]
      • Optional silent?: boolean
      • callback?:function
        • callback(success: boolean): void

    Returns Promise<string>

Generated using TypeDoc

\ No newline at end of file +@cardinal/generator - v0.0.1
Options
All
  • Public
  • Public/Protected
  • All
Menu

@cardinal/generator - v0.0.1

Index

Functions

  • executeTransaction(connection: Connection, wallet: Wallet, transaction: Transaction, config: { confirmOptions?: ConfirmOptions; signers?: Signer[]; silent?: boolean; callback?: any }): Promise<string>
  • Parameters

    • connection: Connection
    • wallet: Wallet
    • transaction: Transaction
    • config: { confirmOptions?: ConfirmOptions; signers?: Signer[]; silent?: boolean; callback?: any }
      • Optional confirmOptions?: ConfirmOptions
      • Optional signers?: Signer[]
      • Optional silent?: boolean
      • callback?:function
        • callback(success: boolean): void

    Returns Promise<string>

Generated using TypeDoc

\ No newline at end of file diff --git a/modules/metadataGenerator.accounts.html b/modules/metadataGenerator.accounts.html index 9c059c2..7e498cc 100644 --- a/modules/metadataGenerator.accounts.html +++ b/modules/metadataGenerator.accounts.html @@ -1 +1 @@ -accounts | @cardinal/generator - v0.0.1
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • getMetadataConfig(connection: Connection, metadataConfigId: PublicKey): Promise<AccountData<AnchorTypeDef<{ name: "metadataConfig"; type: { fields: [{ name: "baseMetadataUri"; type: "string" }, { name: "attributes"; type: { vec: { defined: "Attribute" } } }]; kind: "struct" } } & { name: "metadataConfig" }, AnchorDefined<CardinalGenerator, Record<string, never>>>>>
  • Parameters

    • connection: Connection
    • metadataConfigId: PublicKey

    Returns Promise<AccountData<AnchorTypeDef<{ name: "metadataConfig"; type: { fields: [{ name: "baseMetadataUri"; type: "string" }, { name: "attributes"; type: { vec: { defined: "Attribute" } } }]; kind: "struct" } } & { name: "metadataConfig" }, AnchorDefined<CardinalGenerator, Record<string, never>>>>>

Generated using TypeDoc

\ No newline at end of file +accounts | @cardinal/generator - v0.0.1
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • getMetadataConfig(connection: Connection, metadataConfigId: PublicKey): Promise<AccountData<AnchorTypeDef<{ name: "metadataConfig"; type: { fields: [{ name: "baseMetadataUri"; type: "string" }, { name: "attributes"; type: { vec: { defined: "Attribute" } } }]; kind: "struct" } } & { name: "metadataConfig" }, AnchorDefined<CardinalGenerator, Record<string, never>>>>>
  • Parameters

    • connection: Connection
    • metadataConfigId: PublicKey

    Returns Promise<AccountData<AnchorTypeDef<{ name: "metadataConfig"; type: { fields: [{ name: "baseMetadataUri"; type: "string" }, { name: "attributes"; type: { vec: { defined: "Attribute" } } }]; kind: "struct" } } & { name: "metadataConfig" }, AnchorDefined<CardinalGenerator, Record<string, never>>>>>

Generated using TypeDoc

\ No newline at end of file diff --git a/modules/metadataGenerator.html b/modules/metadataGenerator.html index d33ded5..9a7f4ed 100644 --- a/modules/metadataGenerator.html +++ b/modules/metadataGenerator.html @@ -1 +1 @@ -metadataGenerator | @cardinal/generator - v0.0.1
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type Aliases

AttributeConfig: { accountType: string; address: PublicKey; fields: string[] }

Type declaration

  • accountType: string
  • address: PublicKey
  • fields: string[]
GENERATOR_PROGRAM: GENERATOR_TYPES.CardinalGenerator
MetadataConfigData: Accounts["metadataConfig"]
RewardDistributorTypes: AnchorTypes<GENERATOR_PROGRAM>

Variables

GENERATOR_ADDRESS: PublicKey = ...
GENERATOR_IDL: CardinalGenerator = GENERATOR_TYPES.IDL
METADATA_CONFIG_SEED: "metadata-config" = "metadata-config"

Generated using TypeDoc

\ No newline at end of file +metadataGenerator | @cardinal/generator - v0.0.1
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type Aliases

AttributeConfig: { accountType: string; address: PublicKey; fields: string[] }

Type declaration

  • accountType: string
  • address: PublicKey
  • fields: string[]
GENERATOR_PROGRAM: GENERATOR_TYPES.CardinalGenerator
MetadataConfigData: Accounts["metadataConfig"]
RewardDistributorTypes: AnchorTypes<GENERATOR_PROGRAM>

Variables

GENERATOR_ADDRESS: PublicKey = ...
GENERATOR_IDL: CardinalGenerator = GENERATOR_TYPES.IDL
METADATA_CONFIG_SEED: "metadata-config" = "metadata-config"

Generated using TypeDoc

\ No newline at end of file diff --git a/modules/metadataGenerator.pda.html b/modules/metadataGenerator.pda.html index 20960b3..e42d4b5 100644 --- a/modules/metadataGenerator.pda.html +++ b/modules/metadataGenerator.pda.html @@ -1,3 +1,3 @@ -pda | @cardinal/generator - v0.0.1
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • findMetadatConfigId(configName: string): Promise<[PublicKey, number]>