CCIP v1.6.0 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.5.1";
Returns
| Type | Description | 
|---|---|
| string | The contract identifier "BurnFromMintTokenPool 1.5.1" | 
Functions
_burn
Internal function that executes the token burning operation.
function _burn(uint256 amount) internal virtual override;
Parameters
| Name | Type | Description | 
|---|---|---|
| amount | uint256 | The 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
| 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 |