Documentation ¶
Index ¶
- func UpdateProposal(stub shim.ChaincodeStubInterface, ProposalID string, Status string) error
- type Admin
- func (admin *Admin) CreateAdmin(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func (admin *Admin) GetAdminByID(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func (admin *Admin) GetAllAdmin(stub shim.ChaincodeStubInterface) pb.Response
- func (admin *Admin) UpdateAdmin(stub shim.ChaincodeStubInterface, args []string) pb.Response
- type Commit
- type Proposal
- func (proposal *Proposal) CreateProposal(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func (proposal *Proposal) GetAllProposal(stub shim.ChaincodeStubInterface) pb.Response
- func (proposal *Proposal) GetProposalByID(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func (proposal *Proposal) GetProposalNotSign(stub shim.ChaincodeStubInterface, args []string) pb.Response
- type Quorum
- func (quorum *Quorum) CreateQuorum(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func (quorum *Quorum) CreateReject(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func (quorum *Quorum) GetAllQuorum(stub shim.ChaincodeStubInterface) pb.Response
- func (quorum *Quorum) GetQuorumByID(stub shim.ChaincodeStubInterface, args []string) pb.Response
- func (quorum *Quorum) GetQuorumByProposalID(stub shim.ChaincodeStubInterface, args []string) pb.Response
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 ¶
func (*Admin) CreateAdmin ¶
CreateAdmin adds an admin document that contain the AdminID and his Public Key
func (*Admin) GetAdminByID ¶
GetAdminByID
func (*Admin) GetAllAdmin ¶
func (admin *Admin) GetAllAdmin(stub shim.ChaincodeStubInterface) pb.Response
GetAllAdmin
func (*Admin) UpdateAdmin ¶
UpdateAdmin Edit Status to "Delete" if you want to delete admin
type Commit ¶
func (*Commit) CreateCommit ¶
High secure transaction Commit handle ------------------- // Create Commit
func (*Commit) GetAllCommit ¶
func (commit *Commit) GetAllCommit(stub shim.ChaincodeStubInterface) pb.Response
GetAllCommit
func (*Commit) GetCommitByID ¶
GetCommitByID
type 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 ¶
func (*Quorum) CreateQuorum ¶
func (*Quorum) CreateReject ¶
CreateReject
func (*Quorum) GetAllQuorum ¶
func (quorum *Quorum) GetAllQuorum(stub shim.ChaincodeStubInterface) pb.Response
GetAllQuorum
func (*Quorum) GetQuorumByID ¶
GetQuorumByID
func (*Quorum) GetQuorumByProposalID ¶
func (quorum *Quorum) GetQuorumByProposalID(stub shim.ChaincodeStubInterface, args []string) pb.Response
GetQuorumByProposalID
Click to show internal directories.
Click to hide internal directories.