Last Look Compensation

Contract info

Contract name: Quoter Penalty Manager

Contract addresses:

Harmony Mainnet: 0xbb73027ba3D0e04781eE0d43761A9Ae8EC54246B

Binance Smart Chain Mainnet: 0x9F60B30BbBd213f966AfBF538900154F61D0EC5b

Harmony Testnet: 0x70591769C2c3b0594f98be31c34B6815aCE06e38

Functions

DepositToken

function depositToken(uint256 amount) external returns (uint256);

Deposits Quoter token to penalty manager

Parameters:

Returns:

WithdrawToken

function withdrawToken(uint256 amount) external returns (uint256);

Withdraws Quoter token from penalty manager to msg sender

Parameters:

Returns:

WithdrawTokenTo

function withdrawTokenTo(address to, uint256 amount) external returns (uint256);

Withdraws Quoter token from penalty manager to @to

Parameters:

Returns:

TransferTo

function transferTo(address to, uint256 amount) 
        external returns (uint256 balanceSender, uint256 balanceRecipient);

Transfer amount of balance of msg.sender to @to address

Parameters:

Returns:

IssuePenalty

function issuePenalty(address to, uint256 amount) external returns (uint256);

Transfer @amount of balance of @to address to PM owner and to split

Parameters:

Returns:

IssuePenaltySplit

function issuePenaltySplit(address to, address splitRecipient, uint256 amount) 
        external returns (uint256);

Transfer amount of balance of to address to PM owner and to split

Parameters:

Returns:

AddCollector

function addCollector(address collector) external;

Adds new address that can issue penalties to makers

Parameters:

RemoveCollector

function removeCollector(address collector) external;

Removes collector, @collector address will not be able to issue penalties anymore

Parameters:

isCollector

function isCollector(address addr) external returns(bool);

Checks if given address is colector

Parameters:

balanceOf

function balanceOf(address addr) external returns (uint256);

Returns balance of Quoter token available for use as penalty

Parameters:

Returns:

Heading

function transferOwnership(address to) 
        external returns (address oldOwner, address newOwner);

Transfer ownership of penalty manager to @to address

Parameters:

Returns:

Events

TokenDeposited

event TokenDeposited(
        address indexed sender,
        uint256 amount,
        uint256 balance
    );

Event emitted on successful deposit of Quoter token

Parameters:

TokenWithdrawn

event TokenWithdrawn(
        address indexed sender,
        uint256 amount,
        uint256 balance
    );

Event emitted on successful withdrawn of Quoter token

Parameters:

BalanceTransfered

 event BalanceTransfered(
        address indexed from,
        address indexed to,
        uint256 amount,
        uint256 balanceFrom,
        uint256 balanceTo
    );

Event emitted on successful balance transfer

Parameters:

PenaltyIssued

event PenaltyIssued(
        address indexed receiver,
        uint256 amount,
        uint256 balance
    );

Event emitted on penalty issued by collector

Parameters:

SplitPenaltyIssued

event SplitPenaltyIssued(
        address indexed receiver,
        address indexed splitTo,
        uint256 splitPercentage,
        uint256 amount,
        uint256 balance
    );

Event emitted on penalty issued by collector

Last updated