Create a Custom Token
5
Configuration
/**
* @notice Sets the destination chains settings.
* @param allowedChainIds chains Ids available for bridging in both directions.
* @param chainConfigs array of {ChainConfig} settings for provided {allowedChainIds}, containing:
* peerAddress: connected {UTSToken} or {UTSConnector} contract address on the destination chain
* minGasLimit: the amount of gas required to execute {redeem} function on the destination chain
* decimals: connected {peerAddress} decimals on the destination chain
* paused: flag indicating whether current contract is paused for sending/receiving messages from the connected {peerAddress}
*
* @return success call result.
*/
function setChainConfig(
uint256[] calldata allowedChainIds,
ChainConfig[] calldata chainConfigs
) external virtual returns(bool success)Additional Important Information and Notes
Last updated