carbon-js-sdk 0.2.17 → 0.2.18-dev.0
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/CarbonSDK.d.ts +13 -1
- package/lib/CarbonSDK.js +31 -2
- package/lib/clients/CarbonQueryClient.js +2 -2
- package/lib/clients/ETHClient.d.ts +1 -1
- package/lib/clients/ETHClient.js +15 -15
- package/lib/clients/HydrogenClient.js +1 -1
- package/lib/clients/N3Client.js +3 -2
- package/lib/clients/NEOClient.d.ts +1 -1
- package/lib/clients/NEOClient.js +7 -7
- package/lib/clients/TokenClient.d.ts +5 -0
- package/lib/clients/TokenClient.js +38 -10
- package/lib/clients/ZILClient.d.ts +1 -1
- 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/event.d.ts +389 -22
- package/lib/codec/cdp/event.js +2494 -83
- package/lib/codec/cdp/genesis.d.ts +97 -4
- package/lib/codec/cdp/genesis.js +648 -23
- package/lib/codec/cdp/query.d.ts +439 -89
- package/lib/codec/cdp/query.js +1995 -177
- package/lib/codec/cdp/tx.d.ts +760 -96
- package/lib/codec/cdp/tx.js +3645 -235
- 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 -2
- package/lib/codec/coin/query.js +2 -2
- 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/genesis.d.ts +1 -1
- package/lib/codec/cosmos/authz/v1beta1/genesis.js +1 -1
- 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 +89 -18
- package/lib/codec/index.js +463 -180
- 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/liquiditypool.d.ts +3 -0
- package/lib/codec/liquiditypool/liquiditypool.js +44 -1
- package/lib/codec/liquiditypool/proposal.d.ts +1 -1
- package/lib/codec/liquiditypool/proposal.js +1 -1
- package/lib/codec/liquiditypool/query.d.ts +39 -2
- package/lib/codec/liquiditypool/query.js +195 -3
- package/lib/codec/liquiditypool/tx.d.ts +3 -1
- package/lib/codec/liquiditypool/tx.js +35 -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 +1 -1
- package/lib/codec/market/genesis.js +1 -1
- 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/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 +4 -1
- package/lib/codec/oracle/genesis.js +34 -3
- 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 +56 -1
- package/lib/codec/pricing/event.js +298 -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 +14 -0
- package/lib/codec/pricing/pricing.js +103 -1
- package/lib/codec/pricing/query.d.ts +68 -1
- package/lib/codec/pricing/query.js +321 -2
- package/lib/codec/pricing/tx.d.ts +96 -0
- package/lib/codec/pricing/tx.js +399 -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/constant/token.d.ts +4 -0
- package/lib/constant/token.js +5 -1
- package/lib/modules/admin.d.ts +114 -7
- package/lib/modules/admin.js +275 -53
- package/lib/modules/cdp.d.ts +152 -13
- package/lib/modules/cdp.js +800 -20
- package/lib/modules/gov.js +14 -14
- package/lib/modules/liquiditypool.d.ts +3 -0
- package/lib/modules/liquiditypool.js +3 -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 +91 -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 +135 -24
- 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 +9 -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.d.ts +1 -0
- package/lib/util/address.js +21 -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.d.ts +1 -0
- package/lib/util/number.js +7 -6
- package/lib/util/tx.d.ts +74 -10
- package/lib/wallet/CarbonSigner.js +2 -2
- package/lib/wallet/CarbonSigningClient.js +8 -8
- package/lib/wallet/CarbonWallet.js +6 -7
- package/lib/websocket/channel.js +115 -21
- package/lib/websocket/connector.js +3 -3
- package/lib/websocket/models.d.ts +156 -0
- package/lib/websocket/types.d.ts +87 -3
- package/lib/websocket/types.js +31 -0
- package/package.json +1 -1
package/lib/codec/cdp/tx.d.ts
CHANGED
|
@@ -1,129 +1,793 @@
|
|
|
1
1
|
import Long from "long";
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
+
import { RateStrategyParams } from "./rate_strategy_params";
|
|
4
|
+
import { AssetParams } from "./asset_params";
|
|
5
|
+
import { CreateRewardSchemeParams, UpdateRewardSchemeParams } from "./reward_scheme";
|
|
3
6
|
export declare const protobufPackage = "Switcheo.carbon.cdp";
|
|
4
|
-
export interface
|
|
7
|
+
export interface MsgAddRateStrategy {
|
|
5
8
|
creator: string;
|
|
6
|
-
|
|
9
|
+
rateStrategyParams?: RateStrategyParams;
|
|
10
|
+
}
|
|
11
|
+
export interface MsgAddRateStrategyResponse {
|
|
12
|
+
rateStrategyParams?: RateStrategyParams;
|
|
13
|
+
}
|
|
14
|
+
export interface MsgUpdateRateStrategy {
|
|
15
|
+
creator: string;
|
|
16
|
+
rateStrategyParams?: RateStrategyParams;
|
|
17
|
+
}
|
|
18
|
+
export interface MsgUpdateRateStrategyResponse {
|
|
19
|
+
rateStrategyParams?: RateStrategyParams;
|
|
20
|
+
}
|
|
21
|
+
export interface MsgRemoveRateStrategy {
|
|
22
|
+
creator: string;
|
|
23
|
+
name: string;
|
|
24
|
+
}
|
|
25
|
+
export interface MsgRemoveRateStrategyResponse {
|
|
26
|
+
name: string;
|
|
27
|
+
}
|
|
28
|
+
export interface MsgAddAsset {
|
|
29
|
+
creator: string;
|
|
30
|
+
assetParams?: AssetParams;
|
|
31
|
+
}
|
|
32
|
+
export interface MsgAddAssetResponse {
|
|
33
|
+
assetParams?: AssetParams;
|
|
34
|
+
}
|
|
35
|
+
export interface MsgUpdateAsset {
|
|
36
|
+
creator: string;
|
|
37
|
+
assetParams?: AssetParams;
|
|
38
|
+
}
|
|
39
|
+
export interface MsgUpdateAssetResponse {
|
|
40
|
+
assetParams?: AssetParams;
|
|
41
|
+
}
|
|
42
|
+
export interface MsgSupplyAsset {
|
|
43
|
+
creator: string;
|
|
44
|
+
denom: string;
|
|
45
|
+
amount: string;
|
|
46
|
+
}
|
|
47
|
+
export interface MsgSupplyAssetResponse {
|
|
48
|
+
}
|
|
49
|
+
export interface MsgWithdrawAsset {
|
|
50
|
+
creator: string;
|
|
51
|
+
cdpDenom: string;
|
|
7
52
|
amount: string;
|
|
8
53
|
}
|
|
9
|
-
export interface
|
|
54
|
+
export interface MsgWithdrawAssetResponse {
|
|
10
55
|
}
|
|
11
|
-
export interface
|
|
56
|
+
export interface MsgLockCollateral {
|
|
12
57
|
creator: string;
|
|
13
|
-
|
|
58
|
+
cdpDenom: string;
|
|
14
59
|
amount: string;
|
|
15
60
|
}
|
|
16
|
-
export interface
|
|
61
|
+
export interface MsgLockCollateralResponse {
|
|
17
62
|
}
|
|
18
|
-
export interface
|
|
63
|
+
export interface MsgUnlockCollateral {
|
|
19
64
|
creator: string;
|
|
20
|
-
|
|
65
|
+
cdpDenom: string;
|
|
21
66
|
amount: string;
|
|
22
67
|
}
|
|
23
|
-
export interface
|
|
68
|
+
export interface MsgUnlockCollateralResponse {
|
|
24
69
|
}
|
|
25
|
-
export interface
|
|
70
|
+
export interface MsgBorrowAsset {
|
|
26
71
|
creator: string;
|
|
27
|
-
|
|
72
|
+
denom: string;
|
|
28
73
|
amount: string;
|
|
29
74
|
}
|
|
30
|
-
export interface
|
|
75
|
+
export interface MsgBorrowAssetResponse {
|
|
31
76
|
}
|
|
32
|
-
export interface
|
|
77
|
+
export interface MsgRepayAsset {
|
|
33
78
|
creator: string;
|
|
79
|
+
denom: string;
|
|
80
|
+
amount: string;
|
|
81
|
+
}
|
|
82
|
+
export interface MsgRepayAssetResponse {
|
|
83
|
+
}
|
|
84
|
+
export interface MsgSupplyAssetAndLockCollateral {
|
|
85
|
+
creator: string;
|
|
86
|
+
denom: string;
|
|
87
|
+
supplyAmount: string;
|
|
88
|
+
lockAmount: string;
|
|
89
|
+
}
|
|
90
|
+
export interface MsgSupplyAssetAndLockCollateralResponse {
|
|
91
|
+
}
|
|
92
|
+
export interface MsgUnlockCollateralAndWithdrawAsset {
|
|
93
|
+
creator: string;
|
|
94
|
+
cdpDenom: string;
|
|
95
|
+
unlockAmount: string;
|
|
96
|
+
withdrawAmount: string;
|
|
97
|
+
}
|
|
98
|
+
export interface MsgUnlockCollateralAndWithdrawAssetResponse {
|
|
99
|
+
}
|
|
100
|
+
export interface MsgLiquidateCollateral {
|
|
101
|
+
creator: string;
|
|
102
|
+
debtor: string;
|
|
34
103
|
collateralDenom: string;
|
|
104
|
+
minCollateralAmount: string;
|
|
105
|
+
debtDenom: string;
|
|
106
|
+
debtAmount: string;
|
|
107
|
+
}
|
|
108
|
+
export interface MsgLiquidateCollateralResponse {
|
|
109
|
+
}
|
|
110
|
+
export interface MsgSetLiquidationFee {
|
|
111
|
+
creator: string;
|
|
112
|
+
liquidationFee: string;
|
|
113
|
+
}
|
|
114
|
+
export interface MsgSetLiquidationFeeResponse {
|
|
115
|
+
}
|
|
116
|
+
export interface MsgSetInterestFee {
|
|
117
|
+
creator: string;
|
|
118
|
+
interestFee: string;
|
|
119
|
+
}
|
|
120
|
+
export interface MsgSetInterestFeeResponse {
|
|
121
|
+
}
|
|
122
|
+
export interface MsgRepayAssetWithCdpTokens {
|
|
123
|
+
creator: string;
|
|
124
|
+
debtor: string;
|
|
35
125
|
debtDenom: string;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
export
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
export
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}
|
|
82
|
-
export
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
126
|
+
cdpDenom: string;
|
|
127
|
+
cdpAmount: string;
|
|
128
|
+
}
|
|
129
|
+
export interface MsgRepayAssetWithCdpTokensResponse {
|
|
130
|
+
}
|
|
131
|
+
export interface MsgRepayAssetWithCollateral {
|
|
132
|
+
creator: string;
|
|
133
|
+
debtor: string;
|
|
134
|
+
debtDenom: string;
|
|
135
|
+
cdpDenom: string;
|
|
136
|
+
cdpAmount: string;
|
|
137
|
+
}
|
|
138
|
+
export interface MsgRepayAssetWithCollateralResponse {
|
|
139
|
+
}
|
|
140
|
+
export interface MsgSetStablecoinInterestRate {
|
|
141
|
+
creator: string;
|
|
142
|
+
stablecoinInterestRate: string;
|
|
143
|
+
}
|
|
144
|
+
export interface MsgSetStablecoinInterestRateResponse {
|
|
145
|
+
}
|
|
146
|
+
export interface MsgSetStablecoinMintCap {
|
|
147
|
+
creator: string;
|
|
148
|
+
stablecoinMintCap: string;
|
|
149
|
+
}
|
|
150
|
+
export interface MsgSetStablecoinMintCapResponse {
|
|
151
|
+
}
|
|
152
|
+
export interface MsgMintStablecoin {
|
|
153
|
+
creator: string;
|
|
154
|
+
amount: string;
|
|
155
|
+
}
|
|
156
|
+
export interface MsgMintStablecoinResponse {
|
|
157
|
+
}
|
|
158
|
+
export interface MsgReturnStablecoin {
|
|
159
|
+
creator: string;
|
|
160
|
+
principalAmount: string;
|
|
161
|
+
interestDenom: string;
|
|
162
|
+
interestAmount: string;
|
|
163
|
+
}
|
|
164
|
+
export interface MsgReturnStablecoinResponse {
|
|
165
|
+
}
|
|
166
|
+
export interface MsgSetCompleteLiquidationThreshold {
|
|
167
|
+
creator: string;
|
|
168
|
+
completeLiquidationThreshold: string;
|
|
169
|
+
}
|
|
170
|
+
export interface MsgSetCompleteLiquidationThresholdResponse {
|
|
171
|
+
}
|
|
172
|
+
export interface MsgSetMinimumCloseFactor {
|
|
173
|
+
creator: string;
|
|
174
|
+
minimumCloseFactor: string;
|
|
175
|
+
}
|
|
176
|
+
export interface MsgSetMinimumCloseFactorResponse {
|
|
177
|
+
}
|
|
178
|
+
export interface MsgSetSmallLiquidationSize {
|
|
179
|
+
creator: string;
|
|
180
|
+
smallLiquidationSize: string;
|
|
181
|
+
}
|
|
182
|
+
export interface MsgSetSmallLiquidationSizeResponse {
|
|
183
|
+
}
|
|
184
|
+
export interface MsgLiquidateCollateralWithCdpTokens {
|
|
185
|
+
creator: string;
|
|
186
|
+
debtor: string;
|
|
187
|
+
collateralDenom: string;
|
|
188
|
+
minCollateralAmount: string;
|
|
189
|
+
debtDenom: string;
|
|
190
|
+
debtAmount: string;
|
|
191
|
+
debtCollateralDenom: string;
|
|
192
|
+
debtCollateralAmount: string;
|
|
193
|
+
}
|
|
194
|
+
export interface MsgLiquidateCollateralWithCdpTokensResponse {
|
|
195
|
+
}
|
|
196
|
+
export interface MsgLiquidateCollateralWithCollateral {
|
|
197
|
+
creator: string;
|
|
198
|
+
debtor: string;
|
|
199
|
+
collateralDenom: string;
|
|
200
|
+
minCollateralAmount: string;
|
|
201
|
+
debtDenom: string;
|
|
202
|
+
debtAmount: string;
|
|
203
|
+
debtCollateralDenom: string;
|
|
204
|
+
debtCollateralAmount: string;
|
|
205
|
+
}
|
|
206
|
+
export interface MsgLiquidateCollateralWithCollateralResponse {
|
|
207
|
+
}
|
|
208
|
+
export interface MsgLiquidateCollateralWithStablecoin {
|
|
209
|
+
creator: string;
|
|
210
|
+
debtor: string;
|
|
211
|
+
collateralDenom: string;
|
|
212
|
+
minCollateralAmount: string;
|
|
213
|
+
debtDenom: string;
|
|
214
|
+
debtAmount: string;
|
|
215
|
+
interestDenom: string;
|
|
216
|
+
interestAmount: string;
|
|
217
|
+
}
|
|
218
|
+
export interface MsgLiquidateCollateralWithStablecoinResponse {
|
|
219
|
+
}
|
|
220
|
+
export interface MsgCreateRewardScheme {
|
|
221
|
+
creator: string;
|
|
222
|
+
createRewardSchemeParams?: CreateRewardSchemeParams;
|
|
223
|
+
}
|
|
224
|
+
export interface MsgCreateRewardSchemeResponse {
|
|
225
|
+
id: Long;
|
|
226
|
+
rewardDenom: string;
|
|
227
|
+
assetDenom: string;
|
|
228
|
+
rewardType: string;
|
|
229
|
+
rewardAmountPerSecond: string;
|
|
230
|
+
startTime?: Date;
|
|
231
|
+
endTime?: Date;
|
|
232
|
+
}
|
|
233
|
+
export interface MsgUpdateRewardScheme {
|
|
234
|
+
updator: string;
|
|
235
|
+
updateRewardSchemeParams?: UpdateRewardSchemeParams;
|
|
236
|
+
}
|
|
237
|
+
export interface MsgUpdateRewardSchemeResponse {
|
|
238
|
+
}
|
|
239
|
+
export interface MsgClaimRewards {
|
|
240
|
+
creator: string;
|
|
241
|
+
}
|
|
242
|
+
export interface MsgClaimRewardsResponse {
|
|
243
|
+
}
|
|
244
|
+
export interface MsgSetStalePriceGracePeriod {
|
|
245
|
+
creator: string;
|
|
246
|
+
stalePriceGracePeriod: string;
|
|
247
|
+
}
|
|
248
|
+
export interface MsgSetStalePriceGracePeriodResponse {
|
|
249
|
+
}
|
|
250
|
+
export interface MsgSetCdpPaused {
|
|
251
|
+
creator: string;
|
|
252
|
+
cdpPaused: boolean;
|
|
253
|
+
}
|
|
254
|
+
export interface MsgSetCdpPausedResponse {
|
|
255
|
+
}
|
|
256
|
+
export declare const MsgAddRateStrategy: {
|
|
257
|
+
encode(message: MsgAddRateStrategy, writer?: _m0.Writer): _m0.Writer;
|
|
258
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgAddRateStrategy;
|
|
259
|
+
fromJSON(object: any): MsgAddRateStrategy;
|
|
260
|
+
toJSON(message: MsgAddRateStrategy): unknown;
|
|
261
|
+
fromPartial(object: DeepPartial<MsgAddRateStrategy>): MsgAddRateStrategy;
|
|
262
|
+
};
|
|
263
|
+
export declare const MsgAddRateStrategyResponse: {
|
|
264
|
+
encode(message: MsgAddRateStrategyResponse, writer?: _m0.Writer): _m0.Writer;
|
|
265
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgAddRateStrategyResponse;
|
|
266
|
+
fromJSON(object: any): MsgAddRateStrategyResponse;
|
|
267
|
+
toJSON(message: MsgAddRateStrategyResponse): unknown;
|
|
268
|
+
fromPartial(object: DeepPartial<MsgAddRateStrategyResponse>): MsgAddRateStrategyResponse;
|
|
269
|
+
};
|
|
270
|
+
export declare const MsgUpdateRateStrategy: {
|
|
271
|
+
encode(message: MsgUpdateRateStrategy, writer?: _m0.Writer): _m0.Writer;
|
|
272
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgUpdateRateStrategy;
|
|
273
|
+
fromJSON(object: any): MsgUpdateRateStrategy;
|
|
274
|
+
toJSON(message: MsgUpdateRateStrategy): unknown;
|
|
275
|
+
fromPartial(object: DeepPartial<MsgUpdateRateStrategy>): MsgUpdateRateStrategy;
|
|
276
|
+
};
|
|
277
|
+
export declare const MsgUpdateRateStrategyResponse: {
|
|
278
|
+
encode(message: MsgUpdateRateStrategyResponse, writer?: _m0.Writer): _m0.Writer;
|
|
279
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgUpdateRateStrategyResponse;
|
|
280
|
+
fromJSON(object: any): MsgUpdateRateStrategyResponse;
|
|
281
|
+
toJSON(message: MsgUpdateRateStrategyResponse): unknown;
|
|
282
|
+
fromPartial(object: DeepPartial<MsgUpdateRateStrategyResponse>): MsgUpdateRateStrategyResponse;
|
|
283
|
+
};
|
|
284
|
+
export declare const MsgRemoveRateStrategy: {
|
|
285
|
+
encode(message: MsgRemoveRateStrategy, writer?: _m0.Writer): _m0.Writer;
|
|
286
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgRemoveRateStrategy;
|
|
287
|
+
fromJSON(object: any): MsgRemoveRateStrategy;
|
|
288
|
+
toJSON(message: MsgRemoveRateStrategy): unknown;
|
|
289
|
+
fromPartial(object: DeepPartial<MsgRemoveRateStrategy>): MsgRemoveRateStrategy;
|
|
290
|
+
};
|
|
291
|
+
export declare const MsgRemoveRateStrategyResponse: {
|
|
292
|
+
encode(message: MsgRemoveRateStrategyResponse, writer?: _m0.Writer): _m0.Writer;
|
|
293
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgRemoveRateStrategyResponse;
|
|
294
|
+
fromJSON(object: any): MsgRemoveRateStrategyResponse;
|
|
295
|
+
toJSON(message: MsgRemoveRateStrategyResponse): unknown;
|
|
296
|
+
fromPartial(object: DeepPartial<MsgRemoveRateStrategyResponse>): MsgRemoveRateStrategyResponse;
|
|
297
|
+
};
|
|
298
|
+
export declare const MsgAddAsset: {
|
|
299
|
+
encode(message: MsgAddAsset, writer?: _m0.Writer): _m0.Writer;
|
|
300
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgAddAsset;
|
|
301
|
+
fromJSON(object: any): MsgAddAsset;
|
|
302
|
+
toJSON(message: MsgAddAsset): unknown;
|
|
303
|
+
fromPartial(object: DeepPartial<MsgAddAsset>): MsgAddAsset;
|
|
304
|
+
};
|
|
305
|
+
export declare const MsgAddAssetResponse: {
|
|
306
|
+
encode(message: MsgAddAssetResponse, writer?: _m0.Writer): _m0.Writer;
|
|
307
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgAddAssetResponse;
|
|
308
|
+
fromJSON(object: any): MsgAddAssetResponse;
|
|
309
|
+
toJSON(message: MsgAddAssetResponse): unknown;
|
|
310
|
+
fromPartial(object: DeepPartial<MsgAddAssetResponse>): MsgAddAssetResponse;
|
|
311
|
+
};
|
|
312
|
+
export declare const MsgUpdateAsset: {
|
|
313
|
+
encode(message: MsgUpdateAsset, writer?: _m0.Writer): _m0.Writer;
|
|
314
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgUpdateAsset;
|
|
315
|
+
fromJSON(object: any): MsgUpdateAsset;
|
|
316
|
+
toJSON(message: MsgUpdateAsset): unknown;
|
|
317
|
+
fromPartial(object: DeepPartial<MsgUpdateAsset>): MsgUpdateAsset;
|
|
318
|
+
};
|
|
319
|
+
export declare const MsgUpdateAssetResponse: {
|
|
320
|
+
encode(message: MsgUpdateAssetResponse, writer?: _m0.Writer): _m0.Writer;
|
|
321
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgUpdateAssetResponse;
|
|
322
|
+
fromJSON(object: any): MsgUpdateAssetResponse;
|
|
323
|
+
toJSON(message: MsgUpdateAssetResponse): unknown;
|
|
324
|
+
fromPartial(object: DeepPartial<MsgUpdateAssetResponse>): MsgUpdateAssetResponse;
|
|
325
|
+
};
|
|
326
|
+
export declare const MsgSupplyAsset: {
|
|
327
|
+
encode(message: MsgSupplyAsset, writer?: _m0.Writer): _m0.Writer;
|
|
328
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgSupplyAsset;
|
|
329
|
+
fromJSON(object: any): MsgSupplyAsset;
|
|
330
|
+
toJSON(message: MsgSupplyAsset): unknown;
|
|
331
|
+
fromPartial(object: DeepPartial<MsgSupplyAsset>): MsgSupplyAsset;
|
|
332
|
+
};
|
|
333
|
+
export declare const MsgSupplyAssetResponse: {
|
|
334
|
+
encode(_: MsgSupplyAssetResponse, writer?: _m0.Writer): _m0.Writer;
|
|
335
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgSupplyAssetResponse;
|
|
336
|
+
fromJSON(_: any): MsgSupplyAssetResponse;
|
|
337
|
+
toJSON(_: MsgSupplyAssetResponse): unknown;
|
|
338
|
+
fromPartial(_: DeepPartial<MsgSupplyAssetResponse>): MsgSupplyAssetResponse;
|
|
339
|
+
};
|
|
340
|
+
export declare const MsgWithdrawAsset: {
|
|
341
|
+
encode(message: MsgWithdrawAsset, writer?: _m0.Writer): _m0.Writer;
|
|
342
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgWithdrawAsset;
|
|
343
|
+
fromJSON(object: any): MsgWithdrawAsset;
|
|
344
|
+
toJSON(message: MsgWithdrawAsset): unknown;
|
|
345
|
+
fromPartial(object: DeepPartial<MsgWithdrawAsset>): MsgWithdrawAsset;
|
|
346
|
+
};
|
|
347
|
+
export declare const MsgWithdrawAssetResponse: {
|
|
348
|
+
encode(_: MsgWithdrawAssetResponse, writer?: _m0.Writer): _m0.Writer;
|
|
349
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgWithdrawAssetResponse;
|
|
350
|
+
fromJSON(_: any): MsgWithdrawAssetResponse;
|
|
351
|
+
toJSON(_: MsgWithdrawAssetResponse): unknown;
|
|
352
|
+
fromPartial(_: DeepPartial<MsgWithdrawAssetResponse>): MsgWithdrawAssetResponse;
|
|
353
|
+
};
|
|
354
|
+
export declare const MsgLockCollateral: {
|
|
355
|
+
encode(message: MsgLockCollateral, writer?: _m0.Writer): _m0.Writer;
|
|
356
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgLockCollateral;
|
|
357
|
+
fromJSON(object: any): MsgLockCollateral;
|
|
358
|
+
toJSON(message: MsgLockCollateral): unknown;
|
|
359
|
+
fromPartial(object: DeepPartial<MsgLockCollateral>): MsgLockCollateral;
|
|
360
|
+
};
|
|
361
|
+
export declare const MsgLockCollateralResponse: {
|
|
362
|
+
encode(_: MsgLockCollateralResponse, writer?: _m0.Writer): _m0.Writer;
|
|
363
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgLockCollateralResponse;
|
|
364
|
+
fromJSON(_: any): MsgLockCollateralResponse;
|
|
365
|
+
toJSON(_: MsgLockCollateralResponse): unknown;
|
|
366
|
+
fromPartial(_: DeepPartial<MsgLockCollateralResponse>): MsgLockCollateralResponse;
|
|
367
|
+
};
|
|
368
|
+
export declare const MsgUnlockCollateral: {
|
|
369
|
+
encode(message: MsgUnlockCollateral, writer?: _m0.Writer): _m0.Writer;
|
|
370
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgUnlockCollateral;
|
|
371
|
+
fromJSON(object: any): MsgUnlockCollateral;
|
|
372
|
+
toJSON(message: MsgUnlockCollateral): unknown;
|
|
373
|
+
fromPartial(object: DeepPartial<MsgUnlockCollateral>): MsgUnlockCollateral;
|
|
374
|
+
};
|
|
375
|
+
export declare const MsgUnlockCollateralResponse: {
|
|
376
|
+
encode(_: MsgUnlockCollateralResponse, writer?: _m0.Writer): _m0.Writer;
|
|
377
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgUnlockCollateralResponse;
|
|
378
|
+
fromJSON(_: any): MsgUnlockCollateralResponse;
|
|
379
|
+
toJSON(_: MsgUnlockCollateralResponse): unknown;
|
|
380
|
+
fromPartial(_: DeepPartial<MsgUnlockCollateralResponse>): MsgUnlockCollateralResponse;
|
|
381
|
+
};
|
|
382
|
+
export declare const MsgBorrowAsset: {
|
|
383
|
+
encode(message: MsgBorrowAsset, writer?: _m0.Writer): _m0.Writer;
|
|
384
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgBorrowAsset;
|
|
385
|
+
fromJSON(object: any): MsgBorrowAsset;
|
|
386
|
+
toJSON(message: MsgBorrowAsset): unknown;
|
|
387
|
+
fromPartial(object: DeepPartial<MsgBorrowAsset>): MsgBorrowAsset;
|
|
388
|
+
};
|
|
389
|
+
export declare const MsgBorrowAssetResponse: {
|
|
390
|
+
encode(_: MsgBorrowAssetResponse, writer?: _m0.Writer): _m0.Writer;
|
|
391
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgBorrowAssetResponse;
|
|
392
|
+
fromJSON(_: any): MsgBorrowAssetResponse;
|
|
393
|
+
toJSON(_: MsgBorrowAssetResponse): unknown;
|
|
394
|
+
fromPartial(_: DeepPartial<MsgBorrowAssetResponse>): MsgBorrowAssetResponse;
|
|
395
|
+
};
|
|
396
|
+
export declare const MsgRepayAsset: {
|
|
397
|
+
encode(message: MsgRepayAsset, writer?: _m0.Writer): _m0.Writer;
|
|
398
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgRepayAsset;
|
|
399
|
+
fromJSON(object: any): MsgRepayAsset;
|
|
400
|
+
toJSON(message: MsgRepayAsset): unknown;
|
|
401
|
+
fromPartial(object: DeepPartial<MsgRepayAsset>): MsgRepayAsset;
|
|
402
|
+
};
|
|
403
|
+
export declare const MsgRepayAssetResponse: {
|
|
404
|
+
encode(_: MsgRepayAssetResponse, writer?: _m0.Writer): _m0.Writer;
|
|
405
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgRepayAssetResponse;
|
|
406
|
+
fromJSON(_: any): MsgRepayAssetResponse;
|
|
407
|
+
toJSON(_: MsgRepayAssetResponse): unknown;
|
|
408
|
+
fromPartial(_: DeepPartial<MsgRepayAssetResponse>): MsgRepayAssetResponse;
|
|
409
|
+
};
|
|
410
|
+
export declare const MsgSupplyAssetAndLockCollateral: {
|
|
411
|
+
encode(message: MsgSupplyAssetAndLockCollateral, writer?: _m0.Writer): _m0.Writer;
|
|
412
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgSupplyAssetAndLockCollateral;
|
|
413
|
+
fromJSON(object: any): MsgSupplyAssetAndLockCollateral;
|
|
414
|
+
toJSON(message: MsgSupplyAssetAndLockCollateral): unknown;
|
|
415
|
+
fromPartial(object: DeepPartial<MsgSupplyAssetAndLockCollateral>): MsgSupplyAssetAndLockCollateral;
|
|
416
|
+
};
|
|
417
|
+
export declare const MsgSupplyAssetAndLockCollateralResponse: {
|
|
418
|
+
encode(_: MsgSupplyAssetAndLockCollateralResponse, writer?: _m0.Writer): _m0.Writer;
|
|
419
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgSupplyAssetAndLockCollateralResponse;
|
|
420
|
+
fromJSON(_: any): MsgSupplyAssetAndLockCollateralResponse;
|
|
421
|
+
toJSON(_: MsgSupplyAssetAndLockCollateralResponse): unknown;
|
|
422
|
+
fromPartial(_: DeepPartial<MsgSupplyAssetAndLockCollateralResponse>): MsgSupplyAssetAndLockCollateralResponse;
|
|
423
|
+
};
|
|
424
|
+
export declare const MsgUnlockCollateralAndWithdrawAsset: {
|
|
425
|
+
encode(message: MsgUnlockCollateralAndWithdrawAsset, writer?: _m0.Writer): _m0.Writer;
|
|
426
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgUnlockCollateralAndWithdrawAsset;
|
|
427
|
+
fromJSON(object: any): MsgUnlockCollateralAndWithdrawAsset;
|
|
428
|
+
toJSON(message: MsgUnlockCollateralAndWithdrawAsset): unknown;
|
|
429
|
+
fromPartial(object: DeepPartial<MsgUnlockCollateralAndWithdrawAsset>): MsgUnlockCollateralAndWithdrawAsset;
|
|
430
|
+
};
|
|
431
|
+
export declare const MsgUnlockCollateralAndWithdrawAssetResponse: {
|
|
432
|
+
encode(_: MsgUnlockCollateralAndWithdrawAssetResponse, writer?: _m0.Writer): _m0.Writer;
|
|
433
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgUnlockCollateralAndWithdrawAssetResponse;
|
|
434
|
+
fromJSON(_: any): MsgUnlockCollateralAndWithdrawAssetResponse;
|
|
435
|
+
toJSON(_: MsgUnlockCollateralAndWithdrawAssetResponse): unknown;
|
|
436
|
+
fromPartial(_: DeepPartial<MsgUnlockCollateralAndWithdrawAssetResponse>): MsgUnlockCollateralAndWithdrawAssetResponse;
|
|
437
|
+
};
|
|
438
|
+
export declare const MsgLiquidateCollateral: {
|
|
439
|
+
encode(message: MsgLiquidateCollateral, writer?: _m0.Writer): _m0.Writer;
|
|
440
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgLiquidateCollateral;
|
|
441
|
+
fromJSON(object: any): MsgLiquidateCollateral;
|
|
442
|
+
toJSON(message: MsgLiquidateCollateral): unknown;
|
|
443
|
+
fromPartial(object: DeepPartial<MsgLiquidateCollateral>): MsgLiquidateCollateral;
|
|
444
|
+
};
|
|
445
|
+
export declare const MsgLiquidateCollateralResponse: {
|
|
446
|
+
encode(_: MsgLiquidateCollateralResponse, writer?: _m0.Writer): _m0.Writer;
|
|
447
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgLiquidateCollateralResponse;
|
|
448
|
+
fromJSON(_: any): MsgLiquidateCollateralResponse;
|
|
449
|
+
toJSON(_: MsgLiquidateCollateralResponse): unknown;
|
|
450
|
+
fromPartial(_: DeepPartial<MsgLiquidateCollateralResponse>): MsgLiquidateCollateralResponse;
|
|
451
|
+
};
|
|
452
|
+
export declare const MsgSetLiquidationFee: {
|
|
453
|
+
encode(message: MsgSetLiquidationFee, writer?: _m0.Writer): _m0.Writer;
|
|
454
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgSetLiquidationFee;
|
|
455
|
+
fromJSON(object: any): MsgSetLiquidationFee;
|
|
456
|
+
toJSON(message: MsgSetLiquidationFee): unknown;
|
|
457
|
+
fromPartial(object: DeepPartial<MsgSetLiquidationFee>): MsgSetLiquidationFee;
|
|
458
|
+
};
|
|
459
|
+
export declare const MsgSetLiquidationFeeResponse: {
|
|
460
|
+
encode(_: MsgSetLiquidationFeeResponse, writer?: _m0.Writer): _m0.Writer;
|
|
461
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgSetLiquidationFeeResponse;
|
|
462
|
+
fromJSON(_: any): MsgSetLiquidationFeeResponse;
|
|
463
|
+
toJSON(_: MsgSetLiquidationFeeResponse): unknown;
|
|
464
|
+
fromPartial(_: DeepPartial<MsgSetLiquidationFeeResponse>): MsgSetLiquidationFeeResponse;
|
|
465
|
+
};
|
|
466
|
+
export declare const MsgSetInterestFee: {
|
|
467
|
+
encode(message: MsgSetInterestFee, writer?: _m0.Writer): _m0.Writer;
|
|
468
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgSetInterestFee;
|
|
469
|
+
fromJSON(object: any): MsgSetInterestFee;
|
|
470
|
+
toJSON(message: MsgSetInterestFee): unknown;
|
|
471
|
+
fromPartial(object: DeepPartial<MsgSetInterestFee>): MsgSetInterestFee;
|
|
472
|
+
};
|
|
473
|
+
export declare const MsgSetInterestFeeResponse: {
|
|
474
|
+
encode(_: MsgSetInterestFeeResponse, writer?: _m0.Writer): _m0.Writer;
|
|
475
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgSetInterestFeeResponse;
|
|
476
|
+
fromJSON(_: any): MsgSetInterestFeeResponse;
|
|
477
|
+
toJSON(_: MsgSetInterestFeeResponse): unknown;
|
|
478
|
+
fromPartial(_: DeepPartial<MsgSetInterestFeeResponse>): MsgSetInterestFeeResponse;
|
|
479
|
+
};
|
|
480
|
+
export declare const MsgRepayAssetWithCdpTokens: {
|
|
481
|
+
encode(message: MsgRepayAssetWithCdpTokens, writer?: _m0.Writer): _m0.Writer;
|
|
482
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgRepayAssetWithCdpTokens;
|
|
483
|
+
fromJSON(object: any): MsgRepayAssetWithCdpTokens;
|
|
484
|
+
toJSON(message: MsgRepayAssetWithCdpTokens): unknown;
|
|
485
|
+
fromPartial(object: DeepPartial<MsgRepayAssetWithCdpTokens>): MsgRepayAssetWithCdpTokens;
|
|
486
|
+
};
|
|
487
|
+
export declare const MsgRepayAssetWithCdpTokensResponse: {
|
|
488
|
+
encode(_: MsgRepayAssetWithCdpTokensResponse, writer?: _m0.Writer): _m0.Writer;
|
|
489
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgRepayAssetWithCdpTokensResponse;
|
|
490
|
+
fromJSON(_: any): MsgRepayAssetWithCdpTokensResponse;
|
|
491
|
+
toJSON(_: MsgRepayAssetWithCdpTokensResponse): unknown;
|
|
492
|
+
fromPartial(_: DeepPartial<MsgRepayAssetWithCdpTokensResponse>): MsgRepayAssetWithCdpTokensResponse;
|
|
493
|
+
};
|
|
494
|
+
export declare const MsgRepayAssetWithCollateral: {
|
|
495
|
+
encode(message: MsgRepayAssetWithCollateral, writer?: _m0.Writer): _m0.Writer;
|
|
496
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgRepayAssetWithCollateral;
|
|
497
|
+
fromJSON(object: any): MsgRepayAssetWithCollateral;
|
|
498
|
+
toJSON(message: MsgRepayAssetWithCollateral): unknown;
|
|
499
|
+
fromPartial(object: DeepPartial<MsgRepayAssetWithCollateral>): MsgRepayAssetWithCollateral;
|
|
500
|
+
};
|
|
501
|
+
export declare const MsgRepayAssetWithCollateralResponse: {
|
|
502
|
+
encode(_: MsgRepayAssetWithCollateralResponse, writer?: _m0.Writer): _m0.Writer;
|
|
503
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgRepayAssetWithCollateralResponse;
|
|
504
|
+
fromJSON(_: any): MsgRepayAssetWithCollateralResponse;
|
|
505
|
+
toJSON(_: MsgRepayAssetWithCollateralResponse): unknown;
|
|
506
|
+
fromPartial(_: DeepPartial<MsgRepayAssetWithCollateralResponse>): MsgRepayAssetWithCollateralResponse;
|
|
507
|
+
};
|
|
508
|
+
export declare const MsgSetStablecoinInterestRate: {
|
|
509
|
+
encode(message: MsgSetStablecoinInterestRate, writer?: _m0.Writer): _m0.Writer;
|
|
510
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgSetStablecoinInterestRate;
|
|
511
|
+
fromJSON(object: any): MsgSetStablecoinInterestRate;
|
|
512
|
+
toJSON(message: MsgSetStablecoinInterestRate): unknown;
|
|
513
|
+
fromPartial(object: DeepPartial<MsgSetStablecoinInterestRate>): MsgSetStablecoinInterestRate;
|
|
514
|
+
};
|
|
515
|
+
export declare const MsgSetStablecoinInterestRateResponse: {
|
|
516
|
+
encode(_: MsgSetStablecoinInterestRateResponse, writer?: _m0.Writer): _m0.Writer;
|
|
517
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgSetStablecoinInterestRateResponse;
|
|
518
|
+
fromJSON(_: any): MsgSetStablecoinInterestRateResponse;
|
|
519
|
+
toJSON(_: MsgSetStablecoinInterestRateResponse): unknown;
|
|
520
|
+
fromPartial(_: DeepPartial<MsgSetStablecoinInterestRateResponse>): MsgSetStablecoinInterestRateResponse;
|
|
521
|
+
};
|
|
522
|
+
export declare const MsgSetStablecoinMintCap: {
|
|
523
|
+
encode(message: MsgSetStablecoinMintCap, writer?: _m0.Writer): _m0.Writer;
|
|
524
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgSetStablecoinMintCap;
|
|
525
|
+
fromJSON(object: any): MsgSetStablecoinMintCap;
|
|
526
|
+
toJSON(message: MsgSetStablecoinMintCap): unknown;
|
|
527
|
+
fromPartial(object: DeepPartial<MsgSetStablecoinMintCap>): MsgSetStablecoinMintCap;
|
|
528
|
+
};
|
|
529
|
+
export declare const MsgSetStablecoinMintCapResponse: {
|
|
530
|
+
encode(_: MsgSetStablecoinMintCapResponse, writer?: _m0.Writer): _m0.Writer;
|
|
531
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgSetStablecoinMintCapResponse;
|
|
532
|
+
fromJSON(_: any): MsgSetStablecoinMintCapResponse;
|
|
533
|
+
toJSON(_: MsgSetStablecoinMintCapResponse): unknown;
|
|
534
|
+
fromPartial(_: DeepPartial<MsgSetStablecoinMintCapResponse>): MsgSetStablecoinMintCapResponse;
|
|
535
|
+
};
|
|
536
|
+
export declare const MsgMintStablecoin: {
|
|
537
|
+
encode(message: MsgMintStablecoin, writer?: _m0.Writer): _m0.Writer;
|
|
538
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgMintStablecoin;
|
|
539
|
+
fromJSON(object: any): MsgMintStablecoin;
|
|
540
|
+
toJSON(message: MsgMintStablecoin): unknown;
|
|
541
|
+
fromPartial(object: DeepPartial<MsgMintStablecoin>): MsgMintStablecoin;
|
|
542
|
+
};
|
|
543
|
+
export declare const MsgMintStablecoinResponse: {
|
|
544
|
+
encode(_: MsgMintStablecoinResponse, writer?: _m0.Writer): _m0.Writer;
|
|
545
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgMintStablecoinResponse;
|
|
546
|
+
fromJSON(_: any): MsgMintStablecoinResponse;
|
|
547
|
+
toJSON(_: MsgMintStablecoinResponse): unknown;
|
|
548
|
+
fromPartial(_: DeepPartial<MsgMintStablecoinResponse>): MsgMintStablecoinResponse;
|
|
549
|
+
};
|
|
550
|
+
export declare const MsgReturnStablecoin: {
|
|
551
|
+
encode(message: MsgReturnStablecoin, writer?: _m0.Writer): _m0.Writer;
|
|
552
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgReturnStablecoin;
|
|
553
|
+
fromJSON(object: any): MsgReturnStablecoin;
|
|
554
|
+
toJSON(message: MsgReturnStablecoin): unknown;
|
|
555
|
+
fromPartial(object: DeepPartial<MsgReturnStablecoin>): MsgReturnStablecoin;
|
|
556
|
+
};
|
|
557
|
+
export declare const MsgReturnStablecoinResponse: {
|
|
558
|
+
encode(_: MsgReturnStablecoinResponse, writer?: _m0.Writer): _m0.Writer;
|
|
559
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgReturnStablecoinResponse;
|
|
560
|
+
fromJSON(_: any): MsgReturnStablecoinResponse;
|
|
561
|
+
toJSON(_: MsgReturnStablecoinResponse): unknown;
|
|
562
|
+
fromPartial(_: DeepPartial<MsgReturnStablecoinResponse>): MsgReturnStablecoinResponse;
|
|
563
|
+
};
|
|
564
|
+
export declare const MsgSetCompleteLiquidationThreshold: {
|
|
565
|
+
encode(message: MsgSetCompleteLiquidationThreshold, writer?: _m0.Writer): _m0.Writer;
|
|
566
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgSetCompleteLiquidationThreshold;
|
|
567
|
+
fromJSON(object: any): MsgSetCompleteLiquidationThreshold;
|
|
568
|
+
toJSON(message: MsgSetCompleteLiquidationThreshold): unknown;
|
|
569
|
+
fromPartial(object: DeepPartial<MsgSetCompleteLiquidationThreshold>): MsgSetCompleteLiquidationThreshold;
|
|
570
|
+
};
|
|
571
|
+
export declare const MsgSetCompleteLiquidationThresholdResponse: {
|
|
572
|
+
encode(_: MsgSetCompleteLiquidationThresholdResponse, writer?: _m0.Writer): _m0.Writer;
|
|
573
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgSetCompleteLiquidationThresholdResponse;
|
|
574
|
+
fromJSON(_: any): MsgSetCompleteLiquidationThresholdResponse;
|
|
575
|
+
toJSON(_: MsgSetCompleteLiquidationThresholdResponse): unknown;
|
|
576
|
+
fromPartial(_: DeepPartial<MsgSetCompleteLiquidationThresholdResponse>): MsgSetCompleteLiquidationThresholdResponse;
|
|
577
|
+
};
|
|
578
|
+
export declare const MsgSetMinimumCloseFactor: {
|
|
579
|
+
encode(message: MsgSetMinimumCloseFactor, writer?: _m0.Writer): _m0.Writer;
|
|
580
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgSetMinimumCloseFactor;
|
|
581
|
+
fromJSON(object: any): MsgSetMinimumCloseFactor;
|
|
582
|
+
toJSON(message: MsgSetMinimumCloseFactor): unknown;
|
|
583
|
+
fromPartial(object: DeepPartial<MsgSetMinimumCloseFactor>): MsgSetMinimumCloseFactor;
|
|
584
|
+
};
|
|
585
|
+
export declare const MsgSetMinimumCloseFactorResponse: {
|
|
586
|
+
encode(_: MsgSetMinimumCloseFactorResponse, writer?: _m0.Writer): _m0.Writer;
|
|
587
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgSetMinimumCloseFactorResponse;
|
|
588
|
+
fromJSON(_: any): MsgSetMinimumCloseFactorResponse;
|
|
589
|
+
toJSON(_: MsgSetMinimumCloseFactorResponse): unknown;
|
|
590
|
+
fromPartial(_: DeepPartial<MsgSetMinimumCloseFactorResponse>): MsgSetMinimumCloseFactorResponse;
|
|
591
|
+
};
|
|
592
|
+
export declare const MsgSetSmallLiquidationSize: {
|
|
593
|
+
encode(message: MsgSetSmallLiquidationSize, writer?: _m0.Writer): _m0.Writer;
|
|
594
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgSetSmallLiquidationSize;
|
|
595
|
+
fromJSON(object: any): MsgSetSmallLiquidationSize;
|
|
596
|
+
toJSON(message: MsgSetSmallLiquidationSize): unknown;
|
|
597
|
+
fromPartial(object: DeepPartial<MsgSetSmallLiquidationSize>): MsgSetSmallLiquidationSize;
|
|
598
|
+
};
|
|
599
|
+
export declare const MsgSetSmallLiquidationSizeResponse: {
|
|
600
|
+
encode(_: MsgSetSmallLiquidationSizeResponse, writer?: _m0.Writer): _m0.Writer;
|
|
601
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgSetSmallLiquidationSizeResponse;
|
|
602
|
+
fromJSON(_: any): MsgSetSmallLiquidationSizeResponse;
|
|
603
|
+
toJSON(_: MsgSetSmallLiquidationSizeResponse): unknown;
|
|
604
|
+
fromPartial(_: DeepPartial<MsgSetSmallLiquidationSizeResponse>): MsgSetSmallLiquidationSizeResponse;
|
|
605
|
+
};
|
|
606
|
+
export declare const MsgLiquidateCollateralWithCdpTokens: {
|
|
607
|
+
encode(message: MsgLiquidateCollateralWithCdpTokens, writer?: _m0.Writer): _m0.Writer;
|
|
608
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgLiquidateCollateralWithCdpTokens;
|
|
609
|
+
fromJSON(object: any): MsgLiquidateCollateralWithCdpTokens;
|
|
610
|
+
toJSON(message: MsgLiquidateCollateralWithCdpTokens): unknown;
|
|
611
|
+
fromPartial(object: DeepPartial<MsgLiquidateCollateralWithCdpTokens>): MsgLiquidateCollateralWithCdpTokens;
|
|
612
|
+
};
|
|
613
|
+
export declare const MsgLiquidateCollateralWithCdpTokensResponse: {
|
|
614
|
+
encode(_: MsgLiquidateCollateralWithCdpTokensResponse, writer?: _m0.Writer): _m0.Writer;
|
|
615
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgLiquidateCollateralWithCdpTokensResponse;
|
|
616
|
+
fromJSON(_: any): MsgLiquidateCollateralWithCdpTokensResponse;
|
|
617
|
+
toJSON(_: MsgLiquidateCollateralWithCdpTokensResponse): unknown;
|
|
618
|
+
fromPartial(_: DeepPartial<MsgLiquidateCollateralWithCdpTokensResponse>): MsgLiquidateCollateralWithCdpTokensResponse;
|
|
619
|
+
};
|
|
620
|
+
export declare const MsgLiquidateCollateralWithCollateral: {
|
|
621
|
+
encode(message: MsgLiquidateCollateralWithCollateral, writer?: _m0.Writer): _m0.Writer;
|
|
622
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgLiquidateCollateralWithCollateral;
|
|
623
|
+
fromJSON(object: any): MsgLiquidateCollateralWithCollateral;
|
|
624
|
+
toJSON(message: MsgLiquidateCollateralWithCollateral): unknown;
|
|
625
|
+
fromPartial(object: DeepPartial<MsgLiquidateCollateralWithCollateral>): MsgLiquidateCollateralWithCollateral;
|
|
626
|
+
};
|
|
627
|
+
export declare const MsgLiquidateCollateralWithCollateralResponse: {
|
|
628
|
+
encode(_: MsgLiquidateCollateralWithCollateralResponse, writer?: _m0.Writer): _m0.Writer;
|
|
629
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgLiquidateCollateralWithCollateralResponse;
|
|
630
|
+
fromJSON(_: any): MsgLiquidateCollateralWithCollateralResponse;
|
|
631
|
+
toJSON(_: MsgLiquidateCollateralWithCollateralResponse): unknown;
|
|
632
|
+
fromPartial(_: DeepPartial<MsgLiquidateCollateralWithCollateralResponse>): MsgLiquidateCollateralWithCollateralResponse;
|
|
633
|
+
};
|
|
634
|
+
export declare const MsgLiquidateCollateralWithStablecoin: {
|
|
635
|
+
encode(message: MsgLiquidateCollateralWithStablecoin, writer?: _m0.Writer): _m0.Writer;
|
|
636
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgLiquidateCollateralWithStablecoin;
|
|
637
|
+
fromJSON(object: any): MsgLiquidateCollateralWithStablecoin;
|
|
638
|
+
toJSON(message: MsgLiquidateCollateralWithStablecoin): unknown;
|
|
639
|
+
fromPartial(object: DeepPartial<MsgLiquidateCollateralWithStablecoin>): MsgLiquidateCollateralWithStablecoin;
|
|
640
|
+
};
|
|
641
|
+
export declare const MsgLiquidateCollateralWithStablecoinResponse: {
|
|
642
|
+
encode(_: MsgLiquidateCollateralWithStablecoinResponse, writer?: _m0.Writer): _m0.Writer;
|
|
643
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgLiquidateCollateralWithStablecoinResponse;
|
|
644
|
+
fromJSON(_: any): MsgLiquidateCollateralWithStablecoinResponse;
|
|
645
|
+
toJSON(_: MsgLiquidateCollateralWithStablecoinResponse): unknown;
|
|
646
|
+
fromPartial(_: DeepPartial<MsgLiquidateCollateralWithStablecoinResponse>): MsgLiquidateCollateralWithStablecoinResponse;
|
|
647
|
+
};
|
|
648
|
+
export declare const MsgCreateRewardScheme: {
|
|
649
|
+
encode(message: MsgCreateRewardScheme, writer?: _m0.Writer): _m0.Writer;
|
|
650
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgCreateRewardScheme;
|
|
651
|
+
fromJSON(object: any): MsgCreateRewardScheme;
|
|
652
|
+
toJSON(message: MsgCreateRewardScheme): unknown;
|
|
653
|
+
fromPartial(object: DeepPartial<MsgCreateRewardScheme>): MsgCreateRewardScheme;
|
|
654
|
+
};
|
|
655
|
+
export declare const MsgCreateRewardSchemeResponse: {
|
|
656
|
+
encode(message: MsgCreateRewardSchemeResponse, writer?: _m0.Writer): _m0.Writer;
|
|
657
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgCreateRewardSchemeResponse;
|
|
658
|
+
fromJSON(object: any): MsgCreateRewardSchemeResponse;
|
|
659
|
+
toJSON(message: MsgCreateRewardSchemeResponse): unknown;
|
|
660
|
+
fromPartial(object: DeepPartial<MsgCreateRewardSchemeResponse>): MsgCreateRewardSchemeResponse;
|
|
661
|
+
};
|
|
662
|
+
export declare const MsgUpdateRewardScheme: {
|
|
663
|
+
encode(message: MsgUpdateRewardScheme, writer?: _m0.Writer): _m0.Writer;
|
|
664
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgUpdateRewardScheme;
|
|
665
|
+
fromJSON(object: any): MsgUpdateRewardScheme;
|
|
666
|
+
toJSON(message: MsgUpdateRewardScheme): unknown;
|
|
667
|
+
fromPartial(object: DeepPartial<MsgUpdateRewardScheme>): MsgUpdateRewardScheme;
|
|
668
|
+
};
|
|
669
|
+
export declare const MsgUpdateRewardSchemeResponse: {
|
|
670
|
+
encode(_: MsgUpdateRewardSchemeResponse, writer?: _m0.Writer): _m0.Writer;
|
|
671
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgUpdateRewardSchemeResponse;
|
|
672
|
+
fromJSON(_: any): MsgUpdateRewardSchemeResponse;
|
|
673
|
+
toJSON(_: MsgUpdateRewardSchemeResponse): unknown;
|
|
674
|
+
fromPartial(_: DeepPartial<MsgUpdateRewardSchemeResponse>): MsgUpdateRewardSchemeResponse;
|
|
675
|
+
};
|
|
676
|
+
export declare const MsgClaimRewards: {
|
|
677
|
+
encode(message: MsgClaimRewards, writer?: _m0.Writer): _m0.Writer;
|
|
678
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgClaimRewards;
|
|
679
|
+
fromJSON(object: any): MsgClaimRewards;
|
|
680
|
+
toJSON(message: MsgClaimRewards): unknown;
|
|
681
|
+
fromPartial(object: DeepPartial<MsgClaimRewards>): MsgClaimRewards;
|
|
682
|
+
};
|
|
683
|
+
export declare const MsgClaimRewardsResponse: {
|
|
684
|
+
encode(_: MsgClaimRewardsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
685
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgClaimRewardsResponse;
|
|
686
|
+
fromJSON(_: any): MsgClaimRewardsResponse;
|
|
687
|
+
toJSON(_: MsgClaimRewardsResponse): unknown;
|
|
688
|
+
fromPartial(_: DeepPartial<MsgClaimRewardsResponse>): MsgClaimRewardsResponse;
|
|
689
|
+
};
|
|
690
|
+
export declare const MsgSetStalePriceGracePeriod: {
|
|
691
|
+
encode(message: MsgSetStalePriceGracePeriod, writer?: _m0.Writer): _m0.Writer;
|
|
692
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgSetStalePriceGracePeriod;
|
|
693
|
+
fromJSON(object: any): MsgSetStalePriceGracePeriod;
|
|
694
|
+
toJSON(message: MsgSetStalePriceGracePeriod): unknown;
|
|
695
|
+
fromPartial(object: DeepPartial<MsgSetStalePriceGracePeriod>): MsgSetStalePriceGracePeriod;
|
|
696
|
+
};
|
|
697
|
+
export declare const MsgSetStalePriceGracePeriodResponse: {
|
|
698
|
+
encode(_: MsgSetStalePriceGracePeriodResponse, writer?: _m0.Writer): _m0.Writer;
|
|
699
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgSetStalePriceGracePeriodResponse;
|
|
700
|
+
fromJSON(_: any): MsgSetStalePriceGracePeriodResponse;
|
|
701
|
+
toJSON(_: MsgSetStalePriceGracePeriodResponse): unknown;
|
|
702
|
+
fromPartial(_: DeepPartial<MsgSetStalePriceGracePeriodResponse>): MsgSetStalePriceGracePeriodResponse;
|
|
703
|
+
};
|
|
704
|
+
export declare const MsgSetCdpPaused: {
|
|
705
|
+
encode(message: MsgSetCdpPaused, writer?: _m0.Writer): _m0.Writer;
|
|
706
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgSetCdpPaused;
|
|
707
|
+
fromJSON(object: any): MsgSetCdpPaused;
|
|
708
|
+
toJSON(message: MsgSetCdpPaused): unknown;
|
|
709
|
+
fromPartial(object: DeepPartial<MsgSetCdpPaused>): MsgSetCdpPaused;
|
|
710
|
+
};
|
|
711
|
+
export declare const MsgSetCdpPausedResponse: {
|
|
712
|
+
encode(_: MsgSetCdpPausedResponse, writer?: _m0.Writer): _m0.Writer;
|
|
713
|
+
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgSetCdpPausedResponse;
|
|
714
|
+
fromJSON(_: any): MsgSetCdpPausedResponse;
|
|
715
|
+
toJSON(_: MsgSetCdpPausedResponse): unknown;
|
|
716
|
+
fromPartial(_: DeepPartial<MsgSetCdpPausedResponse>): MsgSetCdpPausedResponse;
|
|
109
717
|
};
|
|
110
718
|
/** Msg defines the Msg service. */
|
|
111
719
|
export interface Msg {
|
|
720
|
+
AddRateStrategy(request: MsgAddRateStrategy): Promise<MsgAddRateStrategyResponse>;
|
|
721
|
+
RemoveRateStrategy(request: MsgRemoveRateStrategy): Promise<MsgRemoveRateStrategyResponse>;
|
|
722
|
+
AddAsset(request: MsgAddAsset): Promise<MsgAddAssetResponse>;
|
|
723
|
+
UpdateRateStrategy(request: MsgUpdateRateStrategy): Promise<MsgUpdateRateStrategyResponse>;
|
|
724
|
+
UpdateAsset(request: MsgUpdateAsset): Promise<MsgUpdateAssetResponse>;
|
|
725
|
+
SupplyAsset(request: MsgSupplyAsset): Promise<MsgSupplyAssetResponse>;
|
|
726
|
+
WithdrawAsset(request: MsgWithdrawAsset): Promise<MsgWithdrawAssetResponse>;
|
|
727
|
+
LockCollateral(request: MsgLockCollateral): Promise<MsgLockCollateralResponse>;
|
|
728
|
+
UnlockCollateral(request: MsgUnlockCollateral): Promise<MsgUnlockCollateralResponse>;
|
|
729
|
+
BorrowAsset(request: MsgBorrowAsset): Promise<MsgBorrowAssetResponse>;
|
|
730
|
+
RepayAsset(request: MsgRepayAsset): Promise<MsgRepayAssetResponse>;
|
|
731
|
+
SupplyAssetAndLockCollateral(request: MsgSupplyAssetAndLockCollateral): Promise<MsgSupplyAssetAndLockCollateralResponse>;
|
|
732
|
+
UnlockCollateralAndWithdrawAsset(request: MsgUnlockCollateralAndWithdrawAsset): Promise<MsgUnlockCollateralAndWithdrawAssetResponse>;
|
|
733
|
+
LiquidateCollateral(request: MsgLiquidateCollateral): Promise<MsgLiquidateCollateralResponse>;
|
|
734
|
+
SetLiquidationFee(request: MsgSetLiquidationFee): Promise<MsgSetLiquidationFeeResponse>;
|
|
735
|
+
SetInterestFee(request: MsgSetInterestFee): Promise<MsgSetInterestFeeResponse>;
|
|
736
|
+
RepayAssetWithCdpTokens(request: MsgRepayAssetWithCdpTokens): Promise<MsgRepayAssetWithCdpTokensResponse>;
|
|
737
|
+
RepayAssetWithCollateral(request: MsgRepayAssetWithCollateral): Promise<MsgRepayAssetWithCollateralResponse>;
|
|
738
|
+
CreateRewardScheme(request: MsgCreateRewardScheme): Promise<MsgCreateRewardSchemeResponse>;
|
|
739
|
+
UpdateRewardScheme(request: MsgUpdateRewardScheme): Promise<MsgUpdateRewardSchemeResponse>;
|
|
740
|
+
ClaimRewards(request: MsgClaimRewards): Promise<MsgClaimRewardsResponse>;
|
|
741
|
+
SetStablecoinInterestRate(request: MsgSetStablecoinInterestRate): Promise<MsgSetStablecoinInterestRateResponse>;
|
|
742
|
+
SetStablecoinMintCap(request: MsgSetStablecoinMintCap): Promise<MsgSetStablecoinMintCapResponse>;
|
|
743
|
+
MintStablecoin(request: MsgMintStablecoin): Promise<MsgMintStablecoinResponse>;
|
|
744
|
+
ReturnStablecoin(request: MsgReturnStablecoin): Promise<MsgReturnStablecoinResponse>;
|
|
745
|
+
SetCompleteLiquidationThreshold(request: MsgSetCompleteLiquidationThreshold): Promise<MsgSetCompleteLiquidationThresholdResponse>;
|
|
746
|
+
SetMinimumCloseFactor(request: MsgSetMinimumCloseFactor): Promise<MsgSetMinimumCloseFactorResponse>;
|
|
747
|
+
SetSmallLiquidationSize(request: MsgSetSmallLiquidationSize): Promise<MsgSetSmallLiquidationSizeResponse>;
|
|
748
|
+
LiquidateCollateralWithCdpTokens(request: MsgLiquidateCollateralWithCdpTokens): Promise<MsgLiquidateCollateralWithCdpTokensResponse>;
|
|
749
|
+
LiquidateCollateralWithCollateral(request: MsgLiquidateCollateralWithCollateral): Promise<MsgLiquidateCollateralWithCollateralResponse>;
|
|
750
|
+
LiquidateCollateralWithStablecoin(request: MsgLiquidateCollateralWithStablecoin): Promise<MsgLiquidateCollateralWithStablecoinResponse>;
|
|
751
|
+
SetStalePriceGracePeriod(request: MsgSetStalePriceGracePeriod): Promise<MsgSetStalePriceGracePeriodResponse>;
|
|
112
752
|
/** this line is used by starport scaffolding # proto/tx/rpc */
|
|
113
|
-
|
|
114
|
-
HandleMsgRemoveCollateral(request: MsgRemoveCollateral): Promise<MsgRemoveCollateralResponse>;
|
|
115
|
-
HandleMsgAddDebt(request: MsgAddDebt): Promise<MsgAddDebtResponse>;
|
|
116
|
-
HandleMsgRemoveDebt(request: MsgRemoveDebt): Promise<MsgRemoveDebtResponse>;
|
|
117
|
-
HandleMsgCreateVaultType(request: MsgCreateVaultType): Promise<MsgCreateVaultTypeResponse>;
|
|
753
|
+
SetCdpPaused(request: MsgSetCdpPaused): Promise<MsgSetCdpPausedResponse>;
|
|
118
754
|
}
|
|
119
755
|
export declare class MsgClientImpl implements Msg {
|
|
120
756
|
private readonly rpc;
|
|
121
757
|
constructor(rpc: Rpc);
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
758
|
+
AddRateStrategy(request: MsgAddRateStrategy): Promise<MsgAddRateStrategyResponse>;
|
|
759
|
+
RemoveRateStrategy(request: MsgRemoveRateStrategy): Promise<MsgRemoveRateStrategyResponse>;
|
|
760
|
+
AddAsset(request: MsgAddAsset): Promise<MsgAddAssetResponse>;
|
|
761
|
+
UpdateRateStrategy(request: MsgUpdateRateStrategy): Promise<MsgUpdateRateStrategyResponse>;
|
|
762
|
+
UpdateAsset(request: MsgUpdateAsset): Promise<MsgUpdateAssetResponse>;
|
|
763
|
+
SupplyAsset(request: MsgSupplyAsset): Promise<MsgSupplyAssetResponse>;
|
|
764
|
+
WithdrawAsset(request: MsgWithdrawAsset): Promise<MsgWithdrawAssetResponse>;
|
|
765
|
+
LockCollateral(request: MsgLockCollateral): Promise<MsgLockCollateralResponse>;
|
|
766
|
+
UnlockCollateral(request: MsgUnlockCollateral): Promise<MsgUnlockCollateralResponse>;
|
|
767
|
+
BorrowAsset(request: MsgBorrowAsset): Promise<MsgBorrowAssetResponse>;
|
|
768
|
+
RepayAsset(request: MsgRepayAsset): Promise<MsgRepayAssetResponse>;
|
|
769
|
+
SupplyAssetAndLockCollateral(request: MsgSupplyAssetAndLockCollateral): Promise<MsgSupplyAssetAndLockCollateralResponse>;
|
|
770
|
+
UnlockCollateralAndWithdrawAsset(request: MsgUnlockCollateralAndWithdrawAsset): Promise<MsgUnlockCollateralAndWithdrawAssetResponse>;
|
|
771
|
+
LiquidateCollateral(request: MsgLiquidateCollateral): Promise<MsgLiquidateCollateralResponse>;
|
|
772
|
+
SetLiquidationFee(request: MsgSetLiquidationFee): Promise<MsgSetLiquidationFeeResponse>;
|
|
773
|
+
SetInterestFee(request: MsgSetInterestFee): Promise<MsgSetInterestFeeResponse>;
|
|
774
|
+
RepayAssetWithCdpTokens(request: MsgRepayAssetWithCdpTokens): Promise<MsgRepayAssetWithCdpTokensResponse>;
|
|
775
|
+
RepayAssetWithCollateral(request: MsgRepayAssetWithCollateral): Promise<MsgRepayAssetWithCollateralResponse>;
|
|
776
|
+
CreateRewardScheme(request: MsgCreateRewardScheme): Promise<MsgCreateRewardSchemeResponse>;
|
|
777
|
+
UpdateRewardScheme(request: MsgUpdateRewardScheme): Promise<MsgUpdateRewardSchemeResponse>;
|
|
778
|
+
ClaimRewards(request: MsgClaimRewards): Promise<MsgClaimRewardsResponse>;
|
|
779
|
+
SetStablecoinInterestRate(request: MsgSetStablecoinInterestRate): Promise<MsgSetStablecoinInterestRateResponse>;
|
|
780
|
+
SetStablecoinMintCap(request: MsgSetStablecoinMintCap): Promise<MsgSetStablecoinMintCapResponse>;
|
|
781
|
+
MintStablecoin(request: MsgMintStablecoin): Promise<MsgMintStablecoinResponse>;
|
|
782
|
+
ReturnStablecoin(request: MsgReturnStablecoin): Promise<MsgReturnStablecoinResponse>;
|
|
783
|
+
SetCompleteLiquidationThreshold(request: MsgSetCompleteLiquidationThreshold): Promise<MsgSetCompleteLiquidationThresholdResponse>;
|
|
784
|
+
SetMinimumCloseFactor(request: MsgSetMinimumCloseFactor): Promise<MsgSetMinimumCloseFactorResponse>;
|
|
785
|
+
SetSmallLiquidationSize(request: MsgSetSmallLiquidationSize): Promise<MsgSetSmallLiquidationSizeResponse>;
|
|
786
|
+
LiquidateCollateralWithCdpTokens(request: MsgLiquidateCollateralWithCdpTokens): Promise<MsgLiquidateCollateralWithCdpTokensResponse>;
|
|
787
|
+
LiquidateCollateralWithCollateral(request: MsgLiquidateCollateralWithCollateral): Promise<MsgLiquidateCollateralWithCollateralResponse>;
|
|
788
|
+
LiquidateCollateralWithStablecoin(request: MsgLiquidateCollateralWithStablecoin): Promise<MsgLiquidateCollateralWithStablecoinResponse>;
|
|
789
|
+
SetStalePriceGracePeriod(request: MsgSetStalePriceGracePeriod): Promise<MsgSetStalePriceGracePeriodResponse>;
|
|
790
|
+
SetCdpPaused(request: MsgSetCdpPaused): Promise<MsgSetCdpPausedResponse>;
|
|
127
791
|
}
|
|
128
792
|
interface Rpc {
|
|
129
793
|
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|