LootReserve

Contract holding all PAL & extra rewards allocated to the Loot system. The tokens are then sent to users when claiming Loot rewards.

pal

contract IERC20 pal

PAL token contract

extraToken

contract IERC20 extraToken

Extra token contract

loot

address loot

Address of the Loot contract

Init

event Init(address loot)

Event emitted when the contract is initialized

MaxAllowanceSet

event MaxAllowanceSet(address token, address spender)

Event emitted when the Max allowance is set for the Loot contract

CancelReserve

event CancelReserve(uint256 retrievedPalAmount, uint256 retrievedExtraAmount)

Event emitted when the Reserve is canceled and token claimed back

Parameters

getBalances

function getBalances() external view returns (uint256 palBalance, uint256 extraBalance)

Get this contract balances

Return Values

getRemainingAllowances

function getRemainingAllowances() external view returns (uint256 palAllowance, uint256 extraAllowance)

Get this contract remaining allowances for the Loot contract

Return Values

resetMaxAllowance

function resetMaxAllowance() external

Resets the allowances for the Loot contract

Last updated