Skip to content

TaxController

TaxController

HUNDRED_PERCENT

uint16 HUNDRED_PERCENT

A constant that represents one hundred percent for calculation. This defines a calculation precision for percentage values as two decimals. For example: 1 is 0.01%, 100 is 1%, 10_000 is 100%.

supportsInterface

function supportsInterface(bytes4 interfaceId) public view virtual returns (bool)

_Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created.

This function call must use less than 30 000 gas._

strategyId

function strategyId() public pure virtual returns (bytes4)

Returns implemented listing tax strategy ID.

Name Type Description
[0] bytes4 Taxation strategy ID.