2023-01-05 20:19:46 +00:00
|
|
|
{"absolutePath":"/home/oliver/Projects/github/rari-capital/solmate/src/mixins/ERC4626.sol","id":2954,"exportedSymbols":{"ERC20":[31408],"ERC4626":[2953],"FixedPointMathLib":[32321],"SafeTransferLib":[32785]},"nodeType":"SourceUnit","src":"42:6474:4","nodes":[{"id":2434,"nodeType":"PragmaDirective","src":"42:24:4","literals":["solidity",">=","0.8",".0"]},{"id":2436,"nodeType":"ImportDirective","src":"68:42:4","absolutePath":"/home/oliver/Projects/github/rari-capital/solmate/src/tokens/ERC20.sol","file":"../tokens/ERC20.sol","nameLocation":"-1:-1:-1","scope":2954,"sourceUnit":31409,"symbolAliases":[{"foreign":{"id":2435,"name":"ERC20","nodeType":"Identifier","overloadedDeclarations":[],"src":"76:5:4","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":2438,"nodeType":"ImportDirective","src":"111:61:4","absolutePath":"/home/oliver/Projects/github/rari-capital/solmate/src/utils/SafeTransferLib.sol","file":"../utils/SafeTransferLib.sol","nameLocation":"-1:-1:-1","scope":2954,"sourceUnit":32786,"symbolAliases":[{"foreign":{"id":2437,"name":"SafeTransferLib","nodeType":"Identifier","overloadedDeclarations":[],"src":"119:15:4","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":2440,"nodeType":"ImportDirective","src":"173:65:4","absolutePath":"/home/oliver/Projects/github/rari-capital/solmate/src/utils/FixedPointMathLib.sol","file":"../utils/FixedPointMathLib.sol","nameLocation":"-1:-1:-1","scope":2954,"sourceUnit":32322,"symbolAliases":[{"foreign":{"id":2439,"name":"FixedPointMathLib","nodeType":"Identifier","overloadedDeclarations":[],"src":"181:17:4","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":2953,"nodeType":"ContractDefinition","src":"395:6120:4","nodes":[{"id":2447,"nodeType":"UsingForDirective","src":"436:32:4","libraryName":{"id":2444,"name":"SafeTransferLib","nodeType":"IdentifierPath","referencedDeclaration":32785,"src":"442:15:4"},"typeName":{"id":2446,"nodeType":"UserDefinedTypeName","pathNode":{"id":2445,"name":"ERC20","nodeType":"IdentifierPath","referencedDeclaration":31408,"src":"462:5:4"},"referencedDeclaration":31408,"src":"462:5:4","typeDescriptions":{"typeIdentifier":"t_contract$_ERC20_$31408","typeString":"contract ERC20"}}},{"id":2450,"nodeType":"UsingForDirective","src":"473:36:4","libraryName":{"id":2448,"name":"FixedPointMathLib","nodeType":"IdentifierPath","referencedDeclaration":32321,"src":"479:17:4"},"typeName":{"id":2449,"name":"uint256","nodeType":"ElementaryTypeName","src":"501:7:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},{"id":2460,"nodeType":"EventDefinition","src":"694:93:4","anonymous":false,"name":"Deposit","nameLocation":"700:7:4","parameters":{"id":2459,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2452,"indexed":true,"mutability":"mutable","name":"caller","nameLocation":"724:6:4","nodeType":"VariableDeclaration","scope":2460,"src":"708:22:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2451,"name":"address","nodeType":"ElementaryTypeName","src":"708:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2454,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"748:5:4","nodeType":"VariableDeclaration","scope":2460,"src":"732:21:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2453,"name":"address","nodeType":"ElementaryTypeName","src":"732:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2456,"indexed":false,"mutability":"mutable","name":"assets","nameLocation":"763:6:4","nodeType":"VariableDeclaration","scope":2460,"src":"755:14:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typ
|