diff --git a/example-frontend/pages/index.tsx b/example-frontend/pages/index.tsx index fa437dd..2fb94b3 100644 --- a/example-frontend/pages/index.tsx +++ b/example-frontend/pages/index.tsx @@ -1,98 +1,106 @@ export default function Home() { return ( -
- Helper functions that simplify the carbon offsetting (retirement) - process. Retiring carbon tokens requires multiple steps and interactions - with Toucan Protocol‘s main contracts: -
-- These steps are combined in each of the following "auto - offset" methods implemented in OffsetHelper to allow a retirement - within one transaction: -
-
-
- autoOffsetPoolToken()
-
-
{" "}
- if the user already owns a Toucan pool token such as BCT or NCT,
-
-
- autoOffsetExactOutToken()
-
-
{" "}
- if the user would like to perform a retirement using an ERC20 token
- (USDC, WETH or WMATIC), specifying the exact amount of TCO2s to
- retire,
-
-
- autoOffsetExactInToken()
-
-
{" "}
- if the user would like to perform a retirement using an ERC20 token
- (USDC, WETH or WMATIC), specifying the exact amount of token to swap
- into TCO2s.
-
-
- autoOffsetExactOutETH()
-
-
{" "}
- if the user would like to perform a retirement using MATIC, specifying
- the exact amount of TCO2s to retire,
-
-
- autoOffsetExactInETH()
-
-
{" "}
- if the user would like to perform a retirement using MATIC, swapping
- all sent MATIC into TCO2s,
- + Helper functions that simplify the carbon offsetting (retirement) + process. Retiring carbon tokens requires multiple steps and + interactions with Toucan Protocol‘s main contracts: +
+ ++ These steps are combined in each of the following "auto + offset" methods implemented in OffsetHelper to allow a retirement + within one transaction: +
+ +
+
+ autoOffsetPoolToken()
+
+
{" "}
+ - if the user already owns a Toucan pool token such as BCT or NCT;
+
+
+ autoOffsetExactOutToken()
+
+
{" "}
+ - if the user would like to perform a retirement using an ERC20
+ token (USDC, WETH or WMATIC), specifying the exact amount of TCO2s
+ to retire;
+
+
+ autoOffsetExactInToken()
+
+
{" "}
+ - if the user would like to perform a retirement using an ERC20
+ token (USDC, WETH or WMATIC), specifying the exact amount of token
+ to swap into TCO2s;
+
+
+ autoOffsetExactOutETH()
+
+
{" "}
+ - if the user would like to perform a retirement using MATIC,
+ specifying the exact amount of TCO2s to retire;
+
+
+ autoOffsetExactInETH()
+
+
{" "}
+ - if the user would like to perform a retirement using MATIC,
+ swapping all sent MATIC into TCO2s;
+