Expand description
Generated by the following Solidity interface…
interface ProfileRegistry {
event HandleUpdated(address indexed user, bytes32 indexed handle);
event PictureUpdated(address indexed user, bytes32 picture);
function getProfile(address user) external view returns (bytes32 handle, bytes32 picture);
function handles(bytes32) external view returns (address);
function resolveHandle(bytes32 handle) external view returns (address);
function setHandle(bytes32 handle) external;
function setPicture(bytes32 picture) external;
}…which was generated by the following JSON ABI:
[
{
"type": "function",
"name": "getProfile",
"inputs": [
{
"name": "user",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "handle",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "picture",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "handles",
"inputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "resolveHandle",
"inputs": [
{
"name": "handle",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "setHandle",
"inputs": [
{
"name": "handle",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "setPicture",
"inputs": [
{
"name": "picture",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "event",
"name": "HandleUpdated",
"inputs": [
{
"name": "user",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "handle",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
}
],
"anonymous": false
},
{
"type": "event",
"name": "PictureUpdated",
"inputs": [
{
"name": "user",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "picture",
"type": "bytes32",
"indexed": false,
"internalType": "bytes32"
}
],
"anonymous": false
}
]Structs§
- Handle
Updated - Event with signature
HandleUpdated(address,bytes32)and selector0x4b8df1bb0e16405b186540fc9d887fe0c5976286be87aea97c186956548c6efb. - Picture
Updated - Event with signature
PictureUpdated(address,bytes32)and selector0xacbf1b0770c0925c7d13c92ff79c115853d5faabd61509ce8aa766841bc348e4. - Profile
Registry Instance - A
ProfileRegistryinstance. - getProfile
Call - Function with signature
getProfile(address)and selector0x0f53a470. - getProfile
Return - Container type for the return parameters of the
getProfile(address)function. - handles
Call - Function with signature
handles(bytes32)and selector0x9e087431. - handles
Return - Container type for the return parameters of the
handles(bytes32)function. - resolve
Handle Call - Function with signature
resolveHandle(bytes32)and selector0x8d531c3d. - resolve
Handle Return - Container type for the return parameters of the
resolveHandle(bytes32)function. - setHandle
Call - Function with signature
setHandle(bytes32)and selector0xfd8ff3a3. - setHandle
Return - Container type for the return parameters of the
setHandle(bytes32)function. - setPicture
Call - Function with signature
setPicture(bytes32)and selector0xc9a3b592. - setPicture
Return - Container type for the return parameters of the
setPicture(bytes32)function.
Enums§
- Profile
Registry Calls - Container for all the
ProfileRegistryfunction calls. - Profile
Registry Events - Container for all the
ProfileRegistryevents.
Functions§
- new
- Creates a new wrapper around an on-chain
ProfileRegistrycontract instance.