API Version: v1.5.1

CCIP v1.5.1 BurnFromMintTokenPool Contract API Reference

BurnFromMintTokenPool

A specialized token pool contract that manages third-party tokens through minting and burning operations, specifically using the burnFrom function.

Git Source

Inherits:

State Variables

typeAndVersion

string public constant override typeAndVersion = "BurnFromMintTokenPool 1.5.1";

Returns

TypeDescription
stringThe contract identifier "BurnFromMintTokenPool 1.5.1"

Functions

_burn

Internal function that executes the token burning operation.

function _burn(uint256 amount) internal virtual override;

Parameters

NameTypeDescription
amountuint256The quantity 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
tokenIBurnMintERC20Address of the token contract to be managed
localTokenDecimalsuint8Decimal precision of the local token
allowlistaddress[]List of addresses authorized to interact with the pool
rmnProxyaddressAddress of the RMN proxy contract
routeraddressAddress of the router contract

Get the latest Chainlink content straight to your inbox.