Skip to content

feat: simplify special asset pairs calculations #4446

feat: simplify special asset pairs calculations

feat: simplify special asset pairs calculations #4446

Triggered via pull request November 6, 2023 12:34
Status Success
Total duration 10m 37s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

codeql-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
Analyze: x/leverage/types/position.go#L38
unused-parameter: parameter 'tokens' seems to be unused, consider removing or renaming it as _ (revive)
Analyze: x/leverage/types/position.go#L39
unused-parameter: parameter 'pairs' seems to be unused, consider removing or renaming it as _ (revive)
Analyze: x/leverage/types/position.go#L40
unused-parameter: parameter 'collateralValue' seems to be unused, consider removing or renaming it as _ (revive)
Analyze: x/leverage/types/position.go#L42
unused-parameter: parameter 'minimumBorrowFactor' seems to be unused, consider removing or renaming it as _ (revive)
Analyze: x/leverage/types/position.go#L55
unused-parameter: parameter 'denom' seems to be unused, consider removing or renaming it as _ (revive)
Analyze: x/leverage/types/position.go#L65
unused-parameter: parameter 'denom' seems to be unused, consider removing or renaming it as _ (revive)
Analyze: x/leverage/types/position.go#L74
unused-parameter: parameter 'denom' seems to be unused, consider removing or renaming it as _ (revive)
Analyze: x/leverage/types/position.go#L30
field `tokens` is unused (unused)
Analyze: x/leverage/types/position.go#L32
field `minimumBorrowFactor` is unused (unused)
Analyze
1 issue was detected with this workflow: Please specify an on.push hook to analyze and see code scanning alerts from the default branch on the Security tab.