Last Look Compensation
Last updated
Last updated
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:
Returns:
Withdraws Quoter token from penalty manager to msg sender
Parameters:
Returns:
Withdraws Quoter token from penalty manager to @to
Parameters:
Returns:
Transfer amount of balance of msg.sender to @to address
Parameters:
Returns:
Transfer @amount of balance of @to address to PM owner and to split
Parameters:
Returns:
Transfer amount of balance of to address to PM owner and to split
Parameters:
Returns:
Adds new address that can issue penalties to makers
Parameters:
Removes collector, @collector address will not be able to issue penalties anymore
Parameters:
Checks if given address is colector
Parameters:
Returns balance of Quoter token available for use as penalty
Parameters:
Returns:
Transfer ownership of penalty manager to @to address
Parameters:
Returns:
Event emitted on successful deposit of Quoter token
Parameters:
Event emitted on successful withdrawn of Quoter token
Parameters:
Event emitted on successful balance transfer
Parameters:
Event emitted on penalty issued by collector
Parameters:
Event emitted on penalty issued by collector
Name | Type | Description |
---|---|---|
Type | Description |
---|---|
Name | Type | Description |
---|---|---|
Type | Description |
---|---|
Name | Type | Description |
---|---|---|
Type | Description |
---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Type | Description |
---|---|
Name | Type | Description |
---|---|---|
Type | Description |
---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Type | Description |
---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
amount
uint256
amount of tokens to deposit
uint256
Balance after depositing the tokens
amount
uint256
Amount of tokens to withdraw
uint256
balance after withdrawing the tokens
to
address
Address of the recepient's wallet
amount
uint256
Amount of tokens to withdraw
uint256
Balance after withdrawing the tokens
to
address
Address of sender's balance recipient
amount
uint256
Amount of tokens to transfer
balanceSender
uint256
Sender balance after transfer
balanceRecipient
uint256
Recipient balance after transfer
to
address
Penalized maker address
amount
uint256
Penalty amount
uint256
Balance of @to after penalty
to
address
Penalized maker address
splitRecipient
address
Secondary wallet that should receive some amount of @amount based on current split percentage of PM
amount
uint256
Penalty amount
uint256
Balance of @to after penalty
collector
address
New collector address
collector
address
Collector address to remove
addr
address
Address to check
addr
address
Address of wallet to check balance of
uint256
Balance of given token
to
address
Address of wallet that will receive ownership
oldOwner
address
Address of previous owner
newOwner
address
Address of new owner
sender
address
The address of wallet depositing token
amount
uint256
Deposit amount
balance
uint256
Sender balance after deposit
sender
address
The address of wallet withdrawing token
amount
uint256
Withdraw amount
balance
uint256
Sender balance after withdraw
from
address
Address of wallet transfering balance
to
address
Address of wallet receiving balance
amount
uint256
Amount of balance transfered
balance
uint256
Balance of sender after transfer
balanceTo
uint256
Balance of recipient after transfer
receiver
address
Address of wallet that received penalty
amount
uint256
Penalty amount
balance
uint256
Balance after penalty
receiver
address
Address of wallet that received penalty
splitTo
address
Address of wallet that received penalty
splitPercentage
uint256
Split percentage, i.e. how much should go to @splitTo address and to PM owner address
amount
uint256
Penalty amount
balance
uint256
Balance after penalty