Swap

Holders of bundle tokens can swap their bundle token for a different bundle token for a dynamic fee. Effectively this is the process by where a bundle token is unbundle for a specific BCO2 and then that BCO2 is deposited into another bundle. This function can be performed even if the bundle token holder is not permissioned to hold BCO2s through the use of a helper smart contract.

The helper smart contract is a smart contract permissioned to hold BCO2s that performs the steps above automatically. To initiate a swap, a bundle token holder goes to the Buckmint dApp and connects his wallet. He then selects the new bundle that he would like to trade his existing bundle token for. If there exists BCO2s in the existing bundle that meet the acceptance criteria of the new bundle, the helper contract burns the original bundle tokens, transfers the BCO2 from the old bundle to the new bundle and issues the swap requestor the new bundle tokens.

Last updated