Skip to content

Commit acdbddd

Browse files
kiln-botmenefrego15
andcommitted
Update OpenAPI schema (#176)
* Update OpenAPI schema * bump version 4.0.4 --------- Co-authored-by: Kiln Bot <[email protected]> Co-authored-by: ilies <[email protected]>
1 parent 6e07394 commit acdbddd

File tree

1 file changed

+2
-89
lines changed

1 file changed

+2
-89
lines changed

src/openapi/schema.ts

Lines changed: 2 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -2029,26 +2029,6 @@ 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-
};
20522032
"/mantra/transaction/unstake": {
20532033
parameters: {
20542034
query?: never;
@@ -15259,7 +15239,7 @@ export interface components {
1525915239
*/
1526015240
fee: Record<string, never>;
1526115241
/**
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`).
15242+
* @description List of messages included in the transaction.
1526315243
* @example [
1526415244
* {
1526515245
* "typeUrl": "/cosmos.staking.v1beta1.MsgDelegate",
@@ -15271,19 +15251,10 @@ export interface components {
1527115251
* "amount": "1000000"
1527215252
* }
1527315253
* }
15274-
* },
15275-
* {
15276-
* "typeUrl": "/cosmos.staking.v1beta1.StakeAuthorization",
15277-
* "allowList": {
15278-
* "address": [
15279-
* "mantravaloper1qum83utf8833n4f857w98dxc5w8qlnq9eeew4g"
15280-
* ]
15281-
* },
15282-
* "AuthorizationType": 1
1528315254
* }
1528415255
* ]
1528515256
*/
15286-
messages: (components["schemas"]["MANTRAStakeMessage"] | components["schemas"]["MANTRAStakeMessageRestake"])[];
15257+
messages: components["schemas"]["MANTRAStakeMessage"][];
1528715258
/**
1528815259
* @description Chain ID
1528915260
* @example cosmoshub-4
@@ -16042,16 +16013,6 @@ export interface components {
1604216013
* @example 1000000000000000000000000
1604316014
*/
1604416015
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;
1605516016
};
1605616017
MANTRACraftRestakeRewardsTxPayload: {
1605716018
/**
@@ -39334,54 +39295,6 @@ export interface operations {
3933439295
};
3933539296
};
3933639297
};
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-
};
3938539298
postMantraUnstakeTx: {
3938639299
parameters: {
3938739300
query?: never;

0 commit comments

Comments
 (0)