新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

Commit 61fb2db5 authored by tianle's avatar tianle

Merge branch 'v2.3.0_qc_comment' into 'v2.3.0_qc' (merge request !26)

feat: Add comment for sdk interface
feat: Add comment for sdk interface

--story=0
parents 768803e3 44a7c124
......@@ -186,17 +186,18 @@ type SDKInterface interface {
// @return1: 根据key, field 生成的历史迭代器
// @return2: 获取错误信息
NewHistoryKvIterForKey(key, field string) (KeyHistoryKvIter, error)
// GetSenderAddr Get the address of the tx sender
// @return1: 交易发起方地址
// GetSenderAddr Get the address of the origin caller address, same with Origin()
// @return1: origin caller address
// @return2: 获取错误信息
//Deprecated
GetSenderAddr() (string, error)
// Sender Get the address of the tx sender address
// @return1: 交易发起方地址
// Sender Get the address of the sender address, if the contract is called by another contract, the result will be
// the caller contract's address
// @return1: sender address
// @return2: 获取错误信息
Sender() (string, error)
// Origin Get the address of the tx origin address
// @return1: 交易
// Origin Get the address of the tx origin caller address
// @return1: origin caller address
// @return2: 获取错误信息
Origin() (string, error)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment