Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring NotificationsProvider #319

Merged
merged 14 commits into from
May 10, 2024
Merged
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ allprojects {
}

group = "exchange.dydx.abacus"
version = "1.6.50"
version = "1.6.51"

repositories {
google()
Expand Down
10 changes: 10 additions & 0 deletions detekt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,13 @@ complexity:
threshold: 100 # up from 60
TooManyFunctions:
active: false
ReturnCount:
active: false
MaxLineLength:
prashanDYDX marked this conversation as resolved.
Show resolved Hide resolved
active: false
NestedBlockDepth:
active: false

style:
LoopWithTooManyJumpStatements:
active: false
226 changes: 103 additions & 123 deletions integration/iOS/Pods/Pods.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ data class PerpetualState(
return assets?.get(assetId)
}

fun assetOfMarket(marketId: String): Asset? {
val assetId = market(marketId)?.assetId ?: return null
return assets?.get(assetId)
}

fun marketIds(): IList<String>? {
return marketsSummary?.marketIds()
}
Expand Down
Loading