voting
Namespace in @typemove/aptos/builtin/0x1
Defined in @typemove/aptos/builtin/0x1
Namespaces
Interfaces
CreateProposal
Properties
| Property | Type |
|---|---|
early_resolution_vote_threshold | Option<bigint> |
execution_hash | string |
expiration_secs | bigint |
metadata | SimpleMap<string, string> |
min_vote_threshold | bigint |
proposal_id | bigint |
CreateProposalEvent
Properties
| Property | Type |
|---|---|
early_resolution_vote_threshold | Option<bigint> |
execution_hash | string |
expiration_secs | bigint |
metadata | SimpleMap<string, string> |
min_vote_threshold | bigint |
proposal_id | bigint |
Proposal
Type Parameters
| Type Parameter |
|---|
T0 |
Properties
| Property | Type |
|---|---|
creation_time_secs | bigint |
early_resolution_vote_threshold | Option<bigint> |
execution_content | Option<T0> |
execution_hash | string |
expiration_secs | bigint |
is_resolved | boolean |
metadata | SimpleMap<string, string> |
min_vote_threshold | bigint |
no_votes | bigint |
proposer | string |
resolution_time_secs | bigint |
yes_votes | bigint |
RegisterForum
Properties
| Property | Type |
|---|---|
hosting_account | string |
proposal_type_info | TypeInfo |
RegisterForumEvent
Properties
| Property | Type |
|---|---|
hosting_account | string |
proposal_type_info | TypeInfo |
ResolveProposal
Properties
Vote
Properties
VoteEvent
Properties
VotePermission
Properties
VotingEvents
Properties
| Property | Type |
|---|---|
create_proposal_events | EventHandle<CreateProposalEvent> |
register_forum_events | EventHandle<RegisterForumEvent> |
resolve_proposal_events | EventHandle<ResolveProposal> |
vote_events | EventHandle<VoteEvent> |
VotingForum
Type Parameters
| Type Parameter |
|---|
T0 |
Properties
| Property | Type |
|---|---|
events | VotingEvents |
next_proposal_id | bigint |
proposals | Table<bigint, Proposal<T0>> |
Type Aliases
CreateProposalEventInstance
type CreateProposalEventInstance = TypedEventInstance<CreateProposalEvent> & object;Type Declaration
| Name | Type |
|---|---|
data_decoded | CreateProposalEvent |
type_arguments | [] |
CreateProposalInstance
type CreateProposalInstance = TypedEventInstance<CreateProposal> & object;Type Declaration
| Name | Type |
|---|---|
data_decoded | CreateProposal |
type_arguments | [] |
RegisterForumEventInstance
type RegisterForumEventInstance = TypedEventInstance<RegisterForumEvent> & object;Type Declaration
| Name | Type |
|---|---|
data_decoded | RegisterForumEvent |
type_arguments | [] |
RegisterForumInstance
type RegisterForumInstance = TypedEventInstance<RegisterForum> & object;Type Declaration
| Name | Type |
|---|---|
data_decoded | RegisterForum |
type_arguments | [] |
ResolveProposalInstance
type ResolveProposalInstance = TypedEventInstance<ResolveProposal> & object;Type Declaration
| Name | Type |
|---|---|
data_decoded | ResolveProposal |
type_arguments | [] |
VoteEventInstance
type VoteEventInstance = TypedEventInstance<VoteEvent> & object;Type Declaration
| Name | Type |
|---|---|
data_decoded | VoteEvent |
type_arguments | [] |
VoteInstance
type VoteInstance = TypedEventInstance<Vote> & object;Type Declaration
| Name | Type |
|---|---|
data_decoded | Vote |
type_arguments | [] |