@etherisc/gif-contracts
Version:
This repository holds the GIF core contracts and tools to develop, test and deploy GIF instances.
1,225 lines • 40.5 kB
JSON
{
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "node",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "label",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "address",
"name": "owner",
"type": "address"
}
],
"name": "NewOwner",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "node",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "address",
"name": "resolver",
"type": "address"
}
],
"name": "NewResolver",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "node",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint64",
"name": "ttl",
"type": "uint64"
}
],
"name": "NewTTL",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "node",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "address",
"name": "owner",
"type": "address"
}
],
"name": "Transfer",
"type": "event"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "node",
"type": "bytes32"
}
],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "node",
"type": "bytes32"
}
],
"name": "resolver",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "node",
"type": "bytes32"
},
{
"internalType": "address",
"name": "owner",
"type": "address"
}
],
"name": "setOwner",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "node",
"type": "bytes32"
},
{
"internalType": "address",
"name": "resolver",
"type": "address"
}
],
"name": "setResolver",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "node",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "label",
"type": "bytes32"
},
{
"internalType": "address",
"name": "owner",
"type": "address"
}
],
"name": "setSubnodeOwner",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "node",
"type": "bytes32"
},
{
"internalType": "uint64",
"name": "ttl",
"type": "uint64"
}
],
"name": "setTTL",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "node",
"type": "bytes32"
}
],
"name": "ttl",
"outputs": [
{
"internalType": "uint64",
"name": "",
"type": "uint64"
}
],
"stateMutability": "view",
"type": "function"
}
],
"allSourcePaths": {
"57": "/home/vscode/.brownie/packages/smartcontractkit/chainlink@1.6.0/contracts/src/v0.8/interfaces/ENSInterface.sol"
},
"ast": {
"absolutePath": "/home/vscode/.brownie/packages/smartcontractkit/chainlink@1.6.0/contracts/src/v0.8/interfaces/ENSInterface.sol",
"exportedSymbols": {
"ENSInterface": [
25789
]
},
"id": 25790,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 25711,
"literals": [
"solidity",
"^",
"0.8",
".0"
],
"nodeType": "PragmaDirective",
"src": "32:23:57"
},
{
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"fullyImplemented": false,
"id": 25789,
"linearizedBaseContracts": [
25789
],
"name": "ENSInterface",
"nameLocation": "67:12:57",
"nodeType": "ContractDefinition",
"nodes": [
{
"anonymous": false,
"id": 25719,
"name": "NewOwner",
"nameLocation": "161:8:57",
"nodeType": "EventDefinition",
"parameters": {
"id": 25718,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 25713,
"indexed": true,
"mutability": "mutable",
"name": "node",
"nameLocation": "186:4:57",
"nodeType": "VariableDeclaration",
"scope": 25719,
"src": "170:20:57",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 25712,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "170:7:57",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 25715,
"indexed": true,
"mutability": "mutable",
"name": "label",
"nameLocation": "208:5:57",
"nodeType": "VariableDeclaration",
"scope": 25719,
"src": "192:21:57",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 25714,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "192:7:57",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 25717,
"indexed": false,
"mutability": "mutable",
"name": "owner",
"nameLocation": "223:5:57",
"nodeType": "VariableDeclaration",
"scope": 25719,
"src": "215:13:57",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 25716,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "215:7:57",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "169:60:57"
},
"src": "155:75:57"
},
{
"anonymous": false,
"id": 25725,
"name": "Transfer",
"nameLocation": "315:8:57",
"nodeType": "EventDefinition",
"parameters": {
"id": 25724,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 25721,
"indexed": true,
"mutability": "mutable",
"name": "node",
"nameLocation": "340:4:57",
"nodeType": "VariableDeclaration",
"scope": 25725,
"src": "324:20:57",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 25720,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "324:7:57",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 25723,
"indexed": false,
"mutability": "mutable",
"name": "owner",
"nameLocation": "354:5:57",
"nodeType": "VariableDeclaration",
"scope": 25725,
"src": "346:13:57",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 25722,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "346:7:57",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "323:37:57"
},
"src": "309:52:57"
},
{
"anonymous": false,
"id": 25731,
"name": "NewResolver",
"nameLocation": "421:11:57",
"nodeType": "EventDefinition",
"parameters": {
"id": 25730,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 25727,
"indexed": true,
"mutability": "mutable",
"name": "node",
"nameLocation": "449:4:57",
"nodeType": "VariableDeclaration",
"scope": 25731,
"src": "433:20:57",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 25726,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "433:7:57",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 25729,
"indexed": false,
"mutability": "mutable",
"name": "resolver",
"nameLocation": "463:8:57",
"nodeType": "VariableDeclaration",
"scope": 25731,
"src": "455:16:57",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 25728,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "455:7:57",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "432:40:57"
},
"src": "415:58:57"
},
{
"anonymous": false,
"id": 25737,
"name": "NewTTL",
"nameLocation": "526:6:57",
"nodeType": "EventDefinition",
"parameters": {
"id": 25736,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 25733,
"indexed": true,
"mutability": "mutable",
"name": "node",
"nameLocation": "549:4:57",
"nodeType": "VariableDeclaration",
"scope": 25737,
"src": "533:20:57",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 25732,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "533:7:57",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 25735,
"indexed": false,
"mutability": "mutable",
"name": "ttl",
"nameLocation": "562:3:57",
"nodeType": "VariableDeclaration",
"scope": 25737,
"src": "555:10:57",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint64",
"typeString": "uint64"
},
"typeName": {
"id": 25734,
"name": "uint64",
"nodeType": "ElementaryTypeName",
"src": "555:6:57",
"typeDescriptions": {
"typeIdentifier": "t_uint64",
"typeString": "uint64"
}
},
"visibility": "internal"
}
],
"src": "532:34:57"
},
"src": "520:47:57"
},
{
"functionSelector": "06ab5923",
"id": 25746,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "setSubnodeOwner",
"nameLocation": "580:15:57",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 25744,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 25739,
"mutability": "mutable",
"name": "node",
"nameLocation": "609:4:57",
"nodeType": "VariableDeclaration",
"scope": 25746,
"src": "601:12:57",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 25738,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "601:7:57",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 25741,
"mutability": "mutable",
"name": "label",
"nameLocation": "627:5:57",
"nodeType": "VariableDeclaration",
"scope": 25746,
"src": "619:13:57",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 25740,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "619:7:57",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 25743,
"mutability": "mutable",
"name": "owner",
"nameLocation": "646:5:57",
"nodeType": "VariableDeclaration",
"scope": 25746,
"src": "638:13:57",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 25742,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "638:7:57",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "595:60:57"
},
"returnParameters": {
"id": 25745,
"nodeType": "ParameterList",
"parameters": [],
"src": "664:0:57"
},
"scope": 25789,
"src": "571:94:57",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "1896f70a",
"id": 25753,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "setResolver",
"nameLocation": "678:11:57",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 25751,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 25748,
"mutability": "mutable",
"name": "node",
"nameLocation": "698:4:57",
"nodeType": "VariableDeclaration",
"scope": 25753,
"src": "690:12:57",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 25747,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "690:7:57",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 25750,
"mutability": "mutable",
"name": "resolver",
"nameLocation": "712:8:57",
"nodeType": "VariableDeclaration",
"scope": 25753,
"src": "704:16:57",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 25749,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "704:7:57",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "689:32:57"
},
"returnParameters": {
"id": 25752,
"nodeType": "ParameterList",
"parameters": [],
"src": "730:0:57"
},
"scope": 25789,
"src": "669:62:57",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "5b0fc9c3",
"id": 25760,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "setOwner",
"nameLocation": "744:8:57",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 25758,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 25755,
"mutability": "mutable",
"name": "node",
"nameLocation": "761:4:57",
"nodeType": "VariableDeclaration",
"scope": 25760,
"src": "753:12:57",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 25754,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "753:7:57",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 25757,
"mutability": "mutable",
"name": "owner",
"nameLocation": "775:5:57",
"nodeType": "VariableDeclaration",
"scope": 25760,
"src": "767:13:57",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 25756,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "767:7:57",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "752:29:57"
},
"returnParameters": {
"id": 25759,
"nodeType": "ParameterList",
"parameters": [],
"src": "790:0:57"
},
"scope": 25789,
"src": "735:56:57",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "14ab9038",
"id": 25767,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "setTTL",
"nameLocation": "804:6:57",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 25765,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 25762,
"mutability": "mutable",
"name": "node",
"nameLocation": "819:4:57",
"nodeType": "VariableDeclaration",
"scope": 25767,
"src": "811:12:57",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 25761,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "811:7:57",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 25764,
"mutability": "mutable",
"name": "ttl",
"nameLocation": "832:3:57",
"nodeType": "VariableDeclaration",
"scope": 25767,
"src": "825:10:57",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint64",
"typeString": "uint64"
},
"typeName": {
"id": 25763,
"name": "uint64",
"nodeType": "ElementaryTypeName",
"src": "825:6:57",
"typeDescriptions": {
"typeIdentifier": "t_uint64",
"typeString": "uint64"
}
},
"visibility": "internal"
}
],
"src": "810:26:57"
},
"returnParameters": {
"id": 25766,
"nodeType": "ParameterList",
"parameters": [],
"src": "845:0:57"
},
"scope": 25789,
"src": "795:51:57",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "02571be3",
"id": 25774,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "owner",
"nameLocation": "859:5:57",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 25770,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 25769,
"mutability": "mutable",
"name": "node",
"nameLocation": "873:4:57",
"nodeType": "VariableDeclaration",
"scope": 25774,
"src": "865:12:57",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 25768,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "865:7:57",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
}
],
"src": "864:14:57"
},
"returnParameters": {
"id": 25773,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 25772,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 25774,
"src": "902:7:57",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 25771,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "902:7:57",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "901:9:57"
},
"scope": 25789,
"src": "850:61:57",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "0178b8bf",
"id": 25781,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "resolver",
"nameLocation": "924:8:57",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 25777,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 25776,
"mutability": "mutable",
"name": "node",
"nameLocation": "941:4:57",
"nodeType": "VariableDeclaration",
"scope": 25781,
"src": "933:12:57",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 25775,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "933:7:57",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
}
],
"src": "932:14:57"
},
"returnParameters": {
"id": 25780,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 25779,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 25781,
"src": "970:7:57",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 25778,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "970:7:57",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "969:9:57"
},
"scope": 25789,
"src": "915:64:57",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "16a25cbd",
"id": 25788,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "ttl",
"nameLocation": "992:3:57",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 25784,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 25783,
"mutability": "mutable",
"name": "node",
"nameLocation": "1004:4:57",
"nodeType": "VariableDeclaration",
"scope": 25788,
"src": "996:12:57",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 25782,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "996:7:57",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
}
],
"src": "995:14:57"
},
"returnParameters": {
"id": 25787,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 25786,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 25788,
"src": "1033:6:57",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint64",
"typeString": "uint64"
},
"typeName": {
"id": 25785,
"name": "uint64",
"nodeType": "ElementaryTypeName",
"src": "1033:6:57",
"typeDescriptions": {
"typeIdentifier": "t_uint64",
"typeString": "uint64"
}
},
"visibility": "internal"
}
],
"src": "1032:8:57"
},
"scope": 25789,
"src": "983:58:57",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
}
],
"scope": 25790,
"src": "57:986:57"
}
],
"src": "32:1012:57"
},
"bytecode": "",
"bytecodeSha1": "da39a3ee5e6b4b0d3255bfef95601890afd80709",
"compiler": {
"evm_version": "istanbul",
"optimizer": {
"enabled": true,
"runs": 200
},
"version": "0.8.2+commit.661d1103"
},
"contractName": "ENSInterface",
"coverageMap": {
"branches": {},
"statements": {}
},
"dependencies": [],
"deployedBytecode": "",
"deployedSourceMap": "",
"language": "Solidity",
"natspec": {
"kind": "dev",
"methods": {},
"version": 1
},
"offset": [
57,
1043
],
"opcodes": "",
"pcMap": {},
"sha1": "d72a13f4cf6aca1fd48ab464f1c47c2a5bb945cf",
"source": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\ninterface ENSInterface {\n // Logged when the owner of a node assigns a new owner to a subnode.\n event NewOwner(bytes32 indexed node, bytes32 indexed label, address owner);\n\n // Logged when the owner of a node transfers ownership to a new account.\n event Transfer(bytes32 indexed node, address owner);\n\n // Logged when the resolver for a node changes.\n event NewResolver(bytes32 indexed node, address resolver);\n\n // Logged when the TTL of a node changes\n event NewTTL(bytes32 indexed node, uint64 ttl);\n\n function setSubnodeOwner(\n bytes32 node,\n bytes32 label,\n address owner\n ) external;\n\n function setResolver(bytes32 node, address resolver) external;\n\n function setOwner(bytes32 node, address owner) external;\n\n function setTTL(bytes32 node, uint64 ttl) external;\n\n function owner(bytes32 node) external view returns (address);\n\n function resolver(bytes32 node) external view returns (address);\n\n function ttl(bytes32 node) external view returns (uint64);\n}\n",
"sourceMap": "",
"sourcePath": "/home/vscode/.brownie/packages/smartcontractkit/chainlink@1.6.0/contracts/src/v0.8/interfaces/ENSInterface.sol",
"type": "interface"
}