-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into chainflip-dca
- Loading branch information
Showing
17 changed files
with
286 additions
and
56 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
79 changes: 79 additions & 0 deletions
79
...apper/src/swappers/ChainflipSwapper/models/ChainflipBaasQuoteEstimatedDurationsSeconds.ts
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,79 @@ | ||
// @ts-nocheck | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
* Chainflip Broker as a Service | ||
* Run your own Chainflip Broker without any hassle. | ||
* | ||
* The version of the OpenAPI document: v1 | ||
* | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
import { exists, mapValues } from '../runtime'; | ||
/** | ||
* | ||
* @export | ||
* @interface ChainflipBaasQuoteEstimatedDurationsSeconds | ||
*/ | ||
export interface ChainflipBaasQuoteEstimatedDurationsSeconds { | ||
/** | ||
* The estimated time for a deposit to be witnessed. | ||
* @type {number} | ||
* @memberof ChainflipBaasQuoteEstimatedDurationsSeconds | ||
*/ | ||
readonly deposit?: number; | ||
/** | ||
* The estimated time for a swap to be fully executed. | ||
* @type {number} | ||
* @memberof ChainflipBaasQuoteEstimatedDurationsSeconds | ||
*/ | ||
readonly swap?: number; | ||
/** | ||
* The estimated time until the output transaction is included in a block. | ||
* @type {number} | ||
* @memberof ChainflipBaasQuoteEstimatedDurationsSeconds | ||
*/ | ||
readonly egress?: number; | ||
} | ||
|
||
/** | ||
* Check if a given object implements the ChainflipBaasQuoteEstimatedDurationsSeconds interface. | ||
*/ | ||
export function instanceOfChainflipBaasQuoteEstimatedDurationsSeconds(value: object): boolean { | ||
let isInstance = true; | ||
|
||
return isInstance; | ||
} | ||
|
||
export function ChainflipBaasQuoteEstimatedDurationsSecondsFromJSON(json: any): ChainflipBaasQuoteEstimatedDurationsSeconds { | ||
return ChainflipBaasQuoteEstimatedDurationsSecondsFromJSONTyped(json, false); | ||
} | ||
|
||
export function ChainflipBaasQuoteEstimatedDurationsSecondsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChainflipBaasQuoteEstimatedDurationsSeconds { | ||
if ((json === undefined) || (json === null)) { | ||
return json; | ||
} | ||
return { | ||
|
||
'deposit': !exists(json, 'deposit') ? undefined : json['deposit'], | ||
'swap': !exists(json, 'swap') ? undefined : json['swap'], | ||
'egress': !exists(json, 'egress') ? undefined : json['egress'], | ||
}; | ||
} | ||
|
||
export function ChainflipBaasQuoteEstimatedDurationsSecondsToJSON(value?: ChainflipBaasQuoteEstimatedDurationsSeconds | null): any { | ||
if (value === undefined) { | ||
return undefined; | ||
} | ||
if (value === null) { | ||
return null; | ||
} | ||
return { | ||
|
||
}; | ||
} | ||
|
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
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
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
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
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
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.