@kava-labs/javascript-sdk
Advanced tools
Comparing version 9.0.0-beta-2 to 9.0.0-beta-3
@@ -468,14 +468,2 @@ import { Hard } from './hard'; | ||
/** | ||
* Claim USDX minting validator vesting reward using a specific multiplier | ||
* @param {String} address to receive the rewards | ||
* @param {String} multiplierName the multiplier to claim with, such as 'small' or 'large' | ||
* @param {Object} fee optional fee consisting of { amount: [Coins], gas: String(Number) } | ||
* @param {String} sequence optional account sequence | ||
* @return {Promise} | ||
*/ | ||
claimUSDXMintingRewardVVesting(receiver: string, multiplierName: string, fee?: { | ||
amount: never[]; | ||
gas: string; | ||
}, sequence?: null): Promise<any>; | ||
/** | ||
* Claim Hard protocol reward using a specific multiplier and denoms | ||
@@ -494,16 +482,2 @@ * @params {Array} choose which denom(s) of your rewards that you would like to claim | ||
/** | ||
* Claim Hard protocol validator vesting reward using a specific multiplier | ||
* @param {String} address to receive the rewards | ||
* @params {Array} choose which denom(s) of your rewards that you would like to claim | ||
* and at which multiplier you claim them | ||
* [{ denom: 'hard', multiplierName: 'large'}, { denom: 'ukava', multiplierName: 'small' }] | ||
* @param {Object} fee optional fee consisting of { amount: [Coins], gas: String(Number) } | ||
* @param {String} sequence optional account sequence | ||
* @return {Promise} | ||
*/ | ||
claimHardRewardVVesting(receiver: string, denomsToClaim: DenomToClaim[], fee?: { | ||
amount: never[]; | ||
gas: string; | ||
}, sequence?: null): Promise<any>; | ||
/** | ||
* Claim Delegator reward using a specific multiplier and denoms | ||
@@ -522,16 +496,2 @@ * @params {Array} choose which denom(s) of your rewards that you would like to claim | ||
/** | ||
* Claim delegator validator vesting reward using a specific multiplier | ||
* @param {String} address to receive the rewards | ||
* @params {Array} choose which denom(s) of your rewards that you would like to claim | ||
* and at which multiplier you claim them | ||
* [{ denom: 'hard', multiplierName: 'large'}, { denom: 'ukava', multiplierName: 'small' }] | ||
* @param {Object} fee optional fee consisting of { amount: [Coins], gas: String(Number) } | ||
* @param {String} sequence optional account sequence | ||
* @return {Promise} | ||
*/ | ||
claimDelegatorRewardVVesting(receiver: string, denomsToClaim: DenomToClaim[], fee?: { | ||
amount: never[]; | ||
gas: string; | ||
}, sequence?: null): Promise<any>; | ||
/** | ||
* Claim swap reward using a specific multiplier and denoms | ||
@@ -549,16 +509,2 @@ * @params {Array} choose which denom(s) of your rewards that you would like to claim | ||
}, sequence?: null): Promise<any>; | ||
/** | ||
* Claim swap validator vesting reward using a specific multiplier | ||
* @param {String} address to receive the rewards | ||
* @params {Array} choose which denom(s) of your rewards that you would like to claim | ||
* and at which multiplier you claim them | ||
* [{ denom: 'hard', multiplierName: 'large'}, { denom: 'ukava', multiplierName: 'small' }] | ||
* @param {Object} fee optional fee consisting of { amount: [Coins], gas: String(Number) } | ||
* @param {String} sequence optional account sequence | ||
* @return {Promise} | ||
*/ | ||
claimSwapRewardVVesting(receiver: string, denomsToClaim: DenomToClaim[], fee?: { | ||
amount: never[]; | ||
gas: string; | ||
}, sequence?: null): Promise<any>; | ||
/*************************************************** | ||
@@ -565,0 +511,0 @@ * Committee |
@@ -74,3 +74,3 @@ /// <reference types="node" /> | ||
}; | ||
newMsgCreateAtomicSwap: (sender: string, recipient: string, recipientOtherChain: string, senderOtherChain: string, randomNumberHash: string, timestamp: number, amount: import("./types").Coin, heightSpan: number) => { | ||
newMsgCreateAtomicSwap: (from: string, to: string, recipientOtherChain: string, senderOtherChain: string, randomNumberHash: string, timestamp: number, amount: import("./types").Coin, heightSpan: number) => { | ||
type: string; | ||
@@ -88,3 +88,3 @@ value: { | ||
}; | ||
newMsgClaimAtomicSwap: (sender: string, swapID: string, randomNumber: string) => { | ||
newMsgClaimAtomicSwap: (from: string, swapID: string, randomNumber: string) => { | ||
type: string; | ||
@@ -97,3 +97,3 @@ value: { | ||
}; | ||
newMsgRefundAtomicSwap: (sender: string, swapID: string) => { | ||
newMsgRefundAtomicSwap: (from: string, swapID: string) => { | ||
type: string; | ||
@@ -156,3 +156,3 @@ value: { | ||
}; | ||
newMsgSubmitProposal: (proposal: string, proposer: string, committeeID: string) => { | ||
newMsgSubmitProposal: (pubProposal: string, proposer: string, committeeID: string) => { | ||
type: string; | ||
@@ -180,10 +180,2 @@ value: { | ||
}; | ||
newMsgClaimUSDXMintingRewardVVesting: (sender: string, receiver: string, multiplierName: string) => { | ||
type: string; | ||
value: { | ||
sender: string; | ||
receiver: string; | ||
multiplierName: string; | ||
}; | ||
}; | ||
newMsgClaimHardReward: (sender: string, denomsToClaim: any[]) => { | ||
@@ -196,10 +188,2 @@ type: string; | ||
}; | ||
newMsgClaimHardRewardVVesting: (sender: string, receiver: string, denomsToClaim: import("./types").DenomToClaim[]) => { | ||
type: string; | ||
value: { | ||
sender: string; | ||
receiver: string; | ||
denoms_to_claim: import("./types").DenomToClaim[]; | ||
}; | ||
}; | ||
newMsgClaimDelegatorReward: (sender: string, denomsToClaim: import("./types").DenomToClaim[]) => { | ||
@@ -212,10 +196,2 @@ type: string; | ||
}; | ||
newMsgClaimDelegatorRewardVVesting: (sender: string, receiver: string, denomsToClaim: any[]) => { | ||
type: string; | ||
value: { | ||
sender: string; | ||
receiver: string; | ||
denoms_to_claim: any[]; | ||
}; | ||
}; | ||
newMsgClaimSwapReward: (sender: string, denomsToClaim: import("./types").DenomToClaim[]) => { | ||
@@ -228,10 +204,2 @@ type: string; | ||
}; | ||
newMsgClaimSwapRewardVVesting: (sender: string, receiver: string, denomsToClaim: import("./types").DenomToClaim[]) => { | ||
type: string; | ||
value: { | ||
sender: string; | ||
receiver: string; | ||
denoms_to_claim: import("./types").DenomToClaim[]; | ||
}; | ||
}; | ||
newMsgIssueTokens: (sender: string, tokens: any[], receiver: string) => { | ||
@@ -238,0 +206,0 @@ type: string; |
@@ -56,3 +56,3 @@ export declare const msg: { | ||
}; | ||
newMsgCreateAtomicSwap: (sender: string, recipient: string, recipientOtherChain: string, senderOtherChain: string, randomNumberHash: string, timestamp: number, amount: import("..").Coin, heightSpan: number) => { | ||
newMsgCreateAtomicSwap: (from: string, to: string, recipientOtherChain: string, senderOtherChain: string, randomNumberHash: string, timestamp: number, amount: import("..").Coin, heightSpan: number) => { | ||
type: string; | ||
@@ -70,3 +70,3 @@ value: { | ||
}; | ||
newMsgClaimAtomicSwap: (sender: string, swapID: string, randomNumber: string) => { | ||
newMsgClaimAtomicSwap: (from: string, swapID: string, randomNumber: string) => { | ||
type: string; | ||
@@ -79,3 +79,3 @@ value: { | ||
}; | ||
newMsgRefundAtomicSwap: (sender: string, swapID: string) => { | ||
newMsgRefundAtomicSwap: (from: string, swapID: string) => { | ||
type: string; | ||
@@ -138,3 +138,3 @@ value: { | ||
}; | ||
newMsgSubmitProposal: (proposal: string, proposer: string, committeeID: string) => { | ||
newMsgSubmitProposal: (pubProposal: string, proposer: string, committeeID: string) => { | ||
type: string; | ||
@@ -162,10 +162,2 @@ value: { | ||
}; | ||
newMsgClaimUSDXMintingRewardVVesting: (sender: string, receiver: string, multiplierName: string) => { | ||
type: string; | ||
value: { | ||
sender: string; | ||
receiver: string; | ||
multiplierName: string; | ||
}; | ||
}; | ||
newMsgClaimHardReward: (sender: string, denomsToClaim: any[]) => { | ||
@@ -178,10 +170,2 @@ type: string; | ||
}; | ||
newMsgClaimHardRewardVVesting: (sender: string, receiver: string, denomsToClaim: import("..").DenomToClaim[]) => { | ||
type: string; | ||
value: { | ||
sender: string; | ||
receiver: string; | ||
denoms_to_claim: import("..").DenomToClaim[]; | ||
}; | ||
}; | ||
newMsgClaimDelegatorReward: (sender: string, denomsToClaim: import("..").DenomToClaim[]) => { | ||
@@ -194,10 +178,2 @@ type: string; | ||
}; | ||
newMsgClaimDelegatorRewardVVesting: (sender: string, receiver: string, denomsToClaim: any[]) => { | ||
type: string; | ||
value: { | ||
sender: string; | ||
receiver: string; | ||
denoms_to_claim: any[]; | ||
}; | ||
}; | ||
newMsgClaimSwapReward: (sender: string, denomsToClaim: import("..").DenomToClaim[]) => { | ||
@@ -210,10 +186,2 @@ type: string; | ||
}; | ||
newMsgClaimSwapRewardVVesting: (sender: string, receiver: string, denomsToClaim: import("..").DenomToClaim[]) => { | ||
type: string; | ||
value: { | ||
sender: string; | ||
receiver: string; | ||
denoms_to_claim: import("..").DenomToClaim[]; | ||
}; | ||
}; | ||
newMsgIssueTokens: (sender: string, tokens: any[], receiver: string) => { | ||
@@ -220,0 +188,0 @@ type: string; |
@@ -18,3 +18,3 @@ import { Coin } from '../../types/Coin'; | ||
***************************************************/ | ||
declare function newMsgCreateAtomicSwap(sender: string, recipient: string, recipientOtherChain: string, senderOtherChain: string, randomNumberHash: string, timestamp: number, amount: Coin, heightSpan: number): { | ||
declare function newMsgCreateAtomicSwap(from: string, to: string, recipientOtherChain: string, senderOtherChain: string, randomNumberHash: string, timestamp: number, amount: Coin, heightSpan: number): { | ||
type: string; | ||
@@ -32,3 +32,3 @@ value: { | ||
}; | ||
declare function newMsgClaimAtomicSwap(sender: string, swapID: string, randomNumber: string): { | ||
declare function newMsgClaimAtomicSwap(from: string, swapID: string, randomNumber: string): { | ||
type: string; | ||
@@ -41,3 +41,3 @@ value: { | ||
}; | ||
declare function newMsgRefundAtomicSwap(sender: string, swapID: string): { | ||
declare function newMsgRefundAtomicSwap(from: string, swapID: string): { | ||
type: string; | ||
@@ -106,3 +106,3 @@ value: { | ||
***************************************************/ | ||
declare function newMsgSubmitProposal(proposal: string, proposer: string, committeeID: string): { | ||
declare function newMsgSubmitProposal(pubProposal: string, proposer: string, committeeID: string): { | ||
type: string; | ||
@@ -133,10 +133,2 @@ value: { | ||
}; | ||
declare function newMsgClaimUSDXMintingRewardVVesting(sender: string, receiver: string, multiplierName: string): { | ||
type: string; | ||
value: { | ||
sender: string; | ||
receiver: string; | ||
multiplierName: string; | ||
}; | ||
}; | ||
declare function newMsgClaimHardReward(sender: string, denomsToClaim: any[]): { | ||
@@ -149,10 +141,2 @@ type: string; | ||
}; | ||
declare function newMsgClaimHardRewardVVesting(sender: string, receiver: string, denomsToClaim: DenomToClaim[]): { | ||
type: string; | ||
value: { | ||
sender: string; | ||
receiver: string; | ||
denoms_to_claim: DenomToClaim[]; | ||
}; | ||
}; | ||
declare function newMsgClaimDelegatorReward(sender: string, denomsToClaim: DenomToClaim[]): { | ||
@@ -165,10 +149,2 @@ type: string; | ||
}; | ||
declare function newMsgClaimDelegatorRewardVVesting(sender: string, receiver: string, denomsToClaim: any[]): { | ||
type: string; | ||
value: { | ||
sender: string; | ||
receiver: string; | ||
denoms_to_claim: any[]; | ||
}; | ||
}; | ||
declare function newMsgClaimSwapReward(sender: string, denomsToClaim: DenomToClaim[]): { | ||
@@ -181,10 +157,2 @@ type: string; | ||
}; | ||
declare function newMsgClaimSwapRewardVVesting(sender: string, receiver: string, denomsToClaim: DenomToClaim[]): { | ||
type: string; | ||
value: { | ||
sender: string; | ||
receiver: string; | ||
denoms_to_claim: DenomToClaim[]; | ||
}; | ||
}; | ||
/*************************************************** | ||
@@ -258,9 +226,5 @@ * Issuance | ||
newMsgClaimUSDXMintingReward: typeof newMsgClaimUSDXMintingReward; | ||
newMsgClaimUSDXMintingRewardVVesting: typeof newMsgClaimUSDXMintingRewardVVesting; | ||
newMsgClaimHardReward: typeof newMsgClaimHardReward; | ||
newMsgClaimHardRewardVVesting: typeof newMsgClaimHardRewardVVesting; | ||
newMsgClaimDelegatorReward: typeof newMsgClaimDelegatorReward; | ||
newMsgClaimDelegatorRewardVVesting: typeof newMsgClaimDelegatorRewardVVesting; | ||
newMsgClaimSwapReward: typeof newMsgClaimSwapReward; | ||
newMsgClaimSwapRewardVVesting: typeof newMsgClaimSwapRewardVVesting; | ||
newMsgIssueTokens: typeof newMsgIssueTokens; | ||
@@ -267,0 +231,0 @@ newMsgRedeemTokens: typeof newMsgRedeemTokens; |
@@ -21,8 +21,8 @@ "use strict"; | ||
// newMsgCreateAtomicSwap creates a new MsgCreateAtomicSwap | ||
function newMsgCreateAtomicSwap(sender, recipient, recipientOtherChain, senderOtherChain, randomNumberHash, timestamp, amount, heightSpan) { | ||
function newMsgCreateAtomicSwap(from, to, recipientOtherChain, senderOtherChain, randomNumberHash, timestamp, amount, heightSpan) { | ||
return { | ||
type: 'bep3/MsgCreateAtomicSwap', | ||
value: { | ||
from: sender, | ||
to: recipient, | ||
from: from, | ||
to: to, | ||
recipient_other_chain: recipientOtherChain, | ||
@@ -38,7 +38,7 @@ sender_other_chain: senderOtherChain, | ||
// newMsgClaimAtomicSwap creates a new MsgClaimAtomicSwap | ||
function newMsgClaimAtomicSwap(sender, swapID, randomNumber) { | ||
function newMsgClaimAtomicSwap(from, swapID, randomNumber) { | ||
return { | ||
type: 'bep3/MsgClaimAtomicSwap', | ||
value: { | ||
from: sender, | ||
from: from, | ||
swap_id: swapID, | ||
@@ -50,7 +50,7 @@ random_number: randomNumber, | ||
// newMsgRefundAtomicSwap creates a new MsgRefundAtomicSwap | ||
function newMsgRefundAtomicSwap(sender, swapID) { | ||
function newMsgRefundAtomicSwap(from, swapID) { | ||
return { | ||
type: 'bep3/MsgRefundAtomicSwap', | ||
value: { | ||
from: sender, | ||
from: from, | ||
swap_id: swapID, | ||
@@ -129,7 +129,7 @@ }, | ||
***************************************************/ | ||
function newMsgSubmitProposal(proposal, proposer, committeeID) { | ||
function newMsgSubmitProposal(pubProposal, proposer, committeeID) { | ||
return { | ||
type: 'kava/MsgSubmitProposal', | ||
value: { | ||
pub_proposal: proposal, | ||
pub_proposal: pubProposal, | ||
proposer: proposer, | ||
@@ -162,12 +162,2 @@ committee_id: String(committeeID), | ||
} | ||
function newMsgClaimUSDXMintingRewardVVesting(sender, receiver, multiplierName) { | ||
return { | ||
type: 'incentive/MsgClaimUSDXMintingRewardVVesting', | ||
value: { | ||
sender: sender, | ||
receiver: receiver, | ||
multiplierName: multiplierName, | ||
}, | ||
}; | ||
} | ||
function newMsgClaimHardReward(sender, denomsToClaim) { | ||
@@ -182,12 +172,2 @@ return { | ||
} | ||
function newMsgClaimHardRewardVVesting(sender, receiver, denomsToClaim) { | ||
return { | ||
type: 'incentive/MsgClaimHardRewardVVesting', | ||
value: { | ||
sender: sender, | ||
receiver: receiver, | ||
denoms_to_claim: denomsToClaim, | ||
}, | ||
}; | ||
} | ||
function newMsgClaimDelegatorReward(sender, denomsToClaim) { | ||
@@ -202,12 +182,2 @@ return { | ||
} | ||
function newMsgClaimDelegatorRewardVVesting(sender, receiver, denomsToClaim) { | ||
return { | ||
type: 'incentive/MsgClaimDelegatorRewardVVesting', | ||
value: { | ||
sender: sender, | ||
receiver: receiver, | ||
denoms_to_claim: denomsToClaim, | ||
}, | ||
}; | ||
} | ||
function newMsgClaimSwapReward(sender, denomsToClaim) { | ||
@@ -222,12 +192,2 @@ return { | ||
} | ||
function newMsgClaimSwapRewardVVesting(sender, receiver, denomsToClaim) { | ||
return { | ||
type: 'incentive/MsgClaimSwapRewardVVesting', | ||
value: { | ||
sender: sender, | ||
receiver: receiver, | ||
denoms_to_claim: denomsToClaim, | ||
}, | ||
}; | ||
} | ||
/*************************************************** | ||
@@ -313,9 +273,5 @@ * Issuance | ||
newMsgClaimUSDXMintingReward: newMsgClaimUSDXMintingReward, | ||
newMsgClaimUSDXMintingRewardVVesting: newMsgClaimUSDXMintingRewardVVesting, | ||
newMsgClaimHardReward: newMsgClaimHardReward, | ||
newMsgClaimHardRewardVVesting: newMsgClaimHardRewardVVesting, | ||
newMsgClaimDelegatorReward: newMsgClaimDelegatorReward, | ||
newMsgClaimDelegatorRewardVVesting: newMsgClaimDelegatorRewardVVesting, | ||
newMsgClaimSwapReward: newMsgClaimSwapReward, | ||
newMsgClaimSwapRewardVVesting: newMsgClaimSwapRewardVVesting, | ||
newMsgIssueTokens: newMsgIssueTokens, | ||
@@ -322,0 +278,0 @@ newMsgRedeemTokens: newMsgRedeemTokens, |
{ | ||
"name": "@kava-labs/javascript-sdk", | ||
"version": "9.0.0-beta-2", | ||
"version": "9.0.0-beta-3", | ||
"description": "Supports interaction with the Kava blockchain via a REST api", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -1015,31 +1015,2 @@ const sig = require('@kava-labs/sig'); | ||
/** | ||
* Claim USDX minting validator vesting reward using a specific multiplier | ||
* @param {String} address to receive the rewards | ||
* @param {String} multiplierName the multiplier to claim with, such as 'small' or 'large' | ||
* @param {Object} fee optional fee consisting of { amount: [Coins], gas: String(Number) } | ||
* @param {String} sequence optional account sequence | ||
* @return {Promise} | ||
*/ | ||
async claimUSDXMintingRewardVVesting( | ||
receiver: string, | ||
multiplierName: string, | ||
fee = DEFAULT_FEE, | ||
sequence = null | ||
) { | ||
if (!this.wallet) { | ||
throw Error('Wallet has not yet been initialized'); | ||
} | ||
const msgClaimUSDXMintingRewardVVesting = msg.kava.newMsgClaimUSDXMintingRewardVVesting( | ||
this.wallet.address, | ||
receiver, | ||
multiplierName | ||
); | ||
return await this.sendTx( | ||
[msgClaimUSDXMintingRewardVVesting], | ||
fee, | ||
sequence | ||
); | ||
} | ||
/** | ||
* Claim Hard protocol reward using a specific multiplier and denoms | ||
@@ -1069,29 +1040,2 @@ * @params {Array} choose which denom(s) of your rewards that you would like to claim | ||
/** | ||
* Claim Hard protocol validator vesting reward using a specific multiplier | ||
* @param {String} address to receive the rewards | ||
* @params {Array} choose which denom(s) of your rewards that you would like to claim | ||
* and at which multiplier you claim them | ||
* [{ denom: 'hard', multiplierName: 'large'}, { denom: 'ukava', multiplierName: 'small' }] | ||
* @param {Object} fee optional fee consisting of { amount: [Coins], gas: String(Number) } | ||
* @param {String} sequence optional account sequence | ||
* @return {Promise} | ||
*/ | ||
async claimHardRewardVVesting( | ||
receiver: string, | ||
denomsToClaim: DenomToClaim[], | ||
fee = DEFAULT_FEE, | ||
sequence = null | ||
) { | ||
if (!this.wallet) { | ||
throw Error('Wallet has not yet been initialized'); | ||
} | ||
const msgClaimHardRewardVVesting = msg.kava.newMsgClaimHardRewardVVesting( | ||
this.wallet.address, | ||
receiver, | ||
denomsToClaim | ||
); | ||
return await this.sendTx([msgClaimHardRewardVVesting], fee, sequence); | ||
} | ||
/** | ||
* Claim Delegator reward using a specific multiplier and denoms | ||
@@ -1121,29 +1065,2 @@ * @params {Array} choose which denom(s) of your rewards that you would like to claim | ||
/** | ||
* Claim delegator validator vesting reward using a specific multiplier | ||
* @param {String} address to receive the rewards | ||
* @params {Array} choose which denom(s) of your rewards that you would like to claim | ||
* and at which multiplier you claim them | ||
* [{ denom: 'hard', multiplierName: 'large'}, { denom: 'ukava', multiplierName: 'small' }] | ||
* @param {Object} fee optional fee consisting of { amount: [Coins], gas: String(Number) } | ||
* @param {String} sequence optional account sequence | ||
* @return {Promise} | ||
*/ | ||
async claimDelegatorRewardVVesting( | ||
receiver: string, | ||
denomsToClaim: DenomToClaim[], | ||
fee = DEFAULT_FEE, | ||
sequence = null | ||
) { | ||
if (!this.wallet) { | ||
throw Error('Wallet has not yet been initialized'); | ||
} | ||
const msgClaimDelegatorRewardVVesting = msg.kava.newMsgClaimDelegatorRewardVVesting( | ||
this.wallet.address, | ||
receiver, | ||
denomsToClaim | ||
); | ||
return await this.sendTx([msgClaimDelegatorRewardVVesting], fee, sequence); | ||
} | ||
/** | ||
* Claim swap reward using a specific multiplier and denoms | ||
@@ -1172,31 +1089,4 @@ * @params {Array} choose which denom(s) of your rewards that you would like to claim | ||
/** | ||
* Claim swap validator vesting reward using a specific multiplier | ||
* @param {String} address to receive the rewards | ||
* @params {Array} choose which denom(s) of your rewards that you would like to claim | ||
* and at which multiplier you claim them | ||
* [{ denom: 'hard', multiplierName: 'large'}, { denom: 'ukava', multiplierName: 'small' }] | ||
* @param {Object} fee optional fee consisting of { amount: [Coins], gas: String(Number) } | ||
* @param {String} sequence optional account sequence | ||
* @return {Promise} | ||
*/ | ||
async claimSwapRewardVVesting( | ||
receiver: string, | ||
denomsToClaim: DenomToClaim[], | ||
fee = DEFAULT_FEE, | ||
sequence = null | ||
) { | ||
if (!this.wallet) { | ||
throw Error('Wallet has not yet been initialized'); | ||
} | ||
const msgClaimSwapRewardVVesting = msg.kava.newMsgClaimSwapRewardVVesting( | ||
this.wallet.address, | ||
receiver, | ||
denomsToClaim | ||
); | ||
return await this.sendTx([msgClaimSwapRewardVVesting], fee, sequence); | ||
} | ||
/*************************************************** | ||
* Committee | ||
* Committee | ||
***************************************************/ | ||
@@ -1203,0 +1093,0 @@ /** |
@@ -26,4 +26,4 @@ import { Coin } from '../../types/Coin'; | ||
function newMsgCreateAtomicSwap( | ||
sender: string, | ||
recipient: string, | ||
from: string, | ||
to: string, | ||
recipientOtherChain: string, | ||
@@ -39,4 +39,4 @@ senderOtherChain: string, | ||
value: { | ||
from: sender, | ||
to: recipient, | ||
from, | ||
to, | ||
recipient_other_chain: recipientOtherChain, | ||
@@ -54,3 +54,3 @@ sender_other_chain: senderOtherChain, | ||
function newMsgClaimAtomicSwap( | ||
sender: string, | ||
from: string, | ||
swapID: string, | ||
@@ -62,3 +62,3 @@ randomNumber: string | ||
value: { | ||
from: sender, | ||
from, | ||
swap_id: swapID, | ||
@@ -71,7 +71,7 @@ random_number: randomNumber, | ||
// newMsgRefundAtomicSwap creates a new MsgRefundAtomicSwap | ||
function newMsgRefundAtomicSwap(sender: string, swapID: string) { | ||
function newMsgRefundAtomicSwap(from: string, swapID: string) { | ||
return { | ||
type: 'bep3/MsgRefundAtomicSwap', | ||
value: { | ||
from: sender, | ||
from, | ||
swap_id: swapID, | ||
@@ -187,3 +187,3 @@ }, | ||
function newMsgSubmitProposal( | ||
proposal: string, | ||
pubProposal: string, | ||
proposer: string, | ||
@@ -195,3 +195,3 @@ committeeID: string | ||
value: { | ||
pub_proposal: proposal, | ||
pub_proposal: pubProposal, | ||
proposer: proposer, | ||
@@ -228,17 +228,2 @@ committee_id: String(committeeID), | ||
function newMsgClaimUSDXMintingRewardVVesting( | ||
sender: string, | ||
receiver: string, | ||
multiplierName: string | ||
) { | ||
return { | ||
type: 'incentive/MsgClaimUSDXMintingRewardVVesting', | ||
value: { | ||
sender: sender, | ||
receiver: receiver, | ||
multiplierName: multiplierName, | ||
}, | ||
}; | ||
} | ||
function newMsgClaimHardReward(sender: string, denomsToClaim: any[]) { | ||
@@ -254,17 +239,2 @@ return { | ||
function newMsgClaimHardRewardVVesting( | ||
sender: string, | ||
receiver: string, | ||
denomsToClaim: DenomToClaim[] | ||
) { | ||
return { | ||
type: 'incentive/MsgClaimHardRewardVVesting', | ||
value: { | ||
sender: sender, | ||
receiver: receiver, | ||
denoms_to_claim: denomsToClaim, | ||
}, | ||
}; | ||
} | ||
function newMsgClaimDelegatorReward( | ||
@@ -283,17 +253,2 @@ sender: string, | ||
function newMsgClaimDelegatorRewardVVesting( | ||
sender: string, | ||
receiver: string, | ||
denomsToClaim: any[] | ||
) { | ||
return { | ||
type: 'incentive/MsgClaimDelegatorRewardVVesting', | ||
value: { | ||
sender: sender, | ||
receiver: receiver, | ||
denoms_to_claim: denomsToClaim, | ||
}, | ||
}; | ||
} | ||
function newMsgClaimSwapReward(sender: string, denomsToClaim: DenomToClaim[]) { | ||
@@ -309,17 +264,2 @@ return { | ||
function newMsgClaimSwapRewardVVesting( | ||
sender: string, | ||
receiver: string, | ||
denomsToClaim: DenomToClaim[] | ||
) { | ||
return { | ||
type: 'incentive/MsgClaimSwapRewardVVesting', | ||
value: { | ||
sender: sender, | ||
receiver: receiver, | ||
denoms_to_claim: denomsToClaim, | ||
}, | ||
}; | ||
} | ||
/*************************************************** | ||
@@ -422,9 +362,5 @@ * Issuance | ||
newMsgClaimUSDXMintingReward, | ||
newMsgClaimUSDXMintingRewardVVesting, | ||
newMsgClaimHardReward, | ||
newMsgClaimHardRewardVVesting, | ||
newMsgClaimDelegatorReward, | ||
newMsgClaimDelegatorRewardVVesting, | ||
newMsgClaimSwapReward, | ||
newMsgClaimSwapRewardVVesting, | ||
newMsgIssueTokens, | ||
@@ -431,0 +367,0 @@ newMsgRedeemTokens, |
Sorry, the diff of this file is too big to display
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
347251
8382