@kava-labs/javascript-sdk
Advanced tools
Comparing version 4.0.1-beta.1 to 4.0.1-beta.2
{ | ||
"name": "@kava-labs/javascript-sdk", | ||
"version": "4.0.1-beta.1", | ||
"version": "4.0.1-beta.2", | ||
"description": "Supports interaction with the Kava blockchain via a REST api", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -10,4 +10,3 @@ const sig = require('@kava-labs/sig'); | ||
const DERIVATION_PATH_LEGACY = "m/44'/118'/0'/0/0"; | ||
const DEFAULT_GAS = 300000; | ||
const DEFAULT_FEE = { amount: [], gas: String(DEFAULT_GAS) } | ||
const DEFAULT_FEE = { amount: [], gas: String(300000) } | ||
const DEFAULT_CDP_FEE = { amount: [], gas: String(650000) } | ||
@@ -881,8 +880,8 @@ | ||
*/ | ||
async claimHardLiquidityProviderReward(multiplierName, fee = DEFAULT_FEE, sequence = null) { | ||
const msgClaimHardLiquidityProviderReward = msg.kava.newMsgClaimHardLiquidityProviderReward( | ||
async claimHardReward(multiplierName, fee = DEFAULT_FEE, sequence = null) { | ||
const msgClaimHardReward = msg.kava.newMsgClaimHardReward( | ||
this.wallet.address, | ||
multiplierName | ||
); | ||
return await this.sendTx([msgClaimHardLiquidityProviderReward], fee, sequence); | ||
return await this.sendTx([msgClaimHardReward], fee, sequence); | ||
} | ||
@@ -889,0 +888,0 @@ |
@@ -182,5 +182,5 @@ /*************************************************** | ||
function newMsgClaimHardLiquidityProviderReward(sender, multiplierName) { | ||
function newMsgClaimHardReward(sender, multiplierName) { | ||
return { | ||
type: 'incentive/MsgClaimHardLiquidityProviderReward', | ||
type: 'incentive/MsgClaimHardReward', | ||
value: { | ||
@@ -282,3 +282,3 @@ sender: sender, | ||
newMsgClaimUSDXMintingReward, | ||
newMsgClaimHardLiquidityProviderReward, | ||
newMsgClaimHardReward, | ||
newMsgIssueTokens, | ||
@@ -285,0 +285,0 @@ newMsgRedeemTokens, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
86368
1977