@injectivelabs/sdk-ts 1.17.3 → 1.17.5
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/dist/cjs/{AbacusGrpcApi-BSFhRFgK.cjs → AbacusGrpcApi-QbGB8ZMB.cjs} +1 -1
- package/dist/cjs/{BaseGrpcConsumer-B_mvIpmK.cjs → BaseGrpcConsumer-Db3sCC6b.cjs} +1 -1
- package/dist/cjs/{BaseIndexerGrpcConsumer-DRpriWCr.cjs → BaseIndexerGrpcConsumer-BBXxg_BR.cjs} +1 -1
- package/dist/cjs/{ChainGrpcExchangeApi-6SEFLrhR.cjs → ChainGrpcExchangeApi-Xtflr7xp.cjs} +3 -3
- package/dist/cjs/{ChainRestTendermintApi-B2934YcX.cjs → ChainRestTendermintApi-CyeoAmer.cjs} +3 -3
- package/dist/cjs/{DirectEthSecp256k1Wallet-CIdxvYjL.cjs → DirectEthSecp256k1Wallet-BiAOoEd6.cjs} +2 -2
- package/dist/cjs/{ExecArgNeptuneWithdraw-C-NQ72VM.cjs → ExecArgNeptuneWithdraw-4esQ6Su-.cjs} +2 -2
- package/dist/cjs/{IndexerGrpcWeb3GwApi-DzqoC5Jw.cjs → IndexerGrpcWeb3GwApi-BxJoq1-k.cjs} +2 -2
- package/dist/cjs/{MsgSetDenomMetadata-CJFO-LDN.cjs → MsgSetDenomMetadata-DzYvKtNj.cjs} +5 -5
- package/dist/cjs/{OLPGrpcApi-REqBM4Dt.cjs → OLPGrpcApi-Cy4tRUMM.cjs} +107 -107
- package/dist/cjs/{QueryTradingStrategyContractTotalStrategies-BWV29f7F.cjs → QueryTradingStrategyContractTotalStrategies-DPrIH5Jb.cjs} +3 -3
- package/dist/cjs/{StreamManagerV2-bxmrwMoi.cjs → StreamManagerV2-Dvfpwi5Z.cjs} +16 -6
- package/dist/cjs/{accounts-CHKUxDIf.cjs → accounts-HFzAaFRB.cjs} +2 -2
- package/dist/cjs/{chain-CtjB0xod.cjs → chain-CPs0kwL0.cjs} +12 -13
- package/dist/cjs/client/abacus.cjs +3 -3
- package/dist/cjs/client/chain.cjs +7 -8
- package/dist/cjs/client/chain.d.cts +2 -2
- package/dist/cjs/client/indexer.cjs +8 -9
- package/dist/cjs/client/indexer.d.cts +3 -3
- package/dist/cjs/client/olp.cjs +4 -5
- package/dist/cjs/client/olp.d.cts +1 -1
- package/dist/cjs/client/wasm.cjs +10 -11
- package/dist/cjs/core/accounts.cjs +4 -5
- package/dist/cjs/core/accounts.d.cts +2 -2
- package/dist/cjs/core/modules.cjs +13 -14
- package/dist/cjs/core/modules.d.cts +2 -2
- package/dist/cjs/core/tx.cjs +10 -11
- package/dist/cjs/core/tx.d.cts +2 -2
- package/dist/cjs/cosmjs.cjs +11 -12
- package/dist/cjs/exports.cjs +11 -12
- package/dist/cjs/{index-B3Hd6YoY.d.cts → index-CtpWCH7L.d.cts} +644 -434
- package/dist/cjs/{index-C_ioefRg.d.cts → index-YmLrS29a.d.cts} +44 -18
- package/dist/cjs/index.cjs +25 -26
- package/dist/cjs/index.d.cts +3 -3
- package/dist/cjs/{service-BCLvTVy_.cjs → service-C0DSVBn_.cjs} +2 -2
- package/dist/cjs/service.cjs +4 -5
- package/dist/cjs/{tx-BXn3eqwi.cjs → tx-MgHAjEie.cjs} +5 -5
- package/dist/cjs/types.cjs +1 -1
- package/dist/cjs/{utils-CDl812vv.cjs → utils-D3XFGv8y.cjs} +73 -0
- package/dist/cjs/utils.cjs +7 -8
- package/dist/cjs/utils.d.cts +2 -2
- package/dist/esm/{AbacusGrpcApi-Ccjmvton.js → AbacusGrpcApi-H-P0UiPh.js} +1 -1
- package/dist/esm/{BaseGrpcConsumer-D3CPxlPN.js → BaseGrpcConsumer-a7fB9A_e.js} +1 -1
- package/dist/esm/{BaseGrpcConsumer-CBQRoq72.d.ts → BaseGrpcConsumer-iOh57BsK.d.ts} +1 -1
- package/dist/esm/{BaseIndexerGrpcConsumer-DQUmeane.js → BaseIndexerGrpcConsumer-CrwqSxDq.js} +1 -1
- package/dist/esm/{ChainGrpcExchangeApi-DQvLWB5R.js → ChainGrpcExchangeApi-Ko7rM6Df.js} +3 -3
- package/dist/esm/{ChainRestTendermintApi-DUK7FvxW.js → ChainRestTendermintApi-BUV-cxVj.js} +3 -3
- package/dist/esm/{DirectEthSecp256k1Wallet-BqxC1b40.js → DirectEthSecp256k1Wallet-CMxBvSTE.js} +2 -2
- package/dist/esm/{ExecArgNeptuneWithdraw-uLf3HttI.js → ExecArgNeptuneWithdraw-BRJZq8Vb.js} +2 -2
- package/dist/esm/{IndexerGrpcWeb3GwApi-yHniiZ22.js → IndexerGrpcWeb3GwApi-CX4ohUOk.js} +2 -2
- package/dist/esm/{MsgSetDenomMetadata-BNYIha2C.js → MsgSetDenomMetadata-CeD0R82a.js} +5 -5
- package/dist/esm/{OLPGrpcApi-8NQqfKhT.js → OLPGrpcApi-Cg0YLBqL.js} +95 -95
- package/dist/esm/{QueryTradingStrategyContractTotalStrategies-D_4tvQEy.js → QueryTradingStrategyContractTotalStrategies-D9fMELJH.js} +3 -3
- package/dist/esm/{StreamManagerV2-BGjxaWMK.js → StreamManagerV2-B_6ctbMb.js} +16 -6
- package/dist/esm/{accounts-C5HEaz0B.js → accounts-CP_DVUou.js} +2 -2
- package/dist/esm/{chain-DKislBAW.js → chain-CQczt2h3.js} +4 -5
- package/dist/esm/client/abacus.d.ts +3 -3
- package/dist/esm/client/abacus.js +3 -3
- package/dist/esm/client/chain.d.ts +7 -7
- package/dist/esm/client/chain.js +7 -8
- package/dist/esm/client/indexer.d.ts +8 -8
- package/dist/esm/client/indexer.js +8 -9
- package/dist/esm/client/olp.d.ts +3 -3
- package/dist/esm/client/olp.js +4 -5
- package/dist/esm/client/wasm.d.ts +2 -2
- package/dist/esm/client/wasm.js +10 -11
- package/dist/esm/core/accounts.d.ts +7 -7
- package/dist/esm/core/accounts.js +4 -5
- package/dist/esm/core/modules.d.ts +7 -7
- package/dist/esm/core/modules.js +13 -14
- package/dist/esm/core/tx.d.ts +7 -7
- package/dist/esm/core/tx.js +10 -11
- package/dist/esm/cosmjs.d.ts +1 -1
- package/dist/esm/cosmjs.js +11 -12
- package/dist/esm/exports.d.ts +1 -1
- package/dist/esm/exports.js +11 -12
- package/dist/esm/{index-Dh15HnVF.d.ts → index-BbVYW9Fg.d.ts} +1 -1
- package/dist/esm/{index-Bn3JkjMQ.d.ts → index-DxWcn_6h.d.ts} +47 -21
- package/dist/esm/{index-BhybypN9.d.ts → index-VRG59FQR.d.ts} +1 -1
- package/dist/esm/{index-DpjBqbbT.d.ts → index-m9_e257q.d.ts} +1 -1
- package/dist/esm/{index-BhVscuMR.d.ts → index-s9-wgpHE.d.ts} +645 -435
- package/dist/esm/index.d.ts +8 -8
- package/dist/esm/index.js +20 -21
- package/dist/esm/{service-CnqMmybI.js → service-CqKPnKgb.js} +2 -2
- package/dist/esm/service.d.ts +2 -2
- package/dist/esm/service.js +4 -5
- package/dist/esm/{tx-D0NTtgOO.js → tx-ZGcAWTaC.js} +5 -5
- package/dist/esm/types.d.ts +1 -1
- package/dist/esm/types.js +1 -1
- package/dist/esm/{utils-BFBu_LnJ.js → utils-CewUFGKA.js} +45 -2
- package/dist/esm/utils.d.ts +7 -7
- package/dist/esm/utils.js +2 -3
- package/package.json +7 -7
- package/dist/cjs/time-B4xLc27Y.cjs +0 -76
- package/dist/esm/time-DYEqYFao.js +0 -46
- /package/dist/cjs/{BaseRestConsumer-uSzCOit7.cjs → BaseRestConsumer-CRkyjiSo.cjs} +0 -0
- /package/dist/cjs/{MsgBase-DqOmzCyS.cjs → MsgBase-D_1CCpXQ.cjs} +0 -0
- /package/dist/cjs/{grpc-DQDVCGpY.cjs → grpc-FG2z-ICE.cjs} +0 -0
- /package/dist/cjs/{types-BTuy007B.cjs → types-BSrt7JzM.cjs} +0 -0
- /package/dist/esm/{BaseRestConsumer-rK4eS4W8.js → BaseRestConsumer-DTvorEHL.js} +0 -0
- /package/dist/esm/{MsgBase-BkRgVbdY.js → MsgBase-D4pO6org.js} +0 -0
- /package/dist/esm/{grpc-lYZqzL0k.js → grpc-C3eJiY2o.js} +0 -0
- /package/dist/esm/{index-BVWIwmli.d.ts → index-B3d3VkdN.d.ts} +0 -0
- /package/dist/esm/{index-BqYLsIZe.d.ts → index-RFPnFBbK.d.ts} +0 -0
- /package/dist/esm/{types-68OuBiEQ.js → types-Cf4oVv93.js} +0 -0
|
@@ -1,909 +1,1119 @@
|
|
|
1
|
-
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-
|
|
1
|
+
import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-iOh57BsK.js";
|
|
2
2
|
|
|
3
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+olp-proto-ts-v2@1.17.
|
|
3
|
+
//#region ../../node_modules/.pnpm/@injectivelabs+olp-proto-ts-v2@1.17.5/node_modules/@injectivelabs/olp-proto-ts-v2/generated/goagen_olp_injective_dmm_v2_pb.d.ts
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
* calendar, encoded as a count of seconds and fractions of seconds at
|
|
8
|
-
* nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
|
9
|
-
* January 1, 1970, in the proleptic Gregorian calendar which extends the
|
|
10
|
-
* Gregorian calendar backwards to year one.
|
|
11
|
-
*
|
|
12
|
-
* All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
|
|
13
|
-
* second table is needed for interpretation, using a [24-hour linear
|
|
14
|
-
* smear](https://developers.google.com/time/smear).
|
|
15
|
-
*
|
|
16
|
-
* The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
|
|
17
|
-
* restricting to that range, we ensure that we can convert to and from [RFC
|
|
18
|
-
* 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
|
19
|
-
*
|
|
20
|
-
* # Examples
|
|
21
|
-
*
|
|
22
|
-
* Example 1: Compute Timestamp from POSIX `time()`.
|
|
23
|
-
*
|
|
24
|
-
* Timestamp timestamp;
|
|
25
|
-
* timestamp.set_seconds(time(NULL));
|
|
26
|
-
* timestamp.set_nanos(0);
|
|
27
|
-
*
|
|
28
|
-
* Example 2: Compute Timestamp from POSIX `gettimeofday()`.
|
|
29
|
-
*
|
|
30
|
-
* struct timeval tv;
|
|
31
|
-
* gettimeofday(&tv, NULL);
|
|
32
|
-
*
|
|
33
|
-
* Timestamp timestamp;
|
|
34
|
-
* timestamp.set_seconds(tv.tv_sec);
|
|
35
|
-
* timestamp.set_nanos(tv.tv_usec * 1000);
|
|
36
|
-
*
|
|
37
|
-
* Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
|
|
38
|
-
*
|
|
39
|
-
* FILETIME ft;
|
|
40
|
-
* GetSystemTimeAsFileTime(&ft);
|
|
41
|
-
* UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
|
|
42
|
-
*
|
|
43
|
-
* // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
|
|
44
|
-
* // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
|
|
45
|
-
* Timestamp timestamp;
|
|
46
|
-
* timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
|
|
47
|
-
* timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
|
|
48
|
-
*
|
|
49
|
-
* Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
|
|
50
|
-
*
|
|
51
|
-
* long millis = System.currentTimeMillis();
|
|
52
|
-
*
|
|
53
|
-
* Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
|
54
|
-
* .setNanos((int) ((millis % 1000) * 1000000)).build();
|
|
55
|
-
*
|
|
56
|
-
* Example 5: Compute Timestamp from Java `Instant.now()`.
|
|
57
|
-
*
|
|
58
|
-
* Instant now = Instant.now();
|
|
59
|
-
*
|
|
60
|
-
* Timestamp timestamp =
|
|
61
|
-
* Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
|
62
|
-
* .setNanos(now.getNano()).build();
|
|
63
|
-
*
|
|
64
|
-
* Example 6: Compute Timestamp from current time in Python.
|
|
65
|
-
*
|
|
66
|
-
* timestamp = Timestamp()
|
|
67
|
-
* timestamp.GetCurrentTime()
|
|
68
|
-
*
|
|
69
|
-
* # JSON Mapping
|
|
70
|
-
*
|
|
71
|
-
* In JSON format, the Timestamp type is encoded as a string in the
|
|
72
|
-
* [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
|
|
73
|
-
* format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
|
|
74
|
-
* where {year} is always expressed using four digits while {month}, {day},
|
|
75
|
-
* {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
|
|
76
|
-
* seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
|
|
77
|
-
* are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
|
|
78
|
-
* is required. A proto3 JSON serializer should always use UTC (as indicated by
|
|
79
|
-
* "Z") when printing the Timestamp type and a proto3 JSON parser should be
|
|
80
|
-
* able to accept both UTC and other timezones (as indicated by an offset).
|
|
81
|
-
*
|
|
82
|
-
* For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
|
|
83
|
-
* 01:30 UTC on January 15, 2017.
|
|
84
|
-
*
|
|
85
|
-
* In JavaScript, one can convert a Date object to this format using the
|
|
86
|
-
* standard
|
|
87
|
-
* [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
|
|
88
|
-
* method. In Python, a standard `datetime.datetime` object can be converted
|
|
89
|
-
* to this format using
|
|
90
|
-
* [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
|
91
|
-
* the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
|
92
|
-
* the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
|
93
|
-
* http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
|
94
|
-
* ) to obtain a formatter capable of generating timestamps in this format.
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
* @generated from protobuf message google.protobuf.Timestamp
|
|
98
|
-
*/
|
|
99
|
-
interface Timestamp {
|
|
100
|
-
/**
|
|
101
|
-
* Represents seconds of UTC time since Unix epoch
|
|
102
|
-
* 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
|
|
103
|
-
* 9999-12-31T23:59:59Z inclusive.
|
|
104
|
-
*
|
|
105
|
-
* @generated from protobuf field: int64 seconds = 1
|
|
106
|
-
*/
|
|
107
|
-
seconds: bigint;
|
|
108
|
-
/**
|
|
109
|
-
* Non-negative fractions of a second at nanosecond resolution. Negative
|
|
110
|
-
* second values with fractions must still have non-negative nanos values
|
|
111
|
-
* that count forward in time. Must be from 0 to 999,999,999
|
|
112
|
-
* inclusive.
|
|
113
|
-
*
|
|
114
|
-
* @generated from protobuf field: int32 nanos = 2
|
|
115
|
-
*/
|
|
116
|
-
nanos: number;
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* @generated MessageType for protobuf message google.protobuf.Timestamp
|
|
120
|
-
*/
|
|
121
|
-
declare const Timestamp = new Timestamp$Type();
|
|
122
|
-
//#endregion
|
|
123
|
-
//#region ../../node_modules/.pnpm/@injectivelabs+olp-proto-ts-v2@1.17.3/node_modules/@injectivelabs/olp-proto-ts-v2/esm/generated/dmm_pb.d.ts
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* @generated from protobuf message injective_dmm_v2_rpc.Pagination
|
|
127
|
-
*/
|
|
128
|
-
interface Pagination {
|
|
129
|
-
/**
|
|
130
|
-
* @generated from protobuf field: optional int32 from = 1
|
|
131
|
-
*/
|
|
132
|
-
from?: number;
|
|
133
|
-
/**
|
|
134
|
-
* @generated from protobuf field: optional int32 height = 2
|
|
135
|
-
*/
|
|
136
|
-
height?: number;
|
|
137
|
-
/**
|
|
138
|
-
* @generated from protobuf field: optional int32 per_page = 3
|
|
139
|
-
*/
|
|
140
|
-
perPage?: number;
|
|
141
|
-
/**
|
|
142
|
-
* @generated from protobuf field: optional int32 total = 4
|
|
143
|
-
*/
|
|
144
|
-
total?: number;
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
* @generated from protobuf message injective_dmm_v2_rpc.GetEpochsResponse
|
|
6
|
+
* @generated from protobuf message injective_dmm_v2.GetEpochsResponse
|
|
148
7
|
*/
|
|
149
8
|
interface GetEpochsResponse {
|
|
150
9
|
/**
|
|
151
|
-
*
|
|
10
|
+
* List of epochs
|
|
11
|
+
*
|
|
12
|
+
* @generated from protobuf field: repeated injective_dmm_v2.EpochV2 epochs = 1
|
|
152
13
|
*/
|
|
153
14
|
epochs: EpochV2$1[];
|
|
154
15
|
}
|
|
155
16
|
/**
|
|
156
|
-
*
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* @generated from protobuf field: repeated injective_dmm_v2_rpc.TotalScore scores = 1
|
|
161
|
-
*/
|
|
162
|
-
scores: TotalScore$1[];
|
|
163
|
-
/**
|
|
164
|
-
* @generated from protobuf field: injective_dmm_v2_rpc.Pagination next = 2
|
|
165
|
-
*/
|
|
166
|
-
next?: Pagination;
|
|
167
|
-
}
|
|
168
|
-
/**
|
|
169
|
-
* @generated from protobuf message injective_dmm_v2_rpc.GetEpochScoresResponse
|
|
17
|
+
* Epoch data
|
|
18
|
+
*
|
|
19
|
+
* @generated from protobuf message injective_dmm_v2.EpochV2
|
|
170
20
|
*/
|
|
171
|
-
interface
|
|
21
|
+
interface EpochV2$1 {
|
|
172
22
|
/**
|
|
173
|
-
*
|
|
23
|
+
* Unique epoch identifier
|
|
24
|
+
*
|
|
25
|
+
* @generated from protobuf field: string epoch_id = 1
|
|
174
26
|
*/
|
|
175
|
-
|
|
27
|
+
epochId: string;
|
|
176
28
|
/**
|
|
177
|
-
*
|
|
29
|
+
* Epoch status (e.g., 'running', 'completed')
|
|
30
|
+
*
|
|
31
|
+
* @generated from protobuf field: string status = 2
|
|
178
32
|
*/
|
|
179
|
-
|
|
180
|
-
}
|
|
181
|
-
/**
|
|
182
|
-
* @generated from protobuf message injective_dmm_v2_rpc.GetEpochScoresHistoryResponse
|
|
183
|
-
*/
|
|
184
|
-
interface GetEpochScoresHistoryResponse {
|
|
33
|
+
status: string;
|
|
185
34
|
/**
|
|
186
|
-
*
|
|
35
|
+
* Starting block height
|
|
36
|
+
*
|
|
37
|
+
* @generated from protobuf field: sint64 start_height = 3
|
|
187
38
|
*/
|
|
188
|
-
|
|
39
|
+
startHeight: bigint;
|
|
189
40
|
/**
|
|
190
|
-
*
|
|
41
|
+
* Ending block height
|
|
42
|
+
*
|
|
43
|
+
* @generated from protobuf field: sint64 end_height = 4
|
|
191
44
|
*/
|
|
192
|
-
|
|
193
|
-
}
|
|
194
|
-
/**
|
|
195
|
-
* @generated from protobuf message injective_dmm_v2_rpc.GetMarketRewardsResponse
|
|
196
|
-
*/
|
|
197
|
-
interface GetMarketRewardsResponse {
|
|
45
|
+
endHeight: bigint;
|
|
198
46
|
/**
|
|
199
|
-
*
|
|
47
|
+
* Number of snapshots taken
|
|
48
|
+
*
|
|
49
|
+
* @generated from protobuf field: sint32 snapshot_count = 5
|
|
200
50
|
*/
|
|
201
|
-
|
|
202
|
-
}
|
|
203
|
-
/**
|
|
204
|
-
* @generated from protobuf message injective_dmm_v2_rpc.GetEligibleAddressesResponse
|
|
205
|
-
*/
|
|
206
|
-
interface GetEligibleAddressesResponse {
|
|
51
|
+
snapshotCount: number;
|
|
207
52
|
/**
|
|
208
|
-
*
|
|
53
|
+
* Number of results
|
|
54
|
+
*
|
|
55
|
+
* @generated from protobuf field: sint32 result_count = 6
|
|
209
56
|
*/
|
|
210
|
-
|
|
57
|
+
resultCount: number;
|
|
211
58
|
/**
|
|
212
|
-
*
|
|
59
|
+
* Epoch configuration
|
|
60
|
+
*
|
|
61
|
+
* @generated from protobuf field: injective_dmm_v2.EpochConfigV2 config = 7
|
|
213
62
|
*/
|
|
214
|
-
|
|
215
|
-
}
|
|
216
|
-
/**
|
|
217
|
-
* @generated from protobuf message injective_dmm_v2_rpc.GetRewardsDistributionResponse
|
|
218
|
-
*/
|
|
219
|
-
interface GetRewardsDistributionResponse {
|
|
63
|
+
config?: EpochConfigV2$1;
|
|
220
64
|
/**
|
|
221
|
-
*
|
|
65
|
+
* Creation timestamp
|
|
66
|
+
*
|
|
67
|
+
* @generated from protobuf field: string created_at = 8
|
|
222
68
|
*/
|
|
223
|
-
|
|
69
|
+
createdAt: string;
|
|
224
70
|
/**
|
|
225
|
-
*
|
|
71
|
+
* Last update timestamp
|
|
72
|
+
*
|
|
73
|
+
* @generated from protobuf field: string updated_at = 9
|
|
226
74
|
*/
|
|
227
|
-
|
|
75
|
+
updatedAt: string;
|
|
228
76
|
}
|
|
229
77
|
/**
|
|
230
|
-
*
|
|
78
|
+
* Epoch configuration settings
|
|
79
|
+
*
|
|
80
|
+
* @generated from protobuf message injective_dmm_v2.EpochConfigV2
|
|
231
81
|
*/
|
|
232
|
-
interface
|
|
233
|
-
/**
|
|
234
|
-
* @generated from protobuf field: repeated injective_dmm_v2_rpc.AccountVolume volumes = 1
|
|
235
|
-
*/
|
|
236
|
-
volumes: AccountVolume$1[];
|
|
237
|
-
/**
|
|
238
|
-
* @generated from protobuf field: string current_maker_volume_percentage = 2
|
|
239
|
-
*/
|
|
240
|
-
currentMakerVolumePercentage: string;
|
|
241
|
-
/**
|
|
242
|
-
* @generated from protobuf field: string average_daily_maker_volume_percentage = 3
|
|
243
|
-
*/
|
|
244
|
-
averageDailyMakerVolumePercentage: string;
|
|
245
|
-
/**
|
|
246
|
-
* @generated from protobuf field: bool eligible_for_next_epoch = 4
|
|
247
|
-
*/
|
|
248
|
-
eligibleForNextEpoch: boolean;
|
|
82
|
+
interface EpochConfigV2$1 {
|
|
249
83
|
/**
|
|
250
|
-
*
|
|
84
|
+
* Epoch start date
|
|
85
|
+
*
|
|
86
|
+
* @generated from protobuf field: string start_date = 1
|
|
251
87
|
*/
|
|
252
|
-
|
|
88
|
+
startDate: string;
|
|
253
89
|
/**
|
|
254
|
-
*
|
|
90
|
+
* Epoch end date
|
|
91
|
+
*
|
|
92
|
+
* @generated from protobuf field: string end_date = 2
|
|
255
93
|
*/
|
|
256
|
-
|
|
94
|
+
endDate: string;
|
|
257
95
|
/**
|
|
258
|
-
*
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
}
|
|
262
|
-
/**
|
|
263
|
-
* @generated from protobuf message injective_dmm_v2_rpc.EpochV2
|
|
264
|
-
*/
|
|
265
|
-
interface EpochV2$1 {
|
|
266
|
-
/**
|
|
267
|
-
* @generated from protobuf field: string epoch_id = 1
|
|
96
|
+
* Total INJ reward for the epoch
|
|
97
|
+
*
|
|
98
|
+
* @generated from protobuf field: string reward_inj = 3
|
|
268
99
|
*/
|
|
269
|
-
|
|
100
|
+
rewardInj: string;
|
|
270
101
|
/**
|
|
271
|
-
*
|
|
102
|
+
* Markets included in the epoch
|
|
103
|
+
*
|
|
104
|
+
* @generated from protobuf field: repeated injective_dmm_v2.Market markets = 4
|
|
272
105
|
*/
|
|
273
|
-
|
|
106
|
+
markets: Market$1[];
|
|
274
107
|
/**
|
|
275
|
-
*
|
|
108
|
+
* Exponent for liquidity score calculation
|
|
109
|
+
*
|
|
110
|
+
* @generated from protobuf field: string liquidity_score_exponent = 5
|
|
276
111
|
*/
|
|
277
|
-
|
|
112
|
+
liquidityScoreExponent: string;
|
|
278
113
|
/**
|
|
279
|
-
*
|
|
114
|
+
* Exponent for uptime score calculation
|
|
115
|
+
*
|
|
116
|
+
* @generated from protobuf field: string uptime_exponent = 6
|
|
280
117
|
*/
|
|
281
|
-
|
|
118
|
+
uptimeExponent: string;
|
|
282
119
|
/**
|
|
283
|
-
*
|
|
120
|
+
* Exponent for volume score calculation
|
|
121
|
+
*
|
|
122
|
+
* @generated from protobuf field: string volume_exponent = 7
|
|
284
123
|
*/
|
|
285
|
-
|
|
124
|
+
volumeExponent: string;
|
|
286
125
|
/**
|
|
287
|
-
*
|
|
126
|
+
* Volume threshold for permanence qualification
|
|
127
|
+
*
|
|
128
|
+
* @generated from protobuf field: optional string permanence_volume_threshold = 8
|
|
288
129
|
*/
|
|
289
|
-
|
|
130
|
+
permanenceVolumeThreshold?: string;
|
|
290
131
|
/**
|
|
291
|
-
*
|
|
132
|
+
* Volume threshold for reward qualification
|
|
133
|
+
*
|
|
134
|
+
* @generated from protobuf field: optional string qualifying_volume_threshold = 9
|
|
292
135
|
*/
|
|
293
|
-
|
|
136
|
+
qualifyingVolumeThreshold?: string;
|
|
294
137
|
/**
|
|
295
|
-
*
|
|
138
|
+
* Epoch number
|
|
139
|
+
*
|
|
140
|
+
* @generated from protobuf field: sint32 number = 10
|
|
296
141
|
*/
|
|
297
|
-
|
|
142
|
+
number: number;
|
|
298
143
|
/**
|
|
299
|
-
*
|
|
144
|
+
* Whether this is a mini epoch
|
|
145
|
+
*
|
|
146
|
+
* @generated from protobuf field: bool is_mini_epoch = 11
|
|
300
147
|
*/
|
|
301
|
-
|
|
148
|
+
isMiniEpoch: boolean;
|
|
302
149
|
}
|
|
303
150
|
/**
|
|
304
|
-
*
|
|
151
|
+
* Market information
|
|
152
|
+
*
|
|
153
|
+
* @generated from protobuf message injective_dmm_v2.Market
|
|
305
154
|
*/
|
|
306
155
|
interface Market$1 {
|
|
307
156
|
/**
|
|
157
|
+
* Market identifier
|
|
158
|
+
*
|
|
308
159
|
* @generated from protobuf field: string market_id = 1
|
|
309
160
|
*/
|
|
310
161
|
marketId: string;
|
|
311
162
|
/**
|
|
163
|
+
* Market ticker symbol
|
|
164
|
+
*
|
|
312
165
|
* @generated from protobuf field: string ticker = 2
|
|
313
166
|
*/
|
|
314
167
|
ticker: string;
|
|
315
168
|
/**
|
|
316
|
-
*
|
|
169
|
+
* Market start date
|
|
170
|
+
*
|
|
171
|
+
* @generated from protobuf field: optional string start_date = 3
|
|
317
172
|
*/
|
|
318
|
-
startDate?:
|
|
173
|
+
startDate?: string;
|
|
319
174
|
/**
|
|
175
|
+
* Pre-allocated reward amount
|
|
176
|
+
*
|
|
320
177
|
* @generated from protobuf field: optional string pre_allocated_reward = 4
|
|
321
178
|
*/
|
|
322
179
|
preAllocatedReward?: string;
|
|
323
180
|
}
|
|
324
181
|
/**
|
|
325
|
-
*
|
|
182
|
+
* Pagination parameters for paginated requests and responses
|
|
183
|
+
*
|
|
184
|
+
* @generated from protobuf message injective_dmm_v2.Pagination
|
|
326
185
|
*/
|
|
327
|
-
interface
|
|
328
|
-
/**
|
|
329
|
-
* @generated from protobuf field: google.protobuf.Timestamp start_date = 1
|
|
330
|
-
*/
|
|
331
|
-
startDate?: Timestamp;
|
|
332
|
-
/**
|
|
333
|
-
* @generated from protobuf field: google.protobuf.Timestamp end_date = 2
|
|
334
|
-
*/
|
|
335
|
-
endDate?: Timestamp;
|
|
336
|
-
/**
|
|
337
|
-
* @generated from protobuf field: string reward_inj = 3
|
|
338
|
-
*/
|
|
339
|
-
rewardInj: string;
|
|
340
|
-
/**
|
|
341
|
-
* @generated from protobuf field: repeated injective_dmm_v2_rpc.Market markets = 4
|
|
342
|
-
*/
|
|
343
|
-
markets: Market$1[];
|
|
344
|
-
/**
|
|
345
|
-
* @generated from protobuf field: string liquidity_score_exponent = 5
|
|
346
|
-
*/
|
|
347
|
-
liquidityScoreExponent: string;
|
|
348
|
-
/**
|
|
349
|
-
* @generated from protobuf field: string uptime_exponent = 6
|
|
350
|
-
*/
|
|
351
|
-
uptimeExponent: string;
|
|
352
|
-
/**
|
|
353
|
-
* @generated from protobuf field: string volume_exponent = 7
|
|
354
|
-
*/
|
|
355
|
-
volumeExponent: string;
|
|
186
|
+
interface Pagination {
|
|
356
187
|
/**
|
|
357
|
-
*
|
|
188
|
+
* Starting offset
|
|
189
|
+
*
|
|
190
|
+
* @generated from protobuf field: optional sint32 from = 1
|
|
358
191
|
*/
|
|
359
|
-
|
|
192
|
+
from?: number;
|
|
360
193
|
/**
|
|
361
|
-
*
|
|
194
|
+
* Block height
|
|
195
|
+
*
|
|
196
|
+
* @generated from protobuf field: optional sint32 height = 2
|
|
362
197
|
*/
|
|
363
|
-
|
|
198
|
+
height?: number;
|
|
364
199
|
/**
|
|
365
|
-
*
|
|
200
|
+
* Items per page
|
|
201
|
+
*
|
|
202
|
+
* @generated from protobuf field: optional sint32 per_page = 3
|
|
366
203
|
*/
|
|
367
|
-
|
|
204
|
+
perPage?: number;
|
|
368
205
|
/**
|
|
369
|
-
*
|
|
206
|
+
* Total count
|
|
207
|
+
*
|
|
208
|
+
* @generated from protobuf field: optional sint32 total = 4
|
|
370
209
|
*/
|
|
371
|
-
|
|
210
|
+
total?: number;
|
|
372
211
|
}
|
|
373
212
|
/**
|
|
374
|
-
*
|
|
213
|
+
* Total score for a market/account in an epoch
|
|
214
|
+
*
|
|
215
|
+
* @generated from protobuf message injective_dmm_v2.TotalScore
|
|
375
216
|
*/
|
|
376
217
|
interface TotalScore$1 {
|
|
377
218
|
/**
|
|
219
|
+
* Epoch identifier
|
|
220
|
+
*
|
|
378
221
|
* @generated from protobuf field: string epoch_id = 1
|
|
379
222
|
*/
|
|
380
223
|
epochId: string;
|
|
381
224
|
/**
|
|
225
|
+
* Market identifier
|
|
226
|
+
*
|
|
382
227
|
* @generated from protobuf field: string market_id = 2
|
|
383
228
|
*/
|
|
384
229
|
marketId: string;
|
|
385
230
|
/**
|
|
231
|
+
* Account address
|
|
232
|
+
*
|
|
386
233
|
* @generated from protobuf field: string account_address = 3
|
|
387
234
|
*/
|
|
388
235
|
accountAddress: string;
|
|
389
236
|
/**
|
|
390
|
-
*
|
|
237
|
+
* Block height
|
|
238
|
+
*
|
|
239
|
+
* @generated from protobuf field: sint64 height = 4
|
|
391
240
|
*/
|
|
392
241
|
height: bigint;
|
|
393
242
|
/**
|
|
394
|
-
*
|
|
243
|
+
* Starting block height
|
|
244
|
+
*
|
|
245
|
+
* @generated from protobuf field: sint64 start_height = 5
|
|
395
246
|
*/
|
|
396
247
|
startHeight: bigint;
|
|
397
248
|
/**
|
|
398
|
-
*
|
|
249
|
+
* Block timestamp
|
|
250
|
+
*
|
|
251
|
+
* @generated from protobuf field: string block_time = 6
|
|
399
252
|
*/
|
|
400
|
-
blockTime
|
|
253
|
+
blockTime: string;
|
|
401
254
|
/**
|
|
255
|
+
* Bid amount
|
|
256
|
+
*
|
|
402
257
|
* @generated from protobuf field: string bid = 7
|
|
403
258
|
*/
|
|
404
259
|
bid: string;
|
|
405
260
|
/**
|
|
261
|
+
* Ask amount
|
|
262
|
+
*
|
|
406
263
|
* @generated from protobuf field: string ask = 8
|
|
407
264
|
*/
|
|
408
265
|
ask: string;
|
|
409
266
|
/**
|
|
267
|
+
* Order book depth
|
|
268
|
+
*
|
|
410
269
|
* @generated from protobuf field: string depth = 9
|
|
411
270
|
*/
|
|
412
271
|
depth: string;
|
|
413
272
|
/**
|
|
414
|
-
*
|
|
415
|
-
|
|
416
|
-
snapshotCount: number;
|
|
417
|
-
/**
|
|
273
|
+
* Liquidity score
|
|
274
|
+
*
|
|
418
275
|
* @generated from protobuf field: string liquidity_score = 10
|
|
419
276
|
*/
|
|
420
277
|
liquidityScore: string;
|
|
421
278
|
/**
|
|
279
|
+
* Weighted liquidity score
|
|
280
|
+
*
|
|
422
281
|
* @generated from protobuf field: string liquidity_score_ponderated = 11
|
|
423
282
|
*/
|
|
424
283
|
liquidityScorePonderated: string;
|
|
425
284
|
/**
|
|
285
|
+
* Uptime score
|
|
286
|
+
*
|
|
426
287
|
* @generated from protobuf field: string uptime_score = 12
|
|
427
288
|
*/
|
|
428
289
|
uptimeScore: string;
|
|
429
290
|
/**
|
|
430
|
-
*
|
|
431
|
-
|
|
432
|
-
bidSnapshot: string;
|
|
433
|
-
/**
|
|
434
|
-
* @generated from protobuf field: string ask_snapshot = 37
|
|
435
|
-
*/
|
|
436
|
-
askSnapshot: string;
|
|
437
|
-
/**
|
|
438
|
-
* @generated from protobuf field: string depth_snapshot = 38
|
|
439
|
-
*/
|
|
440
|
-
depthSnapshot: string;
|
|
441
|
-
/**
|
|
442
|
-
* @generated from protobuf field: string liquidity_score_snapshot = 39
|
|
443
|
-
*/
|
|
444
|
-
liquidityScoreSnapshot: string;
|
|
445
|
-
/**
|
|
446
|
-
* @generated from protobuf field: string uptime_score_snapshot = 40
|
|
447
|
-
*/
|
|
448
|
-
uptimeScoreSnapshot: string;
|
|
449
|
-
/**
|
|
291
|
+
* Weighted uptime score
|
|
292
|
+
*
|
|
450
293
|
* @generated from protobuf field: string uptime_score_ponderated = 13
|
|
451
294
|
*/
|
|
452
295
|
uptimeScorePonderated: string;
|
|
453
296
|
/**
|
|
297
|
+
* Uptime percentage
|
|
298
|
+
*
|
|
454
299
|
* @generated from protobuf field: string uptime_percentage = 14
|
|
455
300
|
*/
|
|
456
301
|
uptimePercentage: string;
|
|
457
302
|
/**
|
|
303
|
+
* Starting volume
|
|
304
|
+
*
|
|
458
305
|
* @generated from protobuf field: string start_volume = 15
|
|
459
306
|
*/
|
|
460
307
|
startVolume: string;
|
|
461
308
|
/**
|
|
309
|
+
* Current volume
|
|
310
|
+
*
|
|
462
311
|
* @generated from protobuf field: string current_volume = 16
|
|
463
312
|
*/
|
|
464
313
|
currentVolume: string;
|
|
465
314
|
/**
|
|
466
|
-
*
|
|
467
|
-
|
|
468
|
-
volume: string;
|
|
469
|
-
/**
|
|
315
|
+
* Volume score
|
|
316
|
+
*
|
|
470
317
|
* @generated from protobuf field: string volume_score = 17
|
|
471
318
|
*/
|
|
472
319
|
volumeScore: string;
|
|
473
320
|
/**
|
|
321
|
+
* Weighted volume score
|
|
322
|
+
*
|
|
474
323
|
* @generated from protobuf field: string volume_score_ponderated = 18
|
|
475
324
|
*/
|
|
476
325
|
volumeScorePonderated: string;
|
|
477
326
|
/**
|
|
327
|
+
* Total combined score
|
|
328
|
+
*
|
|
329
|
+
* @generated from protobuf field: string total_score = 22
|
|
330
|
+
*/
|
|
331
|
+
totalScore: string;
|
|
332
|
+
/**
|
|
333
|
+
* Calculated reward amount
|
|
334
|
+
*
|
|
335
|
+
* @generated from protobuf field: string reward = 23
|
|
336
|
+
*/
|
|
337
|
+
reward: string;
|
|
338
|
+
/**
|
|
339
|
+
* Reward percentage
|
|
340
|
+
*
|
|
341
|
+
* @generated from protobuf field: string reward_percentage = 24
|
|
342
|
+
*/
|
|
343
|
+
rewardPercentage: string;
|
|
344
|
+
/**
|
|
345
|
+
* Creation timestamp
|
|
346
|
+
*
|
|
347
|
+
* @generated from protobuf field: string created_at = 26
|
|
348
|
+
*/
|
|
349
|
+
createdAt: string;
|
|
350
|
+
/**
|
|
351
|
+
* Last update timestamp
|
|
352
|
+
*
|
|
353
|
+
* @generated from protobuf field: string updated_at = 27
|
|
354
|
+
*/
|
|
355
|
+
updatedAt: string;
|
|
356
|
+
/**
|
|
357
|
+
* Number of snapshots
|
|
358
|
+
*
|
|
359
|
+
* @generated from protobuf field: sint32 snapshot_count = 28
|
|
360
|
+
*/
|
|
361
|
+
snapshotCount: number;
|
|
362
|
+
/**
|
|
363
|
+
* Total volume
|
|
364
|
+
*
|
|
365
|
+
* @generated from protobuf field: string volume = 29
|
|
366
|
+
*/
|
|
367
|
+
volume: string;
|
|
368
|
+
/**
|
|
369
|
+
* Starting taker volume
|
|
370
|
+
*
|
|
478
371
|
* @generated from protobuf field: string taker_start_volume = 30
|
|
479
372
|
*/
|
|
480
373
|
takerStartVolume: string;
|
|
481
374
|
/**
|
|
375
|
+
* Current taker volume
|
|
376
|
+
*
|
|
482
377
|
* @generated from protobuf field: string taker_current_volume = 31
|
|
483
378
|
*/
|
|
484
379
|
takerCurrentVolume: string;
|
|
485
380
|
/**
|
|
381
|
+
* Total taker volume
|
|
382
|
+
*
|
|
486
383
|
* @generated from protobuf field: string taker_volume = 32
|
|
487
384
|
*/
|
|
488
385
|
takerVolume: string;
|
|
489
386
|
/**
|
|
387
|
+
* Starting maker volume
|
|
388
|
+
*
|
|
490
389
|
* @generated from protobuf field: string maker_start_volume = 33
|
|
491
390
|
*/
|
|
492
391
|
makerStartVolume: string;
|
|
493
392
|
/**
|
|
393
|
+
* Current maker volume
|
|
394
|
+
*
|
|
494
395
|
* @generated from protobuf field: string maker_current_volume = 34
|
|
495
396
|
*/
|
|
496
397
|
makerCurrentVolume: string;
|
|
497
398
|
/**
|
|
399
|
+
* Total maker volume
|
|
400
|
+
*
|
|
498
401
|
* @generated from protobuf field: string maker_volume = 35
|
|
499
402
|
*/
|
|
500
|
-
makerVolume: string;
|
|
403
|
+
makerVolume: string;
|
|
404
|
+
/**
|
|
405
|
+
* Bid snapshot value
|
|
406
|
+
*
|
|
407
|
+
* @generated from protobuf field: string bid_snapshot = 36
|
|
408
|
+
*/
|
|
409
|
+
bidSnapshot: string;
|
|
410
|
+
/**
|
|
411
|
+
* Ask snapshot value
|
|
412
|
+
*
|
|
413
|
+
* @generated from protobuf field: string ask_snapshot = 37
|
|
414
|
+
*/
|
|
415
|
+
askSnapshot: string;
|
|
416
|
+
/**
|
|
417
|
+
* Depth snapshot value
|
|
418
|
+
*
|
|
419
|
+
* @generated from protobuf field: string depth_snapshot = 38
|
|
420
|
+
*/
|
|
421
|
+
depthSnapshot: string;
|
|
422
|
+
/**
|
|
423
|
+
* Liquidity score snapshot
|
|
424
|
+
*
|
|
425
|
+
* @generated from protobuf field: string liquidity_score_snapshot = 39
|
|
426
|
+
*/
|
|
427
|
+
liquidityScoreSnapshot: string;
|
|
501
428
|
/**
|
|
502
|
-
*
|
|
429
|
+
* Uptime score snapshot
|
|
430
|
+
*
|
|
431
|
+
* @generated from protobuf field: string uptime_score_snapshot = 40
|
|
503
432
|
*/
|
|
504
|
-
|
|
433
|
+
uptimeScoreSnapshot: string;
|
|
505
434
|
/**
|
|
506
|
-
*
|
|
435
|
+
* Whether to skip this score
|
|
436
|
+
*
|
|
437
|
+
* @generated from protobuf field: bool skip = 41
|
|
507
438
|
*/
|
|
508
|
-
|
|
439
|
+
skip: boolean;
|
|
440
|
+
}
|
|
441
|
+
/**
|
|
442
|
+
* @generated from protobuf message injective_dmm_v2.GetTotalScoresHistoryResponse
|
|
443
|
+
*/
|
|
444
|
+
interface GetTotalScoresHistoryResponse {
|
|
509
445
|
/**
|
|
510
|
-
*
|
|
446
|
+
* List of total scores
|
|
447
|
+
*
|
|
448
|
+
* @generated from protobuf field: repeated injective_dmm_v2.TotalScore scores = 1
|
|
511
449
|
*/
|
|
512
|
-
|
|
450
|
+
scores: TotalScore$1[];
|
|
513
451
|
/**
|
|
514
|
-
*
|
|
452
|
+
* Next page pagination info
|
|
453
|
+
*
|
|
454
|
+
* @generated from protobuf field: injective_dmm_v2.Pagination next = 2
|
|
515
455
|
*/
|
|
516
|
-
|
|
456
|
+
next?: Pagination;
|
|
457
|
+
}
|
|
458
|
+
/**
|
|
459
|
+
* @generated from protobuf message injective_dmm_v2.GetEpochScoresResponse
|
|
460
|
+
*/
|
|
461
|
+
interface GetEpochScoresResponse {
|
|
517
462
|
/**
|
|
518
|
-
*
|
|
463
|
+
* List of epoch scores
|
|
464
|
+
*
|
|
465
|
+
* @generated from protobuf field: repeated injective_dmm_v2.EpochScore scores = 1
|
|
519
466
|
*/
|
|
520
|
-
|
|
467
|
+
scores: EpochScore$1[];
|
|
521
468
|
/**
|
|
522
|
-
*
|
|
469
|
+
* Next page pagination info
|
|
470
|
+
*
|
|
471
|
+
* @generated from protobuf field: injective_dmm_v2.Pagination next = 2
|
|
523
472
|
*/
|
|
524
|
-
|
|
473
|
+
next?: Pagination;
|
|
525
474
|
}
|
|
526
475
|
/**
|
|
527
|
-
*
|
|
476
|
+
* Epoch score for an account
|
|
477
|
+
*
|
|
478
|
+
* @generated from protobuf message injective_dmm_v2.EpochScore
|
|
528
479
|
*/
|
|
529
480
|
interface EpochScore$1 {
|
|
530
481
|
/**
|
|
482
|
+
* Epoch identifier
|
|
483
|
+
*
|
|
531
484
|
* @generated from protobuf field: string epoch_id = 1
|
|
532
485
|
*/
|
|
533
486
|
epochId: string;
|
|
534
487
|
/**
|
|
488
|
+
* Account address
|
|
489
|
+
*
|
|
535
490
|
* @generated from protobuf field: string account_address = 2
|
|
536
491
|
*/
|
|
537
492
|
accountAddress: string;
|
|
538
493
|
/**
|
|
539
|
-
*
|
|
494
|
+
* Block height
|
|
495
|
+
*
|
|
496
|
+
* @generated from protobuf field: sint64 height = 3
|
|
540
497
|
*/
|
|
541
498
|
height: bigint;
|
|
542
499
|
/**
|
|
543
|
-
*
|
|
500
|
+
* Block timestamp
|
|
501
|
+
*
|
|
502
|
+
* @generated from protobuf field: string block_time = 4
|
|
544
503
|
*/
|
|
545
|
-
blockTime
|
|
504
|
+
blockTime: string;
|
|
546
505
|
/**
|
|
547
|
-
*
|
|
506
|
+
* Starting block height
|
|
507
|
+
*
|
|
508
|
+
* @generated from protobuf field: sint64 start_height = 5
|
|
548
509
|
*/
|
|
549
510
|
startHeight: bigint;
|
|
550
511
|
/**
|
|
551
|
-
*
|
|
552
|
-
|
|
553
|
-
depth: string;
|
|
554
|
-
/**
|
|
512
|
+
* Liquidity score
|
|
513
|
+
*
|
|
555
514
|
* @generated from protobuf field: string liquidity_score = 6
|
|
556
515
|
*/
|
|
557
516
|
liquidityScore: string;
|
|
558
517
|
/**
|
|
518
|
+
* Weighted liquidity score
|
|
519
|
+
*
|
|
559
520
|
* @generated from protobuf field: string liquidity_score_ponderated = 7
|
|
560
521
|
*/
|
|
561
522
|
liquidityScorePonderated: string;
|
|
562
523
|
/**
|
|
524
|
+
* Uptime score
|
|
525
|
+
*
|
|
563
526
|
* @generated from protobuf field: string uptime_score = 8
|
|
564
527
|
*/
|
|
565
528
|
uptimeScore: string;
|
|
566
529
|
/**
|
|
530
|
+
* Weighted uptime score
|
|
531
|
+
*
|
|
567
532
|
* @generated from protobuf field: string uptime_score_ponderated = 9
|
|
568
533
|
*/
|
|
569
534
|
uptimeScorePonderated: string;
|
|
570
535
|
/**
|
|
571
|
-
*
|
|
572
|
-
|
|
573
|
-
uptimePercentage: string;
|
|
574
|
-
/**
|
|
536
|
+
* Volume score
|
|
537
|
+
*
|
|
575
538
|
* @generated from protobuf field: string volume_score = 10
|
|
576
539
|
*/
|
|
577
540
|
volumeScore: string;
|
|
578
541
|
/**
|
|
542
|
+
* Weighted volume score
|
|
543
|
+
*
|
|
579
544
|
* @generated from protobuf field: string volume_score_ponderated = 11
|
|
580
545
|
*/
|
|
581
546
|
volumeScorePonderated: string;
|
|
582
547
|
/**
|
|
548
|
+
* Total combined score
|
|
549
|
+
*
|
|
583
550
|
* @generated from protobuf field: string total_score = 12
|
|
584
551
|
*/
|
|
585
552
|
totalScore: string;
|
|
586
553
|
/**
|
|
554
|
+
* Total volume
|
|
555
|
+
*
|
|
587
556
|
* @generated from protobuf field: string volume = 13
|
|
588
557
|
*/
|
|
589
558
|
volume: string;
|
|
590
559
|
/**
|
|
560
|
+
* Maker volume
|
|
561
|
+
*
|
|
591
562
|
* @generated from protobuf field: string maker_volume = 14
|
|
592
563
|
*/
|
|
593
564
|
makerVolume: string;
|
|
594
565
|
/**
|
|
566
|
+
* Taker volume
|
|
567
|
+
*
|
|
595
568
|
* @generated from protobuf field: string taker_volume = 15
|
|
596
569
|
*/
|
|
597
570
|
takerVolume: string;
|
|
598
571
|
/**
|
|
572
|
+
* Calculated reward amount
|
|
573
|
+
*
|
|
599
574
|
* @generated from protobuf field: string reward = 16
|
|
600
575
|
*/
|
|
601
576
|
reward: string;
|
|
602
577
|
/**
|
|
578
|
+
* Reward percentage
|
|
579
|
+
*
|
|
603
580
|
* @generated from protobuf field: string reward_percentage = 17
|
|
604
581
|
*/
|
|
605
582
|
rewardPercentage: string;
|
|
606
583
|
/**
|
|
584
|
+
* Whether account qualifies for rewards
|
|
585
|
+
*
|
|
607
586
|
* @generated from protobuf field: bool qualifies = 18
|
|
608
587
|
*/
|
|
609
588
|
qualifies: boolean;
|
|
610
589
|
/**
|
|
590
|
+
* Volume percentage
|
|
591
|
+
*
|
|
611
592
|
* @generated from protobuf field: string volume_percentage = 19
|
|
612
593
|
*/
|
|
613
594
|
volumePercentage: string;
|
|
614
595
|
/**
|
|
615
|
-
*
|
|
596
|
+
* Creation timestamp
|
|
597
|
+
*
|
|
598
|
+
* @generated from protobuf field: string created_at = 20
|
|
599
|
+
*/
|
|
600
|
+
createdAt: string;
|
|
601
|
+
/**
|
|
602
|
+
* Last update timestamp
|
|
603
|
+
*
|
|
604
|
+
* @generated from protobuf field: string updated_at = 21
|
|
605
|
+
*/
|
|
606
|
+
updatedAt: string;
|
|
607
|
+
/**
|
|
608
|
+
* Uptime percentage
|
|
609
|
+
*
|
|
610
|
+
* @generated from protobuf field: string uptime_percentage = 22
|
|
611
|
+
*/
|
|
612
|
+
uptimePercentage: string;
|
|
613
|
+
/**
|
|
614
|
+
* Order book depth
|
|
615
|
+
*
|
|
616
|
+
* @generated from protobuf field: optional string depth = 23
|
|
617
|
+
*/
|
|
618
|
+
depth?: string;
|
|
619
|
+
}
|
|
620
|
+
/**
|
|
621
|
+
* @generated from protobuf message injective_dmm_v2.GetEpochScoresHistoryResponse
|
|
622
|
+
*/
|
|
623
|
+
interface GetEpochScoresHistoryResponse {
|
|
624
|
+
/**
|
|
625
|
+
* List of epoch scores
|
|
626
|
+
*
|
|
627
|
+
* @generated from protobuf field: repeated injective_dmm_v2.EpochScore scores = 1
|
|
628
|
+
*/
|
|
629
|
+
scores: EpochScore$1[];
|
|
630
|
+
/**
|
|
631
|
+
* Next page pagination info
|
|
632
|
+
*
|
|
633
|
+
* @generated from protobuf field: injective_dmm_v2.Pagination next = 2
|
|
616
634
|
*/
|
|
617
|
-
|
|
635
|
+
next?: Pagination;
|
|
636
|
+
}
|
|
637
|
+
/**
|
|
638
|
+
* @generated from protobuf message injective_dmm_v2.GetMarketRewardsResponse
|
|
639
|
+
*/
|
|
640
|
+
interface GetMarketRewardsResponse {
|
|
618
641
|
/**
|
|
619
|
-
*
|
|
642
|
+
* List of market rewards
|
|
643
|
+
*
|
|
644
|
+
* @generated from protobuf field: repeated injective_dmm_v2.MarketReward rewards = 1
|
|
620
645
|
*/
|
|
621
|
-
|
|
646
|
+
rewards: MarketReward$1[];
|
|
622
647
|
}
|
|
623
648
|
/**
|
|
624
|
-
*
|
|
649
|
+
* Market reward information
|
|
650
|
+
*
|
|
651
|
+
* @generated from protobuf message injective_dmm_v2.MarketReward
|
|
625
652
|
*/
|
|
626
653
|
interface MarketReward$1 {
|
|
627
654
|
/**
|
|
655
|
+
* Epoch identifier
|
|
656
|
+
*
|
|
628
657
|
* @generated from protobuf field: string epoch_id = 1
|
|
629
658
|
*/
|
|
630
659
|
epochId: string;
|
|
631
660
|
/**
|
|
661
|
+
* Market identifier
|
|
662
|
+
*
|
|
632
663
|
* @generated from protobuf field: string market_id = 2
|
|
633
664
|
*/
|
|
634
665
|
marketId: string;
|
|
635
666
|
/**
|
|
636
|
-
*
|
|
637
|
-
|
|
638
|
-
height: bigint;
|
|
639
|
-
/**
|
|
667
|
+
* Reward amount
|
|
668
|
+
*
|
|
640
669
|
* @generated from protobuf field: string reward = 3
|
|
641
670
|
*/
|
|
642
671
|
reward: string;
|
|
643
672
|
/**
|
|
673
|
+
* Reward percentage
|
|
674
|
+
*
|
|
644
675
|
* @generated from protobuf field: string reward_percentage = 4
|
|
645
676
|
*/
|
|
646
677
|
rewardPercentage: string;
|
|
647
678
|
/**
|
|
648
|
-
*
|
|
679
|
+
* Start date
|
|
680
|
+
*
|
|
681
|
+
* @generated from protobuf field: string start_date = 5
|
|
649
682
|
*/
|
|
650
|
-
|
|
683
|
+
startDate: string;
|
|
651
684
|
/**
|
|
652
|
-
*
|
|
685
|
+
* End date
|
|
686
|
+
*
|
|
687
|
+
* @generated from protobuf field: string end_date = 6
|
|
653
688
|
*/
|
|
654
|
-
|
|
689
|
+
endDate: string;
|
|
655
690
|
/**
|
|
656
|
-
*
|
|
691
|
+
* Total score
|
|
692
|
+
*
|
|
693
|
+
* @generated from protobuf field: string total_score = 9
|
|
657
694
|
*/
|
|
658
|
-
|
|
695
|
+
totalScore: string;
|
|
659
696
|
/**
|
|
660
|
-
*
|
|
697
|
+
* Creation timestamp
|
|
698
|
+
*
|
|
699
|
+
* @generated from protobuf field: string created_at = 10
|
|
661
700
|
*/
|
|
662
|
-
|
|
701
|
+
createdAt: string;
|
|
663
702
|
/**
|
|
664
|
-
*
|
|
703
|
+
* Last update timestamp
|
|
704
|
+
*
|
|
705
|
+
* @generated from protobuf field: string updated_at = 11
|
|
665
706
|
*/
|
|
666
|
-
|
|
707
|
+
updatedAt: string;
|
|
708
|
+
/**
|
|
709
|
+
* Block height
|
|
710
|
+
*
|
|
711
|
+
* @generated from protobuf field: sint64 height = 12
|
|
712
|
+
*/
|
|
713
|
+
height: bigint;
|
|
714
|
+
/**
|
|
715
|
+
* Market liquidity
|
|
716
|
+
*
|
|
717
|
+
* @generated from protobuf field: string liquidity = 13
|
|
718
|
+
*/
|
|
719
|
+
liquidity: string;
|
|
720
|
+
/**
|
|
721
|
+
* Mini epochs reward
|
|
722
|
+
*
|
|
723
|
+
* @generated from protobuf field: string mini_epochs_reward = 14
|
|
724
|
+
*/
|
|
725
|
+
miniEpochsReward: string;
|
|
726
|
+
}
|
|
727
|
+
/**
|
|
728
|
+
* @generated from protobuf message injective_dmm_v2.GetEligibleAddressesResponse
|
|
729
|
+
*/
|
|
730
|
+
interface GetEligibleAddressesResponse {
|
|
667
731
|
/**
|
|
668
|
-
*
|
|
732
|
+
* List of eligible addresses
|
|
733
|
+
*
|
|
734
|
+
* @generated from protobuf field: repeated injective_dmm_v2.EligibleAddress addresses = 1
|
|
669
735
|
*/
|
|
670
|
-
|
|
736
|
+
addresses: EligibleAddress$1[];
|
|
671
737
|
/**
|
|
672
|
-
*
|
|
738
|
+
* Next page pagination info
|
|
739
|
+
*
|
|
740
|
+
* @generated from protobuf field: injective_dmm_v2.Pagination next = 2
|
|
673
741
|
*/
|
|
674
|
-
|
|
742
|
+
next?: Pagination;
|
|
675
743
|
}
|
|
676
744
|
/**
|
|
677
|
-
*
|
|
745
|
+
* Eligible address for rewards
|
|
746
|
+
*
|
|
747
|
+
* @generated from protobuf message injective_dmm_v2.EligibleAddress
|
|
678
748
|
*/
|
|
679
749
|
interface EligibleAddress$1 {
|
|
680
750
|
/**
|
|
751
|
+
* Epoch identifier
|
|
752
|
+
*
|
|
681
753
|
* @generated from protobuf field: string epoch_id = 1
|
|
682
754
|
*/
|
|
683
755
|
epochId: string;
|
|
684
756
|
/**
|
|
757
|
+
* Account address
|
|
758
|
+
*
|
|
685
759
|
* @generated from protobuf field: string account_address = 2
|
|
686
760
|
*/
|
|
687
761
|
accountAddress: string;
|
|
688
762
|
/**
|
|
689
|
-
*
|
|
763
|
+
* Block height
|
|
764
|
+
*
|
|
765
|
+
* @generated from protobuf field: sint64 height = 3
|
|
690
766
|
*/
|
|
691
767
|
height: bigint;
|
|
692
768
|
/**
|
|
769
|
+
* Source of eligibility
|
|
770
|
+
*
|
|
693
771
|
* @generated from protobuf field: string source = 4
|
|
694
772
|
*/
|
|
695
773
|
source: string;
|
|
696
774
|
/**
|
|
697
|
-
*
|
|
775
|
+
* Creation timestamp
|
|
776
|
+
*
|
|
777
|
+
* @generated from protobuf field: string created_at = 5
|
|
778
|
+
*/
|
|
779
|
+
createdAt: string;
|
|
780
|
+
/**
|
|
781
|
+
* Last update timestamp
|
|
782
|
+
*
|
|
783
|
+
* @generated from protobuf field: string updated_at = 6
|
|
784
|
+
*/
|
|
785
|
+
updatedAt: string;
|
|
786
|
+
}
|
|
787
|
+
/**
|
|
788
|
+
* @generated from protobuf message injective_dmm_v2.GetRewardsDistributionResponse
|
|
789
|
+
*/
|
|
790
|
+
interface GetRewardsDistributionResponse {
|
|
791
|
+
/**
|
|
792
|
+
* List of reward distributions
|
|
793
|
+
*
|
|
794
|
+
* @generated from protobuf field: repeated injective_dmm_v2.RewardDistribution rewards = 1
|
|
698
795
|
*/
|
|
699
|
-
|
|
796
|
+
rewards: RewardDistribution$1[];
|
|
700
797
|
/**
|
|
701
|
-
*
|
|
798
|
+
* Next page pagination info
|
|
799
|
+
*
|
|
800
|
+
* @generated from protobuf field: injective_dmm_v2.Pagination next = 2
|
|
702
801
|
*/
|
|
703
|
-
|
|
802
|
+
next?: Pagination;
|
|
704
803
|
}
|
|
705
804
|
/**
|
|
706
|
-
*
|
|
805
|
+
* Reward distribution record
|
|
806
|
+
*
|
|
807
|
+
* @generated from protobuf message injective_dmm_v2.RewardDistribution
|
|
707
808
|
*/
|
|
708
809
|
interface RewardDistribution$1 {
|
|
709
810
|
/**
|
|
811
|
+
* Epoch identifier
|
|
812
|
+
*
|
|
710
813
|
* @generated from protobuf field: string epoch_id = 1
|
|
711
814
|
*/
|
|
712
815
|
epochId: string;
|
|
713
816
|
/**
|
|
817
|
+
* Account address
|
|
818
|
+
*
|
|
714
819
|
* @generated from protobuf field: string account_address = 2
|
|
715
820
|
*/
|
|
716
821
|
accountAddress: string;
|
|
717
822
|
/**
|
|
718
|
-
*
|
|
823
|
+
* Block height
|
|
824
|
+
*
|
|
825
|
+
* @generated from protobuf field: sint64 height = 3
|
|
719
826
|
*/
|
|
720
827
|
height: bigint;
|
|
721
828
|
/**
|
|
722
|
-
*
|
|
829
|
+
* Starting block height
|
|
830
|
+
*
|
|
831
|
+
* @generated from protobuf field: sint64 start_height = 4
|
|
723
832
|
*/
|
|
724
833
|
startHeight: bigint;
|
|
725
834
|
/**
|
|
726
|
-
*
|
|
835
|
+
* Block timestamp
|
|
836
|
+
*
|
|
837
|
+
* @generated from protobuf field: string block_time = 5
|
|
727
838
|
*/
|
|
728
|
-
blockTime
|
|
839
|
+
blockTime: string;
|
|
729
840
|
/**
|
|
841
|
+
* Order book depth
|
|
842
|
+
*
|
|
730
843
|
* @generated from protobuf field: string depth = 6
|
|
731
844
|
*/
|
|
732
845
|
depth: string;
|
|
733
846
|
/**
|
|
847
|
+
* Reward amount
|
|
848
|
+
*
|
|
734
849
|
* @generated from protobuf field: string reward = 7
|
|
735
850
|
*/
|
|
736
851
|
reward: string;
|
|
737
852
|
/**
|
|
738
|
-
*
|
|
853
|
+
* Creation timestamp
|
|
854
|
+
*
|
|
855
|
+
* @generated from protobuf field: string created_at = 9
|
|
739
856
|
*/
|
|
740
|
-
createdAt
|
|
857
|
+
createdAt: string;
|
|
741
858
|
/**
|
|
742
|
-
*
|
|
859
|
+
* Last update timestamp
|
|
860
|
+
*
|
|
861
|
+
* @generated from protobuf field: string updated_at = 10
|
|
743
862
|
*/
|
|
744
|
-
updatedAt
|
|
863
|
+
updatedAt: string;
|
|
745
864
|
}
|
|
746
865
|
/**
|
|
747
|
-
*
|
|
866
|
+
* Account volume data
|
|
867
|
+
*
|
|
868
|
+
* @generated from protobuf message injective_dmm_v2.AccountVolume
|
|
748
869
|
*/
|
|
749
870
|
interface AccountVolume$1 {
|
|
750
871
|
/**
|
|
872
|
+
* Epoch identifier
|
|
873
|
+
*
|
|
751
874
|
* @generated from protobuf field: string epoch_id = 1
|
|
752
875
|
*/
|
|
753
876
|
epochId: string;
|
|
754
877
|
/**
|
|
878
|
+
* Account address
|
|
879
|
+
*
|
|
755
880
|
* @generated from protobuf field: string account_address = 2
|
|
756
881
|
*/
|
|
757
882
|
accountAddress: string;
|
|
758
883
|
/**
|
|
759
|
-
*
|
|
884
|
+
* Block height
|
|
885
|
+
*
|
|
886
|
+
* @generated from protobuf field: sint64 height = 3
|
|
760
887
|
*/
|
|
761
888
|
height: bigint;
|
|
762
889
|
/**
|
|
763
|
-
*
|
|
890
|
+
* Block timestamp
|
|
891
|
+
*
|
|
892
|
+
* @generated from protobuf field: string block_time = 4
|
|
764
893
|
*/
|
|
765
|
-
blockTime
|
|
894
|
+
blockTime: string;
|
|
766
895
|
/**
|
|
896
|
+
* Date string
|
|
897
|
+
*
|
|
767
898
|
* @generated from protobuf field: string date = 6
|
|
768
899
|
*/
|
|
769
900
|
date: string;
|
|
770
901
|
/**
|
|
771
|
-
*
|
|
772
|
-
|
|
773
|
-
dateTimestamp?: Timestamp;
|
|
774
|
-
/**
|
|
902
|
+
* Total volume
|
|
903
|
+
*
|
|
775
904
|
* @generated from protobuf field: string volume = 7
|
|
776
905
|
*/
|
|
777
906
|
volume: string;
|
|
778
907
|
/**
|
|
908
|
+
* Taker volume
|
|
909
|
+
*
|
|
779
910
|
* @generated from protobuf field: string taker_volume = 8
|
|
780
911
|
*/
|
|
781
912
|
takerVolume: string;
|
|
782
913
|
/**
|
|
914
|
+
* Maker volume
|
|
915
|
+
*
|
|
783
916
|
* @generated from protobuf field: string maker_volume = 9
|
|
784
917
|
*/
|
|
785
918
|
makerVolume: string;
|
|
786
919
|
/**
|
|
920
|
+
* Volume percentage
|
|
921
|
+
*
|
|
787
922
|
* @generated from protobuf field: string volume_percentage = 10
|
|
788
923
|
*/
|
|
789
924
|
volumePercentage: string;
|
|
790
925
|
/**
|
|
926
|
+
* Maker volume percentage
|
|
927
|
+
*
|
|
791
928
|
* @generated from protobuf field: string maker_volume_percentage = 11
|
|
792
929
|
*/
|
|
793
930
|
makerVolumePercentage: string;
|
|
794
931
|
/**
|
|
932
|
+
* Taker volume percentage
|
|
933
|
+
*
|
|
795
934
|
* @generated from protobuf field: string taker_volume_percentage = 12
|
|
796
935
|
*/
|
|
797
936
|
takerVolumePercentage: string;
|
|
798
937
|
/**
|
|
938
|
+
* Creation timestamp
|
|
939
|
+
*
|
|
940
|
+
* @generated from protobuf field: string created_at = 13
|
|
941
|
+
*/
|
|
942
|
+
createdAt: string;
|
|
943
|
+
/**
|
|
944
|
+
* Last update timestamp
|
|
945
|
+
*
|
|
946
|
+
* @generated from protobuf field: string updated_at = 14
|
|
947
|
+
*/
|
|
948
|
+
updatedAt: string;
|
|
949
|
+
/**
|
|
950
|
+
* Date as timestamp
|
|
951
|
+
*
|
|
952
|
+
* @generated from protobuf field: string date_timestamp = 15
|
|
953
|
+
*/
|
|
954
|
+
dateTimestamp: string;
|
|
955
|
+
/**
|
|
956
|
+
* Daily volume
|
|
957
|
+
*
|
|
799
958
|
* @generated from protobuf field: string daily_volume = 16
|
|
800
959
|
*/
|
|
801
960
|
dailyVolume: string;
|
|
802
961
|
/**
|
|
962
|
+
* Daily maker volume
|
|
963
|
+
*
|
|
803
964
|
* @generated from protobuf field: string daily_maker_volume = 17
|
|
804
965
|
*/
|
|
805
966
|
dailyMakerVolume: string;
|
|
806
967
|
/**
|
|
968
|
+
* Daily taker volume
|
|
969
|
+
*
|
|
807
970
|
* @generated from protobuf field: string daily_taker_volume = 18
|
|
808
971
|
*/
|
|
809
972
|
dailyTakerVolume: string;
|
|
810
973
|
/**
|
|
974
|
+
* Daily volume percentage
|
|
975
|
+
*
|
|
811
976
|
* @generated from protobuf field: string daily_volume_percentage = 19
|
|
812
977
|
*/
|
|
813
978
|
dailyVolumePercentage: string;
|
|
814
979
|
/**
|
|
980
|
+
* Daily maker volume percentage
|
|
981
|
+
*
|
|
815
982
|
* @generated from protobuf field: string daily_maker_volume_percentage = 20
|
|
816
983
|
*/
|
|
817
984
|
dailyMakerVolumePercentage: string;
|
|
818
985
|
/**
|
|
986
|
+
* Daily taker volume percentage
|
|
987
|
+
*
|
|
819
988
|
* @generated from protobuf field: string daily_taker_volume_percentage = 21
|
|
820
989
|
*/
|
|
821
990
|
dailyTakerVolumePercentage: string;
|
|
822
991
|
/**
|
|
992
|
+
* Whether qualified for daily rewards
|
|
993
|
+
*
|
|
823
994
|
* @generated from protobuf field: bool daily_qualified = 22
|
|
824
995
|
*/
|
|
825
996
|
dailyQualified: boolean;
|
|
997
|
+
}
|
|
998
|
+
/**
|
|
999
|
+
* @generated from protobuf message injective_dmm_v2.GetRewardsEligibilityResponse
|
|
1000
|
+
*/
|
|
1001
|
+
interface GetRewardsEligibilityResponse {
|
|
1002
|
+
/**
|
|
1003
|
+
* Account volume data
|
|
1004
|
+
*
|
|
1005
|
+
* @generated from protobuf field: repeated injective_dmm_v2.AccountVolume volumes = 1
|
|
1006
|
+
*/
|
|
1007
|
+
volumes: AccountVolume$1[];
|
|
1008
|
+
/**
|
|
1009
|
+
* Current maker volume percentage
|
|
1010
|
+
*
|
|
1011
|
+
* @generated from protobuf field: string current_maker_volume_percentage = 2
|
|
1012
|
+
*/
|
|
1013
|
+
currentMakerVolumePercentage: string;
|
|
1014
|
+
/**
|
|
1015
|
+
* Average daily maker volume percentage
|
|
1016
|
+
*
|
|
1017
|
+
* @generated from protobuf field: optional string average_daily_maker_volume_percentage = 3
|
|
1018
|
+
*/
|
|
1019
|
+
averageDailyMakerVolumePercentage?: string;
|
|
826
1020
|
/**
|
|
827
|
-
*
|
|
1021
|
+
* Whether eligible for next epoch
|
|
1022
|
+
*
|
|
1023
|
+
* @generated from protobuf field: bool eligible_for_next_epoch = 4
|
|
1024
|
+
*/
|
|
1025
|
+
eligibleForNextEpoch: boolean;
|
|
1026
|
+
/**
|
|
1027
|
+
* Estimated reward amount
|
|
1028
|
+
*
|
|
1029
|
+
* @generated from protobuf field: string estimated_reward = 5
|
|
1030
|
+
*/
|
|
1031
|
+
estimatedReward: string;
|
|
1032
|
+
/**
|
|
1033
|
+
* Whether eligible for current epoch
|
|
1034
|
+
*
|
|
1035
|
+
* @generated from protobuf field: bool eligible_for_current_epoch = 6
|
|
828
1036
|
*/
|
|
829
|
-
|
|
1037
|
+
eligibleForCurrentEpoch: boolean;
|
|
830
1038
|
/**
|
|
831
|
-
*
|
|
1039
|
+
* Last update timestamp
|
|
1040
|
+
*
|
|
1041
|
+
* @generated from protobuf field: string updated_at = 7
|
|
832
1042
|
*/
|
|
833
|
-
updatedAt
|
|
1043
|
+
updatedAt: string;
|
|
834
1044
|
}
|
|
835
1045
|
/**
|
|
836
|
-
* @generated MessageType for protobuf message
|
|
837
|
-
*/
|
|
838
|
-
declare const Pagination = new Pagination$Type();
|
|
839
|
-
/**
|
|
840
|
-
* @generated MessageType for protobuf message injective_dmm_v2_rpc.GetEpochsResponse
|
|
1046
|
+
* @generated MessageType for protobuf message injective_dmm_v2.GetEpochsResponse
|
|
841
1047
|
*/
|
|
842
1048
|
declare const GetEpochsResponse = new GetEpochsResponse$Type();
|
|
843
1049
|
/**
|
|
844
|
-
* @generated MessageType for protobuf message
|
|
1050
|
+
* @generated MessageType for protobuf message injective_dmm_v2.EpochV2
|
|
845
1051
|
*/
|
|
846
|
-
declare const
|
|
1052
|
+
declare const EpochV2$1 = new EpochV2$Type();
|
|
847
1053
|
/**
|
|
848
|
-
* @generated MessageType for protobuf message
|
|
1054
|
+
* @generated MessageType for protobuf message injective_dmm_v2.EpochConfigV2
|
|
849
1055
|
*/
|
|
850
|
-
declare const
|
|
1056
|
+
declare const EpochConfigV2$1 = new EpochConfigV2$Type();
|
|
851
1057
|
/**
|
|
852
|
-
* @generated MessageType for protobuf message
|
|
1058
|
+
* @generated MessageType for protobuf message injective_dmm_v2.Market
|
|
853
1059
|
*/
|
|
854
|
-
declare const
|
|
1060
|
+
declare const Market$1 = new Market$Type();
|
|
855
1061
|
/**
|
|
856
|
-
* @generated MessageType for protobuf message
|
|
1062
|
+
* @generated MessageType for protobuf message injective_dmm_v2.Pagination
|
|
857
1063
|
*/
|
|
858
|
-
declare const
|
|
1064
|
+
declare const Pagination = new Pagination$Type();
|
|
859
1065
|
/**
|
|
860
|
-
* @generated MessageType for protobuf message
|
|
1066
|
+
* @generated MessageType for protobuf message injective_dmm_v2.TotalScore
|
|
861
1067
|
*/
|
|
862
|
-
declare const
|
|
1068
|
+
declare const TotalScore$1 = new TotalScore$Type();
|
|
863
1069
|
/**
|
|
864
|
-
* @generated MessageType for protobuf message
|
|
1070
|
+
* @generated MessageType for protobuf message injective_dmm_v2.GetTotalScoresHistoryResponse
|
|
865
1071
|
*/
|
|
866
|
-
declare const
|
|
1072
|
+
declare const GetTotalScoresHistoryResponse = new GetTotalScoresHistoryResponse$Type();
|
|
867
1073
|
/**
|
|
868
|
-
* @generated MessageType for protobuf message
|
|
1074
|
+
* @generated MessageType for protobuf message injective_dmm_v2.GetEpochScoresResponse
|
|
869
1075
|
*/
|
|
870
|
-
declare const
|
|
1076
|
+
declare const GetEpochScoresResponse = new GetEpochScoresResponse$Type();
|
|
871
1077
|
/**
|
|
872
|
-
* @generated MessageType for protobuf message
|
|
1078
|
+
* @generated MessageType for protobuf message injective_dmm_v2.EpochScore
|
|
873
1079
|
*/
|
|
874
|
-
declare const
|
|
1080
|
+
declare const EpochScore$1 = new EpochScore$Type();
|
|
875
1081
|
/**
|
|
876
|
-
* @generated MessageType for protobuf message
|
|
1082
|
+
* @generated MessageType for protobuf message injective_dmm_v2.GetEpochScoresHistoryResponse
|
|
877
1083
|
*/
|
|
878
|
-
declare const
|
|
1084
|
+
declare const GetEpochScoresHistoryResponse = new GetEpochScoresHistoryResponse$Type();
|
|
879
1085
|
/**
|
|
880
|
-
* @generated MessageType for protobuf message
|
|
1086
|
+
* @generated MessageType for protobuf message injective_dmm_v2.GetMarketRewardsResponse
|
|
881
1087
|
*/
|
|
882
|
-
declare const
|
|
1088
|
+
declare const GetMarketRewardsResponse = new GetMarketRewardsResponse$Type();
|
|
883
1089
|
/**
|
|
884
|
-
* @generated MessageType for protobuf message
|
|
1090
|
+
* @generated MessageType for protobuf message injective_dmm_v2.MarketReward
|
|
885
1091
|
*/
|
|
886
|
-
declare const
|
|
1092
|
+
declare const MarketReward$1 = new MarketReward$Type();
|
|
887
1093
|
/**
|
|
888
|
-
* @generated MessageType for protobuf message
|
|
1094
|
+
* @generated MessageType for protobuf message injective_dmm_v2.GetEligibleAddressesResponse
|
|
889
1095
|
*/
|
|
890
|
-
declare const
|
|
1096
|
+
declare const GetEligibleAddressesResponse = new GetEligibleAddressesResponse$Type();
|
|
891
1097
|
/**
|
|
892
|
-
* @generated MessageType for protobuf message
|
|
1098
|
+
* @generated MessageType for protobuf message injective_dmm_v2.EligibleAddress
|
|
893
1099
|
*/
|
|
894
|
-
declare const
|
|
1100
|
+
declare const EligibleAddress$1 = new EligibleAddress$Type();
|
|
895
1101
|
/**
|
|
896
|
-
* @generated MessageType for protobuf message
|
|
1102
|
+
* @generated MessageType for protobuf message injective_dmm_v2.GetRewardsDistributionResponse
|
|
897
1103
|
*/
|
|
898
|
-
declare const
|
|
1104
|
+
declare const GetRewardsDistributionResponse = new GetRewardsDistributionResponse$Type();
|
|
899
1105
|
/**
|
|
900
|
-
* @generated MessageType for protobuf message
|
|
1106
|
+
* @generated MessageType for protobuf message injective_dmm_v2.RewardDistribution
|
|
901
1107
|
*/
|
|
902
1108
|
declare const RewardDistribution$1 = new RewardDistribution$Type();
|
|
903
1109
|
/**
|
|
904
|
-
* @generated MessageType for protobuf message
|
|
1110
|
+
* @generated MessageType for protobuf message injective_dmm_v2.AccountVolume
|
|
905
1111
|
*/
|
|
906
1112
|
declare const AccountVolume$1 = new AccountVolume$Type();
|
|
1113
|
+
/**
|
|
1114
|
+
* @generated MessageType for protobuf message injective_dmm_v2.GetRewardsEligibilityResponse
|
|
1115
|
+
*/
|
|
1116
|
+
declare const GetRewardsEligibilityResponse = new GetRewardsEligibilityResponse$Type();
|
|
907
1117
|
//#endregion
|
|
908
1118
|
//#region src/client/base/BaseIndexerGrpcConsumer.d.ts
|
|
909
1119
|
/**
|
|
@@ -1037,7 +1247,7 @@ interface AccountVolumes {
|
|
|
1037
1247
|
interface RewardsEligibility {
|
|
1038
1248
|
volumes: AccountVolume[];
|
|
1039
1249
|
currentMakerVolumePercentage: string;
|
|
1040
|
-
averageDailyMakerVolumePercentage
|
|
1250
|
+
averageDailyMakerVolumePercentage?: string;
|
|
1041
1251
|
eligibleForNextEpoch: boolean;
|
|
1042
1252
|
eligibleForCurrentEpoch: boolean;
|
|
1043
1253
|
estimatedReward: string;
|
|
@@ -1068,8 +1278,8 @@ interface EpochConfigV2 {
|
|
|
1068
1278
|
liquidityScoreExponent: string;
|
|
1069
1279
|
uptimeExponent: string;
|
|
1070
1280
|
volumeExponent: string;
|
|
1071
|
-
permanenceVolumeThreshold
|
|
1072
|
-
qualifyingVolumeThreshold
|
|
1281
|
+
permanenceVolumeThreshold?: string;
|
|
1282
|
+
qualifyingVolumeThreshold?: string;
|
|
1073
1283
|
number: number;
|
|
1074
1284
|
isMiniEpoch: boolean;
|
|
1075
1285
|
}
|