You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
overview:
abstract function publishMessage(string message,string hash,string er) public
function changeMember(uint _id,address _address) public onlyManager()
function createFunction(string _functionName,string _constittiutionHash) public onlyManager()
function initalizeOrgan() public
function publishFunctionMessage(uint id,string message,string hash,string er) public
function createBallot(uint ballotType,address _registry,string _name,string _hash) public returns (uint )
function getLastBallot() public constant returns (address )
function getOrganBlog() public constant returns (address )
function addOrganFunction(address _of,string _name) public
function getOrganFunction(uint _id) public constant returns (OrganFunction )
An organ is part of the party, defined in the constitution.
It is populated by functions party members.
Organ properties
name
type
visiblity
delegate
doc
organName
string
public
lastFunctionId
uint
public
blogRegistry
BlogRegistry
public
isActive
bool
public
organBlog
ShortBlog
protected
ballotCount
uint
public
ballotFactory
BallotFactory
public
Organ.changeMember(uint _id,address _address) public onlyManager()
Change the member of the function.
name
type
direction
doc
_id
uint
in
_address
address
in
Organ.createFunction(string _functionName,string _constittiutionHash) public onlyManager()
Create a function of this organ.
name
type
direction
doc
_functionName
string
in
The name of the organ function.
_constittiutionHash
string
in
Organ.initalizeOrgan() public
Organ.publishFunctionMessage(uint id,string message,string hash,string er) public
Publish a message at a function blog.
name
type
direction
doc
id
uint
in
message
string
in
hash
string
in
er
string
in
Organ.createBallot(uint ballotType,address _registry,string _name,string _hash) public returns (uint )
Creates a new ballot for this organ.
name
type
direction
doc
ballotType
uint
in
_registry
address
in
The member registry for the voting.
_name
string
in
The name of the ballot.
_hash
string
in
The hash of the actual text.
uint
return
Organ.getLastBallot() public constant returns (address )
name
type
direction
doc
address
return
Organ.getOrganBlog() public constant returns (address )
name
type
direction
doc
address
return
Organ.addOrganFunction(address _of,string _name) public
name
type
direction
doc
_of
address
in
_name
string
in
Organ.getOrganFunction(uint _id) public constant returns (OrganFunction )
name
type
direction
doc
_id
uint
in
OrganFunction
return
event FunctionMemberChange
name
type
indexed
doc
oldMember
address
functionId
uint
newMember
address
event FunctionChange
name
type
indexed
doc
_type
uint
_function
OrganFunction
contract: Party
overview:
function createOrgan(string organName) public
function addOrgan(address _organ) public onlyManager()
function addSubDivision(address _subDivision) public
function removeSubDivision(uint _divisionId) public
Party.addOrgan(address _organ) public onlyManager()
Adds an organ to the party.
name
type
direction
doc
_organ
address
in
Party.addSubDivision(address _subDivision) public
Add a subdivision of this party, the contrains are:
the party must be a mananger of the subdivision
the blogregistry must be the same
the member regstry must be the same
name
type
direction
doc
_subDivision
address
in
Party.removeSubDivision(uint _divisionId) public
name
type
direction
doc
_divisionId
uint
in
event ConstiutionChange
event OrganChanged
name
type
indexed
doc
_organ
Organ
_changeType
uint
event DivisionChanged
name
type
indexed
doc
divisionAddress
address
changer
address
state
uint
contract: KUEKeNParty
overview:
constructor KUEKeNParty(string _name)
function boostrapParty(address fc,address br) public onlyManager()
Will found the party.
In the first and only session.
contract: OrganFunction
overview:
constructor OrganFunction(string _name,string _ch)
abstract function publishMessage(string message,string hash,string er) public
function getFunctioName() public constant returns (string )