CredentialOrgFactory
Index
Reference
Events
CredentialOrgEvent
event CredentialOrgEvent(address schoolAddress, string detail)- Parameters:
schoolAddress- addressdetail- string
Functions
createCredentialOrg
function createCredentialOrg(string _shortName, string _officialSchoolName, address _schoolAddress) public returns (bool)Allows owner to create new credentialing orgs.
- Modifiers:
- onlyOwner whenNotPaused
- Parameters:
_shortName- shortName of Credentialing orgs_officialSchoolName- official School Name_schoolAddress- address of credential org.- Returns:
- createStatus bool noting creation status success or failure
fallback
function () publicClass constructor.
getOwner
function getOwner() public view returns (address)Gets owners address.
- Returns:
- returns contractOwners Address
isCredentialOrg
function isCredentialOrg(address _credentialOrgAddress) public view returns (bool)Allows checking if credentialOrg exists.
- Parameters:
_credentialOrgAddress- function returns bool if an address is a credentialingOrg- Returns:
- isAddress returns true if address is Credentialing Org, false if not.
selectCredentialOrgByAddress
function selectCredentialOrgByAddress(address _credentialOrgAddress) public view returns (string, string, address)Allows selection of a credentialingOrg by address.
- Parameters:
_credentialOrgAddress- allows selection of credentialing orgs details.- Returns:
- school -the schools ethereum address
selectCredentialOrgByPosition
function selectCredentialOrgByPosition(uint32 _credentialOrgPosition) public view returns (string, string, address)Allows selection of a credentialingOrg by position.
- Parameters:
_credentialOrgPosition- allows selection of credentialing orgs details.- Returns:
- school -the schools ethereum address
selectOrgCount
function selectOrgCount() public view returns (uint32)Returns the credentialOrgCount.
- Returns:
- returnOrgCount - returns the total credential orgs count
