alpha redeploy
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user