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

add superconduct case #19

Merged
merged 2 commits into from
Aug 6, 2021
Merged

add superconduct case #19

merged 2 commits into from
Aug 6, 2021

Conversation

boomyl
Copy link
Contributor

@boomyl boomyl commented Aug 6, 2021

No description provided.

}

// TOOD
func AddLiquidity(amtX amount, amtY amount) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

类型首字母大写

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个是否需要跟golang保持一致 还有函数的首字母

@@ -0,0 +1,39 @@
// 三个资产类型全局常量,可以先用全局变量实现
// asset资产类型,32个字节长度的资产
assetX := asset(1) // int类型强转
Copy link
Contributor

@shenao78 shenao78 Aug 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

全局变量定义用var来定义
var (
......
)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个几种定义方式都可以的吧

@shenao78 shenao78 merged commit 86a7bb7 into main Aug 6, 2021
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