Skip to main content

ISupporterRules

ISupporterRules

Interface for the offseting-related query functionalities of the SupporterRules contract.

offset

function offset(address supporterAddress, uint256 amount, uint64 calculatorItemId) external

publish

function publish(address supporterAddress, uint256 amount, string description, string content) external

isSupporter

function isSupporter(address addr) external returns (bool)

calculateCommission

function calculateCommission(address supporterAddress, uint256 amount) external returns (uint256 amountToBurn, uint256 commission, address inviter)