Config

Git Source

Inherits: IERC165

Author: Mure

Interface for MureConfig core with support for ERC-165 detection.

Functions

getAppDelegate

Must not revert, should return address(0) incase delegate does not exist

function getAppDelegate(address poolApp) external returns (address);

setAppDelegate

function setAppDelegate(address poolApp, address delegate) external;

verifyMureSignature

function verifyMureSignature(bytes32 structHash, bytes memory signature) external;

toggleWhitelistedSigner

function toggleWhitelistedSigner(address mureSigner_) external;

getFeeContractAddress

function getFeeContractAddress() external view returns (address);

setMureFeeContract

function setMureFeeContract(address feeContractAddress) external;

getPoolFee

function getPoolFee(address poolApp, string calldata poolName, uint256 amount)
    external
    returns (uint256 feeAmount, address recipient);