Skip to content
LogoLogo

ClaimTransfers

Git Source

At most 16 makers and the FeeVault can each receive two currencies in eight matches.

Functions

credit

function credit(Batch memory batch, IPoolManager manager, Currency currency, address recipient, uint256 amount)
        internal;

Parameters

NameTypeDescription
batchBatch
managerIPoolManager
currencyCurrency
recipientaddress
amountuint256

flush

function flush(Batch memory batch, IPoolManager manager) internal;

Parameters

NameTypeDescription
batchBatch
managerIPoolManager

Structs

Credit

struct Credit {
        Currency currency;
        address recipient;
        uint256 amount;
    }

Properties

NameTypeDescription
currencyCurrency
recipientaddress
amountuint256

Batch

struct Batch {
        Credit[34] credits;
        uint256 count;
    }

Properties

NameTypeDescription
creditsCredit[34]
countuint256