Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Account Library
struct AccountStorage { mapping(address => Account) accounts; }
function addQuoteToken( AccountStorage storage self, address user, uint256 amountInAtoms ) internal
function addBaseToken( AccountStorage storage self, address user, uint256 amountInAtoms ) internal
function removeQuoteToken( AccountStorage storage self, address user, uint256 amountInAtoms ) internal
function removeBaseToken( AccountStorage storage self, address user, uint256 amountInAtoms ) internal
function getQuoteTokenBalance( AccountStorage storage self, address user ) internal view returns (uint256)
function getBaseTokenBalance( AccountStorage storage self, address user ) internal view returns (uint256)