Skip to main content

Solidity API

Contract: ICulturaRightsBoundAccount

External Functions

claimForVerifierModule

function claimForVerifierModulefunction claimForVerifierModule(uint256 period) external
Allows the verifier module to claim its share for a given payment period

Parameters

NameDescription
periodThe payment period identifier

getPaymentAmount

function getPaymentAmountfunction getPaymentAmount(uint256 period, address beneficiary) external view returns (uint256 amount)
Gets the payment info for a given period and beneficiary

Parameters

NameDescription
periodThe payment period
beneficiaryThe address of the beneficiary

Return Values

Description
The amount allocated to the beneficiary

CULTURA_PERCENTAGE

function CULTURA_PERCENTAGEfunction CULTURA_PERCENTAGE() external view returns (uint256)
Gets the mandatory Cultura Treasury percentage.

Return Values

Description
The percentage value.

VERIFIER_PERCENTAGE

function VERIFIER_PERCENTAGEfunction VERIFIER_PERCENTAGE() external view returns (uint256)
Gets the mandatory Verifier Module percentage.

Return Values

Description
The percentage value.

setPaymentInfo

function setPaymentInfofunction setPaymentInfo(struct ICulturaRightsBoundAccount.PaymentInput input) external
Sets the payment info for the current period.

Parameters

NameDescription
inputPaymentInput struct containing payment details and signature.