Skip to content

Instantly share code, notes, and snippets.

@drwasho
Created August 27, 2018 07:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drwasho/3224fedc17eccd6de499f8a897065b15 to your computer and use it in GitHub Desktop.
Save drwasho/3224fedc17eccd6de499f8a897065b15 to your computer and use it in GitHub Desktop.
[
{
"constant": false,
"inputs": [
{
"name": "handle",
"type": "string"
},
{
"name": "newName",
"type": "string"
}
],
"name": "changeDisplayName",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "handle",
"type": "string"
},
{
"name": "_displayName",
"type": "string"
},
{
"name": "_imageLocation",
"type": "string"
},
{
"name": "_peerId",
"type": "string"
}
],
"name": "createHandle",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "handle",
"type": "string"
},
{
"name": "peerId",
"type": "string"
}
],
"name": "changePeerId",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "owner",
"type": "address"
},
{
"name": "handle",
"type": "string"
},
{
"name": "_displayName",
"type": "string"
},
{
"name": "_imageLocation",
"type": "string"
},
{
"name": "_peerId",
"type": "string"
}
],
"name": "addHandle",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "address"
}
],
"name": "superUsers",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "handle",
"type": "string"
}
],
"name": "isHandleAvailable",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "handle",
"type": "string"
}
],
"name": "removeHandle",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "handleName",
"type": "string"
}
],
"name": "getHandleInfo",
"outputs": [
{
"name": "owner",
"type": "address"
},
{
"name": "handle",
"type": "string"
},
{
"name": "displayName",
"type": "string"
},
{
"name": "imageLocation",
"type": "string"
},
{
"name": "peerId",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "handle",
"type": "string"
},
{
"name": "newImageLocation",
"type": "string"
}
],
"name": "changeImageLocation",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "handle",
"type": "string"
},
{
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"name": "_superUsers",
"type": "address[]"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "handle",
"type": "string"
},
{
"indexed": true,
"name": "owner",
"type": "address"
}
],
"name": "NewHandle",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "handle",
"type": "string"
},
{
"indexed": false,
"name": "displayName",
"type": "string"
}
],
"name": "NewDisplayName",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "handle",
"type": "string"
},
{
"indexed": false,
"name": "imageLocation",
"type": "string"
}
],
"name": "NewImageLocation",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "handle",
"type": "string"
},
{
"indexed": false,
"name": "peerId",
"type": "string"
}
],
"name": "NewPeerId",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "handle",
"type": "string"
},
{
"indexed": true,
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "handle",
"type": "string"
}
],
"name": "HandleRemoved",
"type": "event"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment