protocolAdd()
, the same parameters are expected as protocolUpdate()
, except for the protocolAgent
. The protocolAgent
address is used in the claims process and is able to withdraw active balance of a protocol.setProtocolPremium()
.depositToActiveBalance(protocol,amount)
every now and then.Protocols are still able to submit a claim for 7 days after being removed.
protocolAgent
.minActiveBalance
, an arb can call forceRemoveByActiveBalance(protocol)
and receive the remaining balance.MIN_SECONDS_OF_COVERAGE
.MIN_SECONDS_OF_COVERAGE
an arb can call forceRemoveBySecondsOfCoverage(protocol)
to remove the protocol.MIN_SECONDS_OF_COVERAGE
and the end point is when 'coverage left' is equal to 0 seconds. This process takes 12 hours and the peak reward will be at the 6 hour mark (50%) as the active balance of the protocol is simultaneously decreasing over time.This will affect stakers in the core contract, it will not affect non-stakers.
insufficientTokens
by subtracting them from the claimable tokens for the stakers. If that doesn't work, it emits an AccountingError
event with insufficientTokens
> 0. The contract expects insufficientTokens
to be transferred to the contract to make the accounting work again.