fill

An entrypoint that accepts TEZ tokens (mostly from DexCore contract or other Bucket contracts), stores them on the contract and doesn't affect the distribution of baker rewards.

Call parameters

An entrypoint doesn't accept any parameters.

Usage

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

await operation.confirmation();

Errors

An entrypoint doesn't throw any errors.

Last updated