controllers

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2019 License: GPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateProposal

func UpdateProposal(stub shim.ChaincodeStubInterface, ProposalID string, Status string) error

Types

type Admin

type Admin models.Admin

func (*Admin) CreateAdmin

func (admin *Admin) CreateAdmin(stub shim.ChaincodeStubInterface, args []string) pb.Response

CreateAdmin adds an admin document that contain the AdminID and his Public Key

func (*Admin) GetAdminByID

func (admin *Admin) GetAdminByID(stub shim.ChaincodeStubInterface, args []string) pb.Response

GetAdminByID

func (*Admin) GetAllAdmin

func (admin *Admin) GetAllAdmin(stub shim.ChaincodeStubInterface) pb.Response

GetAllAdmin

func (*Admin) UpdateAdmin

func (admin *Admin) UpdateAdmin(stub shim.ChaincodeStubInterface, args []string) pb.Response

UpdateAdmin Edit Status to "Delete" if you want to delete admin

type Commit

type Commit models.Commit

func (*Commit) CreateCommit

func (commit *Commit) CreateCommit(stub shim.ChaincodeStubInterface, args []string) pb.Response

High secure transaction Commit handle ------------------- // Create Commit

func (*Commit) GetAllCommit

func (commit *Commit) GetAllCommit(stub shim.ChaincodeStubInterface) pb.Response

GetAllCommit

func (*Commit) GetCommitByID

func (commit *Commit) GetCommitByID(stub shim.ChaincodeStubInterface, args []string) pb.Response

GetCommitByID

type Proposal

type Proposal models.Proposal

func (*Proposal) CreateProposal

func (proposal *Proposal) CreateProposal(stub shim.ChaincodeStubInterface, args []string) pb.Response

Create Proposal

func (*Proposal) GetAllProposal

func (proposal *Proposal) GetAllProposal(stub shim.ChaincodeStubInterface) pb.Response

GetAllProposal

func (*Proposal) GetProposalByID

func (proposal *Proposal) GetProposalByID(stub shim.ChaincodeStubInterface, args []string) pb.Response

GetProposalByID

func (*Proposal) GetProposalNotSign

func (proposal *Proposal) GetProposalNotSign(stub shim.ChaincodeStubInterface, args []string) pb.Response

GetProposalNotSign

type Quorum

type Quorum models.Quorum

func (*Quorum) CreateQuorum

func (quorum *Quorum) CreateQuorum(stub shim.ChaincodeStubInterface, args []string) pb.Response

func (*Quorum) CreateReject

func (quorum *Quorum) CreateReject(stub shim.ChaincodeStubInterface, args []string) pb.Response

CreateReject

func (*Quorum) GetAllQuorum

func (quorum *Quorum) GetAllQuorum(stub shim.ChaincodeStubInterface) pb.Response

GetAllQuorum

func (*Quorum) GetQuorumByID

func (quorum *Quorum) GetQuorumByID(stub shim.ChaincodeStubInterface, args []string) pb.Response

GetQuorumByID

func (*Quorum) GetQuorumByProposalID

func (quorum *Quorum) GetQuorumByProposalID(stub shim.ChaincodeStubInterface, args []string) pb.Response

GetQuorumByProposalID

Jump to

Keyboard shortcuts

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