• Add a new royalty tier This associates a quantity of staked tokens with a marketplace royalty fee discount if it does not already exist

    Returns

    InstructionReturn

    Parameters

    • program: GalacticMarketplaceIDLProgram

      GalacticMarketplace Program

    • updateAuthorityAccount: AsyncSigner<unknown>

      the authority of the market

    • registeredCurrency: {
          registeredCurrency: RegisteredCurrency;
      } | {
          key: PublicKey;
      }

      a valid registered currency

    • stakeAmount: number

      the staked amount in the token's base units

    • discount: number

      the discount amount (Discount of '1_000_000' == 100%)

    Returns InstructionReturn

Generated using TypeDoc