FuelLabs/fuel-bridge

Tight pack deposit info

DefiCake opened this issue · 0 comments

At FuelERC20GatewayV4, it is possible to pack this information:

mapping(address => uint256) internal _deposits;
mapping(address => uint256) internal _depositLimits;
mapping(address => uint256) internal _decimalsCache;

Under the a structure to leverage tight packing