API Version: v1.5.1

CCIP v1.5.1 BurnMintTokenPool Contract API Reference

BurnMintTokenPool

A specialized token pool implementation that handles the minting and burning of third-party tokens using the standard burn(amount) function.

Git Source

Inherits:

State Variables

typeAndVersion

string public constant override typeAndVersion = "BurnMintTokenPool 1.5.1";

Returns

TypeDescription
stringThe contract identifier "BurnMintTokenPool 1.5.1"

Functions

_burn

Internal function that executes the token burning operation using the standard burn interface.

function _burn(uint256 amount) internal virtual override;

Parameters

NameTypeDescription
amountuint256The number of tokens to burn

constructor

constructor(
  IBurnMintERC20 token,
  uint8 localTokenDecimals,
  address[] memory allowlist,
  address rmnProxy,
  address router
) TokenPool(token, localTokenDecimals, allowlist, rmnProxy, router);

Parameters

NameTypeDescription
tokenIBurnMintERC20The third-party token contract to manage
localTokenDecimalsuint8The decimal precision for the local token
allowlistaddress[]Initial list of addresses authorized to use the pool
rmnProxyaddressAddress of the RMN proxy contract
routeraddressAddress of the router contract

Get the latest Chainlink content straight to your inbox.