graphenecommon.aio.proposal module¶
-
class
graphenecommon.aio.proposal.
Proposal
(data, *args, **kwargs)¶ Bases:
graphenecommon.aio.blockchainobject.BlockchainObject
,graphenecommon.proposal.Proposal
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
-
proposer
¶ Return the proposer of the proposal if available in the backend, else returns None
-
refresh
()¶
-
class
graphenecommon.aio.proposal.
Proposals
(account, *args, **kwargs)¶ Bases:
graphenecommon.aio.blockchainobject.BlockchainObjects
,graphenecommon.proposal.Proposals
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