default

An entrypoint for TEZ tokens receiving. After receiving, the contract swaps them for QUIPU tokens on QuipuSwap DEXarrow-up-right and generates the transaction for getting QUIPU tokens balance on this contract.

Call parameters

An entrypoint doesn't accept any parameters.

triangle-exclamation

Usage

const burnerAddress = "KT1...";
const mutezAmount = 100;
const burner = await tezos.contract.at(burnerAddress);
const operation = await burner.methods.default([]).send({ amount: mutezAmount, mutez: true });

await operation.confirmation();

Errors

An entrypoint doesn't throw any error.

Last updated