UNPKG

@etherisc/gif-contracts

Version:

This repository holds the GIF core contracts and tools to develop, test and deploy GIF instances.

1,437 lines 47.8 kB
{ "abi": [ { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" } ], "name": "allowance", "outputs": [ { "internalType": "uint256", "name": "remaining", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "approve", "outputs": [ { "internalType": "bool", "name": "success", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "balance", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "decimalPlaces", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "addedValue", "type": "uint256" } ], "name": "decreaseApproval", "outputs": [ { "internalType": "bool", "name": "success", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "subtractedValue", "type": "uint256" } ], "name": "increaseApproval", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "tokenName", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "tokenSymbol", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "totalTokensIssued", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "success", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "transferAndCall", "outputs": [ { "internalType": "bool", "name": "success", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "success", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" } ], "allSourcePaths": { "58": "/home/vscode/.brownie/packages/smartcontractkit/chainlink@1.6.0/contracts/src/v0.8/interfaces/LinkTokenInterface.sol" }, "ast": { "absolutePath": "/home/vscode/.brownie/packages/smartcontractkit/chainlink@1.6.0/contracts/src/v0.8/interfaces/LinkTokenInterface.sol", "exportedSymbols": { "LinkTokenInterface": [ 25884 ] }, "id": 25885, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { "id": 25791, "literals": [ "solidity", "^", "0.8", ".0" ], "nodeType": "PragmaDirective", "src": "32:23:58" }, { "abstract": false, "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "fullyImplemented": false, "id": 25884, "linearizedBaseContracts": [ 25884 ], "name": "LinkTokenInterface", "nameLocation": "67:18:58", "nodeType": "ContractDefinition", "nodes": [ { "functionSelector": "dd62ed3e", "id": 25800, "implemented": false, "kind": "function", "modifiers": [], "name": "allowance", "nameLocation": "99:9:58", "nodeType": "FunctionDefinition", "parameters": { "id": 25796, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 25793, "mutability": "mutable", "name": "owner", "nameLocation": "117:5:58", "nodeType": "VariableDeclaration", "scope": 25800, "src": "109:13:58", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 25792, "name": "address", "nodeType": "ElementaryTypeName", "src": "109:7:58", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 25795, "mutability": "mutable", "name": "spender", "nameLocation": "132:7:58", "nodeType": "VariableDeclaration", "scope": 25800, "src": "124:15:58", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 25794, "name": "address", "nodeType": "ElementaryTypeName", "src": "124:7:58", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "108:32:58" }, "returnParameters": { "id": 25799, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 25798, "mutability": "mutable", "name": "remaining", "nameLocation": "172:9:58", "nodeType": "VariableDeclaration", "scope": 25800, "src": "164:17:58", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 25797, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "164:7:58", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "163:19:58" }, "scope": 25884, "src": "90:93:58", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "functionSelector": "095ea7b3", "id": 25809, "implemented": false, "kind": "function", "modifiers": [], "name": "approve", "nameLocation": "196:7:58", "nodeType": "FunctionDefinition", "parameters": { "id": 25805, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 25802, "mutability": "mutable", "name": "spender", "nameLocation": "212:7:58", "nodeType": "VariableDeclaration", "scope": 25809, "src": "204:15:58", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 25801, "name": "address", "nodeType": "ElementaryTypeName", "src": "204:7:58", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 25804, "mutability": "mutable", "name": "value", "nameLocation": "229:5:58", "nodeType": "VariableDeclaration", "scope": 25809, "src": "221:13:58", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 25803, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "221:7:58", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "203:32:58" }, "returnParameters": { "id": 25808, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 25807, "mutability": "mutable", "name": "success", "nameLocation": "259:7:58", "nodeType": "VariableDeclaration", "scope": 25809, "src": "254:12:58", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 25806, "name": "bool", "nodeType": "ElementaryTypeName", "src": "254:4:58", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "visibility": "internal" } ], "src": "253:14:58" }, "scope": 25884, "src": "187:81:58", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "functionSelector": "70a08231", "id": 25816, "implemented": false, "kind": "function", "modifiers": [], "name": "balanceOf", "nameLocation": "281:9:58", "nodeType": "FunctionDefinition", "parameters": { "id": 25812, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 25811, "mutability": "mutable", "name": "owner", "nameLocation": "299:5:58", "nodeType": "VariableDeclaration", "scope": 25816, "src": "291:13:58", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 25810, "name": "address", "nodeType": "ElementaryTypeName", "src": "291:7:58", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "290:15:58" }, "returnParameters": { "id": 25815, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 25814, "mutability": "mutable", "name": "balance", "nameLocation": "337:7:58", "nodeType": "VariableDeclaration", "scope": 25816, "src": "329:15:58", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 25813, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "329:7:58", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "328:17:58" }, "scope": 25884, "src": "272:74:58", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "functionSelector": "313ce567", "id": 25821, "implemented": false, "kind": "function", "modifiers": [], "name": "decimals", "nameLocation": "359:8:58", "nodeType": "FunctionDefinition", "parameters": { "id": 25817, "nodeType": "ParameterList", "parameters": [], "src": "367:2:58" }, "returnParameters": { "id": 25820, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 25819, "mutability": "mutable", "name": "decimalPlaces", "nameLocation": "399:13:58", "nodeType": "VariableDeclaration", "scope": 25821, "src": "393:19:58", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" }, "typeName": { "id": 25818, "name": "uint8", "nodeType": "ElementaryTypeName", "src": "393:5:58", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" } }, "visibility": "internal" } ], "src": "392:21:58" }, "scope": 25884, "src": "350:64:58", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "functionSelector": "66188463", "id": 25830, "implemented": false, "kind": "function", "modifiers": [], "name": "decreaseApproval", "nameLocation": "427:16:58", "nodeType": "FunctionDefinition", "parameters": { "id": 25826, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 25823, "mutability": "mutable", "name": "spender", "nameLocation": "452:7:58", "nodeType": "VariableDeclaration", "scope": 25830, "src": "444:15:58", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 25822, "name": "address", "nodeType": "ElementaryTypeName", "src": "444:7:58", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 25825, "mutability": "mutable", "name": "addedValue", "nameLocation": "469:10:58", "nodeType": "VariableDeclaration", "scope": 25830, "src": "461:18:58", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 25824, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "461:7:58", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "443:37:58" }, "returnParameters": { "id": 25829, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 25828, "mutability": "mutable", "name": "success", "nameLocation": "504:7:58", "nodeType": "VariableDeclaration", "scope": 25830, "src": "499:12:58", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 25827, "name": "bool", "nodeType": "ElementaryTypeName", "src": "499:4:58", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "visibility": "internal" } ], "src": "498:14:58" }, "scope": 25884, "src": "418:95:58", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "functionSelector": "d73dd623", "id": 25837, "implemented": false, "kind": "function", "modifiers": [], "name": "increaseApproval", "nameLocation": "526:16:58", "nodeType": "FunctionDefinition", "parameters": { "id": 25835, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 25832, "mutability": "mutable", "name": "spender", "nameLocation": "551:7:58", "nodeType": "VariableDeclaration", "scope": 25837, "src": "543:15:58", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 25831, "name": "address", "nodeType": "ElementaryTypeName", "src": "543:7:58", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 25834, "mutability": "mutable", "name": "subtractedValue", "nameLocation": "568:15:58", "nodeType": "VariableDeclaration", "scope": 25837, "src": "560:23:58", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 25833, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "560:7:58", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "542:42:58" }, "returnParameters": { "id": 25836, "nodeType": "ParameterList", "parameters": [], "src": "593:0:58" }, "scope": 25884, "src": "517:77:58", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "functionSelector": "06fdde03", "id": 25842, "implemented": false, "kind": "function", "modifiers": [], "name": "name", "nameLocation": "607:4:58", "nodeType": "FunctionDefinition", "parameters": { "id": 25838, "nodeType": "ParameterList", "parameters": [], "src": "611:2:58" }, "returnParameters": { "id": 25841, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 25840, "mutability": "mutable", "name": "tokenName", "nameLocation": "651:9:58", "nodeType": "VariableDeclaration", "scope": 25842, "src": "637:23:58", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 25839, "name": "string", "nodeType": "ElementaryTypeName", "src": "637:6:58", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" } ], "src": "636:25:58" }, "scope": 25884, "src": "598:64:58", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "functionSelector": "95d89b41", "id": 25847, "implemented": false, "kind": "function", "modifiers": [], "name": "symbol", "nameLocation": "675:6:58", "nodeType": "FunctionDefinition", "parameters": { "id": 25843, "nodeType": "ParameterList", "parameters": [], "src": "681:2:58" }, "returnParameters": { "id": 25846, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 25845, "mutability": "mutable", "name": "tokenSymbol", "nameLocation": "721:11:58", "nodeType": "VariableDeclaration", "scope": 25847, "src": "707:25:58", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string" }, "typeName": { "id": 25844, "name": "string", "nodeType": "ElementaryTypeName", "src": "707:6:58", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "visibility": "internal" } ], "src": "706:27:58" }, "scope": 25884, "src": "666:68:58", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "functionSelector": "18160ddd", "id": 25852, "implemented": false, "kind": "function", "modifiers": [], "name": "totalSupply", "nameLocation": "747:11:58", "nodeType": "FunctionDefinition", "parameters": { "id": 25848, "nodeType": "ParameterList", "parameters": [], "src": "758:2:58" }, "returnParameters": { "id": 25851, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 25850, "mutability": "mutable", "name": "totalTokensIssued", "nameLocation": "792:17:58", "nodeType": "VariableDeclaration", "scope": 25852, "src": "784:25:58", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 25849, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "784:7:58", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "783:27:58" }, "scope": 25884, "src": "738:73:58", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "functionSelector": "a9059cbb", "id": 25861, "implemented": false, "kind": "function", "modifiers": [], "name": "transfer", "nameLocation": "824:8:58", "nodeType": "FunctionDefinition", "parameters": { "id": 25857, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 25854, "mutability": "mutable", "name": "to", "nameLocation": "841:2:58", "nodeType": "VariableDeclaration", "scope": 25861, "src": "833:10:58", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 25853, "name": "address", "nodeType": "ElementaryTypeName", "src": "833:7:58", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 25856, "mutability": "mutable", "name": "value", "nameLocation": "853:5:58", "nodeType": "VariableDeclaration", "scope": 25861, "src": "845:13:58", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 25855, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "845:7:58", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "832:27:58" }, "returnParameters": { "id": 25860, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 25859, "mutability": "mutable", "name": "success", "nameLocation": "883:7:58", "nodeType": "VariableDeclaration", "scope": 25861, "src": "878:12:58", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 25858, "name": "bool", "nodeType": "ElementaryTypeName", "src": "878:4:58", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "visibility": "internal" } ], "src": "877:14:58" }, "scope": 25884, "src": "815:77:58", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "functionSelector": "4000aea0", "id": 25872, "implemented": false, "kind": "function", "modifiers": [], "name": "transferAndCall", "nameLocation": "905:15:58", "nodeType": "FunctionDefinition", "parameters": { "id": 25868, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 25863, "mutability": "mutable", "name": "to", "nameLocation": "934:2:58", "nodeType": "VariableDeclaration", "scope": 25872, "src": "926:10:58", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 25862, "name": "address", "nodeType": "ElementaryTypeName", "src": "926:7:58", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 25865, "mutability": "mutable", "name": "value", "nameLocation": "950:5:58", "nodeType": "VariableDeclaration", "scope": 25872, "src": "942:13:58", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 25864, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "942:7:58", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" }, { "constant": false, "id": 25867, "mutability": "mutable", "name": "data", "nameLocation": "976:4:58", "nodeType": "VariableDeclaration", "scope": 25872, "src": "961:19:58", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes" }, "typeName": { "id": 25866, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "961:5:58", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "visibility": "internal" } ], "src": "920:64:58" }, "returnParameters": { "id": 25871, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 25870, "mutability": "mutable", "name": "success", "nameLocation": "1008:7:58", "nodeType": "VariableDeclaration", "scope": 25872, "src": "1003:12:58", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 25869, "name": "bool", "nodeType": "ElementaryTypeName", "src": "1003:4:58", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "visibility": "internal" } ], "src": "1002:14:58" }, "scope": 25884, "src": "896:121:58", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "functionSelector": "23b872dd", "id": 25883, "implemented": false, "kind": "function", "modifiers": [], "name": "transferFrom", "nameLocation": "1030:12:58", "nodeType": "FunctionDefinition", "parameters": { "id": 25879, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 25874, "mutability": "mutable", "name": "from", "nameLocation": "1056:4:58", "nodeType": "VariableDeclaration", "scope": 25883, "src": "1048:12:58", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 25873, "name": "address", "nodeType": "ElementaryTypeName", "src": "1048:7:58", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 25876, "mutability": "mutable", "name": "to", "nameLocation": "1074:2:58", "nodeType": "VariableDeclaration", "scope": 25883, "src": "1066:10:58", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 25875, "name": "address", "nodeType": "ElementaryTypeName", "src": "1066:7:58", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" }, { "constant": false, "id": 25878, "mutability": "mutable", "name": "value", "nameLocation": "1090:5:58", "nodeType": "VariableDeclaration", "scope": 25883, "src": "1082:13:58", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "typeName": { "id": 25877, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1082:7:58", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "visibility": "internal" } ], "src": "1042:57:58" }, "returnParameters": { "id": 25882, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 25881, "mutability": "mutable", "name": "success", "nameLocation": "1123:7:58", "nodeType": "VariableDeclaration", "scope": 25883, "src": "1118:12:58", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 25880, "name": "bool", "nodeType": "ElementaryTypeName", "src": "1118:4:58", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "visibility": "internal" } ], "src": "1117:14:58" }, "scope": 25884, "src": "1021:111:58", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], "scope": 25885, "src": "57:1077:58" } ], "src": "32:1103:58" }, "bytecode": "", "bytecodeSha1": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "compiler": { "evm_version": "istanbul", "optimizer": { "enabled": true, "runs": 200 }, "version": "0.8.2+commit.661d1103" }, "contractName": "LinkTokenInterface", "coverageMap": { "branches": {}, "statements": {} }, "dependencies": [], "deployedBytecode": "", "deployedSourceMap": "", "language": "Solidity", "natspec": { "kind": "dev", "methods": {}, "version": 1 }, "offset": [ 57, 1134 ], "opcodes": "", "pcMap": {}, "sha1": "a1fab46ba82871ce4035d0f6c3d4a39ca3c4b666", "source": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\ninterface LinkTokenInterface {\n function allowance(address owner, address spender) external view returns (uint256 remaining);\n\n function approve(address spender, uint256 value) external returns (bool success);\n\n function balanceOf(address owner) external view returns (uint256 balance);\n\n function decimals() external view returns (uint8 decimalPlaces);\n\n function decreaseApproval(address spender, uint256 addedValue) external returns (bool success);\n\n function increaseApproval(address spender, uint256 subtractedValue) external;\n\n function name() external view returns (string memory tokenName);\n\n function symbol() external view returns (string memory tokenSymbol);\n\n function totalSupply() external view returns (uint256 totalTokensIssued);\n\n function transfer(address to, uint256 value) external returns (bool success);\n\n function transferAndCall(\n address to,\n uint256 value,\n bytes calldata data\n ) external returns (bool success);\n\n function transferFrom(\n address from,\n address to,\n uint256 value\n ) external returns (bool success);\n}\n", "sourceMap": "", "sourcePath": "/home/vscode/.brownie/packages/smartcontractkit/chainlink@1.6.0/contracts/src/v0.8/interfaces/LinkTokenInterface.sol", "type": "interface" }