default
An entrypoint that receives TEZ which were mistakenly sent to the contract and transfers them to the Burner contract.
Call parameters
An entrypoint doesn't accept any parameters.
Note: you need to pass positive TEZ/mutez amount to send() method (see example below).
Usage
const qFarmAddress = "KT1...";
const mutezAmount = 100;
const qFarm = await tezos.contract.at(qFarmAddress);
const operation = await qFarm.methods.default([]).send({ amount: mutezAmount, mutez: true });
await operation.confirmation();
Errors
An entrypoint doesn't throw any error.
Last updated