@dydxprotocol/v4-client-js 1.5.0 → 1.6.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/CHANGELOG.md +2 -2
- package/__native__/__ios__/v4-native-client.js +10407 -7511
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/cosmos/bundle.d.ts +158 -158
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/cosmos/bundle.js +126 -126
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/accountplus/genesis.d.ts +44 -1
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/accountplus/genesis.js +75 -4
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/accountplus/models.d.ts +40 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/accountplus/models.js +81 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/accountplus/params.d.ts +20 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/accountplus/params.js +64 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/accountplus/query.d.ts +85 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/accountplus/query.js +243 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/accountplus/query.lcd.d.ts +11 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/accountplus/query.lcd.js +28 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/accountplus/query.rpc.Query.d.ts +24 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/accountplus/query.rpc.Query.js +70 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/accountplus/tx.d.ts +128 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/accountplus/tx.js +313 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/accountplus/tx.rpc.msg.d.ts +21 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/accountplus/tx.rpc.msg.js +53 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/affiliates/affiliates.d.ts +76 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/affiliates/affiliates.js +197 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/affiliates/genesis.d.ts +17 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/affiliates/genesis.js +64 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/affiliates/query.d.ts +161 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/affiliates/query.js +327 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/affiliates/query.rpc.Query.d.ts +28 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/affiliates/query.rpc.Query.js +79 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/affiliates/tx.d.ts +87 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/affiliates/tx.js +239 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/affiliates/tx.rpc.msg.d.ts +18 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/affiliates/tx.rpc.msg.js +53 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/bundle.d.ts +2929 -1778
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/bundle.js +321 -284
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/clob/order.d.ts +39 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/clob/order.js +71 -2
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/clob/query.d.ts +87 -11
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/clob/query.js +157 -28
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/clob/streaming.d.ts +19 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/clob/streaming.js +73 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/indexer/events/events.d.ts +41 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/indexer/events/events.js +107 -3
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/indexer/protocol/v1/vault.d.ts +17 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/indexer/protocol/v1/vault.js +62 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/lcd.d.ts +2 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/lcd.js +7 -1
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/listing/params.d.ts +25 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/listing/params.js +80 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/listing/query.d.ts +25 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/listing/query.js +64 -2
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/listing/query.lcd.d.ts +9 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/listing/query.lcd.js +16 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/listing/query.rpc.Query.d.ts +5 -1
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/listing/query.rpc.Query.js +10 -1
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/listing/tx.d.ts +81 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/listing/tx.js +144 -2
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/listing/tx.rpc.msg.d.ts +7 -1
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/listing/tx.rpc.msg.js +13 -1
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/revshare/revshare.d.ts +37 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/revshare/revshare.js +82 -2
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/revshare/tx.d.ts +28 -1
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/revshare/tx.js +72 -2
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/revshare/tx.rpc.msg.d.ts +4 -1
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/revshare/tx.rpc.msg.js +7 -1
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/rpc.query.d.ts +17 -1
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/rpc.query.js +3 -1
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/rpc.tx.d.ts +2 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/rpc.tx.js +3 -1
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/stats/stats.d.ts +20 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/stats/stats.js +46 -2
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/subaccounts/streaming.d.ts +86 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/subaccounts/streaming.js +178 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/vault/genesis.d.ts +69 -8
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/vault/genesis.js +153 -15
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/vault/params.d.ts +31 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/vault/params.js +82 -2
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/vault/query.d.ts +214 -26
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/vault/query.js +385 -37
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/vault/query.lcd.d.ts +6 -2
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/vault/query.lcd.js +37 -5
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/vault/query.rpc.Query.d.ts +21 -5
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/vault/query.rpc.Query.js +46 -8
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/vault/share.d.ts +44 -4
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/vault/share.js +90 -2
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/vault/tx.d.ts +230 -45
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/vault/tx.js +476 -37
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/vault/tx.rpc.msg.d.ts +25 -7
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/vault/tx.rpc.msg.js +41 -11
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/vault/vault.d.ts +20 -0
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/vault/vault.js +63 -2
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/gogoproto/bundle.js +2 -2
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/google/bundle.d.ts +174 -174
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/google/bundle.js +12 -12
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/tendermint/bundle.d.ts +365 -365
- package/build/node_modules/@dydxprotocol/v4-proto/src/codegen/tendermint/bundle.js +22 -22
- package/build/src/clients/composite-client.d.ts +11 -7
- package/build/src/clients/composite-client.js +23 -9
- package/build/src/clients/constants.d.ts +3 -0
- package/build/src/clients/constants.js +7 -2
- package/build/src/clients/helpers/chain-helpers.d.ts +1 -0
- package/build/src/clients/helpers/chain-helpers.js +11 -3
- package/build/src/clients/lib/registry.js +5 -1
- package/build/src/clients/modules/composer.d.ts +2 -0
- package/build/src/clients/modules/composer.js +31 -1
- package/build/src/clients/modules/get.d.ts +3 -1
- package/build/src/clients/modules/get.js +22 -4
- package/build/src/clients/modules/post.d.ts +4 -0
- package/build/src/clients/modules/post.js +16 -1
- package/build/src/clients/modules/proto-includes.d.ts +1 -0
- package/build/src/clients/modules/proto-includes.js +3 -2
- package/build/src/lib/helpers.d.ts +1 -0
- package/build/src/lib/helpers.js +11 -2
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/clients/composite-client.ts +81 -29
- package/src/clients/constants.ts +7 -2
- package/src/clients/helpers/chain-helpers.ts +12 -2
- package/src/clients/lib/registry.ts +9 -0
- package/src/clients/modules/composer.ts +50 -0
- package/src/clients/modules/get.ts +45 -4
- package/src/clients/modules/post.ts +55 -0
- package/src/clients/modules/proto-includes.ts +1 -0
- package/src/lib/helpers.ts +10 -0
|
@@ -1,34 +1,74 @@
|
|
|
1
|
-
import { VaultId, VaultIdSDKType } from "./vault";
|
|
2
1
|
import { SubaccountId, SubaccountIdSDKType } from "../subaccounts/subaccount";
|
|
3
|
-
import {
|
|
2
|
+
import { NumShares, NumSharesSDKType } from "./share";
|
|
3
|
+
import { QuotingParams, QuotingParamsSDKType, OperatorParams, OperatorParamsSDKType, VaultParams, VaultParamsSDKType, Params, ParamsSDKType } from "./params";
|
|
4
|
+
import { VaultId, VaultIdSDKType } from "./vault";
|
|
4
5
|
import * as _m0 from "protobufjs/minimal";
|
|
5
6
|
import { DeepPartial } from "../../helpers";
|
|
6
7
|
/**
|
|
7
|
-
*
|
|
8
|
-
*
|
|
8
|
+
* MsgDepositToMegavault deposits the specified asset from the subaccount to
|
|
9
|
+
* megavault.
|
|
9
10
|
*/
|
|
10
|
-
export interface
|
|
11
|
-
/** The vault to deposit into. */
|
|
12
|
-
vaultId?: VaultId;
|
|
11
|
+
export interface MsgDepositToMegavault {
|
|
13
12
|
/** The subaccount to deposit from. */
|
|
14
13
|
subaccountId?: SubaccountId;
|
|
15
14
|
/** Number of quote quantums to deposit. */
|
|
16
15
|
quoteQuantums: Uint8Array;
|
|
17
16
|
}
|
|
18
17
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
18
|
+
* MsgDepositToMegavault deposits the specified asset from the subaccount to
|
|
19
|
+
* megavault.
|
|
21
20
|
*/
|
|
22
|
-
export interface
|
|
23
|
-
vault_id?: VaultIdSDKType;
|
|
21
|
+
export interface MsgDepositToMegavaultSDKType {
|
|
24
22
|
subaccount_id?: SubaccountIdSDKType;
|
|
25
23
|
quote_quantums: Uint8Array;
|
|
26
24
|
}
|
|
27
|
-
/**
|
|
28
|
-
export interface
|
|
25
|
+
/** MsgDepositToMegavaultResponse is the Msg/DepositToMegavault response type. */
|
|
26
|
+
export interface MsgDepositToMegavaultResponse {
|
|
27
|
+
/** The number of shares minted from the deposit. */
|
|
28
|
+
mintedShares?: NumShares;
|
|
29
|
+
}
|
|
30
|
+
/** MsgDepositToMegavaultResponse is the Msg/DepositToMegavault response type. */
|
|
31
|
+
export interface MsgDepositToMegavaultResponseSDKType {
|
|
32
|
+
minted_shares?: NumSharesSDKType;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* MsgWithdrawFromMegavault withdraws the specified shares from megavault to
|
|
36
|
+
* a subaccount.
|
|
37
|
+
*/
|
|
38
|
+
export interface MsgWithdrawFromMegavault {
|
|
39
|
+
/** The subaccount to withdraw to. */
|
|
40
|
+
subaccountId?: SubaccountId;
|
|
41
|
+
/** Number of shares to withdraw. */
|
|
42
|
+
shares?: NumShares;
|
|
43
|
+
/**
|
|
44
|
+
* The minimum number of quote quantums above shares should redeem, i.e.
|
|
45
|
+
* transaction fails if above shares redeem less than min_quote_quantums.
|
|
46
|
+
*/
|
|
47
|
+
minQuoteQuantums: Uint8Array;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* MsgWithdrawFromMegavault withdraws the specified shares from megavault to
|
|
51
|
+
* a subaccount.
|
|
52
|
+
*/
|
|
53
|
+
export interface MsgWithdrawFromMegavaultSDKType {
|
|
54
|
+
subaccount_id?: SubaccountIdSDKType;
|
|
55
|
+
shares?: NumSharesSDKType;
|
|
56
|
+
min_quote_quantums: Uint8Array;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* MsgWithdrawFromMegavaultResponse is the Msg/WithdrawFromMegavault response
|
|
60
|
+
* type.
|
|
61
|
+
*/
|
|
62
|
+
export interface MsgWithdrawFromMegavaultResponse {
|
|
63
|
+
/** The number of quote quantums redeemed from the withdrawal. */
|
|
64
|
+
quoteQuantums: Uint8Array;
|
|
29
65
|
}
|
|
30
|
-
/**
|
|
31
|
-
|
|
66
|
+
/**
|
|
67
|
+
* MsgWithdrawFromMegavaultResponse is the Msg/WithdrawFromMegavault response
|
|
68
|
+
* type.
|
|
69
|
+
*/
|
|
70
|
+
export interface MsgWithdrawFromMegavaultResponseSDKType {
|
|
71
|
+
quote_quantums: Uint8Array;
|
|
32
72
|
}
|
|
33
73
|
/**
|
|
34
74
|
* MsgUpdateDefaultQuotingParams is the Msg/UpdateDefaultQuotingParams request
|
|
@@ -59,41 +99,141 @@ export interface MsgUpdateDefaultQuotingParamsResponse {
|
|
|
59
99
|
*/
|
|
60
100
|
export interface MsgUpdateDefaultQuotingParamsResponseSDKType {
|
|
61
101
|
}
|
|
62
|
-
/**
|
|
63
|
-
export interface
|
|
102
|
+
/** MsgSetVaultParams is the Msg/SetVaultParams request type. */
|
|
103
|
+
export interface MsgSetVaultParams {
|
|
64
104
|
authority: string;
|
|
65
|
-
/** The vault to set
|
|
105
|
+
/** The vault to set params of. */
|
|
66
106
|
vaultId?: VaultId;
|
|
67
|
-
/** The
|
|
68
|
-
|
|
107
|
+
/** The parameters to set. */
|
|
108
|
+
vaultParams?: VaultParams;
|
|
69
109
|
}
|
|
70
|
-
/**
|
|
71
|
-
export interface
|
|
110
|
+
/** MsgSetVaultParams is the Msg/SetVaultParams request type. */
|
|
111
|
+
export interface MsgSetVaultParamsSDKType {
|
|
72
112
|
authority: string;
|
|
73
113
|
vault_id?: VaultIdSDKType;
|
|
74
|
-
|
|
114
|
+
vault_params?: VaultParamsSDKType;
|
|
115
|
+
}
|
|
116
|
+
/** MsgSetVaultParamsResponse is the Msg/SetVaultParams response type. */
|
|
117
|
+
export interface MsgSetVaultParamsResponse {
|
|
118
|
+
}
|
|
119
|
+
/** MsgSetVaultParamsResponse is the Msg/SetVaultParams response type. */
|
|
120
|
+
export interface MsgSetVaultParamsResponseSDKType {
|
|
121
|
+
}
|
|
122
|
+
/** MsgUnlockShares is the Msg/UnlockShares request type. */
|
|
123
|
+
export interface MsgUnlockShares {
|
|
124
|
+
authority: string;
|
|
125
|
+
/** Address of the owner to unlock shares of. */
|
|
126
|
+
ownerAddress: string;
|
|
127
|
+
}
|
|
128
|
+
/** MsgUnlockShares is the Msg/UnlockShares request type. */
|
|
129
|
+
export interface MsgUnlockSharesSDKType {
|
|
130
|
+
authority: string;
|
|
131
|
+
owner_address: string;
|
|
132
|
+
}
|
|
133
|
+
/** MsgUnlockSharesResponse is the Msg/UnlockShares response type. */
|
|
134
|
+
export interface MsgUnlockSharesResponse {
|
|
135
|
+
/** The number of shares unlocked. */
|
|
136
|
+
unlockedShares?: NumShares;
|
|
137
|
+
}
|
|
138
|
+
/** MsgUnlockSharesResponse is the Msg/UnlockShares response type. */
|
|
139
|
+
export interface MsgUnlockSharesResponseSDKType {
|
|
140
|
+
unlocked_shares?: NumSharesSDKType;
|
|
75
141
|
}
|
|
76
142
|
/**
|
|
77
|
-
*
|
|
78
|
-
*
|
|
143
|
+
* MsgUpdateParams is the Msg/UpdateParams request type.
|
|
144
|
+
* Deprecated since v6.x as is replaced by MsgUpdateDefaultQuotingParams.
|
|
79
145
|
*/
|
|
80
|
-
|
|
146
|
+
/** @deprecated */
|
|
147
|
+
export interface MsgUpdateParams {
|
|
148
|
+
authority: string;
|
|
149
|
+
/** The parameters to update. Each field must be set. */
|
|
150
|
+
params?: Params;
|
|
81
151
|
}
|
|
82
152
|
/**
|
|
83
|
-
*
|
|
84
|
-
*
|
|
153
|
+
* MsgUpdateParams is the Msg/UpdateParams request type.
|
|
154
|
+
* Deprecated since v6.x as is replaced by MsgUpdateDefaultQuotingParams.
|
|
85
155
|
*/
|
|
86
|
-
|
|
156
|
+
/** @deprecated */
|
|
157
|
+
export interface MsgUpdateParamsSDKType {
|
|
158
|
+
authority: string;
|
|
159
|
+
params?: ParamsSDKType;
|
|
160
|
+
}
|
|
161
|
+
/** MsgUpdateOperatorParams is the Msg/UpdateOperatorParams request type. */
|
|
162
|
+
export interface MsgUpdateOperatorParams {
|
|
163
|
+
authority: string;
|
|
164
|
+
/** Operator parameters to set. */
|
|
165
|
+
params?: OperatorParams;
|
|
87
166
|
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
167
|
+
/** MsgUpdateOperatorParams is the Msg/UpdateOperatorParams request type. */
|
|
168
|
+
export interface MsgUpdateOperatorParamsSDKType {
|
|
169
|
+
authority: string;
|
|
170
|
+
params?: OperatorParamsSDKType;
|
|
171
|
+
}
|
|
172
|
+
/** MsgUpdateVaultParamsResponse is the Msg/UpdateOperatorParams response type. */
|
|
173
|
+
export interface MsgUpdateOperatorParamsResponse {
|
|
174
|
+
}
|
|
175
|
+
/** MsgUpdateVaultParamsResponse is the Msg/UpdateOperatorParams response type. */
|
|
176
|
+
export interface MsgUpdateOperatorParamsResponseSDKType {
|
|
177
|
+
}
|
|
178
|
+
/** MsgAllocateToVault is the Msg/AllocateToVault request type. */
|
|
179
|
+
export interface MsgAllocateToVault {
|
|
180
|
+
authority: string;
|
|
181
|
+
/** The vault to allocate to. */
|
|
182
|
+
vaultId?: VaultId;
|
|
183
|
+
/** Number of quote quantums to allocate. */
|
|
184
|
+
quoteQuantums: Uint8Array;
|
|
185
|
+
}
|
|
186
|
+
/** MsgAllocateToVault is the Msg/AllocateToVault request type. */
|
|
187
|
+
export interface MsgAllocateToVaultSDKType {
|
|
188
|
+
authority: string;
|
|
189
|
+
vault_id?: VaultIdSDKType;
|
|
190
|
+
quote_quantums: Uint8Array;
|
|
191
|
+
}
|
|
192
|
+
/** MsgAllocateToVaultResponse is the Msg/AllocateToVault response type. */
|
|
193
|
+
export interface MsgAllocateToVaultResponse {
|
|
194
|
+
}
|
|
195
|
+
/** MsgAllocateToVaultResponse is the Msg/AllocateToVault response type. */
|
|
196
|
+
export interface MsgAllocateToVaultResponseSDKType {
|
|
197
|
+
}
|
|
198
|
+
/** MsgRetrieveFromVault is the Msg/RetrieveFromVault request type. */
|
|
199
|
+
export interface MsgRetrieveFromVault {
|
|
200
|
+
authority: string;
|
|
201
|
+
/** The vault to retrieve from. */
|
|
202
|
+
vaultId?: VaultId;
|
|
203
|
+
/** Number of quote quantums to retrieve. */
|
|
204
|
+
quoteQuantums: Uint8Array;
|
|
205
|
+
}
|
|
206
|
+
/** MsgRetrieveFromVault is the Msg/RetrieveFromVault request type. */
|
|
207
|
+
export interface MsgRetrieveFromVaultSDKType {
|
|
208
|
+
authority: string;
|
|
209
|
+
vault_id?: VaultIdSDKType;
|
|
210
|
+
quote_quantums: Uint8Array;
|
|
211
|
+
}
|
|
212
|
+
/** MsgRetrieveFromVaultResponse is the Msg/RetrieveFromVault response type. */
|
|
213
|
+
export interface MsgRetrieveFromVaultResponse {
|
|
214
|
+
}
|
|
215
|
+
/** MsgRetrieveFromVaultResponse is the Msg/RetrieveFromVault response type. */
|
|
216
|
+
export interface MsgRetrieveFromVaultResponseSDKType {
|
|
217
|
+
}
|
|
218
|
+
export declare const MsgDepositToMegavault: {
|
|
219
|
+
encode(message: MsgDepositToMegavault, writer?: _m0.Writer): _m0.Writer;
|
|
220
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositToMegavault;
|
|
221
|
+
fromPartial(object: DeepPartial<MsgDepositToMegavault>): MsgDepositToMegavault;
|
|
222
|
+
};
|
|
223
|
+
export declare const MsgDepositToMegavaultResponse: {
|
|
224
|
+
encode(message: MsgDepositToMegavaultResponse, writer?: _m0.Writer): _m0.Writer;
|
|
225
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositToMegavaultResponse;
|
|
226
|
+
fromPartial(object: DeepPartial<MsgDepositToMegavaultResponse>): MsgDepositToMegavaultResponse;
|
|
92
227
|
};
|
|
93
|
-
export declare const
|
|
94
|
-
encode(
|
|
95
|
-
decode(input: _m0.Reader | Uint8Array, length?: number):
|
|
96
|
-
fromPartial(
|
|
228
|
+
export declare const MsgWithdrawFromMegavault: {
|
|
229
|
+
encode(message: MsgWithdrawFromMegavault, writer?: _m0.Writer): _m0.Writer;
|
|
230
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawFromMegavault;
|
|
231
|
+
fromPartial(object: DeepPartial<MsgWithdrawFromMegavault>): MsgWithdrawFromMegavault;
|
|
232
|
+
};
|
|
233
|
+
export declare const MsgWithdrawFromMegavaultResponse: {
|
|
234
|
+
encode(message: MsgWithdrawFromMegavaultResponse, writer?: _m0.Writer): _m0.Writer;
|
|
235
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawFromMegavaultResponse;
|
|
236
|
+
fromPartial(object: DeepPartial<MsgWithdrawFromMegavaultResponse>): MsgWithdrawFromMegavaultResponse;
|
|
97
237
|
};
|
|
98
238
|
export declare const MsgUpdateDefaultQuotingParams: {
|
|
99
239
|
encode(message: MsgUpdateDefaultQuotingParams, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -105,13 +245,58 @@ export declare const MsgUpdateDefaultQuotingParamsResponse: {
|
|
|
105
245
|
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateDefaultQuotingParamsResponse;
|
|
106
246
|
fromPartial(_: DeepPartial<MsgUpdateDefaultQuotingParamsResponse>): MsgUpdateDefaultQuotingParamsResponse;
|
|
107
247
|
};
|
|
108
|
-
export declare const
|
|
109
|
-
encode(message:
|
|
110
|
-
decode(input: _m0.Reader | Uint8Array, length?: number):
|
|
111
|
-
fromPartial(object: DeepPartial<
|
|
248
|
+
export declare const MsgSetVaultParams: {
|
|
249
|
+
encode(message: MsgSetVaultParams, writer?: _m0.Writer): _m0.Writer;
|
|
250
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetVaultParams;
|
|
251
|
+
fromPartial(object: DeepPartial<MsgSetVaultParams>): MsgSetVaultParams;
|
|
252
|
+
};
|
|
253
|
+
export declare const MsgSetVaultParamsResponse: {
|
|
254
|
+
encode(_: MsgSetVaultParamsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
255
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetVaultParamsResponse;
|
|
256
|
+
fromPartial(_: DeepPartial<MsgSetVaultParamsResponse>): MsgSetVaultParamsResponse;
|
|
257
|
+
};
|
|
258
|
+
export declare const MsgUnlockShares: {
|
|
259
|
+
encode(message: MsgUnlockShares, writer?: _m0.Writer): _m0.Writer;
|
|
260
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnlockShares;
|
|
261
|
+
fromPartial(object: DeepPartial<MsgUnlockShares>): MsgUnlockShares;
|
|
262
|
+
};
|
|
263
|
+
export declare const MsgUnlockSharesResponse: {
|
|
264
|
+
encode(message: MsgUnlockSharesResponse, writer?: _m0.Writer): _m0.Writer;
|
|
265
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnlockSharesResponse;
|
|
266
|
+
fromPartial(object: DeepPartial<MsgUnlockSharesResponse>): MsgUnlockSharesResponse;
|
|
267
|
+
};
|
|
268
|
+
export declare const MsgUpdateParams: {
|
|
269
|
+
encode(message: MsgUpdateParams, writer?: _m0.Writer): _m0.Writer;
|
|
270
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParams;
|
|
271
|
+
fromPartial(object: DeepPartial<MsgUpdateParams>): MsgUpdateParams;
|
|
272
|
+
};
|
|
273
|
+
export declare const MsgUpdateOperatorParams: {
|
|
274
|
+
encode(message: MsgUpdateOperatorParams, writer?: _m0.Writer): _m0.Writer;
|
|
275
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateOperatorParams;
|
|
276
|
+
fromPartial(object: DeepPartial<MsgUpdateOperatorParams>): MsgUpdateOperatorParams;
|
|
277
|
+
};
|
|
278
|
+
export declare const MsgUpdateOperatorParamsResponse: {
|
|
279
|
+
encode(_: MsgUpdateOperatorParamsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
280
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateOperatorParamsResponse;
|
|
281
|
+
fromPartial(_: DeepPartial<MsgUpdateOperatorParamsResponse>): MsgUpdateOperatorParamsResponse;
|
|
282
|
+
};
|
|
283
|
+
export declare const MsgAllocateToVault: {
|
|
284
|
+
encode(message: MsgAllocateToVault, writer?: _m0.Writer): _m0.Writer;
|
|
285
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgAllocateToVault;
|
|
286
|
+
fromPartial(object: DeepPartial<MsgAllocateToVault>): MsgAllocateToVault;
|
|
287
|
+
};
|
|
288
|
+
export declare const MsgAllocateToVaultResponse: {
|
|
289
|
+
encode(_: MsgAllocateToVaultResponse, writer?: _m0.Writer): _m0.Writer;
|
|
290
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgAllocateToVaultResponse;
|
|
291
|
+
fromPartial(_: DeepPartial<MsgAllocateToVaultResponse>): MsgAllocateToVaultResponse;
|
|
292
|
+
};
|
|
293
|
+
export declare const MsgRetrieveFromVault: {
|
|
294
|
+
encode(message: MsgRetrieveFromVault, writer?: _m0.Writer): _m0.Writer;
|
|
295
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgRetrieveFromVault;
|
|
296
|
+
fromPartial(object: DeepPartial<MsgRetrieveFromVault>): MsgRetrieveFromVault;
|
|
112
297
|
};
|
|
113
|
-
export declare const
|
|
114
|
-
encode(_:
|
|
115
|
-
decode(input: _m0.Reader | Uint8Array, length?: number):
|
|
116
|
-
fromPartial(_: DeepPartial<
|
|
298
|
+
export declare const MsgRetrieveFromVaultResponse: {
|
|
299
|
+
encode(_: MsgRetrieveFromVaultResponse, writer?: _m0.Writer): _m0.Writer;
|
|
300
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgRetrieveFromVaultResponse;
|
|
301
|
+
fromPartial(_: DeepPartial<MsgRetrieveFromVaultResponse>): MsgRetrieveFromVaultResponse;
|
|
117
302
|
};
|