Skip to content

add superconduct case#19

Merged
shenao78 merged 2 commits intomainfrom
testcase
Aug 6, 2021
Merged

add superconduct case#19
shenao78 merged 2 commits intomainfrom
testcase

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