alpha redeploy

This commit is contained in:
Tim Olson
2023-11-21 00:15:38 -04:00
parent a6983d23bd
commit 7ff99c9b1f
23 changed files with 8640 additions and 8699 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -110,17 +110,17 @@
}, },
"ast": { "ast": {
"absolutePath": "src/interface/IVaultDeployer.sol", "absolutePath": "src/interface/IVaultDeployer.sol",
"id": 49446, "id": 49443,
"exportedSymbols": { "exportedSymbols": {
"IVaultDeployer": [ "IVaultDeployer": [
49445 49442
] ]
}, },
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"src": "65:140:62", "src": "65:140:62",
"nodes": [ "nodes": [
{ {
"id": 49438, "id": 49435,
"nodeType": "PragmaDirective", "nodeType": "PragmaDirective",
"src": "65:24:62", "src": "65:24:62",
"nodes": [], "nodes": [],
@@ -132,7 +132,7 @@
] ]
}, },
{ {
"id": 49439, "id": 49436,
"nodeType": "PragmaDirective", "nodeType": "PragmaDirective",
"src": "90:19:62", "src": "90:19:62",
"nodes": [], "nodes": [],
@@ -142,12 +142,12 @@
] ]
}, },
{ {
"id": 49445, "id": 49442,
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"src": "111:93:62", "src": "111:93:62",
"nodes": [ "nodes": [
{ {
"id": 49444, "id": 49441,
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"src": "142:60:62", "src": "142:60:62",
"nodes": [], "nodes": [],
@@ -158,23 +158,23 @@
"name": "parameters", "name": "parameters",
"nameLocation": "151:10:62", "nameLocation": "151:10:62",
"parameters": { "parameters": {
"id": 49440, "id": 49437,
"nodeType": "ParameterList", "nodeType": "ParameterList",
"parameters": [], "parameters": [],
"src": "161:2:62" "src": "161:2:62"
}, },
"returnParameters": { "returnParameters": {
"id": 49443, "id": 49440,
"nodeType": "ParameterList", "nodeType": "ParameterList",
"parameters": [ "parameters": [
{ {
"constant": false, "constant": false,
"id": 49442, "id": 49439,
"mutability": "mutable", "mutability": "mutable",
"name": "owner", "name": "owner",
"nameLocation": "195:5:62", "nameLocation": "195:5:62",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 49444, "scope": 49441,
"src": "187:13:62", "src": "187:13:62",
"stateVariable": false, "stateVariable": false,
"storageLocation": "default", "storageLocation": "default",
@@ -183,7 +183,7 @@
"typeString": "address" "typeString": "address"
}, },
"typeName": { "typeName": {
"id": 49441, "id": 49438,
"name": "address", "name": "address",
"nodeType": "ElementaryTypeName", "nodeType": "ElementaryTypeName",
"src": "187:7:62", "src": "187:7:62",
@@ -198,7 +198,7 @@
], ],
"src": "186:15:62" "src": "186:15:62"
}, },
"scope": 49445, "scope": 49442,
"stateMutability": "view", "stateMutability": "view",
"virtual": false, "virtual": false,
"visibility": "external" "visibility": "external"
@@ -211,11 +211,11 @@
"contractKind": "interface", "contractKind": "interface",
"fullyImplemented": false, "fullyImplemented": false,
"linearizedBaseContracts": [ "linearizedBaseContracts": [
49445 49442
], ],
"name": "IVaultDeployer", "name": "IVaultDeployer",
"nameLocation": "121:14:62", "nameLocation": "121:14:62",
"scope": 49446, "scope": 49443,
"usedErrors": [], "usedErrors": [],
"usedEvents": [] "usedEvents": []
} }

View File

@@ -778,7 +778,7 @@
}, },
"ast": { "ast": {
"absolutePath": "src/MockERC20.sol", "absolutePath": "src/MockERC20.sol",
"id": 46479, "id": 46476,
"exportedSymbols": { "exportedSymbols": {
"Context": [ "Context": [
43777 43777
@@ -793,14 +793,14 @@
43581 43581
], ],
"MockERC20": [ "MockERC20": [
46478 46475
] ]
}, },
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"src": "26:522:53", "src": "26:522:53",
"nodes": [ "nodes": [
{ {
"id": 46432, "id": 46429,
"nodeType": "PragmaDirective", "nodeType": "PragmaDirective",
"src": "26:24:53", "src": "26:24:53",
"nodes": [], "nodes": [],
@@ -812,25 +812,25 @@
] ]
}, },
{ {
"id": 46433, "id": 46430,
"nodeType": "ImportDirective", "nodeType": "ImportDirective",
"src": "51:55:53", "src": "51:55:53",
"nodes": [], "nodes": [],
"absolutePath": "lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol", "absolutePath": "lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol",
"file": "@openzeppelin/contracts/token/ERC20/ERC20.sol", "file": "@openzeppelin/contracts/token/ERC20/ERC20.sol",
"nameLocation": "-1:-1:-1", "nameLocation": "-1:-1:-1",
"scope": 46479, "scope": 46476,
"sourceUnit": 43479, "sourceUnit": 43479,
"symbolAliases": [], "symbolAliases": [],
"unitAlias": "" "unitAlias": ""
}, },
{ {
"id": 46478, "id": 46475,
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"src": "109:438:53", "src": "109:438:53",
"nodes": [ "nodes": [
{ {
"id": 46437, "id": 46434,
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"src": "144:23:53", "src": "144:23:53",
"nodes": [], "nodes": [],
@@ -838,7 +838,7 @@
"mutability": "mutable", "mutability": "mutable",
"name": "_decimals", "name": "_decimals",
"nameLocation": "158:9:53", "nameLocation": "158:9:53",
"scope": 46478, "scope": 46475,
"stateVariable": true, "stateVariable": true,
"storageLocation": "default", "storageLocation": "default",
"typeDescriptions": { "typeDescriptions": {
@@ -846,7 +846,7 @@
"typeString": "uint8" "typeString": "uint8"
}, },
"typeName": { "typeName": {
"id": 46436, "id": 46433,
"name": "uint8", "name": "uint8",
"nodeType": "ElementaryTypeName", "nodeType": "ElementaryTypeName",
"src": "144:5:53", "src": "144:5:53",
@@ -858,29 +858,29 @@
"visibility": "private" "visibility": "private"
}, },
{ {
"id": 46455, "id": 46452,
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"src": "174:174:53", "src": "174:174:53",
"nodes": [], "nodes": [],
"body": { "body": {
"id": 46454, "id": 46451,
"nodeType": "Block", "nodeType": "Block",
"src": "273:75:53", "src": "273:75:53",
"nodes": [], "nodes": [],
"statements": [ "statements": [
{ {
"expression": { "expression": {
"id": 46452, "id": 46449,
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": false, "isPure": false,
"lValueRequested": false, "lValueRequested": false,
"leftHandSide": { "leftHandSide": {
"id": 46450, "id": 46447,
"name": "_decimals", "name": "_decimals",
"nodeType": "Identifier", "nodeType": "Identifier",
"overloadedDeclarations": [], "overloadedDeclarations": [],
"referencedDeclaration": 46437, "referencedDeclaration": 46434,
"src": "320:9:53", "src": "320:9:53",
"typeDescriptions": { "typeDescriptions": {
"typeIdentifier": "t_uint8", "typeIdentifier": "t_uint8",
@@ -890,11 +890,11 @@
"nodeType": "Assignment", "nodeType": "Assignment",
"operator": "=", "operator": "=",
"rightHandSide": { "rightHandSide": {
"id": 46451, "id": 46448,
"name": "decimals_", "name": "decimals_",
"nodeType": "Identifier", "nodeType": "Identifier",
"overloadedDeclarations": [], "overloadedDeclarations": [],
"referencedDeclaration": 46443, "referencedDeclaration": 46440,
"src": "332:9:53", "src": "332:9:53",
"typeDescriptions": { "typeDescriptions": {
"typeIdentifier": "t_uint8", "typeIdentifier": "t_uint8",
@@ -907,7 +907,7 @@
"typeString": "uint8" "typeString": "uint8"
} }
}, },
"id": 46453, "id": 46450,
"nodeType": "ExpressionStatement", "nodeType": "ExpressionStatement",
"src": "320:21:53" "src": "320:21:53"
} }
@@ -919,11 +919,11 @@
{ {
"arguments": [ "arguments": [
{ {
"id": 46446, "id": 46443,
"name": "name", "name": "name",
"nodeType": "Identifier", "nodeType": "Identifier",
"overloadedDeclarations": [], "overloadedDeclarations": [],
"referencedDeclaration": 46439, "referencedDeclaration": 46436,
"src": "255:4:53", "src": "255:4:53",
"typeDescriptions": { "typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr", "typeIdentifier": "t_string_memory_ptr",
@@ -931,11 +931,11 @@
} }
}, },
{ {
"id": 46447, "id": 46444,
"name": "symbol", "name": "symbol",
"nodeType": "Identifier", "nodeType": "Identifier",
"overloadedDeclarations": [], "overloadedDeclarations": [],
"referencedDeclaration": 46441, "referencedDeclaration": 46438,
"src": "261:6:53", "src": "261:6:53",
"typeDescriptions": { "typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr", "typeIdentifier": "t_string_memory_ptr",
@@ -943,10 +943,10 @@
} }
} }
], ],
"id": 46448, "id": 46445,
"kind": "baseConstructorSpecifier", "kind": "baseConstructorSpecifier",
"modifierName": { "modifierName": {
"id": 46445, "id": 46442,
"name": "ERC20", "name": "ERC20",
"nameLocations": [ "nameLocations": [
"249:5:53" "249:5:53"
@@ -962,17 +962,17 @@
"name": "", "name": "",
"nameLocation": "-1:-1:-1", "nameLocation": "-1:-1:-1",
"parameters": { "parameters": {
"id": 46444, "id": 46441,
"nodeType": "ParameterList", "nodeType": "ParameterList",
"parameters": [ "parameters": [
{ {
"constant": false, "constant": false,
"id": 46439, "id": 46436,
"mutability": "mutable", "mutability": "mutable",
"name": "name", "name": "name",
"nameLocation": "200:4:53", "nameLocation": "200:4:53",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 46455, "scope": 46452,
"src": "186:18:53", "src": "186:18:53",
"stateVariable": false, "stateVariable": false,
"storageLocation": "memory", "storageLocation": "memory",
@@ -981,7 +981,7 @@
"typeString": "string" "typeString": "string"
}, },
"typeName": { "typeName": {
"id": 46438, "id": 46435,
"name": "string", "name": "string",
"nodeType": "ElementaryTypeName", "nodeType": "ElementaryTypeName",
"src": "186:6:53", "src": "186:6:53",
@@ -994,12 +994,12 @@
}, },
{ {
"constant": false, "constant": false,
"id": 46441, "id": 46438,
"mutability": "mutable", "mutability": "mutable",
"name": "symbol", "name": "symbol",
"nameLocation": "220:6:53", "nameLocation": "220:6:53",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 46455, "scope": 46452,
"src": "206:20:53", "src": "206:20:53",
"stateVariable": false, "stateVariable": false,
"storageLocation": "memory", "storageLocation": "memory",
@@ -1008,7 +1008,7 @@
"typeString": "string" "typeString": "string"
}, },
"typeName": { "typeName": {
"id": 46440, "id": 46437,
"name": "string", "name": "string",
"nodeType": "ElementaryTypeName", "nodeType": "ElementaryTypeName",
"src": "206:6:53", "src": "206:6:53",
@@ -1021,12 +1021,12 @@
}, },
{ {
"constant": false, "constant": false,
"id": 46443, "id": 46440,
"mutability": "mutable", "mutability": "mutable",
"name": "decimals_", "name": "decimals_",
"nameLocation": "234:9:53", "nameLocation": "234:9:53",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 46455, "scope": 46452,
"src": "228:15:53", "src": "228:15:53",
"stateVariable": false, "stateVariable": false,
"storageLocation": "default", "storageLocation": "default",
@@ -1035,7 +1035,7 @@
"typeString": "uint8" "typeString": "uint8"
}, },
"typeName": { "typeName": {
"id": 46442, "id": 46439,
"name": "uint8", "name": "uint8",
"nodeType": "ElementaryTypeName", "nodeType": "ElementaryTypeName",
"src": "228:5:53", "src": "228:5:53",
@@ -1050,42 +1050,42 @@
"src": "185:59:53" "src": "185:59:53"
}, },
"returnParameters": { "returnParameters": {
"id": 46449, "id": 46446,
"nodeType": "ParameterList", "nodeType": "ParameterList",
"parameters": [], "parameters": [],
"src": "273:0:53" "src": "273:0:53"
}, },
"scope": 46478, "scope": 46475,
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"virtual": false, "virtual": false,
"visibility": "public" "visibility": "public"
}, },
{ {
"id": 46464, "id": 46461,
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"src": "354:90:53", "src": "354:90:53",
"nodes": [], "nodes": [],
"body": { "body": {
"id": 46463, "id": 46460,
"nodeType": "Block", "nodeType": "Block",
"src": "411:33:53", "src": "411:33:53",
"nodes": [], "nodes": [],
"statements": [ "statements": [
{ {
"expression": { "expression": {
"id": 46461, "id": 46458,
"name": "_decimals", "name": "_decimals",
"nodeType": "Identifier", "nodeType": "Identifier",
"overloadedDeclarations": [], "overloadedDeclarations": [],
"referencedDeclaration": 46437, "referencedDeclaration": 46434,
"src": "428:9:53", "src": "428:9:53",
"typeDescriptions": { "typeDescriptions": {
"typeIdentifier": "t_uint8", "typeIdentifier": "t_uint8",
"typeString": "uint8" "typeString": "uint8"
} }
}, },
"functionReturnParameters": 46460, "functionReturnParameters": 46457,
"id": 46462, "id": 46459,
"nodeType": "Return", "nodeType": "Return",
"src": "421:16:53" "src": "421:16:53"
} }
@@ -1101,29 +1101,29 @@
"name": "decimals", "name": "decimals",
"nameLocation": "363:8:53", "nameLocation": "363:8:53",
"overrides": { "overrides": {
"id": 46457, "id": 46454,
"nodeType": "OverrideSpecifier", "nodeType": "OverrideSpecifier",
"overrides": [], "overrides": [],
"src": "386:8:53" "src": "386:8:53"
}, },
"parameters": { "parameters": {
"id": 46456, "id": 46453,
"nodeType": "ParameterList", "nodeType": "ParameterList",
"parameters": [], "parameters": [],
"src": "371:2:53" "src": "371:2:53"
}, },
"returnParameters": { "returnParameters": {
"id": 46460, "id": 46457,
"nodeType": "ParameterList", "nodeType": "ParameterList",
"parameters": [ "parameters": [
{ {
"constant": false, "constant": false,
"id": 46459, "id": 46456,
"mutability": "mutable", "mutability": "mutable",
"name": "", "name": "",
"nameLocation": "-1:-1:-1", "nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 46464, "scope": 46461,
"src": "404:5:53", "src": "404:5:53",
"stateVariable": false, "stateVariable": false,
"storageLocation": "default", "storageLocation": "default",
@@ -1132,7 +1132,7 @@
"typeString": "uint8" "typeString": "uint8"
}, },
"typeName": { "typeName": {
"id": 46458, "id": 46455,
"name": "uint8", "name": "uint8",
"nodeType": "ElementaryTypeName", "nodeType": "ElementaryTypeName",
"src": "404:5:53", "src": "404:5:53",
@@ -1146,18 +1146,18 @@
], ],
"src": "403:7:53" "src": "403:7:53"
}, },
"scope": 46478, "scope": 46475,
"stateMutability": "view", "stateMutability": "view",
"virtual": false, "virtual": false,
"visibility": "public" "visibility": "public"
}, },
{ {
"id": 46477, "id": 46474,
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"src": "450:95:53", "src": "450:95:53",
"nodes": [], "nodes": [],
"body": { "body": {
"id": 46476, "id": 46473,
"nodeType": "Block", "nodeType": "Block",
"src": "506:39:53", "src": "506:39:53",
"nodes": [], "nodes": [],
@@ -1166,11 +1166,11 @@
"expression": { "expression": {
"arguments": [ "arguments": [
{ {
"id": 46472, "id": 46469,
"name": "account", "name": "account",
"nodeType": "Identifier", "nodeType": "Identifier",
"overloadedDeclarations": [], "overloadedDeclarations": [],
"referencedDeclaration": 46466, "referencedDeclaration": 46463,
"src": "522:7:53", "src": "522:7:53",
"typeDescriptions": { "typeDescriptions": {
"typeIdentifier": "t_address", "typeIdentifier": "t_address",
@@ -1178,11 +1178,11 @@
} }
}, },
{ {
"id": 46473, "id": 46470,
"name": "amount", "name": "amount",
"nodeType": "Identifier", "nodeType": "Identifier",
"overloadedDeclarations": [], "overloadedDeclarations": [],
"referencedDeclaration": 46468, "referencedDeclaration": 46465,
"src": "531:6:53", "src": "531:6:53",
"typeDescriptions": { "typeDescriptions": {
"typeIdentifier": "t_uint256", "typeIdentifier": "t_uint256",
@@ -1201,7 +1201,7 @@
"typeString": "uint256" "typeString": "uint256"
} }
], ],
"id": 46471, "id": 46468,
"name": "_mint", "name": "_mint",
"nodeType": "Identifier", "nodeType": "Identifier",
"overloadedDeclarations": [], "overloadedDeclarations": [],
@@ -1212,7 +1212,7 @@
"typeString": "function (address,uint256)" "typeString": "function (address,uint256)"
} }
}, },
"id": 46474, "id": 46471,
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": false, "isPure": false,
@@ -1228,7 +1228,7 @@
"typeString": "tuple()" "typeString": "tuple()"
} }
}, },
"id": 46475, "id": 46472,
"nodeType": "ExpressionStatement", "nodeType": "ExpressionStatement",
"src": "516:22:53" "src": "516:22:53"
} }
@@ -1241,17 +1241,17 @@
"name": "mint", "name": "mint",
"nameLocation": "459:4:53", "nameLocation": "459:4:53",
"parameters": { "parameters": {
"id": 46469, "id": 46466,
"nodeType": "ParameterList", "nodeType": "ParameterList",
"parameters": [ "parameters": [
{ {
"constant": false, "constant": false,
"id": 46466, "id": 46463,
"mutability": "mutable", "mutability": "mutable",
"name": "account", "name": "account",
"nameLocation": "472:7:53", "nameLocation": "472:7:53",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 46477, "scope": 46474,
"src": "464:15:53", "src": "464:15:53",
"stateVariable": false, "stateVariable": false,
"storageLocation": "default", "storageLocation": "default",
@@ -1260,7 +1260,7 @@
"typeString": "address" "typeString": "address"
}, },
"typeName": { "typeName": {
"id": 46465, "id": 46462,
"name": "address", "name": "address",
"nodeType": "ElementaryTypeName", "nodeType": "ElementaryTypeName",
"src": "464:7:53", "src": "464:7:53",
@@ -1274,12 +1274,12 @@
}, },
{ {
"constant": false, "constant": false,
"id": 46468, "id": 46465,
"mutability": "mutable", "mutability": "mutable",
"name": "amount", "name": "amount",
"nameLocation": "489:6:53", "nameLocation": "489:6:53",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 46477, "scope": 46474,
"src": "481:14:53", "src": "481:14:53",
"stateVariable": false, "stateVariable": false,
"storageLocation": "default", "storageLocation": "default",
@@ -1288,7 +1288,7 @@
"typeString": "uint256" "typeString": "uint256"
}, },
"typeName": { "typeName": {
"id": 46467, "id": 46464,
"name": "uint256", "name": "uint256",
"nodeType": "ElementaryTypeName", "nodeType": "ElementaryTypeName",
"src": "481:7:53", "src": "481:7:53",
@@ -1303,12 +1303,12 @@
"src": "463:33:53" "src": "463:33:53"
}, },
"returnParameters": { "returnParameters": {
"id": 46470, "id": 46467,
"nodeType": "ParameterList", "nodeType": "ParameterList",
"parameters": [], "parameters": [],
"src": "506:0:53" "src": "506:0:53"
}, },
"scope": 46478, "scope": 46475,
"stateMutability": "nonpayable", "stateMutability": "nonpayable",
"virtual": false, "virtual": false,
"visibility": "external" "visibility": "external"
@@ -1318,7 +1318,7 @@
"baseContracts": [ "baseContracts": [
{ {
"baseName": { "baseName": {
"id": 46434, "id": 46431,
"name": "ERC20", "name": "ERC20",
"nameLocations": [ "nameLocations": [
"131:5:53" "131:5:53"
@@ -1327,7 +1327,7 @@
"referencedDeclaration": 43478, "referencedDeclaration": 43478,
"src": "131:5:53" "src": "131:5:53"
}, },
"id": 46435, "id": 46432,
"nodeType": "InheritanceSpecifier", "nodeType": "InheritanceSpecifier",
"src": "131:5:53" "src": "131:5:53"
} }
@@ -1337,7 +1337,7 @@
"contractKind": "contract", "contractKind": "contract",
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": [ "linearizedBaseContracts": [
46478, 46475,
43478, 43478,
43581, 43581,
43556, 43556,
@@ -1345,7 +1345,7 @@
], ],
"name": "MockERC20", "name": "MockERC20",
"nameLocation": "118:9:53", "nameLocation": "118:9:53",
"scope": 46479, "scope": 46476,
"usedErrors": [], "usedErrors": [],
"usedEvents": [ "usedEvents": [
43490, 43490,

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -132,17 +132,17 @@
}, },
"ast": { "ast": {
"absolutePath": "src/Util.sol", "absolutePath": "src/Util.sol",
"id": 48905, "id": 48902,
"exportedSymbols": { "exportedSymbols": {
"Util": [ "Util": [
48904 48901
] ]
}, },
"nodeType": "SourceUnit", "nodeType": "SourceUnit",
"src": "65:412:57", "src": "65:412:57",
"nodes": [ "nodes": [
{ {
"id": 48849, "id": 48846,
"nodeType": "PragmaDirective", "nodeType": "PragmaDirective",
"src": "65:24:57", "src": "65:24:57",
"nodes": [], "nodes": [],
@@ -154,7 +154,7 @@
] ]
}, },
{ {
"id": 48850, "id": 48847,
"nodeType": "PragmaDirective", "nodeType": "PragmaDirective",
"src": "90:19:57", "src": "90:19:57",
"nodes": [], "nodes": [],
@@ -164,34 +164,34 @@
] ]
}, },
{ {
"id": 48904, "id": 48901,
"nodeType": "ContractDefinition", "nodeType": "ContractDefinition",
"src": "111:365:57", "src": "111:365:57",
"nodes": [ "nodes": [
{ {
"id": 48903, "id": 48900,
"nodeType": "FunctionDefinition", "nodeType": "FunctionDefinition",
"src": "130:344:57", "src": "130:344:57",
"nodes": [], "nodes": [],
"body": { "body": {
"id": 48902, "id": 48899,
"nodeType": "Block", "nodeType": "Block",
"src": "203:271:57", "src": "203:271:57",
"nodes": [], "nodes": [],
"statements": [ "statements": [
{ {
"assignments": [ "assignments": [
48860 48857
], ],
"declarations": [ "declarations": [
{ {
"constant": false, "constant": false,
"id": 48860, "id": 48857,
"mutability": "mutable", "mutability": "mutable",
"name": "mod", "name": "mod",
"nameLocation": "262:3:57", "nameLocation": "262:3:57",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 48902, "scope": 48899,
"src": "256:9:57", "src": "256:9:57",
"stateVariable": false, "stateVariable": false,
"storageLocation": "default", "storageLocation": "default",
@@ -200,7 +200,7 @@
"typeString": "int24" "typeString": "int24"
}, },
"typeName": { "typeName": {
"id": 48859, "id": 48856,
"name": "int24", "name": "int24",
"nodeType": "ElementaryTypeName", "nodeType": "ElementaryTypeName",
"src": "256:5:57", "src": "256:5:57",
@@ -212,23 +212,23 @@
"visibility": "internal" "visibility": "internal"
} }
], ],
"id": 48864, "id": 48861,
"initialValue": { "initialValue": {
"commonType": { "commonType": {
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
"typeString": "int24" "typeString": "int24"
}, },
"id": 48863, "id": 48860,
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": false, "isPure": false,
"lValueRequested": false, "lValueRequested": false,
"leftExpression": { "leftExpression": {
"id": 48861, "id": 48858,
"name": "tick", "name": "tick",
"nodeType": "Identifier", "nodeType": "Identifier",
"overloadedDeclarations": [], "overloadedDeclarations": [],
"referencedDeclaration": 48852, "referencedDeclaration": 48849,
"src": "268:4:57", "src": "268:4:57",
"typeDescriptions": { "typeDescriptions": {
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
@@ -238,11 +238,11 @@
"nodeType": "BinaryOperation", "nodeType": "BinaryOperation",
"operator": "%", "operator": "%",
"rightExpression": { "rightExpression": {
"id": 48862, "id": 48859,
"name": "window", "name": "window",
"nodeType": "Identifier", "nodeType": "Identifier",
"overloadedDeclarations": [], "overloadedDeclarations": [],
"referencedDeclaration": 48854, "referencedDeclaration": 48851,
"src": "275:6:57", "src": "275:6:57",
"typeDescriptions": { "typeDescriptions": {
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
@@ -264,17 +264,17 @@
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
"typeString": "int24" "typeString": "int24"
}, },
"id": 48867, "id": 48864,
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": false, "isPure": false,
"lValueRequested": false, "lValueRequested": false,
"leftExpression": { "leftExpression": {
"id": 48865, "id": 48862,
"name": "tick", "name": "tick",
"nodeType": "Identifier", "nodeType": "Identifier",
"overloadedDeclarations": [], "overloadedDeclarations": [],
"referencedDeclaration": 48852, "referencedDeclaration": 48849,
"src": "295:4:57", "src": "295:4:57",
"typeDescriptions": { "typeDescriptions": {
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
@@ -285,7 +285,7 @@
"operator": "<", "operator": "<",
"rightExpression": { "rightExpression": {
"hexValue": "30", "hexValue": "30",
"id": 48866, "id": 48863,
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": true, "isPure": true,
@@ -312,17 +312,17 @@
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
"typeString": "int24" "typeString": "int24"
}, },
"id": 48889, "id": 48886,
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": false, "isPure": false,
"lValueRequested": false, "lValueRequested": false,
"leftExpression": { "leftExpression": {
"id": 48885, "id": 48882,
"name": "mod", "name": "mod",
"nodeType": "Identifier", "nodeType": "Identifier",
"overloadedDeclarations": [], "overloadedDeclarations": [],
"referencedDeclaration": 48860, "referencedDeclaration": 48857,
"src": "414:3:57", "src": "414:3:57",
"typeDescriptions": { "typeDescriptions": {
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
@@ -336,17 +336,17 @@
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
"typeString": "int24" "typeString": "int24"
}, },
"id": 48888, "id": 48885,
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": false, "isPure": false,
"lValueRequested": false, "lValueRequested": false,
"leftExpression": { "leftExpression": {
"id": 48886, "id": 48883,
"name": "window", "name": "window",
"nodeType": "Identifier", "nodeType": "Identifier",
"overloadedDeclarations": [], "overloadedDeclarations": [],
"referencedDeclaration": 48854, "referencedDeclaration": 48851,
"src": "420:6:57", "src": "420:6:57",
"typeDescriptions": { "typeDescriptions": {
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
@@ -357,7 +357,7 @@
"operator": "/", "operator": "/",
"rightExpression": { "rightExpression": {
"hexValue": "32", "hexValue": "32",
"id": 48887, "id": 48884,
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": true, "isPure": true,
@@ -388,17 +388,17 @@
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
"typeString": "int24" "typeString": "int24"
}, },
"id": 48898, "id": 48895,
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": false, "isPure": false,
"lValueRequested": false, "lValueRequested": false,
"leftExpression": { "leftExpression": {
"id": 48896, "id": 48893,
"name": "tick", "name": "tick",
"nodeType": "Identifier", "nodeType": "Identifier",
"overloadedDeclarations": [], "overloadedDeclarations": [],
"referencedDeclaration": 48852, "referencedDeclaration": 48849,
"src": "457:4:57", "src": "457:4:57",
"typeDescriptions": { "typeDescriptions": {
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
@@ -408,11 +408,11 @@
"nodeType": "BinaryOperation", "nodeType": "BinaryOperation",
"operator": "-", "operator": "-",
"rightExpression": { "rightExpression": {
"id": 48897, "id": 48894,
"name": "mod", "name": "mod",
"nodeType": "Identifier", "nodeType": "Identifier",
"overloadedDeclarations": [], "overloadedDeclarations": [],
"referencedDeclaration": 48860, "referencedDeclaration": 48857,
"src": "464:3:57", "src": "464:3:57",
"typeDescriptions": { "typeDescriptions": {
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
@@ -425,7 +425,7 @@
"typeString": "int24" "typeString": "int24"
} }
}, },
"id": 48899, "id": 48896,
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": false, "isPure": false,
@@ -437,17 +437,17 @@
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
"typeString": "int24" "typeString": "int24"
}, },
"id": 48895, "id": 48892,
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": false, "isPure": false,
"lValueRequested": false, "lValueRequested": false,
"leftExpression": { "leftExpression": {
"id": 48890, "id": 48887,
"name": "tick", "name": "tick",
"nodeType": "Identifier", "nodeType": "Identifier",
"overloadedDeclarations": [], "overloadedDeclarations": [],
"referencedDeclaration": 48852, "referencedDeclaration": 48849,
"src": "433:4:57", "src": "433:4:57",
"typeDescriptions": { "typeDescriptions": {
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
@@ -463,17 +463,17 @@
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
"typeString": "int24" "typeString": "int24"
}, },
"id": 48893, "id": 48890,
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": false, "isPure": false,
"lValueRequested": false, "lValueRequested": false,
"leftExpression": { "leftExpression": {
"id": 48891, "id": 48888,
"name": "window", "name": "window",
"nodeType": "Identifier", "nodeType": "Identifier",
"overloadedDeclarations": [], "overloadedDeclarations": [],
"referencedDeclaration": 48854, "referencedDeclaration": 48851,
"src": "441:6:57", "src": "441:6:57",
"typeDescriptions": { "typeDescriptions": {
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
@@ -483,11 +483,11 @@
"nodeType": "BinaryOperation", "nodeType": "BinaryOperation",
"operator": "-", "operator": "-",
"rightExpression": { "rightExpression": {
"id": 48892, "id": 48889,
"name": "mod", "name": "mod",
"nodeType": "Identifier", "nodeType": "Identifier",
"overloadedDeclarations": [], "overloadedDeclarations": [],
"referencedDeclaration": 48860, "referencedDeclaration": 48857,
"src": "450:3:57", "src": "450:3:57",
"typeDescriptions": { "typeDescriptions": {
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
@@ -501,7 +501,7 @@
} }
} }
], ],
"id": 48894, "id": 48891,
"isConstant": false, "isConstant": false,
"isInlineArray": false, "isInlineArray": false,
"isLValue": false, "isLValue": false,
@@ -525,12 +525,12 @@
"typeString": "int24" "typeString": "int24"
} }
}, },
"functionReturnParameters": 48858, "functionReturnParameters": 48855,
"id": 48900, "id": 48897,
"nodeType": "Return", "nodeType": "Return",
"src": "407:60:57" "src": "407:60:57"
}, },
"id": 48901, "id": 48898,
"nodeType": "IfStatement", "nodeType": "IfStatement",
"src": "291:176:57", "src": "291:176:57",
"trueBody": { "trueBody": {
@@ -540,13 +540,13 @@
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
"typeString": "int24" "typeString": "int24"
}, },
"id": 48873, "id": 48870,
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": false, "isPure": false,
"lValueRequested": false, "lValueRequested": false,
"leftExpression": { "leftExpression": {
"id": 48869, "id": 48866,
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": false, "isPure": false,
@@ -556,11 +556,11 @@
"prefix": true, "prefix": true,
"src": "324:5:57", "src": "324:5:57",
"subExpression": { "subExpression": {
"id": 48868, "id": 48865,
"name": "mod", "name": "mod",
"nodeType": "Identifier", "nodeType": "Identifier",
"overloadedDeclarations": [], "overloadedDeclarations": [],
"referencedDeclaration": 48860, "referencedDeclaration": 48857,
"src": "326:3:57", "src": "326:3:57",
"typeDescriptions": { "typeDescriptions": {
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
@@ -579,17 +579,17 @@
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
"typeString": "int24" "typeString": "int24"
}, },
"id": 48872, "id": 48869,
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": false, "isPure": false,
"lValueRequested": false, "lValueRequested": false,
"leftExpression": { "leftExpression": {
"id": 48870, "id": 48867,
"name": "window", "name": "window",
"nodeType": "Identifier", "nodeType": "Identifier",
"overloadedDeclarations": [], "overloadedDeclarations": [],
"referencedDeclaration": 48854, "referencedDeclaration": 48851,
"src": "333:6:57", "src": "333:6:57",
"typeDescriptions": { "typeDescriptions": {
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
@@ -600,7 +600,7 @@
"operator": "/", "operator": "/",
"rightExpression": { "rightExpression": {
"hexValue": "32", "hexValue": "32",
"id": 48871, "id": 48868,
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": true, "isPure": true,
@@ -631,17 +631,17 @@
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
"typeString": "int24" "typeString": "int24"
}, },
"id": 48882, "id": 48879,
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": false, "isPure": false,
"lValueRequested": false, "lValueRequested": false,
"leftExpression": { "leftExpression": {
"id": 48877, "id": 48874,
"name": "tick", "name": "tick",
"nodeType": "Identifier", "nodeType": "Identifier",
"overloadedDeclarations": [], "overloadedDeclarations": [],
"referencedDeclaration": 48852, "referencedDeclaration": 48849,
"src": "359:4:57", "src": "359:4:57",
"typeDescriptions": { "typeDescriptions": {
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
@@ -657,17 +657,17 @@
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
"typeString": "int24" "typeString": "int24"
}, },
"id": 48880, "id": 48877,
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": false, "isPure": false,
"lValueRequested": false, "lValueRequested": false,
"leftExpression": { "leftExpression": {
"id": 48878, "id": 48875,
"name": "window", "name": "window",
"nodeType": "Identifier", "nodeType": "Identifier",
"overloadedDeclarations": [], "overloadedDeclarations": [],
"referencedDeclaration": 48854, "referencedDeclaration": 48851,
"src": "367:6:57", "src": "367:6:57",
"typeDescriptions": { "typeDescriptions": {
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
@@ -677,11 +677,11 @@
"nodeType": "BinaryOperation", "nodeType": "BinaryOperation",
"operator": "+", "operator": "+",
"rightExpression": { "rightExpression": {
"id": 48879, "id": 48876,
"name": "mod", "name": "mod",
"nodeType": "Identifier", "nodeType": "Identifier",
"overloadedDeclarations": [], "overloadedDeclarations": [],
"referencedDeclaration": 48860, "referencedDeclaration": 48857,
"src": "376:3:57", "src": "376:3:57",
"typeDescriptions": { "typeDescriptions": {
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
@@ -695,7 +695,7 @@
} }
} }
], ],
"id": 48881, "id": 48878,
"isConstant": false, "isConstant": false,
"isInlineArray": false, "isInlineArray": false,
"isLValue": false, "isLValue": false,
@@ -714,7 +714,7 @@
"typeString": "int24" "typeString": "int24"
} }
}, },
"id": 48883, "id": 48880,
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": false, "isPure": false,
@@ -726,17 +726,17 @@
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
"typeString": "int24" "typeString": "int24"
}, },
"id": 48876, "id": 48873,
"isConstant": false, "isConstant": false,
"isLValue": false, "isLValue": false,
"isPure": false, "isPure": false,
"lValueRequested": false, "lValueRequested": false,
"leftExpression": { "leftExpression": {
"id": 48874, "id": 48871,
"name": "tick", "name": "tick",
"nodeType": "Identifier", "nodeType": "Identifier",
"overloadedDeclarations": [], "overloadedDeclarations": [],
"referencedDeclaration": 48852, "referencedDeclaration": 48849,
"src": "346:4:57", "src": "346:4:57",
"typeDescriptions": { "typeDescriptions": {
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
@@ -746,11 +746,11 @@
"nodeType": "BinaryOperation", "nodeType": "BinaryOperation",
"operator": "-", "operator": "-",
"rightExpression": { "rightExpression": {
"id": 48875, "id": 48872,
"name": "mod", "name": "mod",
"nodeType": "Identifier", "nodeType": "Identifier",
"overloadedDeclarations": [], "overloadedDeclarations": [],
"referencedDeclaration": 48860, "referencedDeclaration": 48857,
"src": "353:3:57", "src": "353:3:57",
"typeDescriptions": { "typeDescriptions": {
"typeIdentifier": "t_int24", "typeIdentifier": "t_int24",
@@ -768,8 +768,8 @@
"typeString": "int24" "typeString": "int24"
} }
}, },
"functionReturnParameters": 48858, "functionReturnParameters": 48855,
"id": 48884, "id": 48881,
"nodeType": "Return", "nodeType": "Return",
"src": "317:63:57" "src": "317:63:57"
} }
@@ -783,17 +783,17 @@
"name": "roundTick", "name": "roundTick",
"nameLocation": "139:9:57", "nameLocation": "139:9:57",
"parameters": { "parameters": {
"id": 48855, "id": 48852,
"nodeType": "ParameterList", "nodeType": "ParameterList",
"parameters": [ "parameters": [
{ {
"constant": false, "constant": false,
"id": 48852, "id": 48849,
"mutability": "mutable", "mutability": "mutable",
"name": "tick", "name": "tick",
"nameLocation": "155:4:57", "nameLocation": "155:4:57",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 48903, "scope": 48900,
"src": "149:10:57", "src": "149:10:57",
"stateVariable": false, "stateVariable": false,
"storageLocation": "default", "storageLocation": "default",
@@ -802,7 +802,7 @@
"typeString": "int24" "typeString": "int24"
}, },
"typeName": { "typeName": {
"id": 48851, "id": 48848,
"name": "int24", "name": "int24",
"nodeType": "ElementaryTypeName", "nodeType": "ElementaryTypeName",
"src": "149:5:57", "src": "149:5:57",
@@ -815,12 +815,12 @@
}, },
{ {
"constant": false, "constant": false,
"id": 48854, "id": 48851,
"mutability": "mutable", "mutability": "mutable",
"name": "window", "name": "window",
"nameLocation": "167:6:57", "nameLocation": "167:6:57",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 48903, "scope": 48900,
"src": "161:12:57", "src": "161:12:57",
"stateVariable": false, "stateVariable": false,
"storageLocation": "default", "storageLocation": "default",
@@ -829,7 +829,7 @@
"typeString": "int24" "typeString": "int24"
}, },
"typeName": { "typeName": {
"id": 48853, "id": 48850,
"name": "int24", "name": "int24",
"nodeType": "ElementaryTypeName", "nodeType": "ElementaryTypeName",
"src": "161:5:57", "src": "161:5:57",
@@ -844,17 +844,17 @@
"src": "148:26:57" "src": "148:26:57"
}, },
"returnParameters": { "returnParameters": {
"id": 48858, "id": 48855,
"nodeType": "ParameterList", "nodeType": "ParameterList",
"parameters": [ "parameters": [
{ {
"constant": false, "constant": false,
"id": 48857, "id": 48854,
"mutability": "mutable", "mutability": "mutable",
"name": "", "name": "",
"nameLocation": "-1:-1:-1", "nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration", "nodeType": "VariableDeclaration",
"scope": 48903, "scope": 48900,
"src": "196:5:57", "src": "196:5:57",
"stateVariable": false, "stateVariable": false,
"storageLocation": "default", "storageLocation": "default",
@@ -863,7 +863,7 @@
"typeString": "int24" "typeString": "int24"
}, },
"typeName": { "typeName": {
"id": 48856, "id": 48853,
"name": "int24", "name": "int24",
"nodeType": "ElementaryTypeName", "nodeType": "ElementaryTypeName",
"src": "196:5:57", "src": "196:5:57",
@@ -877,7 +877,7 @@
], ],
"src": "195:7:57" "src": "195:7:57"
}, },
"scope": 48904, "scope": 48901,
"stateMutability": "pure", "stateMutability": "pure",
"virtual": false, "virtual": false,
"visibility": "public" "visibility": "public"
@@ -890,11 +890,11 @@
"contractKind": "library", "contractKind": "library",
"fullyImplemented": true, "fullyImplemented": true,
"linearizedBaseContracts": [ "linearizedBaseContracts": [
48904 48901
], ],
"name": "Util", "name": "Util",
"nameLocation": "119:4:57", "nameLocation": "119:4:57",
"scope": 48905, "scope": 48902,
"usedErrors": [], "usedErrors": [],
"usedEvents": [] "usedEvents": []
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -16,6 +16,4 @@ library Constants {
ISwapRouter internal constant uniswapV3SwapRouter ISwapRouter internal constant uniswapV3SwapRouter
= ISwapRouter(0xE592427A0AEce92De3Edee1F18E0157C05861564); = ISwapRouter(0xE592427A0AEce92De3Edee1F18E0157C05861564);
bytes32 internal constant SWAP_OK = '';
} }