graphenecommon.proposal module¶
-
class
graphenecommon.proposal.
Proposal
(data, *args, **kwargs)¶ Bases:
graphenecommon.blockchainobject.BlockchainObject
,graphenecommon.instance.AbstractBlockchainInstanceProvider
Read data about a Proposal Balance in the chain
Parameters: - id (str) – Id of the proposal
- blockchain_instance (instance) – instance to use when accesing a RPC
-
expiration
¶
-
is_in_review
¶
-
proposed_operations
¶
-
proposer
¶ Return the proposer of the proposal if available in the backend, else returns None
-
refresh
()¶
-
review_period
¶
-
class
graphenecommon.proposal.
Proposals
(account, *args, **kwargs)¶ Bases:
graphenecommon.blockchainobject.BlockchainObjects
,graphenecommon.instance.AbstractBlockchainInstanceProvider
Obtain a list of pending proposals for an account
Parameters: - account (str) – Account name
- blockchain_instance (instance) – instance to use when accesing a RPC
-
refresh
(*args, **kwargs)¶ Interface that needs to be implemented. This method is called when an object is requested that has not yet been fetched/stored