ERC-20 Smart Contract Requirements
Overview
Before enabling an ERC20-compatible token in CCIP, it's important to understand the requirements it must fulfill to integrate with CCIP.
Token Administrator address requirement
The token contract must provide an easy way to obtain the token administrator address. This can be achieved if the token contract includes one of the following functions:
- owner(): This function returns the token contract owner's address. We recommend using this function.
- getCCIPAdmin(): This function returns the token administrator's address if it differs from the contract owner's.
Requirements for CCIP token transfers
The token's smart contract must meet minimum requirements to integrate with CCIP.