• Update the discount rate associated with a given royalty tier if it exists

    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 new discount amount (Discount of '1_000_000' == 100%)

    Returns InstructionReturn

Generated using TypeDoc