Hierarchy

  • MineWrapper

Constructors

Properties

Accessors

Methods

  • Creates a new Rewarder.

    Returns

    Parameters

    • param0: { authority?: PublicKey; baseKP?: Signer; mintWrapper: PublicKey }
      • Optional authority?: PublicKey
      • Optional baseKP?: Signer
      • mintWrapper: PublicKey

    Returns Promise<{ key: PublicKey; tx: TransactionEnvelope }>

  • Deprecated

    Use createRewarder.

    Returns

    Parameters

    • param0: { authority?: PublicKey; baseKP?: Signer; mintWrapper: PublicKey }
      • Optional authority?: PublicKey
      • Optional baseKP?: Signer
      • mintWrapper: PublicKey

    Returns Promise<{ key: PublicKey; tx: TransactionEnvelope }>

  • Rescue stuck tokens in a miner.

    Returns

    Parameters

    • __namedParameters: { miner: PublicKey; minerTokenAccount: PublicKey; mint: PublicKey; owner?: PublicKey }
      • miner: PublicKey
      • minerTokenAccount: PublicKey
      • mint: PublicKey
      • Optional owner?: PublicKey

    Returns Promise<TransactionEnvelope>

Generated using TypeDoc