Quipuswap
Search…
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.
Note: you need to pass positive TEZ/mutez amount to the send() method (see example below).

Usage

🌮 Taquito
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.
Copy link
On this page
Call parameters
Usage
Errors