Skip to content

Commit 7dc2f6f

Browse files
authored
Update specs (#256)
* update specs * bump version
1 parent 0e3dbd7 commit 7dc2f6f

File tree

2 files changed

+28
-4
lines changed

2 files changed

+28
-4
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": "4.2.24",
3+
"version": "4.2.25",
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: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10597,8 +10597,13 @@ export interface components {
1059710597
* @example 1
1059810598
*/
1059910599
number: number;
10600-
/** @description Amount of ETH to deposit per key. */
10600+
/**
10601+
* @deprecated
10602+
* @description Amount of ETH to deposit per key.
10603+
*/
1060110604
amount_per_key_in_eth?: number;
10605+
/** @description Amount of ETH in GWEI to deposit per key. */
10606+
amount_per_key_in_gwei?: number;
1060210607
/**
1060310608
* @description Enable compounding withdrawal
1060410609
* @example false
@@ -33751,7 +33756,7 @@ export interface components {
3375133756
*/
3375233757
fee: Record<string, never>;
3375333758
/**
33754-
* @description List of messages included in the transaction.
33759+
* @description List of messages included in the transaction. The list contains one message for the staking delegation and one more message for rewards restaking in case specified as a parameter (`restake_rewards=true`).
3375533760
* @example [
3375633761
* {
3375733762
* "typeUrl": "/cosmos.staking.v1beta1.MsgDelegate",
@@ -33763,10 +33768,19 @@ export interface components {
3376333768
* "amount": "1000000"
3376433769
* }
3376533770
* }
33771+
* },
33772+
* {
33773+
* "typeUrl": "/cosmos.staking.v1beta1.StakeAuthorization",
33774+
* "allowList": {
33775+
* "address": [
33776+
* "kavavaloper1u9xeaqdjz3kky2ymdhdsn0ra5uy9tc3ep3yfhe"
33777+
* ]
33778+
* },
33779+
* "AuthorizationType": 1
3376633780
* }
3376733781
* ]
3376833782
*/
33769-
messages: components["schemas"]["KAVAStakeMessage"][];
33783+
messages: (components["schemas"]["KAVAStakeMessage"] | components["schemas"]["KAVAStakeMessageRestake"])[];
3377033784
/**
3377133785
* @description Chain ID
3377233786
* @example cosmoshub-4
@@ -34525,6 +34539,16 @@ export interface components {
3452534539
* @example 1000000000000000000000000
3452634540
*/
3452734541
amount_ukava: string;
34542+
/**
34543+
* @description If enabled, the rewards will be automatically restaked
34544+
* @default false
34545+
*/
34546+
restake_rewards: boolean;
34547+
/**
34548+
* @description Grantee address, this address is specific to each validator. Kiln grantee addresses are found here: https://github.com/eco-stake/validator-registry/blob/master/Kiln/chains.json https://github.com/eco-stake/validator-registry/blob/master/interop/chains.json
34549+
* @example cosmos1u4whe0pwlgt7q7ph37qxalq2wfq4pkcdze5fmd
34550+
*/
34551+
grantee_address?: string;
3452834552
};
3452934553
KAVACraftRestakeRewardsTxPayload: {
3453034554
/**

0 commit comments

Comments
 (0)