Skip to content

Commit 0ddb8a3

Browse files
kiln-botLeTamanoir
andauthored
Update OpenAPI schema (#165)
* Update OpenAPI schema * bump to 3.1.24 --------- Co-authored-by: Kiln Bot <[email protected]> Co-authored-by: Martin Saldinger <[email protected]>
1 parent 9b6d70d commit 0ddb8a3

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kilnfi/sdk",
3-
"version": "3.1.23",
3+
"version": "3.1.24",
44
"autor": "Kiln <[email protected]> (https://kiln.fi)",
55
"license": "BUSL-1.1",
66
"description": "JavaScript sdk for Kiln API",

src/openapi/schema.ts

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7292,6 +7292,16 @@ export interface components {
72927292
* @example 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
72937293
*/
72947294
token_address: string;
7295+
/**
7296+
* @description Symbol of the token
7297+
* @example EIGEN
7298+
*/
7299+
token_symbol: string;
7300+
/**
7301+
* @description Decimals of the token
7302+
* @example 18
7303+
*/
7304+
token_decimals: number;
72957305
/**
72967306
* @description Amount of claimable rewards
72977307
* @example 423768272961631825
@@ -7348,12 +7358,12 @@ export interface components {
73487358
*/
73497359
beaconchain_restaked_balance: string;
73507360
/**
7351-
* @description The sum of validators that are not restaked in the eigenpod and that don't have an `activation_eligibility_epoch` set yet
7361+
* @description The sum of validators that are not restaked in the eigenpod and that are not `active_ongoing`
73527362
* @example 32000000000000000000
73537363
*/
73547364
beaconchain_pending_balance: string;
73557365
/**
7356-
* @description The sum of validators that are not restaked in the eigenpod and that have an `activation_eligibility_epoch` set
7366+
* @description The sum of validators that are not restaked in the eigenpod and that are `active_ongoing`
73577367
* @example 32000000000000000000
73587368
*/
73597369
beaconchain_restakable_balance: string;
@@ -7984,6 +7994,11 @@ export interface components {
79847994
* @example 100000
79857995
*/
79867996
total_rewards: string;
7997+
/**
7998+
* @description Current rewards represent the rewards since the last complete withdraw (last time a position went back to 0 in current_balance and a new deposit was performed) in the lowest unit of the token (ie asset_amount * 10**decimal)
7999+
* @example 100000
8000+
*/
8001+
current_rewards: string;
79878002
/**
79888003
* @description Total deposited amount in the lowest unit of the token (ie asset_amount * 10**decimal)
79898004
* @example 1980000
@@ -9926,7 +9941,6 @@ export interface components {
99269941
};
99279942
SOLRewardByEpoch: {
99289943
/**
9929-
* Format: integer
99309944
* @description Epoch for this reward entry
99319945
* @example 120
99329946
*/
@@ -15082,7 +15096,6 @@ export interface components {
1508215096
};
1508315097
NEARRewardByEpoch: {
1508415098
/**
15085-
* Format: integer
1508615099
* @description Epoch for this reward entry
1508715100
* @example 120
1508815101
*/
@@ -28633,7 +28646,7 @@ export interface components {
2863328646
* @example single_nominator_pool_v1
2863428647
* @enum {string}
2863528648
*/
28636-
pool_type: "single_nominator_pool_v1" | "nominator_pool_v1";
28649+
pool_type: "single_nominator_pool_v1" | "nominator_pool_v1" | "ton_whales";
2863728650
/**
2863828651
* @description Total rewards accumulated by this stake since its first ever delegation
2863928652
* @example 9020446847418

0 commit comments

Comments
 (0)