Interface ERC20IncentivePayload

The object representation of a ERC20Incentive.InitPayload

ERC20IncentivePayload

interface ERC20IncentivePayload {
    asset: `0x${string}`;
    strategy: StrategyType;
    reward: bigint;
    limit: bigint;
    manager?: `0x${string}`;
}

Properties

asset: `0x${string}`

The address of the incentivized asset.

strategy: StrategyType

The type of disbursement strategy for the incentive. StrategyType.MINT is not supported for ERC20Incentives

reward: bigint

The amount of the asset to distribute.

limit: bigint

How many times can this incentive be claimed.

manager?: `0x${string}`

(Optional) The address of the entity that can trigger a raffle. If omitted, the incentive will have no manager with permissions to draw the raffle.