CredentialFactory
Index
Reference
Events
CredentialEvent
event CredentialEvent(address credentialOrg, string credentialTitle, string detail)- Parameters:
credentialOrg- addresscredentialTitle- stringdetail- string
Functions
createCredential
function createCredential(string _credentialLevel, string _credentialTitle, string _credentialDivision, address _credentialOrgAddress) public returns (bool)Allows credentialing Orgs to create new credentials.
- Modifiers:
- whenNotPaused
- Parameters:
_credentialLevel- Credential Level_credentialTitle- CredentialTitle_credentialDivision- Credential Division_credentialOrgAddress- address- Returns:
- insertStatus - true false if insert happened.
fallback
function () publicConstructor.
getOwner
function getOwner() public view returns (address)Get the owner of the contract.
- Returns:
- returns owner address
selectCredential
function selectCredential(address _credentialOrgAddress, uint32 _position) public view returns (string, string, string)Allows selection of credential based on position.
- Parameters:
_credentialOrgAddress- credentialOrg Address_position- allows selection of credentialing orgs details.- Returns:
- credentialDivision - credential org division for credential.
selectOrgCredentialCount
function selectOrgCredentialCount(address _credentialOrgAddress) public view returns (uint32)Allows checking of CredentialCount of a CredentialOrg.
- Parameters:
_credentialOrgAddress- Address of Credential Org- Returns:
- returnCredentialCount - returns count of credentials of org.
setAddress
function setAddress(address _credentialOrgContractAddress) publicSetting allows communication between CredentialFactory and CredentialOrgFactory.
- Modifiers:
- onlyOwner
- Parameters:
_credentialOrgContractAddress- Address of CredentialOrgFactory Contract.
