@@ -2029,6 +2029,26 @@ export interface paths {
20292029 patch?: never;
20302030 trace?: never;
20312031 };
2032+ "/mantra/transaction/restake-rewards": {
2033+ parameters: {
2034+ query?: never;
2035+ header?: never;
2036+ path?: never;
2037+ cookie?: never;
2038+ };
2039+ get?: never;
2040+ put?: never;
2041+ /**
2042+ * Restake Rewards Transaction
2043+ * @description Generates a restake rewards transaction on Mantra
2044+ */
2045+ post: operations["postMantraRestakeRewardsTx"];
2046+ delete?: never;
2047+ options?: never;
2048+ head?: never;
2049+ patch?: never;
2050+ trace?: never;
2051+ };
20322052 "/mantra/transaction/unstake": {
20332053 parameters: {
20342054 query?: never;
@@ -15239,7 +15259,7 @@ export interface components {
1523915259 */
1524015260 fee: Record<string, never>;
1524115261 /**
15242- * @description List of messages included in the transaction.
15262+ * @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`).
1524315263 * @example [
1524415264 * {
1524515265 * "typeUrl": "/cosmos.staking.v1beta1.MsgDelegate",
@@ -15251,10 +15271,19 @@ export interface components {
1525115271 * "amount": "1000000"
1525215272 * }
1525315273 * }
15274+ * },
15275+ * {
15276+ * "typeUrl": "/cosmos.staking.v1beta1.StakeAuthorization",
15277+ * "allowList": {
15278+ * "address": [
15279+ * "mantravaloper1qum83utf8833n4f857w98dxc5w8qlnq9eeew4g"
15280+ * ]
15281+ * },
15282+ * "AuthorizationType": 1
1525415283 * }
1525515284 * ]
1525615285 */
15257- messages: components["schemas"]["MANTRAStakeMessage"][];
15286+ messages: ( components["schemas"]["MANTRAStakeMessage"] | components["schemas"]["MANTRAStakeMessageRestake"]) [];
1525815287 /**
1525915288 * @description Chain ID
1526015289 * @example cosmoshub-4
@@ -16013,6 +16042,16 @@ export interface components {
1601316042 * @example 1000000000000000000000000
1601416043 */
1601516044 amount_uom: string;
16045+ /**
16046+ * @description If enabled, the rewards will be automatically restaked
16047+ * @default false
16048+ */
16049+ restake_rewards: boolean;
16050+ /**
16051+ * @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
16052+ * @example cosmos1u4whe0pwlgt7q7ph37qxalq2wfq4pkcdze5fmd
16053+ */
16054+ grantee_address?: string;
1601616055 };
1601716056 MANTRACraftRestakeRewardsTxPayload: {
1601816057 /**
@@ -39295,6 +39334,54 @@ export interface operations {
3929539334 };
3929639335 };
3929739336 };
39337+ postMantraRestakeRewardsTx: {
39338+ parameters: {
39339+ query?: never;
39340+ header?: never;
39341+ path?: never;
39342+ cookie?: never;
39343+ };
39344+ /** @description Transaction to craft */
39345+ requestBody: {
39346+ content: {
39347+ "application/json; charset=utf-8": components["schemas"]["MANTRACraftRestakeRewardsTxPayload"];
39348+ };
39349+ };
39350+ responses: {
39351+ /** @description Successful operation */
39352+ 200: {
39353+ headers: {
39354+ [name: string]: unknown;
39355+ };
39356+ content: {
39357+ "application/json; charset=utf-8": {
39358+ data: components["schemas"]["MANTRAUnsignedTx"];
39359+ };
39360+ };
39361+ };
39362+ /** @description Invalid parameters */
39363+ 400: {
39364+ headers: {
39365+ [name: string]: unknown;
39366+ };
39367+ content?: never;
39368+ };
39369+ /** @description Unauthorized */
39370+ 401: {
39371+ headers: {
39372+ [name: string]: unknown;
39373+ };
39374+ content?: never;
39375+ };
39376+ /** @description Internal server error */
39377+ 500: {
39378+ headers: {
39379+ [name: string]: unknown;
39380+ };
39381+ content?: never;
39382+ };
39383+ };
39384+ };
3929839385 postMantraUnstakeTx: {
3929939386 parameters: {
3930039387 query?: never;
0 commit comments