diff --git a/package.json b/package.json index 8c7de9b..10ef056 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kilnfi/sdk", - "version": "4.0.3", + "version": "4.0.4", "autor": "Kiln (https://kiln.fi)", "license": "BUSL-1.1", "description": "JavaScript sdk for Kiln API", diff --git a/src/openapi/schema.ts b/src/openapi/schema.ts index 535e03a..640719f 100644 --- a/src/openapi/schema.ts +++ b/src/openapi/schema.ts @@ -2029,26 +2029,6 @@ export interface paths { patch?: never; trace?: never; }; - "/mantra/transaction/restake-rewards": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Restake Rewards Transaction - * @description Generates a restake rewards transaction on Mantra - */ - post: operations["postMantraRestakeRewardsTx"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; "/mantra/transaction/unstake": { parameters: { query?: never; @@ -15259,7 +15239,7 @@ export interface components { */ fee: Record; /** - * @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`). + * @description List of messages included in the transaction. * @example [ * { * "typeUrl": "/cosmos.staking.v1beta1.MsgDelegate", @@ -15271,19 +15251,10 @@ export interface components { * "amount": "1000000" * } * } - * }, - * { - * "typeUrl": "/cosmos.staking.v1beta1.StakeAuthorization", - * "allowList": { - * "address": [ - * "mantravaloper1qum83utf8833n4f857w98dxc5w8qlnq9eeew4g" - * ] - * }, - * "AuthorizationType": 1 * } * ] */ - messages: (components["schemas"]["MANTRAStakeMessage"] | components["schemas"]["MANTRAStakeMessageRestake"])[]; + messages: components["schemas"]["MANTRAStakeMessage"][]; /** * @description Chain ID * @example cosmoshub-4 @@ -16042,16 +16013,6 @@ export interface components { * @example 1000000000000000000000000 */ amount_uom: string; - /** - * @description If enabled, the rewards will be automatically restaked - * @default false - */ - restake_rewards: boolean; - /** - * @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 - * @example cosmos1u4whe0pwlgt7q7ph37qxalq2wfq4pkcdze5fmd - */ - grantee_address?: string; }; MANTRACraftRestakeRewardsTxPayload: { /** @@ -39334,54 +39295,6 @@ export interface operations { }; }; }; - postMantraRestakeRewardsTx: { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** @description Transaction to craft */ - requestBody: { - content: { - "application/json; charset=utf-8": components["schemas"]["MANTRACraftRestakeRewardsTxPayload"]; - }; - }; - responses: { - /** @description Successful operation */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json; charset=utf-8": { - data: components["schemas"]["MANTRAUnsignedTx"]; - }; - }; - }; - /** @description Invalid parameters */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; postMantraUnstakeTx: { parameters: { query?: never;