voting

Namespace in @typemove/aptos/builtin/0x1

Defined in @typemove/aptos/builtin/0x1

Namespaces

Interfaces

CreateProposal

Properties

PropertyType
early_resolution_vote_thresholdOption<bigint>
execution_hashstring
expiration_secsbigint
metadataSimpleMap<string, string>
min_vote_thresholdbigint
proposal_idbigint

CreateProposalEvent

Properties

PropertyType
early_resolution_vote_thresholdOption<bigint>
execution_hashstring
expiration_secsbigint
metadataSimpleMap<string, string>
min_vote_thresholdbigint
proposal_idbigint

Proposal

Type Parameters

Type Parameter
T0

Properties

PropertyType
creation_time_secsbigint
early_resolution_vote_thresholdOption<bigint>
execution_contentOption<T0>
execution_hashstring
expiration_secsbigint
is_resolvedboolean
metadataSimpleMap<string, string>
min_vote_thresholdbigint
no_votesbigint
proposerstring
resolution_time_secsbigint
yes_votesbigint

RegisterForum

Properties

PropertyType
hosting_accountstring
proposal_type_infoTypeInfo

RegisterForumEvent

Properties

PropertyType
hosting_accountstring
proposal_type_infoTypeInfo

ResolveProposal

Properties

PropertyType
no_votesbigint
proposal_idbigint
resolved_earlyboolean
yes_votesbigint

Vote

Properties

PropertyType
num_votesbigint
proposal_idbigint

VoteEvent

Properties

PropertyType
num_votesbigint
proposal_idbigint

VotePermission

Properties

PropertyType
dummy_fieldboolean

VotingEvents

Properties

PropertyType
create_proposal_eventsEventHandle<CreateProposalEvent>
register_forum_eventsEventHandle<RegisterForumEvent>
resolve_proposal_eventsEventHandle<ResolveProposal>
vote_eventsEventHandle<VoteEvent>

VotingForum

Type Parameters

Type Parameter
T0

Properties

PropertyType
eventsVotingEvents
next_proposal_idbigint
proposalsTable<bigint, Proposal<T0>>

Type Aliases

CreateProposalEventInstance

type CreateProposalEventInstance = TypedEventInstance<CreateProposalEvent> & object;

Type Declaration

NameType
data_decodedCreateProposalEvent
type_arguments[]

CreateProposalInstance

type CreateProposalInstance = TypedEventInstance<CreateProposal> & object;

Type Declaration

NameType
data_decodedCreateProposal
type_arguments[]

RegisterForumEventInstance

type RegisterForumEventInstance = TypedEventInstance<RegisterForumEvent> & object;

Type Declaration

NameType
data_decodedRegisterForumEvent
type_arguments[]

RegisterForumInstance

type RegisterForumInstance = TypedEventInstance<RegisterForum> & object;

Type Declaration

NameType
data_decodedRegisterForum
type_arguments[]

ResolveProposalInstance

type ResolveProposalInstance = TypedEventInstance<ResolveProposal> & object;

Type Declaration

NameType
data_decodedResolveProposal
type_arguments[]

VoteEventInstance

type VoteEventInstance = TypedEventInstance<VoteEvent> & object;

Type Declaration

NameType
data_decodedVoteEvent
type_arguments[]

VoteInstance

type VoteInstance = TypedEventInstance<Vote> & object;

Type Declaration

NameType
data_decodedVote
type_arguments[]

On this page