alpha redeploy
This commit is contained in:
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
@@ -110,17 +110,17 @@
|
||||
},
|
||||
"ast": {
|
||||
"absolutePath": "src/interface/IVaultDeployer.sol",
|
||||
"id": 49446,
|
||||
"id": 49443,
|
||||
"exportedSymbols": {
|
||||
"IVaultDeployer": [
|
||||
49445
|
||||
49442
|
||||
]
|
||||
},
|
||||
"nodeType": "SourceUnit",
|
||||
"src": "65:140:62",
|
||||
"nodes": [
|
||||
{
|
||||
"id": 49438,
|
||||
"id": 49435,
|
||||
"nodeType": "PragmaDirective",
|
||||
"src": "65:24:62",
|
||||
"nodes": [],
|
||||
@@ -132,7 +132,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 49439,
|
||||
"id": 49436,
|
||||
"nodeType": "PragmaDirective",
|
||||
"src": "90:19:62",
|
||||
"nodes": [],
|
||||
@@ -142,12 +142,12 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 49445,
|
||||
"id": 49442,
|
||||
"nodeType": "ContractDefinition",
|
||||
"src": "111:93:62",
|
||||
"nodes": [
|
||||
{
|
||||
"id": 49444,
|
||||
"id": 49441,
|
||||
"nodeType": "FunctionDefinition",
|
||||
"src": "142:60:62",
|
||||
"nodes": [],
|
||||
@@ -158,23 +158,23 @@
|
||||
"name": "parameters",
|
||||
"nameLocation": "151:10:62",
|
||||
"parameters": {
|
||||
"id": 49440,
|
||||
"id": 49437,
|
||||
"nodeType": "ParameterList",
|
||||
"parameters": [],
|
||||
"src": "161:2:62"
|
||||
},
|
||||
"returnParameters": {
|
||||
"id": 49443,
|
||||
"id": 49440,
|
||||
"nodeType": "ParameterList",
|
||||
"parameters": [
|
||||
{
|
||||
"constant": false,
|
||||
"id": 49442,
|
||||
"id": 49439,
|
||||
"mutability": "mutable",
|
||||
"name": "owner",
|
||||
"nameLocation": "195:5:62",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 49444,
|
||||
"scope": 49441,
|
||||
"src": "187:13:62",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
@@ -183,7 +183,7 @@
|
||||
"typeString": "address"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 49441,
|
||||
"id": 49438,
|
||||
"name": "address",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "187:7:62",
|
||||
@@ -198,7 +198,7 @@
|
||||
],
|
||||
"src": "186:15:62"
|
||||
},
|
||||
"scope": 49445,
|
||||
"scope": 49442,
|
||||
"stateMutability": "view",
|
||||
"virtual": false,
|
||||
"visibility": "external"
|
||||
@@ -211,11 +211,11 @@
|
||||
"contractKind": "interface",
|
||||
"fullyImplemented": false,
|
||||
"linearizedBaseContracts": [
|
||||
49445
|
||||
49442
|
||||
],
|
||||
"name": "IVaultDeployer",
|
||||
"nameLocation": "121:14:62",
|
||||
"scope": 49446,
|
||||
"scope": 49443,
|
||||
"usedErrors": [],
|
||||
"usedEvents": []
|
||||
}
|
||||
|
||||
@@ -778,7 +778,7 @@
|
||||
},
|
||||
"ast": {
|
||||
"absolutePath": "src/MockERC20.sol",
|
||||
"id": 46479,
|
||||
"id": 46476,
|
||||
"exportedSymbols": {
|
||||
"Context": [
|
||||
43777
|
||||
@@ -793,14 +793,14 @@
|
||||
43581
|
||||
],
|
||||
"MockERC20": [
|
||||
46478
|
||||
46475
|
||||
]
|
||||
},
|
||||
"nodeType": "SourceUnit",
|
||||
"src": "26:522:53",
|
||||
"nodes": [
|
||||
{
|
||||
"id": 46432,
|
||||
"id": 46429,
|
||||
"nodeType": "PragmaDirective",
|
||||
"src": "26:24:53",
|
||||
"nodes": [],
|
||||
@@ -812,25 +812,25 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 46433,
|
||||
"id": 46430,
|
||||
"nodeType": "ImportDirective",
|
||||
"src": "51:55:53",
|
||||
"nodes": [],
|
||||
"absolutePath": "lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol",
|
||||
"file": "@openzeppelin/contracts/token/ERC20/ERC20.sol",
|
||||
"nameLocation": "-1:-1:-1",
|
||||
"scope": 46479,
|
||||
"scope": 46476,
|
||||
"sourceUnit": 43479,
|
||||
"symbolAliases": [],
|
||||
"unitAlias": ""
|
||||
},
|
||||
{
|
||||
"id": 46478,
|
||||
"id": 46475,
|
||||
"nodeType": "ContractDefinition",
|
||||
"src": "109:438:53",
|
||||
"nodes": [
|
||||
{
|
||||
"id": 46437,
|
||||
"id": 46434,
|
||||
"nodeType": "VariableDeclaration",
|
||||
"src": "144:23:53",
|
||||
"nodes": [],
|
||||
@@ -838,7 +838,7 @@
|
||||
"mutability": "mutable",
|
||||
"name": "_decimals",
|
||||
"nameLocation": "158:9:53",
|
||||
"scope": 46478,
|
||||
"scope": 46475,
|
||||
"stateVariable": true,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
@@ -846,7 +846,7 @@
|
||||
"typeString": "uint8"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 46436,
|
||||
"id": 46433,
|
||||
"name": "uint8",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "144:5:53",
|
||||
@@ -858,29 +858,29 @@
|
||||
"visibility": "private"
|
||||
},
|
||||
{
|
||||
"id": 46455,
|
||||
"id": 46452,
|
||||
"nodeType": "FunctionDefinition",
|
||||
"src": "174:174:53",
|
||||
"nodes": [],
|
||||
"body": {
|
||||
"id": 46454,
|
||||
"id": 46451,
|
||||
"nodeType": "Block",
|
||||
"src": "273:75:53",
|
||||
"nodes": [],
|
||||
"statements": [
|
||||
{
|
||||
"expression": {
|
||||
"id": 46452,
|
||||
"id": 46449,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
"lValueRequested": false,
|
||||
"leftHandSide": {
|
||||
"id": 46450,
|
||||
"id": 46447,
|
||||
"name": "_decimals",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 46437,
|
||||
"referencedDeclaration": 46434,
|
||||
"src": "320:9:53",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint8",
|
||||
@@ -890,11 +890,11 @@
|
||||
"nodeType": "Assignment",
|
||||
"operator": "=",
|
||||
"rightHandSide": {
|
||||
"id": 46451,
|
||||
"id": 46448,
|
||||
"name": "decimals_",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 46443,
|
||||
"referencedDeclaration": 46440,
|
||||
"src": "332:9:53",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint8",
|
||||
@@ -907,7 +907,7 @@
|
||||
"typeString": "uint8"
|
||||
}
|
||||
},
|
||||
"id": 46453,
|
||||
"id": 46450,
|
||||
"nodeType": "ExpressionStatement",
|
||||
"src": "320:21:53"
|
||||
}
|
||||
@@ -919,11 +919,11 @@
|
||||
{
|
||||
"arguments": [
|
||||
{
|
||||
"id": 46446,
|
||||
"id": 46443,
|
||||
"name": "name",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 46439,
|
||||
"referencedDeclaration": 46436,
|
||||
"src": "255:4:53",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_string_memory_ptr",
|
||||
@@ -931,11 +931,11 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 46447,
|
||||
"id": 46444,
|
||||
"name": "symbol",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 46441,
|
||||
"referencedDeclaration": 46438,
|
||||
"src": "261:6:53",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_string_memory_ptr",
|
||||
@@ -943,10 +943,10 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"id": 46448,
|
||||
"id": 46445,
|
||||
"kind": "baseConstructorSpecifier",
|
||||
"modifierName": {
|
||||
"id": 46445,
|
||||
"id": 46442,
|
||||
"name": "ERC20",
|
||||
"nameLocations": [
|
||||
"249:5:53"
|
||||
@@ -962,17 +962,17 @@
|
||||
"name": "",
|
||||
"nameLocation": "-1:-1:-1",
|
||||
"parameters": {
|
||||
"id": 46444,
|
||||
"id": 46441,
|
||||
"nodeType": "ParameterList",
|
||||
"parameters": [
|
||||
{
|
||||
"constant": false,
|
||||
"id": 46439,
|
||||
"id": 46436,
|
||||
"mutability": "mutable",
|
||||
"name": "name",
|
||||
"nameLocation": "200:4:53",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 46455,
|
||||
"scope": 46452,
|
||||
"src": "186:18:53",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "memory",
|
||||
@@ -981,7 +981,7 @@
|
||||
"typeString": "string"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 46438,
|
||||
"id": 46435,
|
||||
"name": "string",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "186:6:53",
|
||||
@@ -994,12 +994,12 @@
|
||||
},
|
||||
{
|
||||
"constant": false,
|
||||
"id": 46441,
|
||||
"id": 46438,
|
||||
"mutability": "mutable",
|
||||
"name": "symbol",
|
||||
"nameLocation": "220:6:53",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 46455,
|
||||
"scope": 46452,
|
||||
"src": "206:20:53",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "memory",
|
||||
@@ -1008,7 +1008,7 @@
|
||||
"typeString": "string"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 46440,
|
||||
"id": 46437,
|
||||
"name": "string",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "206:6:53",
|
||||
@@ -1021,12 +1021,12 @@
|
||||
},
|
||||
{
|
||||
"constant": false,
|
||||
"id": 46443,
|
||||
"id": 46440,
|
||||
"mutability": "mutable",
|
||||
"name": "decimals_",
|
||||
"nameLocation": "234:9:53",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 46455,
|
||||
"scope": 46452,
|
||||
"src": "228:15:53",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
@@ -1035,7 +1035,7 @@
|
||||
"typeString": "uint8"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 46442,
|
||||
"id": 46439,
|
||||
"name": "uint8",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "228:5:53",
|
||||
@@ -1050,42 +1050,42 @@
|
||||
"src": "185:59:53"
|
||||
},
|
||||
"returnParameters": {
|
||||
"id": 46449,
|
||||
"id": 46446,
|
||||
"nodeType": "ParameterList",
|
||||
"parameters": [],
|
||||
"src": "273:0:53"
|
||||
},
|
||||
"scope": 46478,
|
||||
"scope": 46475,
|
||||
"stateMutability": "nonpayable",
|
||||
"virtual": false,
|
||||
"visibility": "public"
|
||||
},
|
||||
{
|
||||
"id": 46464,
|
||||
"id": 46461,
|
||||
"nodeType": "FunctionDefinition",
|
||||
"src": "354:90:53",
|
||||
"nodes": [],
|
||||
"body": {
|
||||
"id": 46463,
|
||||
"id": 46460,
|
||||
"nodeType": "Block",
|
||||
"src": "411:33:53",
|
||||
"nodes": [],
|
||||
"statements": [
|
||||
{
|
||||
"expression": {
|
||||
"id": 46461,
|
||||
"id": 46458,
|
||||
"name": "_decimals",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 46437,
|
||||
"referencedDeclaration": 46434,
|
||||
"src": "428:9:53",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint8",
|
||||
"typeString": "uint8"
|
||||
}
|
||||
},
|
||||
"functionReturnParameters": 46460,
|
||||
"id": 46462,
|
||||
"functionReturnParameters": 46457,
|
||||
"id": 46459,
|
||||
"nodeType": "Return",
|
||||
"src": "421:16:53"
|
||||
}
|
||||
@@ -1101,29 +1101,29 @@
|
||||
"name": "decimals",
|
||||
"nameLocation": "363:8:53",
|
||||
"overrides": {
|
||||
"id": 46457,
|
||||
"id": 46454,
|
||||
"nodeType": "OverrideSpecifier",
|
||||
"overrides": [],
|
||||
"src": "386:8:53"
|
||||
},
|
||||
"parameters": {
|
||||
"id": 46456,
|
||||
"id": 46453,
|
||||
"nodeType": "ParameterList",
|
||||
"parameters": [],
|
||||
"src": "371:2:53"
|
||||
},
|
||||
"returnParameters": {
|
||||
"id": 46460,
|
||||
"id": 46457,
|
||||
"nodeType": "ParameterList",
|
||||
"parameters": [
|
||||
{
|
||||
"constant": false,
|
||||
"id": 46459,
|
||||
"id": 46456,
|
||||
"mutability": "mutable",
|
||||
"name": "",
|
||||
"nameLocation": "-1:-1:-1",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 46464,
|
||||
"scope": 46461,
|
||||
"src": "404:5:53",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
@@ -1132,7 +1132,7 @@
|
||||
"typeString": "uint8"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 46458,
|
||||
"id": 46455,
|
||||
"name": "uint8",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "404:5:53",
|
||||
@@ -1146,18 +1146,18 @@
|
||||
],
|
||||
"src": "403:7:53"
|
||||
},
|
||||
"scope": 46478,
|
||||
"scope": 46475,
|
||||
"stateMutability": "view",
|
||||
"virtual": false,
|
||||
"visibility": "public"
|
||||
},
|
||||
{
|
||||
"id": 46477,
|
||||
"id": 46474,
|
||||
"nodeType": "FunctionDefinition",
|
||||
"src": "450:95:53",
|
||||
"nodes": [],
|
||||
"body": {
|
||||
"id": 46476,
|
||||
"id": 46473,
|
||||
"nodeType": "Block",
|
||||
"src": "506:39:53",
|
||||
"nodes": [],
|
||||
@@ -1166,11 +1166,11 @@
|
||||
"expression": {
|
||||
"arguments": [
|
||||
{
|
||||
"id": 46472,
|
||||
"id": 46469,
|
||||
"name": "account",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 46466,
|
||||
"referencedDeclaration": 46463,
|
||||
"src": "522:7:53",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_address",
|
||||
@@ -1178,11 +1178,11 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 46473,
|
||||
"id": 46470,
|
||||
"name": "amount",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 46468,
|
||||
"referencedDeclaration": 46465,
|
||||
"src": "531:6:53",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint256",
|
||||
@@ -1201,7 +1201,7 @@
|
||||
"typeString": "uint256"
|
||||
}
|
||||
],
|
||||
"id": 46471,
|
||||
"id": 46468,
|
||||
"name": "_mint",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
@@ -1212,7 +1212,7 @@
|
||||
"typeString": "function (address,uint256)"
|
||||
}
|
||||
},
|
||||
"id": 46474,
|
||||
"id": 46471,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
@@ -1228,7 +1228,7 @@
|
||||
"typeString": "tuple()"
|
||||
}
|
||||
},
|
||||
"id": 46475,
|
||||
"id": 46472,
|
||||
"nodeType": "ExpressionStatement",
|
||||
"src": "516:22:53"
|
||||
}
|
||||
@@ -1241,17 +1241,17 @@
|
||||
"name": "mint",
|
||||
"nameLocation": "459:4:53",
|
||||
"parameters": {
|
||||
"id": 46469,
|
||||
"id": 46466,
|
||||
"nodeType": "ParameterList",
|
||||
"parameters": [
|
||||
{
|
||||
"constant": false,
|
||||
"id": 46466,
|
||||
"id": 46463,
|
||||
"mutability": "mutable",
|
||||
"name": "account",
|
||||
"nameLocation": "472:7:53",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 46477,
|
||||
"scope": 46474,
|
||||
"src": "464:15:53",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
@@ -1260,7 +1260,7 @@
|
||||
"typeString": "address"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 46465,
|
||||
"id": 46462,
|
||||
"name": "address",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "464:7:53",
|
||||
@@ -1274,12 +1274,12 @@
|
||||
},
|
||||
{
|
||||
"constant": false,
|
||||
"id": 46468,
|
||||
"id": 46465,
|
||||
"mutability": "mutable",
|
||||
"name": "amount",
|
||||
"nameLocation": "489:6:53",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 46477,
|
||||
"scope": 46474,
|
||||
"src": "481:14:53",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
@@ -1288,7 +1288,7 @@
|
||||
"typeString": "uint256"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 46467,
|
||||
"id": 46464,
|
||||
"name": "uint256",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "481:7:53",
|
||||
@@ -1303,12 +1303,12 @@
|
||||
"src": "463:33:53"
|
||||
},
|
||||
"returnParameters": {
|
||||
"id": 46470,
|
||||
"id": 46467,
|
||||
"nodeType": "ParameterList",
|
||||
"parameters": [],
|
||||
"src": "506:0:53"
|
||||
},
|
||||
"scope": 46478,
|
||||
"scope": 46475,
|
||||
"stateMutability": "nonpayable",
|
||||
"virtual": false,
|
||||
"visibility": "external"
|
||||
@@ -1318,7 +1318,7 @@
|
||||
"baseContracts": [
|
||||
{
|
||||
"baseName": {
|
||||
"id": 46434,
|
||||
"id": 46431,
|
||||
"name": "ERC20",
|
||||
"nameLocations": [
|
||||
"131:5:53"
|
||||
@@ -1327,7 +1327,7 @@
|
||||
"referencedDeclaration": 43478,
|
||||
"src": "131:5:53"
|
||||
},
|
||||
"id": 46435,
|
||||
"id": 46432,
|
||||
"nodeType": "InheritanceSpecifier",
|
||||
"src": "131:5:53"
|
||||
}
|
||||
@@ -1337,7 +1337,7 @@
|
||||
"contractKind": "contract",
|
||||
"fullyImplemented": true,
|
||||
"linearizedBaseContracts": [
|
||||
46478,
|
||||
46475,
|
||||
43478,
|
||||
43581,
|
||||
43556,
|
||||
@@ -1345,7 +1345,7 @@
|
||||
],
|
||||
"name": "MockERC20",
|
||||
"nameLocation": "118:9:53",
|
||||
"scope": 46479,
|
||||
"scope": 46476,
|
||||
"usedErrors": [],
|
||||
"usedEvents": [
|
||||
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
@@ -132,17 +132,17 @@
|
||||
},
|
||||
"ast": {
|
||||
"absolutePath": "src/Util.sol",
|
||||
"id": 48905,
|
||||
"id": 48902,
|
||||
"exportedSymbols": {
|
||||
"Util": [
|
||||
48904
|
||||
48901
|
||||
]
|
||||
},
|
||||
"nodeType": "SourceUnit",
|
||||
"src": "65:412:57",
|
||||
"nodes": [
|
||||
{
|
||||
"id": 48849,
|
||||
"id": 48846,
|
||||
"nodeType": "PragmaDirective",
|
||||
"src": "65:24:57",
|
||||
"nodes": [],
|
||||
@@ -154,7 +154,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 48850,
|
||||
"id": 48847,
|
||||
"nodeType": "PragmaDirective",
|
||||
"src": "90:19:57",
|
||||
"nodes": [],
|
||||
@@ -164,34 +164,34 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 48904,
|
||||
"id": 48901,
|
||||
"nodeType": "ContractDefinition",
|
||||
"src": "111:365:57",
|
||||
"nodes": [
|
||||
{
|
||||
"id": 48903,
|
||||
"id": 48900,
|
||||
"nodeType": "FunctionDefinition",
|
||||
"src": "130:344:57",
|
||||
"nodes": [],
|
||||
"body": {
|
||||
"id": 48902,
|
||||
"id": 48899,
|
||||
"nodeType": "Block",
|
||||
"src": "203:271:57",
|
||||
"nodes": [],
|
||||
"statements": [
|
||||
{
|
||||
"assignments": [
|
||||
48860
|
||||
48857
|
||||
],
|
||||
"declarations": [
|
||||
{
|
||||
"constant": false,
|
||||
"id": 48860,
|
||||
"id": 48857,
|
||||
"mutability": "mutable",
|
||||
"name": "mod",
|
||||
"nameLocation": "262:3:57",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 48902,
|
||||
"scope": 48899,
|
||||
"src": "256:9:57",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
@@ -200,7 +200,7 @@
|
||||
"typeString": "int24"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 48859,
|
||||
"id": 48856,
|
||||
"name": "int24",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "256:5:57",
|
||||
@@ -212,23 +212,23 @@
|
||||
"visibility": "internal"
|
||||
}
|
||||
],
|
||||
"id": 48864,
|
||||
"id": 48861,
|
||||
"initialValue": {
|
||||
"commonType": {
|
||||
"typeIdentifier": "t_int24",
|
||||
"typeString": "int24"
|
||||
},
|
||||
"id": 48863,
|
||||
"id": 48860,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
"lValueRequested": false,
|
||||
"leftExpression": {
|
||||
"id": 48861,
|
||||
"id": 48858,
|
||||
"name": "tick",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 48852,
|
||||
"referencedDeclaration": 48849,
|
||||
"src": "268:4:57",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_int24",
|
||||
@@ -238,11 +238,11 @@
|
||||
"nodeType": "BinaryOperation",
|
||||
"operator": "%",
|
||||
"rightExpression": {
|
||||
"id": 48862,
|
||||
"id": 48859,
|
||||
"name": "window",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 48854,
|
||||
"referencedDeclaration": 48851,
|
||||
"src": "275:6:57",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_int24",
|
||||
@@ -264,17 +264,17 @@
|
||||
"typeIdentifier": "t_int24",
|
||||
"typeString": "int24"
|
||||
},
|
||||
"id": 48867,
|
||||
"id": 48864,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
"lValueRequested": false,
|
||||
"leftExpression": {
|
||||
"id": 48865,
|
||||
"id": 48862,
|
||||
"name": "tick",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 48852,
|
||||
"referencedDeclaration": 48849,
|
||||
"src": "295:4:57",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_int24",
|
||||
@@ -285,7 +285,7 @@
|
||||
"operator": "<",
|
||||
"rightExpression": {
|
||||
"hexValue": "30",
|
||||
"id": 48866,
|
||||
"id": 48863,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": true,
|
||||
@@ -312,17 +312,17 @@
|
||||
"typeIdentifier": "t_int24",
|
||||
"typeString": "int24"
|
||||
},
|
||||
"id": 48889,
|
||||
"id": 48886,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
"lValueRequested": false,
|
||||
"leftExpression": {
|
||||
"id": 48885,
|
||||
"id": 48882,
|
||||
"name": "mod",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 48860,
|
||||
"referencedDeclaration": 48857,
|
||||
"src": "414:3:57",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_int24",
|
||||
@@ -336,17 +336,17 @@
|
||||
"typeIdentifier": "t_int24",
|
||||
"typeString": "int24"
|
||||
},
|
||||
"id": 48888,
|
||||
"id": 48885,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
"lValueRequested": false,
|
||||
"leftExpression": {
|
||||
"id": 48886,
|
||||
"id": 48883,
|
||||
"name": "window",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 48854,
|
||||
"referencedDeclaration": 48851,
|
||||
"src": "420:6:57",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_int24",
|
||||
@@ -357,7 +357,7 @@
|
||||
"operator": "/",
|
||||
"rightExpression": {
|
||||
"hexValue": "32",
|
||||
"id": 48887,
|
||||
"id": 48884,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": true,
|
||||
@@ -388,17 +388,17 @@
|
||||
"typeIdentifier": "t_int24",
|
||||
"typeString": "int24"
|
||||
},
|
||||
"id": 48898,
|
||||
"id": 48895,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
"lValueRequested": false,
|
||||
"leftExpression": {
|
||||
"id": 48896,
|
||||
"id": 48893,
|
||||
"name": "tick",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 48852,
|
||||
"referencedDeclaration": 48849,
|
||||
"src": "457:4:57",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_int24",
|
||||
@@ -408,11 +408,11 @@
|
||||
"nodeType": "BinaryOperation",
|
||||
"operator": "-",
|
||||
"rightExpression": {
|
||||
"id": 48897,
|
||||
"id": 48894,
|
||||
"name": "mod",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 48860,
|
||||
"referencedDeclaration": 48857,
|
||||
"src": "464:3:57",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_int24",
|
||||
@@ -425,7 +425,7 @@
|
||||
"typeString": "int24"
|
||||
}
|
||||
},
|
||||
"id": 48899,
|
||||
"id": 48896,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
@@ -437,17 +437,17 @@
|
||||
"typeIdentifier": "t_int24",
|
||||
"typeString": "int24"
|
||||
},
|
||||
"id": 48895,
|
||||
"id": 48892,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
"lValueRequested": false,
|
||||
"leftExpression": {
|
||||
"id": 48890,
|
||||
"id": 48887,
|
||||
"name": "tick",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 48852,
|
||||
"referencedDeclaration": 48849,
|
||||
"src": "433:4:57",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_int24",
|
||||
@@ -463,17 +463,17 @@
|
||||
"typeIdentifier": "t_int24",
|
||||
"typeString": "int24"
|
||||
},
|
||||
"id": 48893,
|
||||
"id": 48890,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
"lValueRequested": false,
|
||||
"leftExpression": {
|
||||
"id": 48891,
|
||||
"id": 48888,
|
||||
"name": "window",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 48854,
|
||||
"referencedDeclaration": 48851,
|
||||
"src": "441:6:57",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_int24",
|
||||
@@ -483,11 +483,11 @@
|
||||
"nodeType": "BinaryOperation",
|
||||
"operator": "-",
|
||||
"rightExpression": {
|
||||
"id": 48892,
|
||||
"id": 48889,
|
||||
"name": "mod",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 48860,
|
||||
"referencedDeclaration": 48857,
|
||||
"src": "450:3:57",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_int24",
|
||||
@@ -501,7 +501,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"id": 48894,
|
||||
"id": 48891,
|
||||
"isConstant": false,
|
||||
"isInlineArray": false,
|
||||
"isLValue": false,
|
||||
@@ -525,12 +525,12 @@
|
||||
"typeString": "int24"
|
||||
}
|
||||
},
|
||||
"functionReturnParameters": 48858,
|
||||
"id": 48900,
|
||||
"functionReturnParameters": 48855,
|
||||
"id": 48897,
|
||||
"nodeType": "Return",
|
||||
"src": "407:60:57"
|
||||
},
|
||||
"id": 48901,
|
||||
"id": 48898,
|
||||
"nodeType": "IfStatement",
|
||||
"src": "291:176:57",
|
||||
"trueBody": {
|
||||
@@ -540,13 +540,13 @@
|
||||
"typeIdentifier": "t_int24",
|
||||
"typeString": "int24"
|
||||
},
|
||||
"id": 48873,
|
||||
"id": 48870,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
"lValueRequested": false,
|
||||
"leftExpression": {
|
||||
"id": 48869,
|
||||
"id": 48866,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
@@ -556,11 +556,11 @@
|
||||
"prefix": true,
|
||||
"src": "324:5:57",
|
||||
"subExpression": {
|
||||
"id": 48868,
|
||||
"id": 48865,
|
||||
"name": "mod",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 48860,
|
||||
"referencedDeclaration": 48857,
|
||||
"src": "326:3:57",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_int24",
|
||||
@@ -579,17 +579,17 @@
|
||||
"typeIdentifier": "t_int24",
|
||||
"typeString": "int24"
|
||||
},
|
||||
"id": 48872,
|
||||
"id": 48869,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
"lValueRequested": false,
|
||||
"leftExpression": {
|
||||
"id": 48870,
|
||||
"id": 48867,
|
||||
"name": "window",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 48854,
|
||||
"referencedDeclaration": 48851,
|
||||
"src": "333:6:57",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_int24",
|
||||
@@ -600,7 +600,7 @@
|
||||
"operator": "/",
|
||||
"rightExpression": {
|
||||
"hexValue": "32",
|
||||
"id": 48871,
|
||||
"id": 48868,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": true,
|
||||
@@ -631,17 +631,17 @@
|
||||
"typeIdentifier": "t_int24",
|
||||
"typeString": "int24"
|
||||
},
|
||||
"id": 48882,
|
||||
"id": 48879,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
"lValueRequested": false,
|
||||
"leftExpression": {
|
||||
"id": 48877,
|
||||
"id": 48874,
|
||||
"name": "tick",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 48852,
|
||||
"referencedDeclaration": 48849,
|
||||
"src": "359:4:57",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_int24",
|
||||
@@ -657,17 +657,17 @@
|
||||
"typeIdentifier": "t_int24",
|
||||
"typeString": "int24"
|
||||
},
|
||||
"id": 48880,
|
||||
"id": 48877,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
"lValueRequested": false,
|
||||
"leftExpression": {
|
||||
"id": 48878,
|
||||
"id": 48875,
|
||||
"name": "window",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 48854,
|
||||
"referencedDeclaration": 48851,
|
||||
"src": "367:6:57",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_int24",
|
||||
@@ -677,11 +677,11 @@
|
||||
"nodeType": "BinaryOperation",
|
||||
"operator": "+",
|
||||
"rightExpression": {
|
||||
"id": 48879,
|
||||
"id": 48876,
|
||||
"name": "mod",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 48860,
|
||||
"referencedDeclaration": 48857,
|
||||
"src": "376:3:57",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_int24",
|
||||
@@ -695,7 +695,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"id": 48881,
|
||||
"id": 48878,
|
||||
"isConstant": false,
|
||||
"isInlineArray": false,
|
||||
"isLValue": false,
|
||||
@@ -714,7 +714,7 @@
|
||||
"typeString": "int24"
|
||||
}
|
||||
},
|
||||
"id": 48883,
|
||||
"id": 48880,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
@@ -726,17 +726,17 @@
|
||||
"typeIdentifier": "t_int24",
|
||||
"typeString": "int24"
|
||||
},
|
||||
"id": 48876,
|
||||
"id": 48873,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
"lValueRequested": false,
|
||||
"leftExpression": {
|
||||
"id": 48874,
|
||||
"id": 48871,
|
||||
"name": "tick",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 48852,
|
||||
"referencedDeclaration": 48849,
|
||||
"src": "346:4:57",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_int24",
|
||||
@@ -746,11 +746,11 @@
|
||||
"nodeType": "BinaryOperation",
|
||||
"operator": "-",
|
||||
"rightExpression": {
|
||||
"id": 48875,
|
||||
"id": 48872,
|
||||
"name": "mod",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 48860,
|
||||
"referencedDeclaration": 48857,
|
||||
"src": "353:3:57",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_int24",
|
||||
@@ -768,8 +768,8 @@
|
||||
"typeString": "int24"
|
||||
}
|
||||
},
|
||||
"functionReturnParameters": 48858,
|
||||
"id": 48884,
|
||||
"functionReturnParameters": 48855,
|
||||
"id": 48881,
|
||||
"nodeType": "Return",
|
||||
"src": "317:63:57"
|
||||
}
|
||||
@@ -783,17 +783,17 @@
|
||||
"name": "roundTick",
|
||||
"nameLocation": "139:9:57",
|
||||
"parameters": {
|
||||
"id": 48855,
|
||||
"id": 48852,
|
||||
"nodeType": "ParameterList",
|
||||
"parameters": [
|
||||
{
|
||||
"constant": false,
|
||||
"id": 48852,
|
||||
"id": 48849,
|
||||
"mutability": "mutable",
|
||||
"name": "tick",
|
||||
"nameLocation": "155:4:57",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 48903,
|
||||
"scope": 48900,
|
||||
"src": "149:10:57",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
@@ -802,7 +802,7 @@
|
||||
"typeString": "int24"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 48851,
|
||||
"id": 48848,
|
||||
"name": "int24",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "149:5:57",
|
||||
@@ -815,12 +815,12 @@
|
||||
},
|
||||
{
|
||||
"constant": false,
|
||||
"id": 48854,
|
||||
"id": 48851,
|
||||
"mutability": "mutable",
|
||||
"name": "window",
|
||||
"nameLocation": "167:6:57",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 48903,
|
||||
"scope": 48900,
|
||||
"src": "161:12:57",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
@@ -829,7 +829,7 @@
|
||||
"typeString": "int24"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 48853,
|
||||
"id": 48850,
|
||||
"name": "int24",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "161:5:57",
|
||||
@@ -844,17 +844,17 @@
|
||||
"src": "148:26:57"
|
||||
},
|
||||
"returnParameters": {
|
||||
"id": 48858,
|
||||
"id": 48855,
|
||||
"nodeType": "ParameterList",
|
||||
"parameters": [
|
||||
{
|
||||
"constant": false,
|
||||
"id": 48857,
|
||||
"id": 48854,
|
||||
"mutability": "mutable",
|
||||
"name": "",
|
||||
"nameLocation": "-1:-1:-1",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 48903,
|
||||
"scope": 48900,
|
||||
"src": "196:5:57",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
@@ -863,7 +863,7 @@
|
||||
"typeString": "int24"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 48856,
|
||||
"id": 48853,
|
||||
"name": "int24",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "196:5:57",
|
||||
@@ -877,7 +877,7 @@
|
||||
],
|
||||
"src": "195:7:57"
|
||||
},
|
||||
"scope": 48904,
|
||||
"scope": 48901,
|
||||
"stateMutability": "pure",
|
||||
"virtual": false,
|
||||
"visibility": "public"
|
||||
@@ -890,11 +890,11 @@
|
||||
"contractKind": "library",
|
||||
"fullyImplemented": true,
|
||||
"linearizedBaseContracts": [
|
||||
48904
|
||||
48901
|
||||
],
|
||||
"name": "Util",
|
||||
"nameLocation": "119:4:57",
|
||||
"scope": 48905,
|
||||
"scope": 48902,
|
||||
"usedErrors": [],
|
||||
"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
@@ -16,6 +16,4 @@ library Constants {
|
||||
ISwapRouter internal constant uniswapV3SwapRouter
|
||||
= ISwapRouter(0xE592427A0AEce92De3Edee1F18E0157C05861564);
|
||||
|
||||
|
||||
bytes32 internal constant SWAP_OK = '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user