Contract name: Quoter Penalty Manager
Contract addresses:
Harmony Mainnet: 0xbb73027ba3D0e04781eE0d43761A9Ae8EC54246B
Binance Smart Chain Mainnet: 0x9F60B30BbBd213f966AfBF538900154F61D0EC5b
Harmony Testnet: 0x70591769C2c3b0594f98be31c34B6815aCE06e38
Deposits Quoter token to penalty manager
Parameters:
amount of tokens to deposit
Returns:
Balance after depositing the tokens
Withdraws Quoter token from penalty manager to msg sender
Parameters:
Amount of tokens to withdraw
Returns:
balance after withdrawing the tokens
WithdrawTokenTo
Withdraws Quoter token from penalty manager to @to
Parameters:
Address of the recepient's wallet
Amount of tokens to withdraw
Returns:
Balance after withdrawing the tokens
Transfer amount of balance of msg.sender to @to address
Parameters:
Address of sender's balance recipient
Amount of tokens to transfer
Returns:
Sender balance after transfer
Recipient balance after transfer
Transfer @amount of balance of @to address to PM owner and to split
Parameters:
Returns:
Balance of @to after penalty
IssuePenaltySplit
Transfer amount of balance of to address to PM owner and to split
Parameters:
Secondary wallet that should receive some amount of @amount based on current split percentage of PM
Returns:
Balance of @to after penalty
Adds new address that can issue penalties to makers
Parameters:
RemoveCollector
Removes collector, @collector address will not be able to issue penalties anymore
Parameters:
Collector address to remove
Checks if given address is colector
Parameters:
Returns balance of Quoter token available for use as penalty
Parameters:
Address of wallet to check balance of
Returns:
Transfer ownership of penalty manager to @to address
Parameters:
Address of wallet that will receive ownership
Returns:
Address of previous owner
Event emitted on successful deposit of Quoter token
Parameters:
The address of wallet depositing token
Sender balance after deposit
Event emitted on successful withdrawn of Quoter token
Parameters:
The address of wallet withdrawing token
Sender balance after withdraw
BalanceTransfered
Event emitted on successful balance transfer
Parameters:
Address of wallet transfering balance
Address of wallet receiving balance
Amount of balance transfered
Balance of sender after transfer
Balance of recipient after transfer
Event emitted on penalty issued by collector
Parameters:
Address of wallet that received penalty
SplitPenaltyIssued
Event emitted on penalty issued by collector
Address of wallet that received penalty
Address of wallet that received penalty
Split percentage, i.e. how much should go to @splitTo address and to PM owner address