core.classes.contract_sales
ContractPrimarySale Objects
class ContractPrimarySale(Generic[TPrimarySaleABI])
get_recipient
def get_recipient() -> str
Get the primary sale recipient of this contract.
Returns:
the address of the primary sale recipient.
set_recipient
def set_recipient(recipient: str) -> TxReceipt
Set the primary sale recipient of this contract
Arguments:
recipient
: the address of the primary sale recipient.
Returns:
the transaction receipt.