UNPKG

@nolus/nolusjs

Version:

JS library for NodeJS and Web browsers to interact with the Nolus Protocol

78 lines 1.52 kB
export const getLppBalanceMsg = () => { return { lpp_balance: [], }; }; export const getStableBalanceMsg = (oracleAddress) => { return { stable_balance: { oracle_addr: oracleAddress, }, }; }; export const getDepositCapacityMsg = () => { return { deposit_capacity: [], }; }; export const getLppConfigMsg = () => { return { config: [], }; }; export const getLPNMsg = () => { return { lpn: [], }; }; export const getLoanInformationMsg = (leaseAddress) => { return { loan: { lease_addr: leaseAddress, }, }; }; export const getPriceMsg = () => { return { price: [], }; }; export const getLenderRewardsMsg = (lenderAddress) => { return { rewards: { address: lenderAddress, }, }; }; export const getLenderDepositMsg = (lenderAddress) => { return { balance: { address: lenderAddress, }, }; }; export const claimRewardsMsg = (recipientAddress) => { return { claim_rewards: { other_recipient: recipientAddress, }, }; }; export const depositMsg = () => { return { deposit: [], }; }; export const distributeRewardsMsg = () => { return { distribute_rewards: [], }; }; export const burnMsg = (burnAmount) => { return { burn: { amount: { amount: burnAmount }, }, }; }; //# sourceMappingURL=LppMsg.js.map