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

Acronym normalization #1249

Closed
wants to merge 1 commit into from
Closed

Acronym normalization #1249

wants to merge 1 commit into from

Conversation

shlavik
Copy link
Contributor

@shlavik shlavik commented Oct 23, 2024

In UpperCamelCase, acronyms and contractions of compound words count as one word: use Uuid rather than UUID
https://rust-lang.github.io/api-guidelines/naming.html

BuyBackTBCDPercent --> BuyBackTbcdPercent
DEXAPIConfig --> DexApiConfig
DEXApi --> DexApi
DEXId --> DexId
DEXIdValue --> DexIdValue
DEXInfo --> DexInfo
DEXManager --> DexManager
DEXManagerConfig --> DexManagerConfig
DEXManagerRuntimeAPI --> DexManagerRuntimeAPI
EnsureDEXManager --> EnsureDexManager
GetTBCBuyBackTBCDPercent --> GetTbcBuyBackTbcdPercent
GetXSTPoolPermissionedAccountId --> GetXstPoolPermissionedAccountId
MBCPool --> MbcPool
NotAllowedDEXId --> NotAllowedDexId
PolkaswapXSTUSD --> PolkaswapXstUsd
PoolXYK --> PoolXyk
PrimaryMarketXST --> PrimaryMarketXst
XSTMarketInfo --> XstMarketInfo
XSTPool --> XstPool
XSTPoolConfig --> XstPoolConfig
XYKPool --> XykPool

Signed-off-by: shlavik <shlavik@gmail.com>
@shlavik shlavik closed this Oct 24, 2024
@shlavik shlavik deleted the acronym-normalization branch October 29, 2024 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants