User profiles storage and management
\contracts\AccountStorageAdapter.sol

Bohdan Grytsenko

constructor

AccountStorageAdapter

inputs0addresscontextstorage
event

OwnershipRenounced f8df3114

inputs0addresspreviousOwner
event

OwnershipTransferred 8be0079c

inputs0addresspreviousOwner
inputs1addressnewOwner
function

addAllowedFieldName 78b9d4b2

used to define set of attributes valid to be part of user profile

used to define set of attributes valid to be part of user profile. Available only for Kimlic superuser or this contract owner

inputs0stringfieldName

string code for new data attribute

function, constant

getFieldDetails 9590de3b

used by user profile sync functionality - returns details for specific attribute of particular user

used by user profile sync functionality - returns details for specific attribute of particular user. Available only for user himself, owner of this contract or Kimlic superuser

inputs0addressaccountAddress

user account address

inputs1stringaccountFieldName

attribute code

outputs0stringdata

attribute hash

outputs1stringverificationStatusName

attribute verification status

outputs2addressverificationContractAddress

verification contract address

outputs3uint256verifiedAt

verification timestamp, unix epoch format

function, constant

getFieldHistoryLength bbe78c1b

used to receive historical version number for specific attribute of user account

used to receive historical version number for specific attribute of user account

inputs0addressaccountAddress

user account address

inputs1stringaccountFieldName

attribute code

outputs0uint256length
function, constant

getFieldLastMainData d49dfda2

used to receive specific attribute value of user account

used to receive specific attribute value of user account

inputs0addressaccountAddress

user account address

inputs1stringaccountFieldName

attribute code

outputs0stringdata
function, constant

getFieldLastVerificationData 466f1b7b

used to receive verification details for specific attribute of user account

used to receive verification details for specific attribute of user account

inputs0addressaccountAddress

user account address

inputs1stringaccountFieldName

attribute code

outputs0uint8verificationStatus
outputs1addressverificationContractAddress
outputs2uint256verifiedAt
function, constant

getFieldMainData cfd00c49

inputs0addressaccountAddress
inputs1stringaccountFieldName
inputs2uint256index
function, constant

getFieldVerificationContractAddress ced001e6

inputs0addressaccountAddress
inputs1stringaccountFieldName
inputs2uint256index
function, constant

getFieldVerificationData 3babddf6

inputs0addressaccountAddress
inputs1stringaccountFieldName
inputs2uint256index
function, constant

getIsFieldVerificationContractExist caf7043b

inputs0addressaccountAddress
inputs1stringaccountFieldName
inputs2uint256index
function, constant

getLastFieldVerificationContractAddress f40650ce

used to check if there is already verification contract for specific attribute of user account

used to check if there is already verification contract for specific attribute of user account

inputs0addressaccountAddress

user account address

inputs1stringaccountFieldName

attribute code

outputs0addressverificationContract
function, constant

getRewardedAt d5899c01

checks if user account has been already rewarded for specific milestone

checks if user account has been already rewarded for specific milestone

inputs0addressaccountAddress

user account address

inputs1uint256milestone

milestone number

outputs0uint256
function, constant

isAllowedFieldName 2b5dead1

used to check if specific attribute code is part of defined user profile

used to check if specific attribute code is part of defined user profile.

inputs0stringfieldName

string code of data attribute to be removed

outputs0bool
function, constant

owner 8da5cb5b

function

removeAllowedFieldName 70bbf518

used to reduce set of attributes valid to be part of user profile

used to reduce set of attributes valid to be part of user profile. Available only for Kimlic superuser or this contract owner

inputs0stringfieldName

string code of data attribute to be removed

function

renounceOwnership 715018a6

Allows the current owner to relinquish control of the contract.

function

setFieldMainData 849b177e

used to set value of specific attribute

used to set value of specific attribute

inputs0stringdata

attribute value

inputs1stringaccountFieldName

attribute code

function

setFieldVerificationContractAddress 9b7e6965

inputs0addressaccountAddress
inputs1stringaccountFieldName
inputs2uint256index
inputs3addressverificationContractAddress
function

setRewardedAt c05e88aa

marks specific milestone as achieved for user account

marks specific milestone as achieved for user account. Available for usage by RewardingContract only

inputs0addressaccountAddress

user account address

inputs1uint256milestone

milestone number

function

transferOwnership f2fde38b

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

inputs0addressnewOwner

The address to transfer ownership to.