Solidity API
Contract: IVerifierModule
External Functions
registerVerifierBond
Parameters
| Name | Description |
|---|---|
digitalAssetAddress | The address of the digital asset contract |
digitalAssetId | The token ID of the digital asset |
verifier | The address of the verifier |
bondedAmount | The amount of tokens bonded by the verifier |
receiveFees
Parameters
| Name | Description |
|---|---|
digitalAssetAddress | The address of the digital asset contract |
digitalAssetId | The token ID of the digital asset |
amount | The amount of tokens that should have been sent to this contract |
sender | The address that sent the tokens |
calculateClaimableRewards
Parameters
| Name | Description |
|---|---|
digitalAssetAddress | The address of the digital asset contract |
digitalAssetId | The token ID of the digital asset |
verifier | The address of the verifier |
Return Values
| Description |
|---|
| The amount of tokens the verifier can claim |
claimRewards
Parameters
| Name | Description |
|---|---|
digitalAssetAddress | The address of the digital asset contract |
digitalAssetId | The token ID of the digital asset |
distributeRewards
Parameters
| Name | Description |
|---|---|
digitalAssetAddress | The address of the digital asset contract |
digitalAssetId | The token ID of the digital asset |
boundAccount | The address of the CulturaRightsBoundAccount |
period | The payment period to claim from |
getVerifierBond
Parameters
| Name | Description |
|---|---|
digitalAssetAddress | The address of the digital asset contract |
digitalAssetId | The token ID of the digital asset |
verifier | The address of the verifier |
Return Values
| Description |
|---|
| The amount of tokens bonded by the verifier |
getTotalBondedAmount
Parameters
| Name | Description |
|---|---|
digitalAssetAddress | The address of the digital asset contract |
digitalAssetId | The token ID of the digital asset |
Return Values
| Description |
|---|
| The total amount of tokens bonded for the verified rights |

