package
0.0.0-20220731021823-891b8cbd4160
Repository: https://github.com/carina-hackatom/nova.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
Try to execute the proposal immediately.
An empty value means that there should be a separate MsgExec request for the proposal to execute.
The executor returned an error and proposed action didn't update state.
We have not yet run the executor.
The executor was successful and proposed action updated state.
An empty value is not allowed.
Final status of a proposal when the group policy is modified before the final tally.
Final status of a proposal when the final tally is done and the outcome passes the group policy's decision policy.
Final status of a proposal when the final tally is done and the outcome is rejected by the group policy's decision policy.
Initial status of a proposal when submitted.
An empty value is invalid and not allowed.
A proposal can be withdrawn before the voting start time by the owner.
VOTE_OPTION_ABSTAIN defines an abstain vote option.
VOTE_OPTION_NO defines a no vote option.
VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option.
VOTE_OPTION_UNSPECIFIED defines an unspecified vote option which will return an error.
VOTE_OPTION_YES defines a yes vote option.
# Variables
Enum value maps for Exec.
Enum value maps for Exec.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Msg_ServiceDesc is the grpc.ServiceDesc for Msg service.
Enum value maps for ProposalExecutorResult.
Enum value maps for ProposalExecutorResult.
Enum value maps for ProposalStatus.
Enum value maps for ProposalStatus.
Query_ServiceDesc is the grpc.ServiceDesc for Query service.
Enum value maps for VoteOption.
Enum value maps for VoteOption.
# Structs
DecisionPolicyWindows defines the different windows for voting and execution.
EventCreateGroup is an event emitted when a group is created.
EventCreateGroupPolicy is an event emitted when a group policy is created.
EventExec is an event emitted when a proposal is executed.
EventLeaveGroup is an event emitted when group member leaves the group.
EventSubmitProposal is an event emitted when a proposal is created.
EventUpdateGroup is an event emitted when a group is updated.
EventUpdateGroupPolicy is an event emitted when a group policy is updated.
EventVote is an event emitted when a voter votes on a proposal.
EventWithdrawProposal is an event emitted when a proposal is withdrawn.
GenesisState defines the group module's genesis state.
GroupInfo represents the high-level on-chain information for a group.
GroupMember represents the relationship between a group and a member.
GroupPolicyInfo represents the high-level on-chain information for a group policy.
Member represents a group member with an account address, non-zero weight, metadata and added_at timestamp.
MemberRequest represents a group member to be used in Msg server requests.
MsgCreateGroup is the Msg/CreateGroup request type.
MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type.
MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type.
MsgCreateGroupResponse is the Msg/CreateGroup response type.
MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type.
MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type.
MsgExec is the Msg/Exec request type.
MsgExecResponse is the Msg/Exec request type.
MsgLeaveGroup is the Msg/LeaveGroup request type.
MsgLeaveGroupResponse is the Msg/LeaveGroup response type.
MsgSubmitProposal is the Msg/SubmitProposal request type.
MsgSubmitProposalResponse is the Msg/SubmitProposal response type.
MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type.
MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type.
MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type.
MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type.
MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type.
MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type.
MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type.
MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type.
MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type.
MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type.
MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type.
MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type.
MsgVote is the Msg/Vote request type.
MsgVoteResponse is the Msg/Vote response type.
MsgWithdrawProposal is the Msg/WithdrawProposal request type.
MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type.
PercentageDecisionPolicy is a decision policy where a proposal passes when it satisfies the two following conditions: 1.
Proposal defines a group proposal.
QueryGroupInfoRequest is the Query/GroupInfo request type.
QueryGroupInfoResponse is the Query/GroupInfo response type.
QueryGroupMembersRequest is the Query/GroupMembers request type.
QueryGroupMembersResponse is the Query/GroupMembersResponse response type.
QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type.
QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type.
QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type.
QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type.
QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type.
QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type.
QueryGroupsByAdminRequest is the Query/GroupsByAdmin request type.
QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type.
QueryGroupsByMemberRequest is the Query/GroupsByMember request type.
QueryGroupsByMemberResponse is the Query/GroupsByMember response type.
QueryProposalRequest is the Query/Proposal request type.
QueryProposalResponse is the Query/Proposal response type.
QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type.
QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type.
QueryTallyResultRequest is the Query/TallyResult request type.
QueryTallyResultResponse is the Query/TallyResult response type.
QueryVoteByProposalVoterRequest is the Query/VoteByProposalVoter request type.
QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type.
QueryVotesByProposalRequest is the Query/VotesByProposal request type.
QueryVotesByProposalResponse is the Query/VotesByProposal response type.
QueryVotesByVoterRequest is the Query/VotesByVoter request type.
QueryVotesByVoterResponse is the Query/VotesByVoter response type.
TallyResult represents the sum of weighted votes for each vote option.
ThresholdDecisionPolicy is a decision policy where a proposal passes when it satisfies the two following conditions: 1.
UnimplementedMsgServer must be embedded to have forward compatible implementations.
UnimplementedQueryServer must be embedded to have forward compatible implementations.
Vote represents a vote for a proposal.
# Interfaces
MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.
UnsafeMsgServer may be embedded to opt out of forward compatibility for this service.
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service.
# Type aliases
Exec defines modes of execution of a proposal on creation or on new vote.
ProposalExecutorResult defines types of proposal executor results.
ProposalStatus defines proposal statuses.
VoteOption enumerates the valid vote options for a given proposal.