status-go/contracts/directory/directory.abi

111 lines
2.5 KiB
Plaintext
Raw Normal View History

2023-05-05 15:55:32 +00:00
[
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "community",
"type": "bytes"
}
],
"name": "addCommunity",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "getCommunities",
"outputs": [
{
"internalType": "bytes[]",
"name": "",
"type": "bytes[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getFeaturedCommunities",
"outputs": [
{
"internalType": "bytes[]",
"name": "",
"type": "bytes[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "community",
"type": "bytes"
}
],
"name": "isCommunityFeatured",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "community",
"type": "bytes"
}
],
"name": "isCommunityInDirectory",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "community",
"type": "bytes"
}
],
"name": "removeCommunity",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes[]",
"name": "_featuredCommunities",
"type": "bytes[]"
}
],
"name": "setFeaturedCommunities",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]