routers

package
v0.0.0-...-605551a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL