TokenController
Inherits: Initializable, ITokenController
Wrapper of the ERC20 tokens that has some functionality similar to the ERC1155.
State Variables
tokenX
IERC20 private tokenX;
tokenY
IERC20 private tokenY;
_tokenDepositL
IAmmalgamERC20 private _tokenDepositL;
_tokenDepositX
IAmmalgamERC20 private _tokenDepositX;
_tokenDepositY
IAmmalgamERC20 private _tokenDepositY;
_tokenBorrowL
IAmmalgamERC20 private _tokenBorrowL;
_tokenBorrowX
IAmmalgamERC20 private _tokenBorrowX;
_tokenBorrowY
IAmmalgamERC20 private _tokenBorrowY;
factory
IFactoryCallback internal factory;
saturationAndGeometricTWAPState
ISaturationAndGeometricTWAPState internal saturationAndGeometricTWAPState;
allShares
uint112[6] private allShares;
allAssets
uint112[6] internal allAssets;
reserveXAssets
uint112 private reserveXAssets;
reserveYAssets
uint112 private reserveYAssets;