Skip to content

Commit

Permalink
Update OpenAPI schema (#165)
Browse files Browse the repository at this point in the history
* Update OpenAPI schema

* bump to 3.1.24

---------

Co-authored-by: Kiln Bot <[email protected]>
Co-authored-by: Martin Saldinger <[email protected]>
  • Loading branch information
3 people authored Nov 29, 2024
1 parent 9b6d70d commit 0ddb8a3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kilnfi/sdk",
"version": "3.1.23",
"version": "3.1.24",
"autor": "Kiln <[email protected]> (https://kiln.fi)",
"license": "BUSL-1.1",
"description": "JavaScript sdk for Kiln API",
Expand Down
23 changes: 18 additions & 5 deletions src/openapi/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7292,6 +7292,16 @@ export interface components {
* @example 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
*/
token_address: string;
/**
* @description Symbol of the token
* @example EIGEN
*/
token_symbol: string;
/**
* @description Decimals of the token
* @example 18
*/
token_decimals: number;
/**
* @description Amount of claimable rewards
* @example 423768272961631825
Expand Down Expand Up @@ -7348,12 +7358,12 @@ export interface components {
*/
beaconchain_restaked_balance: string;
/**
* @description The sum of validators that are not restaked in the eigenpod and that don't have an `activation_eligibility_epoch` set yet
* @description The sum of validators that are not restaked in the eigenpod and that are not `active_ongoing`
* @example 32000000000000000000
*/
beaconchain_pending_balance: string;
/**
* @description The sum of validators that are not restaked in the eigenpod and that have an `activation_eligibility_epoch` set
* @description The sum of validators that are not restaked in the eigenpod and that are `active_ongoing`
* @example 32000000000000000000
*/
beaconchain_restakable_balance: string;
Expand Down Expand Up @@ -7984,6 +7994,11 @@ export interface components {
* @example 100000
*/
total_rewards: string;
/**
* @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)
* @example 100000
*/
current_rewards: string;
/**
* @description Total deposited amount in the lowest unit of the token (ie asset_amount * 10**decimal)
* @example 1980000
Expand Down Expand Up @@ -9926,7 +9941,6 @@ export interface components {
};
SOLRewardByEpoch: {
/**
* Format: integer
* @description Epoch for this reward entry
* @example 120
*/
Expand Down Expand Up @@ -15082,7 +15096,6 @@ export interface components {
};
NEARRewardByEpoch: {
/**
* Format: integer
* @description Epoch for this reward entry
* @example 120
*/
Expand Down Expand Up @@ -28633,7 +28646,7 @@ export interface components {
* @example single_nominator_pool_v1
* @enum {string}
*/
pool_type: "single_nominator_pool_v1" | "nominator_pool_v1";
pool_type: "single_nominator_pool_v1" | "nominator_pool_v1" | "ton_whales";
/**
* @description Total rewards accumulated by this stake since its first ever delegation
* @example 9020446847418
Expand Down

0 comments on commit 0ddb8a3

Please sign in to comment.