Skip to main content

BlastPrizePool

Git Source

Inherits: PrizePool

Author: G9 Software Inc.

A modified prize pool that opts in to claimable WETH yield on Blast and allows anyone to trigger a donation of the accrued yield to the prize pool.

Constants

WETH

IERC20Rebasing constant WETH = IERC20Rebasing(0x4300000000000000000000000000000000000004);

Enums

YieldMode

The Blast yield modes for WETH

enum YieldMode {
AUTOMATIC,
VOID,
CLAIMABLE
}

Functions

constructor

Constructs a new Blast Prize Pool.

Reverts if the prize token is not the expected WETH token on Blast.

constructor(ConstructorParams memory params) PrizePool(params);

Parameters

NameTypeDescription
paramsConstructorParamsA struct of constructor parameters

claimableYieldBalance

Returns the claimable WETH yield balance for this contract

function claimableYieldBalance() external view returns (uint256);

donateClaimableYield

Claims the available WETH yield balance and donates it to the prize pool.

function donateClaimableYield() external returns (uint256);

Returns

NameTypeDescription
<none>uint256The amount claimed and donated.