proposal

class algofipy.governance.v1.proposal.Proposal(governance_client, proposal_app_id)

Bases: object

get_proposal_data()

Get proposal data from Algofi governance portal

Parameters:

topic_id (int) – topic id for proposal posted on Algofi governance portal.

load_state(block=None)

Function that will update the data on the proposal object with the global and local data of the proposal contract on chain.