Documentation ¶
Overview ¶
*
- @Author: 夜央 Oh oh oh oh oh oh (https://github.com/togettoyou)
- @Email: zoujh99@qq.com
- @Date: 2020/3/5 4:18 下午
- @Description: 账户相关合约路由
*
- @Author: 夜央 Oh oh oh oh oh oh (https://github.com/togettoyou)
- @Email: zoujh99@qq.com
- @Date: 2020/3/19 12:28 上午
- @Description: 捐赠相关合约路由
*
- @Author: 夜央 Oh oh oh oh oh oh (https://github.com/togettoyou)
- @Email: zoujh99@qq.com
- @Date: 2020/3/10 12:33 上午
- @Description: 房地产相关合约路由
*
- @Author: 夜央 Oh oh oh oh oh oh (https://github.com/togettoyou)
- @Email: zoujh99@qq.com
- @Date: 2020/3/10 6:40 下午
- @Description: 销售相关合约路由
Index ¶
- func CreateDonating(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func CreateRealEstate(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func CreateSelling(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func CreateSellingByBuy(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func QueryAccountList(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func QueryDonatingList(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func QueryDonatingListByGrantee(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func QueryRealEstateList(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func QuerySellingList(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func QuerySellingListByBuyer(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func UpdateDonating(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func UpdateSelling(stub shim.ChaincodeStubInterface, args []string) pb.Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDonating ¶
func CreateDonating(stub shim.ChaincodeStubInterface, args []string) pb.Response
发起捐赠
func CreateRealEstate ¶
func CreateRealEstate(stub shim.ChaincodeStubInterface, args []string) pb.Response
新建房地产(管理员)
func CreateSelling ¶
func CreateSelling(stub shim.ChaincodeStubInterface, args []string) pb.Response
发起销售
func CreateSellingByBuy ¶
func CreateSellingByBuy(stub shim.ChaincodeStubInterface, args []string) pb.Response
参与销售(买家购买)
func QueryAccountList ¶
func QueryAccountList(stub shim.ChaincodeStubInterface, args []string) pb.Response
查询账户列表
func QueryDonatingList ¶
func QueryDonatingList(stub shim.ChaincodeStubInterface, args []string) pb.Response
查询捐赠列表(可查询所有,也可根据发起捐赠人查询)(发起的)(供捐赠人查询)
func QueryDonatingListByGrantee ¶
func QueryDonatingListByGrantee(stub shim.ChaincodeStubInterface, args []string) pb.Response
根据受赠人(受赠人AccountId)查询捐赠(受赠的)(供受赠人查询)
func QueryRealEstateList ¶
func QueryRealEstateList(stub shim.ChaincodeStubInterface, args []string) pb.Response
查询房地产(可查询所有,也可根据所有人查询名下房产)
func QuerySellingList ¶
func QuerySellingList(stub shim.ChaincodeStubInterface, args []string) pb.Response
查询销售(可查询所有,也可根据发起销售人查询)(发起的)(供卖家查询)
func QuerySellingListByBuyer ¶
func QuerySellingListByBuyer(stub shim.ChaincodeStubInterface, args []string) pb.Response
根据参与销售人、买家(买家AccountId)查询销售(参与的)(供买家查询)
func UpdateDonating ¶
func UpdateDonating(stub shim.ChaincodeStubInterface, args []string) pb.Response
更新捐赠状态(确认受赠、取消)
func UpdateSelling ¶
func UpdateSelling(stub shim.ChaincodeStubInterface, args []string) pb.Response
更新销售状态(买家确认、买卖家取消)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.