-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore/update-thornode-mayanode (#1326)
- Loading branch information
1 parent
8e2dc13
commit 6ceedf7
Showing
12 changed files
with
1,104 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@xchainjs/xchain-mayanode': patch | ||
'@xchainjs/xchain-thornode': patch | ||
--- | ||
|
||
Updated to the latest api spec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Mayanode API | ||
* Mayanode REST API. | ||
* | ||
* The version of the OpenAPI document: 1.110.0 | ||
* The version of the OpenAPI document: 1.117.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
@@ -1129,12 +1129,36 @@ export interface Mayaname { | |
* @memberof Mayaname | ||
*/ | ||
'preferred_asset': string; | ||
/** | ||
* Amount of CACAO currently required to swap to preferred asset (this is variable based on outbound fee of the asset). | ||
* @type {string} | ||
* @memberof Mayaname | ||
*/ | ||
'preferred_asset_swap_threshold_cacao'?: string; | ||
/** | ||
* Amount of CACAO currently accrued by this thorname in affiliate fees waiting to be swapped to preferred asset. | ||
* @type {string} | ||
* @memberof Mayaname | ||
*/ | ||
'affiliate_collector_cacao'?: string; | ||
/** | ||
* | ||
* @type {Array<MayanameAlias>} | ||
* @memberof Mayaname | ||
*/ | ||
'aliases': Array<MayanameAlias>; | ||
/** | ||
* Affiliate basis points for calculating affiliate fees, which are applied as the default basis points when the MAYAName is listed as an affiliate in swap memo. | ||
* @type {number} | ||
* @memberof Mayaname | ||
*/ | ||
'affiliate_bps'?: number; | ||
/** | ||
* List of subaffiliates and the corresponding affiliate basis points. If a MAYAName is specified as an affiliate in a swap memo, the shares of the affiliate fee are distributed among the listed subaffiliates based on the basis points assigned to each subaffiliate. | ||
* @type {Array<MayanameSubaffiliate>} | ||
* @memberof Mayaname | ||
*/ | ||
'subaffiliates'?: Array<MayanameSubaffiliate>; | ||
} | ||
/** | ||
* | ||
|
@@ -1193,6 +1217,25 @@ export interface MayanameAlias { | |
*/ | ||
export interface MayanameResponse extends Array<Mayaname1> { | ||
} | ||
/** | ||
* | ||
* @export | ||
* @interface MayanameSubaffiliate | ||
*/ | ||
export interface MayanameSubaffiliate { | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof MayanameSubaffiliate | ||
*/ | ||
'name'?: string; | ||
/** | ||
* | ||
* @type {number} | ||
* @memberof MayanameSubaffiliate | ||
*/ | ||
'bps'?: number; | ||
} | ||
/** | ||
* | ||
* @export | ||
|
@@ -1566,6 +1609,12 @@ export interface NodeBondProvider { | |
* @memberof NodeBondProvider | ||
*/ | ||
'reward': string; | ||
/** | ||
* Pools the Bond Provider is bonded from to that Node Address | ||
* @type {{ [key: string]: string; }} | ||
* @memberof NodeBondProvider | ||
*/ | ||
'pools': { [key: string]: string; }; | ||
} | ||
/** | ||
* | ||
|
@@ -2008,6 +2057,12 @@ export interface Pool { | |
* @memberof Pool | ||
*/ | ||
'synth_mint_paused': boolean; | ||
/** | ||
* whether LPs can bond liquidity in the pool to a node | ||
* @type {boolean} | ||
* @memberof Pool | ||
*/ | ||
'bondable': boolean; | ||
} | ||
/** | ||
* | ||
|
@@ -2886,6 +2941,24 @@ export interface TxOutItem { | |
* @memberof TxOutItem | ||
*/ | ||
'out_hash'?: string; | ||
/** | ||
* the contract address if an aggregator is specified for a non-mayachain SwapOut | ||
* @type {string} | ||
* @memberof TxOutItem | ||
*/ | ||
'aggregator'?: string; | ||
/** | ||
* the desired output asset of the aggregator SwapOut | ||
* @type {string} | ||
* @memberof TxOutItem | ||
*/ | ||
'aggregator_target_asset'?: string; | ||
/** | ||
* the minimum amount of SwapOut asset to receive (else cancelling the SwapOut and receiving mayachain\'s output) | ||
* @type {string} | ||
* @memberof TxOutItem | ||
*/ | ||
'aggregator_target_limit'?: string; | ||
/** | ||
* | ||
* @type {number} | ||
|
@@ -3232,6 +3305,12 @@ export interface VaultPubkeysResponse { | |
* @memberof VaultPubkeysResponse | ||
*/ | ||
'yggdrasil': Array<VaultInfo>; | ||
/** | ||
* | ||
* @type {Array<VaultInfo>} | ||
* @memberof VaultPubkeysResponse | ||
*/ | ||
'inactive': Array<VaultInfo>; | ||
} | ||
/** | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Mayanode API | ||
* Mayanode REST API. | ||
* | ||
* The version of the OpenAPI document: 1.110.0 | ||
* The version of the OpenAPI document: 1.117.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Mayanode API | ||
* Mayanode REST API. | ||
* | ||
* The version of the OpenAPI document: 1.110.0 | ||
* The version of the OpenAPI document: 1.117.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Mayanode API | ||
* Mayanode REST API. | ||
* | ||
* The version of the OpenAPI document: 1.110.0 | ||
* The version of the OpenAPI document: 1.117.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Mayanode API | ||
* Mayanode REST API. | ||
* | ||
* The version of the OpenAPI document: 1.110.0 | ||
* The version of the OpenAPI document: 1.117.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.