Primary is a contract extension to be used with any base contract. It exposes functions for setting and reading the recipient of primary sales, and lets the inheriting contract perform conditional logic that uses information about primary sales, if desired.
function primarySaleRecipient() external view returns (address)
The adress that receives all primary sales value.
function setPrimarySaleRecipient(address _saleRecipient) external nonpayable
Lets a module admin set the default recipient of all primary sales.
event PrimarySaleRecipientUpdated(address indexed recipient)
Emitted when a new sale recipient is set.
Emitted when an unauthorized caller tries to set primary sales details.