CCIP v1.6.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.
Inherits:
State Variables
typeAndVersion
string public constant override typeAndVersion = "BurnMintTokenPool 1.6.1";
Returns
| Type | Description | 
|---|---|
| string | The contract identifier "BurnMintTokenPool 1.6.1" | 
Functions
_lockOrBurn
Internal function that implements the token burning logic for the BurnMintTokenPool.
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 | The third-party token contract to manage | 
| localTokenDecimals | uint8 | The decimal precision for the local token | 
| allowlist | address[] | Initial list of addresses authorized to use the pool | 
| rmnProxy | address | Address of the RMN proxy contract | 
| router | address | Address of the router contract |