EIP2612PermitAndDeposit

This contract allows to delegate during the deposits using signatures (EIP-2612).

Write methods description

depositToAndDelegate()

Deposits user’s token into the prize pool and delegates tickets.

Parameters:

initialize()

Allows to initialize the contract during the deployment. The method does not take any parameters.

permitAndDepositToAndDelegate()

Permits this contract to spend on a user’s behalf and deposits into the prize pool. The _spender address required by the permit function is the address of this contract.

Parameters:

Read methods description

This contract does not have read methods.

Last updated