Events

The xGov Architecture provides the following classes of ARC-28 events:

Clients can subscribe to these ARC-28 events using the AlgoKit Subscriber Library.

xGov Registry Events

XGovSubscribed

An xGov subscribed (either through self-onboarding or managed onboarding).

ARGUMENTTYPEDESCRIPTION
xGovaddressThe address of the subscribed xGov
DelegateaddressThe address of the delegated voter

XGovUnsubscribed

An xGov unsubscribed (either through self-onboarding or managed onboarding).

ARGUMENTTYPEDESCRIPTION
xGovaddressThe address of the unsubscribed xGov

ProposerSubscribed

A Proposer subscribed.

ARGUMENTTYPEDESCRIPTION
ProposeraddressThe address of the subscribed Proposer

ProposerKYC

A Proposer KYC status update.

ARGUMENTTYPEDESCRIPTION
ProposeraddressThe address of the unsubscribed Proposer
Valid KYCboolThe Proposer KYC is valid

NewCommittee

A new xGov Committee has been elected.

ARGUMENTTYPEDESCRIPTION
Committee IDbyte[32]ARC-86 Committee ID
Sizeuint32Committee members
Votesuint32Committee votes

NewProposal

A new Proposal has been opened.

ARGUMENTTYPEDESCRIPTION
Proposal IDuint64Proposal Application ID
ProposeraddressProposer address

Proposal Events

Opened

The Proposal has been opened.

ARGUMENTTYPEDESCRIPTION
Funding Typeuint8Enum: Retroactive (10), Proactive (20)
Requested Amountuint64Requested Amount (microALGO)
Categoryuint8Small (10), Medium (20), Large (30)

Submitted

The Proposal has been submitted for voting.

ARGUMENTTYPEDESCRIPTION
Vote Openinguint64Vote Opening UNIX timestamp
Vote Closinguint64Vote Closing UNIX timestamp
Quorum Votersuint32Democratic Quorum (voters) required to pass
Weighted Quorum Votesuint32Weighted Quorum (votes) required to pass

Vote

A vote has been cast on the Proposal.

ARGUMENTTYPEDESCRIPTION
xGovaddressxGov address that expressed the vote
Total Votersuint32Voters so far
Total Approvalsuint32Approval votes so far
Total Rejectionsuint32Rejections votes so far
Total Nullsuint32Null votes so far

Scrutiny

The vote has been scrutinized.

ARGUMENTTYPEDESCRIPTION
ApprovedboolThe Proposal has been approved (both quorums reached and majority approved)
PlebisciteboolAll Committee members voted

Review

The xGov Council has reviewed the Proposal.

ARGUMENTTYPEDESCRIPTION
VetoboolThe proposal has been blocked with a veto