Template definition for attribute consumption case
\contracts\ProvisioningContract.sol

Bohdan Grytsenko

constructor

ProvisioningContract

inputs0addresscontextStorage
inputs1addressaccountAddress
inputs2stringaccountFieldName
inputs3uint256fieldIndex
inputs4uint256reward
event

OwnershipRenounced f8df3114

inputs0addresspreviousOwner
event

OwnershipTransferred 8be0079c

inputs0addresspreviousOwner
inputs1addressnewOwner
function, constant

account 5dab2420

function, constant

fieldName b6d89111

function

finalizeProvisioning 9817202a

executed by Relying party once it ensured verification details for requested attribute are available

function, constant

getData 3bc5de30

executed by Relying party to get verification details of requested attribute

outputs0stringdata

attribute hash

outputs1uint8verificationStatus

attribute verification status

outputs2addressverificationContractAddress

verification contract address

outputs3uint256verifiedAt

verification timestamp, unix epoch format

function, constant

getStatusName 95389225

function, constant

index 2986c0e5

function, constant

isVerificationFinished f9cb51de

checks if requested attribute is already verified

outputs0bool
function, constant

owner 8da5cb5b

function, constant

relyingParty 4d75370c

function

renounceOwnership 715018a6

Allows the current owner to relinquish control of the contract.

function, constant

rewardAmount f7b2a7be

function, constant

status 200d2ed2

function, constant

tokensUnlockAt 009aa2aa

function

transferOwnership f2fde38b

Allows the current owner to transfer control of the contract to a newOwner.

inputs0addressnewOwner

The address to transfer ownership to.

function

withdraw 3ccfd60b

executed by party which requested attribute provisioning to get tokens back from contract. Tokens will be returned only after certain timestamp defined as tokensUnlockAt