carbon-js-sdk 0.2.13 → 0.2.14-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/clients/NEOClient.js +1 -1
- package/lib/clients/TokenClient.d.ts +5 -0
- package/lib/clients/TokenClient.js +29 -7
- package/lib/codec/book/genesis.d.ts +1 -1
- package/lib/codec/book/genesis.js +1 -1
- package/lib/codec/book/query.d.ts +1 -1
- package/lib/codec/book/query.js +1 -1
- package/lib/codec/broker/genesis.d.ts +1 -1
- package/lib/codec/broker/genesis.js +1 -1
- package/lib/codec/broker/query.d.ts +3 -3
- package/lib/codec/broker/query.js +3 -3
- package/lib/codec/btcx/denom_cross_chain_info.d.ts +1 -1
- package/lib/codec/btcx/denom_cross_chain_info.js +1 -1
- package/lib/codec/btcx/query.d.ts +1 -1
- package/lib/codec/btcx/query.js +1 -1
- package/lib/codec/ccm/genesis.d.ts +1 -1
- package/lib/codec/ccm/genesis.js +1 -1
- package/lib/codec/cdp/asset_params.d.ts +1 -12
- package/lib/codec/cdp/asset_params.js +14 -81
- package/lib/codec/cdp/debt_info.d.ts +1 -1
- package/lib/codec/cdp/debt_info.js +11 -13
- package/lib/codec/cdp/event.d.ts +321 -22
- package/lib/codec/cdp/event.js +2005 -82
- package/lib/codec/cdp/genesis.d.ts +80 -4
- package/lib/codec/cdp/genesis.js +531 -22
- package/lib/codec/cdp/params.d.ts +35 -0
- package/lib/codec/cdp/params.js +47 -1
- package/lib/codec/cdp/query.d.ts +437 -89
- package/lib/codec/cdp/query.js +1966 -177
- package/lib/codec/cdp/reward_scheme.d.ts +85 -0
- package/lib/codec/cdp/reward_scheme.js +656 -0
- package/lib/codec/cdp/stablecoin_debt_info.d.ts +1 -1
- package/lib/codec/cdp/stablecoin_debt_info.js +11 -13
- package/lib/codec/cdp/tx.d.ts +667 -96
- package/lib/codec/cdp/tx.js +3196 -243
- package/lib/codec/coin/event.d.ts +1 -1
- package/lib/codec/coin/event.js +1 -1
- package/lib/codec/coin/genesis.d.ts +2 -2
- package/lib/codec/coin/genesis.js +2 -2
- package/lib/codec/coin/proposal.d.ts +1 -1
- package/lib/codec/coin/proposal.js +1 -1
- package/lib/codec/coin/query.d.ts +2 -5
- package/lib/codec/coin/query.js +2 -8
- package/lib/codec/coin/token.d.ts +11 -0
- package/lib/codec/coin/token.js +65 -1
- package/lib/codec/coin/tx.d.ts +1 -1
- package/lib/codec/coin/tx.js +1 -1
- package/lib/codec/cosmos/auth/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/auth/v1beta1/genesis.js +1 -1
- package/lib/codec/cosmos/auth/v1beta1/query.d.ts +2 -2
- package/lib/codec/cosmos/auth/v1beta1/query.js +2 -2
- package/lib/codec/cosmos/authz/v1beta1/authz.d.ts +19 -0
- package/lib/codec/cosmos/authz/v1beta1/authz.js +89 -1
- package/lib/codec/cosmos/authz/v1beta1/genesis.d.ts +1 -15
- package/lib/codec/cosmos/authz/v1beta1/genesis.js +7 -120
- package/lib/codec/cosmos/authz/v1beta1/query.d.ts +70 -2
- package/lib/codec/cosmos/authz/v1beta1/query.js +275 -3
- package/lib/codec/cosmos/authz/v1beta1/tx.d.ts +1 -1
- package/lib/codec/cosmos/authz/v1beta1/tx.js +1 -1
- package/lib/codec/cosmos/bank/v1beta1/authz.d.ts +1 -1
- package/lib/codec/cosmos/bank/v1beta1/authz.js +1 -1
- package/lib/codec/cosmos/bank/v1beta1/bank.d.ts +1 -1
- package/lib/codec/cosmos/bank/v1beta1/bank.js +1 -1
- package/lib/codec/cosmos/bank/v1beta1/export.d.ts +1 -1
- package/lib/codec/cosmos/bank/v1beta1/export.js +3 -1
- package/lib/codec/cosmos/bank/v1beta1/genesis.d.ts +2 -2
- package/lib/codec/cosmos/bank/v1beta1/genesis.js +2 -2
- package/lib/codec/cosmos/bank/v1beta1/query.d.ts +43 -3
- package/lib/codec/cosmos/bank/v1beta1/query.js +140 -4
- package/lib/codec/cosmos/bank/v1beta1/tx.d.ts +2 -2
- package/lib/codec/cosmos/bank/v1beta1/tx.js +2 -2
- package/lib/codec/cosmos/base/snapshots/v1beta1/snapshot.d.ts +64 -0
- package/lib/codec/cosmos/base/snapshots/v1beta1/snapshot.js +343 -1
- package/lib/codec/cosmos/base/tendermint/v1beta1/query.d.ts +1 -1
- package/lib/codec/cosmos/base/tendermint/v1beta1/query.js +1 -1
- package/lib/codec/cosmos/capability/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/capability/v1beta1/genesis.js +1 -1
- package/lib/codec/cosmos/crisis/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/crisis/v1beta1/genesis.js +1 -1
- package/lib/codec/cosmos/distribution/v1beta1/distribution.d.ts +1 -1
- package/lib/codec/cosmos/distribution/v1beta1/distribution.js +1 -1
- package/lib/codec/cosmos/distribution/v1beta1/genesis.d.ts +2 -2
- package/lib/codec/cosmos/distribution/v1beta1/genesis.js +2 -2
- package/lib/codec/cosmos/distribution/v1beta1/query.d.ts +3 -3
- package/lib/codec/cosmos/distribution/v1beta1/query.js +3 -3
- package/lib/codec/cosmos/distribution/v1beta1/tx.d.ts +1 -1
- package/lib/codec/cosmos/distribution/v1beta1/tx.js +1 -1
- package/lib/codec/cosmos/evidence/v1beta1/query.d.ts +1 -1
- package/lib/codec/cosmos/evidence/v1beta1/query.js +1 -1
- package/lib/codec/cosmos/feegrant/v1beta1/feegrant.d.ts +1 -1
- package/lib/codec/cosmos/feegrant/v1beta1/feegrant.js +1 -1
- package/lib/codec/cosmos/feegrant/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/feegrant/v1beta1/genesis.js +1 -1
- package/lib/codec/cosmos/feegrant/v1beta1/query.d.ts +35 -2
- package/lib/codec/cosmos/feegrant/v1beta1/query.js +139 -3
- package/lib/codec/cosmos/gov/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/gov/v1beta1/genesis.js +1 -1
- package/lib/codec/cosmos/gov/v1beta1/gov.d.ts +1 -1
- package/lib/codec/cosmos/gov/v1beta1/gov.js +1 -1
- package/lib/codec/cosmos/gov/v1beta1/query.d.ts +2 -2
- package/lib/codec/cosmos/gov/v1beta1/query.js +2 -2
- package/lib/codec/cosmos/gov/v1beta1/tx.d.ts +2 -2
- package/lib/codec/cosmos/gov/v1beta1/tx.js +2 -2
- package/lib/codec/cosmos/mint/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/mint/v1beta1/genesis.js +1 -1
- package/lib/codec/cosmos/mint/v1beta1/query.d.ts +1 -1
- package/lib/codec/cosmos/mint/v1beta1/query.js +1 -1
- package/lib/codec/cosmos/params/v1beta1/query.d.ts +1 -1
- package/lib/codec/cosmos/params/v1beta1/query.js +1 -1
- package/lib/codec/cosmos/slashing/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/slashing/v1beta1/genesis.js +1 -1
- package/lib/codec/cosmos/slashing/v1beta1/query.d.ts +2 -2
- package/lib/codec/cosmos/slashing/v1beta1/query.js +2 -2
- package/lib/codec/cosmos/staking/v1beta1/authz.d.ts +1 -1
- package/lib/codec/cosmos/staking/v1beta1/authz.js +1 -1
- package/lib/codec/cosmos/staking/v1beta1/genesis.d.ts +1 -1
- package/lib/codec/cosmos/staking/v1beta1/genesis.js +1 -1
- package/lib/codec/cosmos/staking/v1beta1/query.d.ts +2 -2
- package/lib/codec/cosmos/staking/v1beta1/query.js +2 -2
- package/lib/codec/cosmos/staking/v1beta1/staking.d.ts +1 -1
- package/lib/codec/cosmos/staking/v1beta1/staking.js +1 -1
- package/lib/codec/cosmos/staking/v1beta1/tx.d.ts +2 -2
- package/lib/codec/cosmos/staking/v1beta1/tx.js +2 -2
- package/lib/codec/cosmos/tx/signing/v1beta1/signing.d.ts +14 -1
- package/lib/codec/cosmos/tx/signing/v1beta1/signing.js +19 -1
- package/lib/codec/cosmos/tx/v1beta1/export.d.ts +1 -1
- package/lib/codec/cosmos/tx/v1beta1/export.js +3 -1
- package/lib/codec/cosmos/tx/v1beta1/service.d.ts +53 -5
- package/lib/codec/cosmos/tx/v1beta1/service.js +179 -4
- package/lib/codec/cosmos/tx/v1beta1/tx.d.ts +3 -3
- package/lib/codec/cosmos/tx/v1beta1/tx.js +3 -3
- package/lib/codec/cosmos/upgrade/v1beta1/query.d.ts +1 -1
- package/lib/codec/cosmos/upgrade/v1beta1/query.js +1 -1
- package/lib/codec/cosmos/vesting/v1beta1/tx.d.ts +1 -1
- package/lib/codec/cosmos/vesting/v1beta1/tx.js +1 -1
- package/lib/codec/cosmos/vesting/v1beta1/vesting.d.ts +2 -2
- package/lib/codec/cosmos/vesting/v1beta1/vesting.js +2 -2
- package/lib/codec/fee/genesis.d.ts +1 -1
- package/lib/codec/fee/genesis.js +1 -1
- package/lib/codec/fee/proposal.d.ts +1 -1
- package/lib/codec/fee/proposal.js +1 -1
- package/lib/codec/fee/query.d.ts +1 -1
- package/lib/codec/fee/query.js +1 -1
- package/lib/codec/fee/tx.d.ts +1 -1
- package/lib/codec/fee/tx.js +1 -1
- package/lib/codec/headersync/genesis.d.ts +1 -1
- package/lib/codec/headersync/genesis.js +1 -1
- package/lib/codec/headersync/query.d.ts +1 -1
- package/lib/codec/headersync/query.js +1 -1
- package/lib/codec/index.d.ts +71 -23
- package/lib/codec/index.js +590 -384
- package/lib/codec/inflation/genesis.d.ts +1 -1
- package/lib/codec/inflation/genesis.js +1 -1
- package/lib/codec/inflation/query.d.ts +1 -1
- package/lib/codec/inflation/query.js +1 -1
- package/lib/codec/insurance/genesis.d.ts +1 -1
- package/lib/codec/insurance/genesis.js +1 -1
- package/lib/codec/leverage/genesis.d.ts +1 -1
- package/lib/codec/leverage/genesis.js +1 -1
- package/lib/codec/leverage/query.d.ts +1 -1
- package/lib/codec/leverage/query.js +1 -1
- package/lib/codec/liquidation/genesis.d.ts +1 -1
- package/lib/codec/liquidation/genesis.js +1 -1
- package/lib/codec/liquidation/query.d.ts +1 -1
- package/lib/codec/liquidation/query.js +1 -1
- package/lib/codec/liquidation/quote_changes.d.ts +1 -1
- package/lib/codec/liquidation/quote_changes.js +1 -1
- package/lib/codec/liquiditypool/event.d.ts +2 -2
- package/lib/codec/liquiditypool/event.js +2 -2
- package/lib/codec/liquiditypool/genesis.d.ts +2 -2
- package/lib/codec/liquiditypool/genesis.js +2 -2
- package/lib/codec/liquiditypool/proposal.d.ts +1 -1
- package/lib/codec/liquiditypool/proposal.js +1 -1
- package/lib/codec/liquiditypool/query.d.ts +2 -2
- package/lib/codec/liquiditypool/query.js +2 -2
- package/lib/codec/liquiditypool/tx.d.ts +1 -1
- package/lib/codec/liquiditypool/tx.js +1 -1
- package/lib/codec/lockproxy/genesis.d.ts +1 -1
- package/lib/codec/lockproxy/genesis.js +1 -1
- package/lib/codec/lockproxy/query.d.ts +1 -1
- package/lib/codec/lockproxy/query.js +1 -1
- package/lib/codec/market/event.d.ts +1 -1
- package/lib/codec/market/event.js +1 -1
- package/lib/codec/market/genesis.d.ts +2 -1
- package/lib/codec/market/genesis.js +20 -2
- package/lib/codec/market/proposal.d.ts +1 -1
- package/lib/codec/market/proposal.js +1 -1
- package/lib/codec/market/query.d.ts +1 -1
- package/lib/codec/market/query.js +1 -1
- package/lib/codec/market/tx.d.ts +1 -1
- package/lib/codec/market/tx.js +1 -1
- package/lib/codec/marketstats/genesis.d.ts +1 -1
- package/lib/codec/marketstats/genesis.js +1 -1
- package/lib/codec/marketstats/query.d.ts +2 -2
- package/lib/codec/marketstats/query.js +2 -2
- package/lib/codec/misc/message.d.ts +1 -1
- package/lib/codec/misc/message.js +1 -1
- package/lib/codec/misc/query.d.ts +3 -3
- package/lib/codec/misc/query.js +3 -3
- package/lib/codec/misc/trade.d.ts +1 -0
- package/lib/codec/misc/trade.js +17 -0
- package/lib/codec/misc/transaction.d.ts +1 -1
- package/lib/codec/misc/transaction.js +1 -1
- package/lib/codec/oracle/event.d.ts +1 -1
- package/lib/codec/oracle/event.js +1 -1
- package/lib/codec/oracle/genesis.d.ts +1 -1
- package/lib/codec/oracle/genesis.js +1 -1
- package/lib/codec/oracle/proposal.d.ts +1 -1
- package/lib/codec/oracle/proposal.js +1 -1
- package/lib/codec/oracle/query.d.ts +2 -2
- package/lib/codec/oracle/query.js +2 -2
- package/lib/codec/order/event.d.ts +1 -1
- package/lib/codec/order/event.js +1 -1
- package/lib/codec/order/genesis.d.ts +1 -1
- package/lib/codec/order/genesis.js +1 -1
- package/lib/codec/order/query.d.ts +1 -1
- package/lib/codec/order/query.js +1 -1
- package/lib/codec/position/event.d.ts +1 -1
- package/lib/codec/position/event.js +1 -1
- package/lib/codec/position/genesis.d.ts +1 -1
- package/lib/codec/position/genesis.js +1 -1
- package/lib/codec/position/query.d.ts +1 -1
- package/lib/codec/position/query.js +1 -1
- package/lib/codec/pricing/event.d.ts +11 -1
- package/lib/codec/pricing/event.js +52 -2
- package/lib/codec/pricing/genesis.d.ts +2 -1
- package/lib/codec/pricing/genesis.js +20 -5
- package/lib/codec/pricing/pricing.d.ts +13 -0
- package/lib/codec/pricing/pricing.js +83 -1
- package/lib/codec/pricing/query.d.ts +68 -1
- package/lib/codec/pricing/query.js +321 -2
- package/lib/codec/profile/event.d.ts +1 -1
- package/lib/codec/profile/event.js +1 -1
- package/lib/codec/profile/genesis.d.ts +1 -1
- package/lib/codec/profile/genesis.js +1 -1
- package/lib/codec/profile/query.d.ts +1 -1
- package/lib/codec/profile/query.js +1 -1
- package/lib/codec/subaccount/genesis.d.ts +1 -1
- package/lib/codec/subaccount/genesis.js +1 -1
- package/lib/codec/subaccount/query.d.ts +1 -1
- package/lib/codec/subaccount/query.js +1 -1
- package/lib/codec/tendermint/abci/types.d.ts +4 -4
- package/lib/codec/tendermint/abci/types.js +4 -4
- package/lib/codec/tendermint/types/block.d.ts +2 -2
- package/lib/codec/tendermint/types/block.js +2 -2
- package/lib/codec/tendermint/types/evidence.d.ts +2 -2
- package/lib/codec/tendermint/types/evidence.js +2 -2
- package/lib/codec/tendermint/types/types.d.ts +3 -3
- package/lib/codec/tendermint/types/types.js +3 -3
- package/lib/codec/tendermint/types/validator.d.ts +1 -1
- package/lib/codec/tendermint/types/validator.js +1 -1
- package/lib/modules/admin.d.ts +53 -1
- package/lib/modules/admin.js +175 -43
- package/lib/modules/cdp.d.ts +104 -13
- package/lib/modules/cdp.js +618 -20
- package/lib/provider/amino/types/admin.js +48 -7
- package/lib/provider/amino/types/cdp.js +72 -32
- package/lib/util/number.d.ts +1 -0
- package/lib/util/number.js +2 -1
- package/lib/util/tx.d.ts +58 -14
- package/lib/wallet/CarbonSigningClient.js +27 -2
- package/lib/wallet/CarbonWallet.js +0 -1
- package/lib/websocket/channel.js +60 -0
- package/lib/websocket/models.d.ts +179 -21
- package/lib/websocket/types.d.ts +69 -3
- package/lib/websocket/types.js +27 -0
- package/package.json +1 -1
package/lib/codec/cdp/event.d.ts
CHANGED
|
@@ -1,31 +1,330 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import {
|
|
3
|
+
import { RateStrategyParams } from "./rate_strategy_params";
|
|
4
|
+
import { AssetParams } from "./asset_params";
|
|
5
|
+
import { DebtInfo } from "./debt_info";
|
|
6
|
+
import { StablecoinDebtInfo } from "./stablecoin_debt_info";
|
|
7
|
+
import { RewardDebt, RewardScheme } from "./reward_scheme";
|
|
4
8
|
export declare const protobufPackage = "Switcheo.carbon.cdp";
|
|
5
|
-
export interface
|
|
6
|
-
|
|
7
|
-
|
|
9
|
+
export interface NewRateStrategyParamsEvent {
|
|
10
|
+
rateStrategyParams?: RateStrategyParams;
|
|
11
|
+
type: string;
|
|
12
|
+
}
|
|
13
|
+
export interface UpdateRateStrategyParamsEvent {
|
|
14
|
+
rateStrategyParams?: RateStrategyParams;
|
|
15
|
+
type: string;
|
|
16
|
+
}
|
|
17
|
+
export interface RemoveRateStrategyParamsEvent {
|
|
18
|
+
rateStrategyParams?: RateStrategyParams;
|
|
19
|
+
type: string;
|
|
20
|
+
}
|
|
21
|
+
export interface NewAssetParamsEvent {
|
|
22
|
+
assetParams?: AssetParams;
|
|
23
|
+
type: string;
|
|
24
|
+
}
|
|
25
|
+
export interface UpdateAssetParamsEvent {
|
|
26
|
+
assetParams?: AssetParams;
|
|
27
|
+
type: string;
|
|
28
|
+
}
|
|
29
|
+
export interface SetInterestFeeEvent {
|
|
30
|
+
interestFee: string;
|
|
31
|
+
type: string;
|
|
32
|
+
}
|
|
33
|
+
export interface SetLiquidationFeeEvent {
|
|
34
|
+
liquidationFee: string;
|
|
35
|
+
type: string;
|
|
36
|
+
}
|
|
37
|
+
export interface SetStablecoinInterestRateEvent {
|
|
38
|
+
stablecoinInterestRate: string;
|
|
39
|
+
type: string;
|
|
40
|
+
}
|
|
41
|
+
export interface SetCompleteLiquidationThresholdEvent {
|
|
42
|
+
completeLiquidationThreshold: string;
|
|
43
|
+
type: string;
|
|
44
|
+
}
|
|
45
|
+
export interface SetMinimumCloseFactorEvent {
|
|
46
|
+
minimumCloseFactor: string;
|
|
47
|
+
type: string;
|
|
48
|
+
}
|
|
49
|
+
export interface SetSmallLiquidationSizeEvent {
|
|
50
|
+
smallLiquidationSize: string;
|
|
51
|
+
type: string;
|
|
52
|
+
}
|
|
53
|
+
export interface SupplyAssetEvent {
|
|
54
|
+
supplier: string;
|
|
55
|
+
denom: string;
|
|
56
|
+
amountSupplied: string;
|
|
57
|
+
cdpDenom: string;
|
|
58
|
+
amountMinted: string;
|
|
59
|
+
}
|
|
60
|
+
export interface WithdrawAssetEvent {
|
|
61
|
+
withdrawer: string;
|
|
62
|
+
denom: string;
|
|
63
|
+
amountWithdrawed: string;
|
|
64
|
+
cdpDenom: string;
|
|
65
|
+
amountBurned: string;
|
|
66
|
+
}
|
|
67
|
+
export interface BorrowAssetEvent {
|
|
68
|
+
borrower: string;
|
|
69
|
+
denom: string;
|
|
70
|
+
amountBorrowed: string;
|
|
71
|
+
healthFactor: string;
|
|
72
|
+
initialCumulativeInterestMultiplier: string;
|
|
8
73
|
}
|
|
9
|
-
export interface
|
|
74
|
+
export interface RepayAssetEvent {
|
|
75
|
+
repayer: string;
|
|
76
|
+
debtor: string;
|
|
77
|
+
denom: string;
|
|
78
|
+
principalRepaid: string;
|
|
79
|
+
interestRepaid: string;
|
|
80
|
+
healthFactor: string;
|
|
81
|
+
}
|
|
82
|
+
export interface LockCollateralEvent {
|
|
83
|
+
locker: string;
|
|
84
|
+
cdpDenom: string;
|
|
85
|
+
amountLocked: string;
|
|
86
|
+
healthFactor: string;
|
|
87
|
+
}
|
|
88
|
+
export interface UnlockCollateralEvent {
|
|
89
|
+
unlocker: string;
|
|
90
|
+
cdpDenom: string;
|
|
91
|
+
amountUnlocked: string;
|
|
92
|
+
healthFactor: string;
|
|
93
|
+
}
|
|
94
|
+
export interface UpdateDebtInfoEvent {
|
|
95
|
+
debtInfo?: DebtInfo;
|
|
96
|
+
type: string;
|
|
97
|
+
}
|
|
98
|
+
export interface UpdateStablecoinDebtInfoEvent {
|
|
99
|
+
stablecoinDebtInfo?: StablecoinDebtInfo;
|
|
10
100
|
type: string;
|
|
11
|
-
|
|
12
|
-
|
|
101
|
+
}
|
|
102
|
+
export interface MintStablecoinEvent {
|
|
103
|
+
minter: string;
|
|
104
|
+
denom: string;
|
|
105
|
+
amountMinted: string;
|
|
106
|
+
healthFactor: string;
|
|
107
|
+
initialCumulativeInterestMultiplier: string;
|
|
108
|
+
}
|
|
109
|
+
export interface ReturnStablecoinEvent {
|
|
110
|
+
returner: string;
|
|
111
|
+
debtor: string;
|
|
112
|
+
interestDenom: string;
|
|
113
|
+
interestRepaid: string;
|
|
114
|
+
principalRepaid: string;
|
|
115
|
+
healthFactor: string;
|
|
116
|
+
}
|
|
117
|
+
export interface LiquidateCollateralEvent {
|
|
118
|
+
liquidator: string;
|
|
119
|
+
debtor: string;
|
|
120
|
+
collateralDenom: string;
|
|
121
|
+
collateralAmountLiquidated: string;
|
|
122
|
+
collateralAmountLiquidator: string;
|
|
123
|
+
collateralAmountFee: string;
|
|
124
|
+
liquidationPrice: string;
|
|
125
|
+
marketPrice: string;
|
|
126
|
+
discount: string;
|
|
127
|
+
debtDenom: string;
|
|
13
128
|
debtAmount: string;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
129
|
+
}
|
|
130
|
+
export interface ClaimRewardEvent {
|
|
131
|
+
receiver: string;
|
|
132
|
+
rewardSchemeId: string;
|
|
133
|
+
rewardClaimed: string;
|
|
134
|
+
}
|
|
135
|
+
export interface RewardDebtEvent {
|
|
136
|
+
rewardDebt?: RewardDebt;
|
|
137
|
+
type: string;
|
|
138
|
+
}
|
|
139
|
+
export interface RewardSchemeEvent {
|
|
140
|
+
rewardScheme?: RewardScheme;
|
|
141
|
+
type: string;
|
|
142
|
+
}
|
|
143
|
+
export interface AddReserveEvent {
|
|
144
|
+
rewardScheme?: RewardScheme;
|
|
145
|
+
amountAdded: string;
|
|
146
|
+
}
|
|
147
|
+
export declare const NewRateStrategyParamsEvent: {
|
|
148
|
+
encode(message: NewRateStrategyParamsEvent, writer?: _m0.Writer): _m0.Writer;
|
|
149
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): NewRateStrategyParamsEvent;
|
|
150
|
+
fromJSON(object: any): NewRateStrategyParamsEvent;
|
|
151
|
+
toJSON(message: NewRateStrategyParamsEvent): unknown;
|
|
152
|
+
fromPartial(object: DeepPartial<NewRateStrategyParamsEvent>): NewRateStrategyParamsEvent;
|
|
153
|
+
};
|
|
154
|
+
export declare const UpdateRateStrategyParamsEvent: {
|
|
155
|
+
encode(message: UpdateRateStrategyParamsEvent, writer?: _m0.Writer): _m0.Writer;
|
|
156
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): UpdateRateStrategyParamsEvent;
|
|
157
|
+
fromJSON(object: any): UpdateRateStrategyParamsEvent;
|
|
158
|
+
toJSON(message: UpdateRateStrategyParamsEvent): unknown;
|
|
159
|
+
fromPartial(object: DeepPartial<UpdateRateStrategyParamsEvent>): UpdateRateStrategyParamsEvent;
|
|
160
|
+
};
|
|
161
|
+
export declare const RemoveRateStrategyParamsEvent: {
|
|
162
|
+
encode(message: RemoveRateStrategyParamsEvent, writer?: _m0.Writer): _m0.Writer;
|
|
163
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): RemoveRateStrategyParamsEvent;
|
|
164
|
+
fromJSON(object: any): RemoveRateStrategyParamsEvent;
|
|
165
|
+
toJSON(message: RemoveRateStrategyParamsEvent): unknown;
|
|
166
|
+
fromPartial(object: DeepPartial<RemoveRateStrategyParamsEvent>): RemoveRateStrategyParamsEvent;
|
|
167
|
+
};
|
|
168
|
+
export declare const NewAssetParamsEvent: {
|
|
169
|
+
encode(message: NewAssetParamsEvent, writer?: _m0.Writer): _m0.Writer;
|
|
170
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): NewAssetParamsEvent;
|
|
171
|
+
fromJSON(object: any): NewAssetParamsEvent;
|
|
172
|
+
toJSON(message: NewAssetParamsEvent): unknown;
|
|
173
|
+
fromPartial(object: DeepPartial<NewAssetParamsEvent>): NewAssetParamsEvent;
|
|
174
|
+
};
|
|
175
|
+
export declare const UpdateAssetParamsEvent: {
|
|
176
|
+
encode(message: UpdateAssetParamsEvent, writer?: _m0.Writer): _m0.Writer;
|
|
177
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): UpdateAssetParamsEvent;
|
|
178
|
+
fromJSON(object: any): UpdateAssetParamsEvent;
|
|
179
|
+
toJSON(message: UpdateAssetParamsEvent): unknown;
|
|
180
|
+
fromPartial(object: DeepPartial<UpdateAssetParamsEvent>): UpdateAssetParamsEvent;
|
|
181
|
+
};
|
|
182
|
+
export declare const SetInterestFeeEvent: {
|
|
183
|
+
encode(message: SetInterestFeeEvent, writer?: _m0.Writer): _m0.Writer;
|
|
184
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): SetInterestFeeEvent;
|
|
185
|
+
fromJSON(object: any): SetInterestFeeEvent;
|
|
186
|
+
toJSON(message: SetInterestFeeEvent): unknown;
|
|
187
|
+
fromPartial(object: DeepPartial<SetInterestFeeEvent>): SetInterestFeeEvent;
|
|
188
|
+
};
|
|
189
|
+
export declare const SetLiquidationFeeEvent: {
|
|
190
|
+
encode(message: SetLiquidationFeeEvent, writer?: _m0.Writer): _m0.Writer;
|
|
191
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): SetLiquidationFeeEvent;
|
|
192
|
+
fromJSON(object: any): SetLiquidationFeeEvent;
|
|
193
|
+
toJSON(message: SetLiquidationFeeEvent): unknown;
|
|
194
|
+
fromPartial(object: DeepPartial<SetLiquidationFeeEvent>): SetLiquidationFeeEvent;
|
|
195
|
+
};
|
|
196
|
+
export declare const SetStablecoinInterestRateEvent: {
|
|
197
|
+
encode(message: SetStablecoinInterestRateEvent, writer?: _m0.Writer): _m0.Writer;
|
|
198
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): SetStablecoinInterestRateEvent;
|
|
199
|
+
fromJSON(object: any): SetStablecoinInterestRateEvent;
|
|
200
|
+
toJSON(message: SetStablecoinInterestRateEvent): unknown;
|
|
201
|
+
fromPartial(object: DeepPartial<SetStablecoinInterestRateEvent>): SetStablecoinInterestRateEvent;
|
|
202
|
+
};
|
|
203
|
+
export declare const SetCompleteLiquidationThresholdEvent: {
|
|
204
|
+
encode(message: SetCompleteLiquidationThresholdEvent, writer?: _m0.Writer): _m0.Writer;
|
|
205
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): SetCompleteLiquidationThresholdEvent;
|
|
206
|
+
fromJSON(object: any): SetCompleteLiquidationThresholdEvent;
|
|
207
|
+
toJSON(message: SetCompleteLiquidationThresholdEvent): unknown;
|
|
208
|
+
fromPartial(object: DeepPartial<SetCompleteLiquidationThresholdEvent>): SetCompleteLiquidationThresholdEvent;
|
|
209
|
+
};
|
|
210
|
+
export declare const SetMinimumCloseFactorEvent: {
|
|
211
|
+
encode(message: SetMinimumCloseFactorEvent, writer?: _m0.Writer): _m0.Writer;
|
|
212
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): SetMinimumCloseFactorEvent;
|
|
213
|
+
fromJSON(object: any): SetMinimumCloseFactorEvent;
|
|
214
|
+
toJSON(message: SetMinimumCloseFactorEvent): unknown;
|
|
215
|
+
fromPartial(object: DeepPartial<SetMinimumCloseFactorEvent>): SetMinimumCloseFactorEvent;
|
|
216
|
+
};
|
|
217
|
+
export declare const SetSmallLiquidationSizeEvent: {
|
|
218
|
+
encode(message: SetSmallLiquidationSizeEvent, writer?: _m0.Writer): _m0.Writer;
|
|
219
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): SetSmallLiquidationSizeEvent;
|
|
220
|
+
fromJSON(object: any): SetSmallLiquidationSizeEvent;
|
|
221
|
+
toJSON(message: SetSmallLiquidationSizeEvent): unknown;
|
|
222
|
+
fromPartial(object: DeepPartial<SetSmallLiquidationSizeEvent>): SetSmallLiquidationSizeEvent;
|
|
223
|
+
};
|
|
224
|
+
export declare const SupplyAssetEvent: {
|
|
225
|
+
encode(message: SupplyAssetEvent, writer?: _m0.Writer): _m0.Writer;
|
|
226
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): SupplyAssetEvent;
|
|
227
|
+
fromJSON(object: any): SupplyAssetEvent;
|
|
228
|
+
toJSON(message: SupplyAssetEvent): unknown;
|
|
229
|
+
fromPartial(object: DeepPartial<SupplyAssetEvent>): SupplyAssetEvent;
|
|
230
|
+
};
|
|
231
|
+
export declare const WithdrawAssetEvent: {
|
|
232
|
+
encode(message: WithdrawAssetEvent, writer?: _m0.Writer): _m0.Writer;
|
|
233
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): WithdrawAssetEvent;
|
|
234
|
+
fromJSON(object: any): WithdrawAssetEvent;
|
|
235
|
+
toJSON(message: WithdrawAssetEvent): unknown;
|
|
236
|
+
fromPartial(object: DeepPartial<WithdrawAssetEvent>): WithdrawAssetEvent;
|
|
237
|
+
};
|
|
238
|
+
export declare const BorrowAssetEvent: {
|
|
239
|
+
encode(message: BorrowAssetEvent, writer?: _m0.Writer): _m0.Writer;
|
|
240
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): BorrowAssetEvent;
|
|
241
|
+
fromJSON(object: any): BorrowAssetEvent;
|
|
242
|
+
toJSON(message: BorrowAssetEvent): unknown;
|
|
243
|
+
fromPartial(object: DeepPartial<BorrowAssetEvent>): BorrowAssetEvent;
|
|
244
|
+
};
|
|
245
|
+
export declare const RepayAssetEvent: {
|
|
246
|
+
encode(message: RepayAssetEvent, writer?: _m0.Writer): _m0.Writer;
|
|
247
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): RepayAssetEvent;
|
|
248
|
+
fromJSON(object: any): RepayAssetEvent;
|
|
249
|
+
toJSON(message: RepayAssetEvent): unknown;
|
|
250
|
+
fromPartial(object: DeepPartial<RepayAssetEvent>): RepayAssetEvent;
|
|
251
|
+
};
|
|
252
|
+
export declare const LockCollateralEvent: {
|
|
253
|
+
encode(message: LockCollateralEvent, writer?: _m0.Writer): _m0.Writer;
|
|
254
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): LockCollateralEvent;
|
|
255
|
+
fromJSON(object: any): LockCollateralEvent;
|
|
256
|
+
toJSON(message: LockCollateralEvent): unknown;
|
|
257
|
+
fromPartial(object: DeepPartial<LockCollateralEvent>): LockCollateralEvent;
|
|
258
|
+
};
|
|
259
|
+
export declare const UnlockCollateralEvent: {
|
|
260
|
+
encode(message: UnlockCollateralEvent, writer?: _m0.Writer): _m0.Writer;
|
|
261
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): UnlockCollateralEvent;
|
|
262
|
+
fromJSON(object: any): UnlockCollateralEvent;
|
|
263
|
+
toJSON(message: UnlockCollateralEvent): unknown;
|
|
264
|
+
fromPartial(object: DeepPartial<UnlockCollateralEvent>): UnlockCollateralEvent;
|
|
265
|
+
};
|
|
266
|
+
export declare const UpdateDebtInfoEvent: {
|
|
267
|
+
encode(message: UpdateDebtInfoEvent, writer?: _m0.Writer): _m0.Writer;
|
|
268
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): UpdateDebtInfoEvent;
|
|
269
|
+
fromJSON(object: any): UpdateDebtInfoEvent;
|
|
270
|
+
toJSON(message: UpdateDebtInfoEvent): unknown;
|
|
271
|
+
fromPartial(object: DeepPartial<UpdateDebtInfoEvent>): UpdateDebtInfoEvent;
|
|
272
|
+
};
|
|
273
|
+
export declare const UpdateStablecoinDebtInfoEvent: {
|
|
274
|
+
encode(message: UpdateStablecoinDebtInfoEvent, writer?: _m0.Writer): _m0.Writer;
|
|
275
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): UpdateStablecoinDebtInfoEvent;
|
|
276
|
+
fromJSON(object: any): UpdateStablecoinDebtInfoEvent;
|
|
277
|
+
toJSON(message: UpdateStablecoinDebtInfoEvent): unknown;
|
|
278
|
+
fromPartial(object: DeepPartial<UpdateStablecoinDebtInfoEvent>): UpdateStablecoinDebtInfoEvent;
|
|
279
|
+
};
|
|
280
|
+
export declare const MintStablecoinEvent: {
|
|
281
|
+
encode(message: MintStablecoinEvent, writer?: _m0.Writer): _m0.Writer;
|
|
282
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MintStablecoinEvent;
|
|
283
|
+
fromJSON(object: any): MintStablecoinEvent;
|
|
284
|
+
toJSON(message: MintStablecoinEvent): unknown;
|
|
285
|
+
fromPartial(object: DeepPartial<MintStablecoinEvent>): MintStablecoinEvent;
|
|
286
|
+
};
|
|
287
|
+
export declare const ReturnStablecoinEvent: {
|
|
288
|
+
encode(message: ReturnStablecoinEvent, writer?: _m0.Writer): _m0.Writer;
|
|
289
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): ReturnStablecoinEvent;
|
|
290
|
+
fromJSON(object: any): ReturnStablecoinEvent;
|
|
291
|
+
toJSON(message: ReturnStablecoinEvent): unknown;
|
|
292
|
+
fromPartial(object: DeepPartial<ReturnStablecoinEvent>): ReturnStablecoinEvent;
|
|
293
|
+
};
|
|
294
|
+
export declare const LiquidateCollateralEvent: {
|
|
295
|
+
encode(message: LiquidateCollateralEvent, writer?: _m0.Writer): _m0.Writer;
|
|
296
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): LiquidateCollateralEvent;
|
|
297
|
+
fromJSON(object: any): LiquidateCollateralEvent;
|
|
298
|
+
toJSON(message: LiquidateCollateralEvent): unknown;
|
|
299
|
+
fromPartial(object: DeepPartial<LiquidateCollateralEvent>): LiquidateCollateralEvent;
|
|
300
|
+
};
|
|
301
|
+
export declare const ClaimRewardEvent: {
|
|
302
|
+
encode(message: ClaimRewardEvent, writer?: _m0.Writer): _m0.Writer;
|
|
303
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): ClaimRewardEvent;
|
|
304
|
+
fromJSON(object: any): ClaimRewardEvent;
|
|
305
|
+
toJSON(message: ClaimRewardEvent): unknown;
|
|
306
|
+
fromPartial(object: DeepPartial<ClaimRewardEvent>): ClaimRewardEvent;
|
|
307
|
+
};
|
|
308
|
+
export declare const RewardDebtEvent: {
|
|
309
|
+
encode(message: RewardDebtEvent, writer?: _m0.Writer): _m0.Writer;
|
|
310
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): RewardDebtEvent;
|
|
311
|
+
fromJSON(object: any): RewardDebtEvent;
|
|
312
|
+
toJSON(message: RewardDebtEvent): unknown;
|
|
313
|
+
fromPartial(object: DeepPartial<RewardDebtEvent>): RewardDebtEvent;
|
|
314
|
+
};
|
|
315
|
+
export declare const RewardSchemeEvent: {
|
|
316
|
+
encode(message: RewardSchemeEvent, writer?: _m0.Writer): _m0.Writer;
|
|
317
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): RewardSchemeEvent;
|
|
318
|
+
fromJSON(object: any): RewardSchemeEvent;
|
|
319
|
+
toJSON(message: RewardSchemeEvent): unknown;
|
|
320
|
+
fromPartial(object: DeepPartial<RewardSchemeEvent>): RewardSchemeEvent;
|
|
321
|
+
};
|
|
322
|
+
export declare const AddReserveEvent: {
|
|
323
|
+
encode(message: AddReserveEvent, writer?: _m0.Writer): _m0.Writer;
|
|
324
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): AddReserveEvent;
|
|
325
|
+
fromJSON(object: any): AddReserveEvent;
|
|
326
|
+
toJSON(message: AddReserveEvent): unknown;
|
|
327
|
+
fromPartial(object: DeepPartial<AddReserveEvent>): AddReserveEvent;
|
|
29
328
|
};
|
|
30
329
|
declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
31
330
|
export declare type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|