BalancerV3VaultActions

Git Source

Inherits: Masks, DeltaErrors

Balancer V3 actions

State Variables

SEND_TO

UniV4 pendant: take()

bytes32 private constant SEND_TO = 0xae63932900000000000000000000000000000000000000000000000000000000

SETTLE

same selector string name as for UniV4, different params for balancer

bytes32 private constant SETTLE = 0x15afd40900000000000000000000000000000000000000000000000000000000

Functions

constructor

constructor() ;

_encodeBalancerV3Take

Executes Balancer V3 take operation

Takes tokens from Balancer V3 vault manager

Note: calldata-offset-table:

Offset Length (bytes) Description
0 20 manager
20 20 asset
40 20 receiver
60 16 amount
function _encodeBalancerV3Take(uint256 currentOffset) internal returns (uint256);

Parameters

Name Type Description
currentOffset uint256 Current position in the calldata

Returns

Name Type Description
<none> uint256 Updated calldata offset after processing

_balancerV3Settle

Executes Balancer V3 settle operation

Settles flash loan debt. Asset is never native.

Note: calldata-offset-table:

Offset Length (bytes) Description
0 20 manager
20 20 asset <-- never native
40 16 amountHint
function _balancerV3Settle(uint256 currentOffset) internal returns (uint256);

Parameters

Name Type Description
currentOffset uint256 Current position in the calldata

Returns

Name Type Description
<none> uint256 Updated calldata offset after processing

results matching ""

    No results matching ""