Solidity API
Contract: IRoyaltyInfo
External Functions
getRoyaltyInfo
Parameters
Return Values
Contract: CulturaRightsBoundAccount
This contract is “bound” to a specific rights. There are two main functions:-
setPaymentInfo
- Intended to be called by a royalty module.
- Requires a valid EIP‑712 signature from the rights holder.
- Accepts payment data (beneficiaries and ERC20 token amounts) for a given payment period, representing 75% of the total payment.
- Pulls ERC20 tokens from the rights holder into the contract.
- Then appends the mandatory splits (Cultura Treasury and Verifier Module) so that the total payment is divided as: • Provided splits: 75% • Cultura Treasury: 5% • Verifier Module: 20%
-
claim
- Each beneficiary can claim their individual share for a given period.
setPaymentInfo
Parameters
The function sets individual claimable amounts for each beneficiary in a mapping,
combines the copying and summing loops for gas efficiency, and emits an event with
all assigned values for transparency. |
claim
Parameters
Each beneficiary can claim only once per period. On a successful claim,
their allocated amount is set to zero to prevent re-claims. |

