github.com/status-im/status-go@v1.1.0/contracts/directory/directory.abi (about) 1 [ 2 { 3 "inputs": [ 4 { 5 "internalType": "address", 6 "name": "_votingContract", 7 "type": "address" 8 }, 9 { 10 "internalType": "address", 11 "name": "_featuredVotingContract", 12 "type": "address" 13 } 14 ], 15 "stateMutability": "nonpayable", 16 "type": "constructor" 17 }, 18 { 19 "inputs": [ 20 { 21 "internalType": "bytes", 22 "name": "community", 23 "type": "bytes" 24 } 25 ], 26 "name": "addCommunity", 27 "outputs": [], 28 "stateMutability": "nonpayable", 29 "type": "function" 30 }, 31 { 32 "inputs": [], 33 "name": "featuredVotingContract", 34 "outputs": [ 35 { 36 "internalType": "address", 37 "name": "", 38 "type": "address" 39 } 40 ], 41 "stateMutability": "view", 42 "type": "function" 43 }, 44 { 45 "inputs": [], 46 "name": "getCommunities", 47 "outputs": [ 48 { 49 "internalType": "bytes[]", 50 "name": "", 51 "type": "bytes[]" 52 } 53 ], 54 "stateMutability": "view", 55 "type": "function" 56 }, 57 { 58 "inputs": [], 59 "name": "getFeaturedCommunities", 60 "outputs": [ 61 { 62 "internalType": "bytes[]", 63 "name": "", 64 "type": "bytes[]" 65 } 66 ], 67 "stateMutability": "view", 68 "type": "function" 69 }, 70 { 71 "inputs": [ 72 { 73 "internalType": "bytes", 74 "name": "community", 75 "type": "bytes" 76 } 77 ], 78 "name": "isCommunityFeatured", 79 "outputs": [ 80 { 81 "internalType": "bool", 82 "name": "", 83 "type": "bool" 84 } 85 ], 86 "stateMutability": "view", 87 "type": "function" 88 }, 89 { 90 "inputs": [ 91 { 92 "internalType": "bytes", 93 "name": "community", 94 "type": "bytes" 95 } 96 ], 97 "name": "isCommunityInDirectory", 98 "outputs": [ 99 { 100 "internalType": "bool", 101 "name": "", 102 "type": "bool" 103 } 104 ], 105 "stateMutability": "view", 106 "type": "function" 107 }, 108 { 109 "inputs": [ 110 { 111 "internalType": "bytes", 112 "name": "community", 113 "type": "bytes" 114 } 115 ], 116 "name": "removeCommunity", 117 "outputs": [], 118 "stateMutability": "nonpayable", 119 "type": "function" 120 }, 121 { 122 "inputs": [ 123 { 124 "internalType": "bytes[]", 125 "name": "_featuredCommunities", 126 "type": "bytes[]" 127 } 128 ], 129 "name": "setFeaturedCommunities", 130 "outputs": [], 131 "stateMutability": "nonpayable", 132 "type": "function" 133 }, 134 { 135 "inputs": [], 136 "name": "votingContract", 137 "outputs": [ 138 { 139 "internalType": "address", 140 "name": "", 141 "type": "address" 142 } 143 ], 144 "stateMutability": "view", 145 "type": "function" 146 } 147 ]