Recolor Helper

The Recolor Helper is a generic helper contract we deploy on each USDV-supported chain to facilitate recoloring operations. This contract is immutable and unowned for long-term security.

  • The Recolor Helper contracts support both local ERC20 and crosschain transfers. All transfers output USDV colored based on the _toColor argument.

  • EOA or contracts can interact with the Recolor Helper in the following ways:

    • Direct transfer USDV into the helper and send out atomically.

    • ERC20 approved transfer.

The Recolor Helper is an immutable and unowned contract that enforces USDV recoloring rules.

Example usage:

  • Swap aggregator: send the swap output to the Recolor Helper and call transferWithColor with your color

  • Bridge: have the EOA approve the Recolor Helper and send your color of USDV crosschain.

Please visit Contract Addresses for RecolorHelper.sol addresses on each chain.

Last updated