feat: simplify special asset pairs calculations #11068
Annotations
10 errors
Run golangci-lint:
x/leverage/types/position.go#L38
unused-parameter: parameter 'tokens' seems to be unused, consider removing or renaming it as _ (revive)
|
Run golangci-lint:
x/leverage/types/position.go#L39
unused-parameter: parameter 'pairs' seems to be unused, consider removing or renaming it as _ (revive)
|
Run golangci-lint:
x/leverage/types/position.go#L40
unused-parameter: parameter 'collateralValue' seems to be unused, consider removing or renaming it as _ (revive)
|
Run golangci-lint:
x/leverage/types/position.go#L42
unused-parameter: parameter 'minimumBorrowFactor' seems to be unused, consider removing or renaming it as _ (revive)
|
Run golangci-lint:
x/leverage/types/position.go#L55
unused-parameter: parameter 'denom' seems to be unused, consider removing or renaming it as _ (revive)
|
Run golangci-lint:
x/leverage/types/position.go#L65
unused-parameter: parameter 'denom' seems to be unused, consider removing or renaming it as _ (revive)
|
Run golangci-lint:
x/leverage/types/position.go#L74
unused-parameter: parameter 'denom' seems to be unused, consider removing or renaming it as _ (revive)
|
Run golangci-lint:
x/leverage/types/position.go#L30
field `tokens` is unused (unused)
|
Run golangci-lint:
x/leverage/types/position.go#L32
field `minimumBorrowFactor` is unused (unused)
|
Run golangci-lint
issues found
|