carbon-js-sdk 0.2.10 → 0.2.11-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/CarbonQueryClient.js +1 -1
- package/lib/clients/ETHClient.js +15 -15
- package/lib/clients/HydrogenClient.js +1 -1
- package/lib/clients/InsightsQueryClient.d.ts +3 -1
- package/lib/clients/InsightsQueryClient.js +17 -6
- package/lib/clients/NEOClient.js +7 -7
- package/lib/clients/ZILClient.js +16 -16
- 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 -0
- package/lib/codec/cdp/asset_params.js +31 -15
- package/lib/codec/cdp/event.d.ts +226 -22
- package/lib/codec/cdp/event.js +1414 -80
- package/lib/codec/cdp/genesis.d.ts +57 -4
- package/lib/codec/cdp/genesis.js +417 -22
- package/lib/codec/cdp/query.d.ts +328 -94
- package/lib/codec/cdp/query.js +1300 -236
- package/lib/codec/cdp/tx.d.ts +466 -96
- package/lib/codec/cdp/tx.js +1961 -181
- 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/query.d.ts +2 -2
- package/lib/codec/cosmos/authz/v1beta1/query.js +2 -2
- 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/genesis.d.ts +2 -2
- package/lib/codec/cosmos/bank/v1beta1/genesis.js +2 -2
- package/lib/codec/cosmos/bank/v1beta1/query.d.ts +3 -3
- package/lib/codec/cosmos/bank/v1beta1/query.js +3 -3
- 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/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 +2 -2
- package/lib/codec/cosmos/feegrant/v1beta1/query.js +2 -2
- 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 +4 -4
- package/lib/codec/cosmos/gov/v1beta1/tx.d.ts +2 -2
- package/lib/codec/cosmos/gov/v1beta1/tx.js +4 -4
- 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 +1 -1
- package/lib/codec/cosmos/tx/signing/v1beta1/signing.js +1 -1
- package/lib/codec/cosmos/tx/v1beta1/service.d.ts +3 -3
- package/lib/codec/cosmos/tx/v1beta1/service.js +3 -3
- package/lib/codec/cosmos/tx/v1beta1/tx.d.ts +3 -3
- package/lib/codec/cosmos/tx/v1beta1/tx.js +5 -5
- 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 +53 -22
- package/lib/codec/index.js +514 -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 +1 -1
- package/lib/codec/pricing/query.js +1 -1
- 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/constant/generic.js +1 -1
- package/lib/insights/common.d.ts +2 -0
- package/lib/insights/common.js +2 -0
- package/lib/insights/competition.d.ts +49 -7
- package/lib/modules/admin.d.ts +61 -1
- package/lib/modules/admin.js +193 -42
- package/lib/modules/cdp.d.ts +55 -12
- package/lib/modules/cdp.js +134 -20
- package/lib/modules/gov.js +14 -14
- package/lib/modules/liquiditypool.js +1 -1
- package/lib/provider/account/EthLedgerAccount/EthLedgerAccount.js +1 -1
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/ErrorCode.js +1 -1
- package/lib/provider/account/NeoLedgerAccount/N3Ledger/main.js +8 -8
- package/lib/provider/account/NeoLedgerAccount/NeoLedgerAccount.js +3 -3
- package/lib/provider/account/NeoLedgerAccount/NeonLedger.js +1 -1
- package/lib/provider/amino/types/admin.js +67 -26
- package/lib/provider/amino/types/bank.js +1 -1
- package/lib/provider/amino/types/broker.js +1 -1
- package/lib/provider/amino/types/cdp.js +72 -32
- package/lib/provider/amino/types/coin.js +2 -2
- package/lib/provider/amino/types/gov.js +4 -4
- package/lib/provider/amino/types/ibc.js +1 -1
- package/lib/provider/amino/types/leverage.js +1 -1
- package/lib/provider/amino/types/liquidityPool.js +7 -7
- package/lib/provider/amino/types/market.js +1 -1
- package/lib/provider/amino/types/oracle.js +1 -1
- package/lib/provider/amino/types/order.js +4 -4
- package/lib/provider/amino/types/position.js +1 -1
- package/lib/provider/amino/types/profile.js +1 -1
- package/lib/provider/amino/types/staking.js +4 -4
- package/lib/provider/amino/types/subaccount.js +3 -3
- package/lib/provider/amino/utils.js +11 -11
- package/lib/provider/keplr/KeplrStore.js +1 -1
- package/lib/provider/ledger/ledger.js +2 -2
- package/lib/provider/metamask/MetaMask.js +1 -1
- package/lib/provider/o3/O3Wallet.js +2 -2
- package/lib/util/address.js +13 -13
- package/lib/util/api.js +4 -4
- package/lib/util/fetch.js +1 -1
- package/lib/util/generic.js +3 -3
- package/lib/util/number.js +5 -5
- package/lib/util/tx.d.ts +42 -14
- package/lib/wallet/CarbonSigner.js +2 -2
- package/lib/wallet/CarbonSigningClient.js +8 -8
- package/lib/wallet/CarbonWallet.js +6 -6
- package/lib/websocket/channel.js +26 -0
- package/lib/websocket/connector.js +3 -3
- package/lib/websocket/models.d.ts +63 -0
- package/lib/websocket/types.d.ts +38 -3
- package/lib/websocket/types.js +16 -0
- package/package.json +2 -1
package/lib/codec/cdp/event.d.ts
CHANGED
|
@@ -1,31 +1,235 @@
|
|
|
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";
|
|
4
7
|
export declare const protobufPackage = "Switcheo.carbon.cdp";
|
|
5
|
-
export interface
|
|
6
|
-
|
|
7
|
-
|
|
8
|
+
export interface NewRateStrategyParamsEvent {
|
|
9
|
+
rateStrategyParams?: RateStrategyParams;
|
|
10
|
+
type: string;
|
|
11
|
+
}
|
|
12
|
+
export interface UpdateRateStrategyParamsEvent {
|
|
13
|
+
rateStrategyParams?: RateStrategyParams;
|
|
14
|
+
type: string;
|
|
15
|
+
}
|
|
16
|
+
export interface RemoveRateStrategyParamsEvent {
|
|
17
|
+
rateStrategyParams?: RateStrategyParams;
|
|
18
|
+
type: string;
|
|
19
|
+
}
|
|
20
|
+
export interface NewAssetParamsEvent {
|
|
21
|
+
assetParams?: AssetParams;
|
|
22
|
+
type: string;
|
|
23
|
+
}
|
|
24
|
+
export interface UpdateAssetParamsEvent {
|
|
25
|
+
assetParams?: AssetParams;
|
|
26
|
+
type: string;
|
|
27
|
+
}
|
|
28
|
+
export interface SetInterestFeeEvent {
|
|
29
|
+
interestFee: string;
|
|
30
|
+
type: string;
|
|
8
31
|
}
|
|
9
|
-
export interface
|
|
32
|
+
export interface SetLiquidationFeeEvent {
|
|
33
|
+
liquidationFee: string;
|
|
10
34
|
type: string;
|
|
11
|
-
|
|
12
|
-
|
|
35
|
+
}
|
|
36
|
+
export interface SetStablecoinInterestRateEvent {
|
|
37
|
+
stablecoinInterestRate: string;
|
|
38
|
+
type: string;
|
|
39
|
+
}
|
|
40
|
+
export interface SupplyAssetEvent {
|
|
41
|
+
supplier: string;
|
|
42
|
+
denom: string;
|
|
43
|
+
amountSupplied: string;
|
|
44
|
+
cdpDenom: string;
|
|
45
|
+
amountMinted: string;
|
|
46
|
+
}
|
|
47
|
+
export interface WithdrawAssetEvent {
|
|
48
|
+
withdrawer: string;
|
|
49
|
+
denom: string;
|
|
50
|
+
amountWithdrawed: string;
|
|
51
|
+
cdpDenom: string;
|
|
52
|
+
amountBurned: string;
|
|
53
|
+
}
|
|
54
|
+
export interface BorrowAssetEvent {
|
|
55
|
+
borrower: string;
|
|
56
|
+
denom: string;
|
|
57
|
+
amountBorrowed: string;
|
|
58
|
+
healthFactor: string;
|
|
59
|
+
}
|
|
60
|
+
export interface RepayAssetEvent {
|
|
61
|
+
repayer: string;
|
|
62
|
+
debtor: string;
|
|
63
|
+
denom: string;
|
|
64
|
+
amountRepaid: string;
|
|
65
|
+
healthFactor: string;
|
|
66
|
+
}
|
|
67
|
+
export interface LockCollateralEvent {
|
|
68
|
+
locker: string;
|
|
69
|
+
cdpDenom: string;
|
|
70
|
+
amountLocked: string;
|
|
71
|
+
healthFactor: string;
|
|
72
|
+
}
|
|
73
|
+
export interface UnlockCollateralEvent {
|
|
74
|
+
unlocker: string;
|
|
75
|
+
cdpDenom: string;
|
|
76
|
+
amountUnlocked: string;
|
|
77
|
+
healthFactor: string;
|
|
78
|
+
}
|
|
79
|
+
export interface UpdateDebtInfoEvent {
|
|
80
|
+
debtInfo?: DebtInfo;
|
|
81
|
+
type: string;
|
|
82
|
+
}
|
|
83
|
+
export interface UpdateStablecoinDebtInfoEvent {
|
|
84
|
+
stablecoinDebtInfo?: StablecoinDebtInfo;
|
|
85
|
+
type: string;
|
|
86
|
+
}
|
|
87
|
+
export interface ReturnStablecoinEvent {
|
|
88
|
+
repayer: string;
|
|
89
|
+
debtor: string;
|
|
90
|
+
interestDenom: string;
|
|
91
|
+
interestRepaid: string;
|
|
92
|
+
principalRepaid: string;
|
|
93
|
+
healthFactor: string;
|
|
94
|
+
}
|
|
95
|
+
export interface LiquidateCollateralEvent {
|
|
96
|
+
liquidator: string;
|
|
97
|
+
debtor: string;
|
|
98
|
+
collateralDenom: string;
|
|
99
|
+
collateralAmountLiquidated: string;
|
|
100
|
+
collateralAmountLiquidator: string;
|
|
101
|
+
collateralAmountFee: string;
|
|
102
|
+
liquidationPrice: string;
|
|
103
|
+
marketPrice: string;
|
|
104
|
+
discount: string;
|
|
105
|
+
debtDenom: string;
|
|
13
106
|
debtAmount: string;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
107
|
+
}
|
|
108
|
+
export declare const NewRateStrategyParamsEvent: {
|
|
109
|
+
encode(message: NewRateStrategyParamsEvent, writer?: _m0.Writer): _m0.Writer;
|
|
110
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): NewRateStrategyParamsEvent;
|
|
111
|
+
fromJSON(object: any): NewRateStrategyParamsEvent;
|
|
112
|
+
toJSON(message: NewRateStrategyParamsEvent): unknown;
|
|
113
|
+
fromPartial(object: DeepPartial<NewRateStrategyParamsEvent>): NewRateStrategyParamsEvent;
|
|
114
|
+
};
|
|
115
|
+
export declare const UpdateRateStrategyParamsEvent: {
|
|
116
|
+
encode(message: UpdateRateStrategyParamsEvent, writer?: _m0.Writer): _m0.Writer;
|
|
117
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): UpdateRateStrategyParamsEvent;
|
|
118
|
+
fromJSON(object: any): UpdateRateStrategyParamsEvent;
|
|
119
|
+
toJSON(message: UpdateRateStrategyParamsEvent): unknown;
|
|
120
|
+
fromPartial(object: DeepPartial<UpdateRateStrategyParamsEvent>): UpdateRateStrategyParamsEvent;
|
|
121
|
+
};
|
|
122
|
+
export declare const RemoveRateStrategyParamsEvent: {
|
|
123
|
+
encode(message: RemoveRateStrategyParamsEvent, writer?: _m0.Writer): _m0.Writer;
|
|
124
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): RemoveRateStrategyParamsEvent;
|
|
125
|
+
fromJSON(object: any): RemoveRateStrategyParamsEvent;
|
|
126
|
+
toJSON(message: RemoveRateStrategyParamsEvent): unknown;
|
|
127
|
+
fromPartial(object: DeepPartial<RemoveRateStrategyParamsEvent>): RemoveRateStrategyParamsEvent;
|
|
128
|
+
};
|
|
129
|
+
export declare const NewAssetParamsEvent: {
|
|
130
|
+
encode(message: NewAssetParamsEvent, writer?: _m0.Writer): _m0.Writer;
|
|
131
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): NewAssetParamsEvent;
|
|
132
|
+
fromJSON(object: any): NewAssetParamsEvent;
|
|
133
|
+
toJSON(message: NewAssetParamsEvent): unknown;
|
|
134
|
+
fromPartial(object: DeepPartial<NewAssetParamsEvent>): NewAssetParamsEvent;
|
|
135
|
+
};
|
|
136
|
+
export declare const UpdateAssetParamsEvent: {
|
|
137
|
+
encode(message: UpdateAssetParamsEvent, writer?: _m0.Writer): _m0.Writer;
|
|
138
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): UpdateAssetParamsEvent;
|
|
139
|
+
fromJSON(object: any): UpdateAssetParamsEvent;
|
|
140
|
+
toJSON(message: UpdateAssetParamsEvent): unknown;
|
|
141
|
+
fromPartial(object: DeepPartial<UpdateAssetParamsEvent>): UpdateAssetParamsEvent;
|
|
142
|
+
};
|
|
143
|
+
export declare const SetInterestFeeEvent: {
|
|
144
|
+
encode(message: SetInterestFeeEvent, writer?: _m0.Writer): _m0.Writer;
|
|
145
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): SetInterestFeeEvent;
|
|
146
|
+
fromJSON(object: any): SetInterestFeeEvent;
|
|
147
|
+
toJSON(message: SetInterestFeeEvent): unknown;
|
|
148
|
+
fromPartial(object: DeepPartial<SetInterestFeeEvent>): SetInterestFeeEvent;
|
|
149
|
+
};
|
|
150
|
+
export declare const SetLiquidationFeeEvent: {
|
|
151
|
+
encode(message: SetLiquidationFeeEvent, writer?: _m0.Writer): _m0.Writer;
|
|
152
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): SetLiquidationFeeEvent;
|
|
153
|
+
fromJSON(object: any): SetLiquidationFeeEvent;
|
|
154
|
+
toJSON(message: SetLiquidationFeeEvent): unknown;
|
|
155
|
+
fromPartial(object: DeepPartial<SetLiquidationFeeEvent>): SetLiquidationFeeEvent;
|
|
156
|
+
};
|
|
157
|
+
export declare const SetStablecoinInterestRateEvent: {
|
|
158
|
+
encode(message: SetStablecoinInterestRateEvent, writer?: _m0.Writer): _m0.Writer;
|
|
159
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): SetStablecoinInterestRateEvent;
|
|
160
|
+
fromJSON(object: any): SetStablecoinInterestRateEvent;
|
|
161
|
+
toJSON(message: SetStablecoinInterestRateEvent): unknown;
|
|
162
|
+
fromPartial(object: DeepPartial<SetStablecoinInterestRateEvent>): SetStablecoinInterestRateEvent;
|
|
163
|
+
};
|
|
164
|
+
export declare const SupplyAssetEvent: {
|
|
165
|
+
encode(message: SupplyAssetEvent, writer?: _m0.Writer): _m0.Writer;
|
|
166
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): SupplyAssetEvent;
|
|
167
|
+
fromJSON(object: any): SupplyAssetEvent;
|
|
168
|
+
toJSON(message: SupplyAssetEvent): unknown;
|
|
169
|
+
fromPartial(object: DeepPartial<SupplyAssetEvent>): SupplyAssetEvent;
|
|
170
|
+
};
|
|
171
|
+
export declare const WithdrawAssetEvent: {
|
|
172
|
+
encode(message: WithdrawAssetEvent, writer?: _m0.Writer): _m0.Writer;
|
|
173
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): WithdrawAssetEvent;
|
|
174
|
+
fromJSON(object: any): WithdrawAssetEvent;
|
|
175
|
+
toJSON(message: WithdrawAssetEvent): unknown;
|
|
176
|
+
fromPartial(object: DeepPartial<WithdrawAssetEvent>): WithdrawAssetEvent;
|
|
177
|
+
};
|
|
178
|
+
export declare const BorrowAssetEvent: {
|
|
179
|
+
encode(message: BorrowAssetEvent, writer?: _m0.Writer): _m0.Writer;
|
|
180
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): BorrowAssetEvent;
|
|
181
|
+
fromJSON(object: any): BorrowAssetEvent;
|
|
182
|
+
toJSON(message: BorrowAssetEvent): unknown;
|
|
183
|
+
fromPartial(object: DeepPartial<BorrowAssetEvent>): BorrowAssetEvent;
|
|
184
|
+
};
|
|
185
|
+
export declare const RepayAssetEvent: {
|
|
186
|
+
encode(message: RepayAssetEvent, writer?: _m0.Writer): _m0.Writer;
|
|
187
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): RepayAssetEvent;
|
|
188
|
+
fromJSON(object: any): RepayAssetEvent;
|
|
189
|
+
toJSON(message: RepayAssetEvent): unknown;
|
|
190
|
+
fromPartial(object: DeepPartial<RepayAssetEvent>): RepayAssetEvent;
|
|
191
|
+
};
|
|
192
|
+
export declare const LockCollateralEvent: {
|
|
193
|
+
encode(message: LockCollateralEvent, writer?: _m0.Writer): _m0.Writer;
|
|
194
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): LockCollateralEvent;
|
|
195
|
+
fromJSON(object: any): LockCollateralEvent;
|
|
196
|
+
toJSON(message: LockCollateralEvent): unknown;
|
|
197
|
+
fromPartial(object: DeepPartial<LockCollateralEvent>): LockCollateralEvent;
|
|
198
|
+
};
|
|
199
|
+
export declare const UnlockCollateralEvent: {
|
|
200
|
+
encode(message: UnlockCollateralEvent, writer?: _m0.Writer): _m0.Writer;
|
|
201
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): UnlockCollateralEvent;
|
|
202
|
+
fromJSON(object: any): UnlockCollateralEvent;
|
|
203
|
+
toJSON(message: UnlockCollateralEvent): unknown;
|
|
204
|
+
fromPartial(object: DeepPartial<UnlockCollateralEvent>): UnlockCollateralEvent;
|
|
205
|
+
};
|
|
206
|
+
export declare const UpdateDebtInfoEvent: {
|
|
207
|
+
encode(message: UpdateDebtInfoEvent, writer?: _m0.Writer): _m0.Writer;
|
|
208
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): UpdateDebtInfoEvent;
|
|
209
|
+
fromJSON(object: any): UpdateDebtInfoEvent;
|
|
210
|
+
toJSON(message: UpdateDebtInfoEvent): unknown;
|
|
211
|
+
fromPartial(object: DeepPartial<UpdateDebtInfoEvent>): UpdateDebtInfoEvent;
|
|
212
|
+
};
|
|
213
|
+
export declare const UpdateStablecoinDebtInfoEvent: {
|
|
214
|
+
encode(message: UpdateStablecoinDebtInfoEvent, writer?: _m0.Writer): _m0.Writer;
|
|
215
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): UpdateStablecoinDebtInfoEvent;
|
|
216
|
+
fromJSON(object: any): UpdateStablecoinDebtInfoEvent;
|
|
217
|
+
toJSON(message: UpdateStablecoinDebtInfoEvent): unknown;
|
|
218
|
+
fromPartial(object: DeepPartial<UpdateStablecoinDebtInfoEvent>): UpdateStablecoinDebtInfoEvent;
|
|
219
|
+
};
|
|
220
|
+
export declare const ReturnStablecoinEvent: {
|
|
221
|
+
encode(message: ReturnStablecoinEvent, writer?: _m0.Writer): _m0.Writer;
|
|
222
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): ReturnStablecoinEvent;
|
|
223
|
+
fromJSON(object: any): ReturnStablecoinEvent;
|
|
224
|
+
toJSON(message: ReturnStablecoinEvent): unknown;
|
|
225
|
+
fromPartial(object: DeepPartial<ReturnStablecoinEvent>): ReturnStablecoinEvent;
|
|
226
|
+
};
|
|
227
|
+
export declare const LiquidateCollateralEvent: {
|
|
228
|
+
encode(message: LiquidateCollateralEvent, writer?: _m0.Writer): _m0.Writer;
|
|
229
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): LiquidateCollateralEvent;
|
|
230
|
+
fromJSON(object: any): LiquidateCollateralEvent;
|
|
231
|
+
toJSON(message: LiquidateCollateralEvent): unknown;
|
|
232
|
+
fromPartial(object: DeepPartial<LiquidateCollateralEvent>): LiquidateCollateralEvent;
|
|
29
233
|
};
|
|
30
234
|
declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
31
235
|
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 {} ? {
|