Message: ClaimProtocolFee
This operation allows to transfer fees collected by the pool to an external arbitrary address.
The message is only accepted if sent by the claimer address.
Inputs
The incoming message has the following structure:
message ClaimProtocolFee {
trxId: Int as uint64;
feeReceiver: Address;
}
trxIdValidation: None.
Impact: Identifier for the message, not used by the handler.
feeReceiverValidation: None.
Impact: Address that will receive the protocol fees.
Test coverage
The logic of the message handler is covered by the test suite.
The test suite does not contain negative tests, including a check that messages sent from unauthorized addresses are rejected.
Intended branches
Negative behavior