-
Notifications
You must be signed in to change notification settings - Fork 97
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 timelock queries #71
Conversation
client/rpc/dex_client.go
Outdated
@@ -5,12 +5,17 @@ import ( | |||
"fmt" | |||
"github.com/binance-chain/go-sdk/common/types" | |||
"github.com/binance-chain/go-sdk/types/tx" | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete this empty line
Can you add these two new method into the interface |
client/rpc/dex_client.go
Outdated
@@ -11,6 +11,9 @@ const ( | |||
AccountStoreName = "acc" | |||
TokenStoreName = "tokens" | |||
ParamABCIPrefix = "param" | |||
TimeLockMsgRoute = "timelock" | |||
QueryTimeLocks = "timelocks" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To keep the code style consistent, QueryTimeLocks
and QueryTimeLock
please just use it, don't define the constant.
No description provided.