CCIP v1.6.2 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.
Inherits:
State Variables
typeAndVersion
string public constant override typeAndVersion = "BurnFromMintTokenPool 1.6.1";
Returns
| Type | Description | 
|---|---|
| string | The contract identifier "BurnFromMintTokenPool 1.6.1" | 
Functions
_lockOrBurn
Internal function that implements the token burning logic for the BurnFromMintTokenPool.
function _lockOrBurn(uint256 amount) internal virtual override;
Parameters
| Name | Type | Description | 
|---|---|---|
| amount | uint256 | The 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
| Name | Type | Description | 
|---|---|---|
| token | IBurnMintERC20 | Address of the token contract to be managed | 
| localTokenDecimals | uint8 | Decimal precision of the local token | 
| allowlist | address[] | List of addresses authorized to interact with the pool | 
| rmnProxy | address | Address of the RMN proxy contract | 
| router | address | Address of the router contract |