g8keepPenaltyReceiver
g8keepPenaltyReceiver
Inherits: Ownable
Receives tokens from g8keep snipe protection penalties for [redacted].
State Variables
allowedTransferers
Mapping of addresses that are allowed to transfer tokens from the penalty receiver.
ALLOWED_TIME_DELAY
Guardrail to prevent a newly added transferer from transfering tokens immediately.
Functions
onlyAllowedTransferer
constructor
Constructs the g8keepPenaltyReceiver contract.
Parameters
setAllowedTransferer
Admin function to configure a paired token.
Parameters
transferToken
Transfers an amount
of tokenAddress
from the contract to to
.
Throws when called by an address that is not an allowed transferer.
Parameters
Events
AllowedTransfererUpdated
Emitted when the penalty receiver owner updates an allowed transferer.
Errors
NoUpdate
Thrown when allowing or removing a transferer and no change would be made.
NotAllowed
Thrown when a transfer request is made by an address that is not allowed.
WithdrawalFailed
Thrown when withdrawing a token from the contract and the withdrawal fails.
ZeroAddress
Thrown when attempting to set the zero address as an allowed transferer.
Last updated