CCIP v1.5.0 BurnMintTokenPool Contract API Reference

BurnMintTokenPool

BurnMintTokenPool is a concrete implementation that inherits from BurnMintTokenPoolAbstract. It is designed to mint and burn a 3rd-party token, using the burn(amount) function for burning tokens. Pool whitelisting mode is set during the contract's deployment and cannot be modified later.

Variables

typeAndVersion

string typeAndVersion

Functions

constructor

constructor(contract IBurnMintERC20 token, address[] allowlist, address rmnProxy, address router) public

Parameters

NameTypeDescription
tokenIBurnMintERC20The token that will be burned and minted.
allowlistaddress[]List of addresses allowed to be original senders for token transfers.
rmnProxyaddressThe RMN proxy address.
routeraddressThe router address.

_burn

function _burn(uint256 amount) internal virtual

Contains the specific burn call for a pool using the token's burn(amount) function.

Parameters

NameTypeDescription
amountuint256The amount of tokens to burn.

Get the latest Chainlink content straight to your inbox.