-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into tu/vault-errors
- Loading branch information
Showing
17 changed files
with
381 additions
and
67 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
42 changes: 0 additions & 42 deletions
42
src/commonMain/kotlin/exchange.dydx.abacus/functional/vault/VaultIndexerModels.kt
This file was deleted.
Oops, something went wrong.
28 changes: 28 additions & 0 deletions
28
src/commonMain/kotlin/indexer/codegen/IndexerAddress_registerToken_body.kt
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,28 @@ | ||
/** | ||
* Indexer API | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: v1.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
package indexer.codegen | ||
|
||
import kotlinx.serialization.Serializable | ||
import kotlin.js.JsExport | ||
|
||
/** | ||
* | ||
* @param language | ||
* @param token | ||
*/ | ||
@JsExport | ||
@Serializable | ||
data class AddressRegisterTokenBody( | ||
|
||
val language: kotlin.String? = null, | ||
val token: kotlin.String? = null | ||
) |
26 changes: 26 additions & 0 deletions
26
src/commonMain/kotlin/indexer/codegen/IndexerAffiliateAddressResponse.kt
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,26 @@ | ||
/** | ||
* Indexer API | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: v1.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
package indexer.codegen | ||
|
||
import kotlinx.serialization.Serializable | ||
import kotlin.js.JsExport | ||
|
||
/** | ||
* | ||
* @param address | ||
*/ | ||
@JsExport | ||
@Serializable | ||
data class IndexerAffiliateAddressResponse( | ||
|
||
val address: kotlin.String? = null | ||
) |
30 changes: 30 additions & 0 deletions
30
src/commonMain/kotlin/indexer/codegen/IndexerAffiliateMetadataResponse.kt
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,30 @@ | ||
/** | ||
* Indexer API | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: v1.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
package indexer.codegen | ||
|
||
import kotlinx.serialization.Serializable | ||
import kotlin.js.JsExport | ||
|
||
/** | ||
* | ||
* @param referralCode | ||
* @param isVolumeEligible | ||
* @param isAffiliate | ||
*/ | ||
@JsExport | ||
@Serializable | ||
data class IndexerAffiliateMetadataResponse( | ||
|
||
val referralCode: kotlin.String? = null, | ||
val isVolumeEligible: kotlin.Boolean? = null, | ||
val isAffiliate: kotlin.Boolean? = null | ||
) |
30 changes: 30 additions & 0 deletions
30
src/commonMain/kotlin/indexer/codegen/IndexerAffiliateSnapshotResponse.kt
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,30 @@ | ||
/** | ||
* Indexer API | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: v1.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
package indexer.codegen | ||
|
||
import kotlinx.serialization.Serializable | ||
import kotlin.js.JsExport | ||
|
||
/** | ||
* | ||
* @param affiliateList | ||
* @param total | ||
* @param currentOffset | ||
*/ | ||
@JsExport | ||
@Serializable | ||
data class IndexerAffiliateSnapshotResponse( | ||
|
||
val affiliateList: kotlin.Array<IndexerAffiliateSnapshotResponseObject>? = null, | ||
val total: kotlin.Double? = null, | ||
val currentOffset: kotlin.Double? = null | ||
) |
40 changes: 40 additions & 0 deletions
40
src/commonMain/kotlin/indexer/codegen/IndexerAffiliateSnapshotResponseObject.kt
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,40 @@ | ||
/** | ||
* Indexer API | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: v1.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
package indexer.codegen | ||
|
||
import kotlinx.serialization.Serializable | ||
import kotlin.js.JsExport | ||
|
||
/** | ||
* | ||
* @param affiliateAddress | ||
* @param affiliateReferralCode | ||
* @param affiliateEarnings | ||
* @param affiliateReferredTrades | ||
* @param affiliateTotalReferredFees | ||
* @param affiliateReferredUsers | ||
* @param affiliateReferredNetProtocolEarnings | ||
* @param affiliateReferredTotalVolume | ||
*/ | ||
@JsExport | ||
@Serializable | ||
data class IndexerAffiliateSnapshotResponseObject( | ||
|
||
val affiliateAddress: kotlin.String? = null, | ||
val affiliateReferralCode: kotlin.String? = null, | ||
val affiliateEarnings: kotlin.Double? = null, | ||
val affiliateReferredTrades: kotlin.Double? = null, | ||
val affiliateTotalReferredFees: kotlin.Double? = null, | ||
val affiliateReferredUsers: kotlin.Double? = null, | ||
val affiliateReferredNetProtocolEarnings: kotlin.Double? = null, | ||
val affiliateReferredTotalVolume: kotlin.Double? = null | ||
) |
26 changes: 26 additions & 0 deletions
26
src/commonMain/kotlin/indexer/codegen/IndexerAffiliateTotalVolumeResponse.kt
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,26 @@ | ||
/** | ||
* Indexer API | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: v1.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
package indexer.codegen | ||
|
||
import kotlinx.serialization.Serializable | ||
import kotlin.js.JsExport | ||
|
||
/** | ||
* | ||
* @param totalVolume | ||
*/ | ||
@JsExport | ||
@Serializable | ||
data class IndexerAffiliateTotalVolumeResponse( | ||
|
||
val totalVolume: kotlin.Double? = null | ||
) |
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
26 changes: 26 additions & 0 deletions
26
src/commonMain/kotlin/indexer/codegen/IndexerMegavaultHistoricalPnlResponse.kt
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,26 @@ | ||
/** | ||
* Indexer API | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: v1.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
package indexer.codegen | ||
|
||
import kotlinx.serialization.Serializable | ||
import kotlin.js.JsExport | ||
|
||
/** | ||
* | ||
* @param megavaultPnl | ||
*/ | ||
@JsExport | ||
@Serializable | ||
data class IndexerMegavaultHistoricalPnlResponse( | ||
|
||
val megavaultPnl: kotlin.Array<IndexerPnlTicksResponseObject>? = null | ||
) |
26 changes: 26 additions & 0 deletions
26
src/commonMain/kotlin/indexer/codegen/IndexerMegavaultPositionResponse.kt
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,26 @@ | ||
/** | ||
* Indexer API | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: v1.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by the swagger code generator program. | ||
* https://github.com/swagger-api/swagger-codegen.git | ||
* Do not edit the class manually. | ||
*/ | ||
package indexer.codegen | ||
|
||
import kotlinx.serialization.Serializable | ||
import kotlin.js.JsExport | ||
|
||
/** | ||
* | ||
* @param positions | ||
*/ | ||
@JsExport | ||
@Serializable | ||
data class IndexerMegavaultPositionResponse( | ||
|
||
val positions: kotlin.Array<IndexerVaultPosition>? = null | ||
) |
Oops, something went wrong.