|
| 1 | +[ |
| 2 | + { |
| 3 | + "inputs": [ |
| 4 | + { "internalType": "uint256", "name": "_targetChainId", "type": "uint256" }, |
| 5 | + { "internalType": "address", "name": "_rewardToken", "type": "address" }, |
| 6 | + { "internalType": "address", "name": "_gauge", "type": "address" } |
| 7 | + ], |
| 8 | + "stateMutability": "nonpayable", |
| 9 | + "type": "constructor" |
| 10 | + }, |
| 11 | + { |
| 12 | + "anonymous": false, |
| 13 | + "inputs": [{ "indexed": false, "internalType": "uint256", "name": "campaignId", "type": "uint256" }], |
| 14 | + "name": "CampaignClosed", |
| 15 | + "type": "event" |
| 16 | + }, |
| 17 | + { |
| 18 | + "anonymous": false, |
| 19 | + "inputs": [ |
| 20 | + { "indexed": false, "internalType": "address", "name": "gauge", "type": "address" }, |
| 21 | + { "indexed": false, "internalType": "address", "name": "rewardToken", "type": "address" }, |
| 22 | + { "indexed": false, "internalType": "uint256", "name": "maxRewardPerVote", "type": "uint256" }, |
| 23 | + { "indexed": false, "internalType": "uint256", "name": "totalRewardAmount", "type": "uint256" } |
| 24 | + ], |
| 25 | + "name": "CampaignCreated", |
| 26 | + "type": "event" |
| 27 | + }, |
| 28 | + { |
| 29 | + "anonymous": false, |
| 30 | + "inputs": [{ "indexed": false, "internalType": "uint256", "name": "newId", "type": "uint256" }], |
| 31 | + "name": "CampaignIdUpdated", |
| 32 | + "type": "event" |
| 33 | + }, |
| 34 | + { |
| 35 | + "anonymous": false, |
| 36 | + "inputs": [{ "indexed": false, "internalType": "address", "name": "newCampaignRemoteManager", "type": "address" }], |
| 37 | + "name": "CampaignRemoteManagerUpdated", |
| 38 | + "type": "event" |
| 39 | + }, |
| 40 | + { |
| 41 | + "anonymous": false, |
| 42 | + "inputs": [ |
| 43 | + { "indexed": false, "internalType": "address", "name": "feeCollector", "type": "address" }, |
| 44 | + { "indexed": false, "internalType": "uint256", "name": "feeAmount", "type": "uint256" } |
| 45 | + ], |
| 46 | + "name": "FeeCollected", |
| 47 | + "type": "event" |
| 48 | + }, |
| 49 | + { |
| 50 | + "anonymous": false, |
| 51 | + "inputs": [{ "indexed": false, "internalType": "address", "name": "newFeeCollector", "type": "address" }], |
| 52 | + "name": "FeeCollectorUpdated", |
| 53 | + "type": "event" |
| 54 | + }, |
| 55 | + { |
| 56 | + "anonymous": false, |
| 57 | + "inputs": [{ "indexed": false, "internalType": "uint16", "name": "newFee", "type": "uint16" }], |
| 58 | + "name": "FeeUpdated", |
| 59 | + "type": "event" |
| 60 | + }, |
| 61 | + { |
| 62 | + "anonymous": false, |
| 63 | + "inputs": [ |
| 64 | + { "indexed": true, "internalType": "address", "name": "previousGovernor", "type": "address" }, |
| 65 | + { "indexed": true, "internalType": "address", "name": "newGovernor", "type": "address" } |
| 66 | + ], |
| 67 | + "name": "GovernorshipTransferred", |
| 68 | + "type": "event" |
| 69 | + }, |
| 70 | + { |
| 71 | + "anonymous": false, |
| 72 | + "inputs": [{ "indexed": false, "internalType": "uint8", "name": "extraNumberOfPeriods", "type": "uint8" }], |
| 73 | + "name": "NumberOfPeriodsUpdated", |
| 74 | + "type": "event" |
| 75 | + }, |
| 76 | + { |
| 77 | + "anonymous": false, |
| 78 | + "inputs": [ |
| 79 | + { "indexed": true, "internalType": "address", "name": "previousGovernor", "type": "address" }, |
| 80 | + { "indexed": true, "internalType": "address", "name": "newGovernor", "type": "address" } |
| 81 | + ], |
| 82 | + "name": "PendingGovernorshipTransfer", |
| 83 | + "type": "event" |
| 84 | + }, |
| 85 | + { |
| 86 | + "anonymous": false, |
| 87 | + "inputs": [{ "indexed": false, "internalType": "uint256", "name": "newMaxRewardPerVote", "type": "uint256" }], |
| 88 | + "name": "RewardPerVoteUpdated", |
| 89 | + "type": "event" |
| 90 | + }, |
| 91 | + { |
| 92 | + "anonymous": false, |
| 93 | + "inputs": [{ "indexed": false, "internalType": "address", "name": "_address", "type": "address" }], |
| 94 | + "name": "StrategistUpdated", |
| 95 | + "type": "event" |
| 96 | + }, |
| 97 | + { |
| 98 | + "anonymous": false, |
| 99 | + "inputs": [ |
| 100 | + { "indexed": false, "internalType": "address", "name": "token", "type": "address" }, |
| 101 | + { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }, |
| 102 | + { "indexed": false, "internalType": "address", "name": "receiver", "type": "address" } |
| 103 | + ], |
| 104 | + "name": "TokensRescued", |
| 105 | + "type": "event" |
| 106 | + }, |
| 107 | + { |
| 108 | + "anonymous": false, |
| 109 | + "inputs": [{ "indexed": false, "internalType": "uint256", "name": "extraTotalRewardAmount", "type": "uint256" }], |
| 110 | + "name": "TotalRewardAmountUpdated", |
| 111 | + "type": "event" |
| 112 | + }, |
| 113 | + { |
| 114 | + "anonymous": false, |
| 115 | + "inputs": [{ "indexed": false, "internalType": "address", "name": "newVotemarket", "type": "address" }], |
| 116 | + "name": "VotemarketUpdated", |
| 117 | + "type": "event" |
| 118 | + }, |
| 119 | + { |
| 120 | + "inputs": [], |
| 121 | + "name": "FEE_BASE", |
| 122 | + "outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }], |
| 123 | + "stateMutability": "view", |
| 124 | + "type": "function" |
| 125 | + }, |
| 126 | + { |
| 127 | + "inputs": [], |
| 128 | + "name": "campaignId", |
| 129 | + "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], |
| 130 | + "stateMutability": "view", |
| 131 | + "type": "function" |
| 132 | + }, |
| 133 | + { |
| 134 | + "inputs": [], |
| 135 | + "name": "campaignRemoteManager", |
| 136 | + "outputs": [{ "internalType": "address", "name": "", "type": "address" }], |
| 137 | + "stateMutability": "view", |
| 138 | + "type": "function" |
| 139 | + }, |
| 140 | + { "inputs": [], "name": "claimGovernance", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, |
| 141 | + { |
| 142 | + "inputs": [ |
| 143 | + { "internalType": "uint256", "name": "_campaignId", "type": "uint256" }, |
| 144 | + { "internalType": "uint256", "name": "bridgeFee", "type": "uint256" }, |
| 145 | + { "internalType": "uint256", "name": "additionalGasLimit", "type": "uint256" } |
| 146 | + ], |
| 147 | + "name": "closeCampaign", |
| 148 | + "outputs": [], |
| 149 | + "stateMutability": "nonpayable", |
| 150 | + "type": "function" |
| 151 | + }, |
| 152 | + { |
| 153 | + "inputs": [ |
| 154 | + { "internalType": "uint8", "name": "numberOfPeriods", "type": "uint8" }, |
| 155 | + { "internalType": "uint256", "name": "maxRewardPerVote", "type": "uint256" }, |
| 156 | + { "internalType": "address[]", "name": "blacklist", "type": "address[]" }, |
| 157 | + { "internalType": "uint256", "name": "bridgeFee", "type": "uint256" }, |
| 158 | + { "internalType": "uint256", "name": "additionalGasLimit", "type": "uint256" } |
| 159 | + ], |
| 160 | + "name": "createCampaign", |
| 161 | + "outputs": [], |
| 162 | + "stateMutability": "nonpayable", |
| 163 | + "type": "function" |
| 164 | + }, |
| 165 | + { |
| 166 | + "inputs": [], |
| 167 | + "name": "fee", |
| 168 | + "outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }], |
| 169 | + "stateMutability": "view", |
| 170 | + "type": "function" |
| 171 | + }, |
| 172 | + { |
| 173 | + "inputs": [], |
| 174 | + "name": "feeCollector", |
| 175 | + "outputs": [{ "internalType": "address", "name": "", "type": "address" }], |
| 176 | + "stateMutability": "view", |
| 177 | + "type": "function" |
| 178 | + }, |
| 179 | + { |
| 180 | + "inputs": [], |
| 181 | + "name": "gauge", |
| 182 | + "outputs": [{ "internalType": "address", "name": "", "type": "address" }], |
| 183 | + "stateMutability": "view", |
| 184 | + "type": "function" |
| 185 | + }, |
| 186 | + { |
| 187 | + "inputs": [], |
| 188 | + "name": "governor", |
| 189 | + "outputs": [{ "internalType": "address", "name": "", "type": "address" }], |
| 190 | + "stateMutability": "view", |
| 191 | + "type": "function" |
| 192 | + }, |
| 193 | + { |
| 194 | + "inputs": [ |
| 195 | + { "internalType": "address", "name": "_strategist", "type": "address" }, |
| 196 | + { "internalType": "uint16", "name": "_fee", "type": "uint16" }, |
| 197 | + { "internalType": "address", "name": "_feeCollector", "type": "address" }, |
| 198 | + { "internalType": "address", "name": "_campaignRemoteManager", "type": "address" }, |
| 199 | + { "internalType": "address", "name": "_votemarket", "type": "address" } |
| 200 | + ], |
| 201 | + "name": "initialize", |
| 202 | + "outputs": [], |
| 203 | + "stateMutability": "nonpayable", |
| 204 | + "type": "function" |
| 205 | + }, |
| 206 | + { |
| 207 | + "inputs": [], |
| 208 | + "name": "isGovernor", |
| 209 | + "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], |
| 210 | + "stateMutability": "view", |
| 211 | + "type": "function" |
| 212 | + }, |
| 213 | + { |
| 214 | + "inputs": [ |
| 215 | + { "internalType": "uint8", "name": "extraNumberOfPeriods", "type": "uint8" }, |
| 216 | + { "internalType": "uint256", "name": "bridgeFee", "type": "uint256" }, |
| 217 | + { "internalType": "uint256", "name": "additionalGasLimit", "type": "uint256" } |
| 218 | + ], |
| 219 | + "name": "manageNumberOfPeriods", |
| 220 | + "outputs": [], |
| 221 | + "stateMutability": "nonpayable", |
| 222 | + "type": "function" |
| 223 | + }, |
| 224 | + { |
| 225 | + "inputs": [ |
| 226 | + { "internalType": "uint256", "name": "newMaxRewardPerVote", "type": "uint256" }, |
| 227 | + { "internalType": "uint256", "name": "bridgeFee", "type": "uint256" }, |
| 228 | + { "internalType": "uint256", "name": "additionalGasLimit", "type": "uint256" } |
| 229 | + ], |
| 230 | + "name": "manageRewardPerVote", |
| 231 | + "outputs": [], |
| 232 | + "stateMutability": "nonpayable", |
| 233 | + "type": "function" |
| 234 | + }, |
| 235 | + { |
| 236 | + "inputs": [ |
| 237 | + { "internalType": "uint256", "name": "bridgeFee", "type": "uint256" }, |
| 238 | + { "internalType": "uint256", "name": "additionalGasLimit", "type": "uint256" } |
| 239 | + ], |
| 240 | + "name": "manageTotalRewardAmount", |
| 241 | + "outputs": [], |
| 242 | + "stateMutability": "nonpayable", |
| 243 | + "type": "function" |
| 244 | + }, |
| 245 | + { |
| 246 | + "inputs": [{ "internalType": "address", "name": "receiver", "type": "address" }], |
| 247 | + "name": "rescueETH", |
| 248 | + "outputs": [], |
| 249 | + "stateMutability": "nonpayable", |
| 250 | + "type": "function" |
| 251 | + }, |
| 252 | + { |
| 253 | + "inputs": [ |
| 254 | + { "internalType": "address", "name": "token", "type": "address" }, |
| 255 | + { "internalType": "address", "name": "receiver", "type": "address" } |
| 256 | + ], |
| 257 | + "name": "rescueToken", |
| 258 | + "outputs": [], |
| 259 | + "stateMutability": "nonpayable", |
| 260 | + "type": "function" |
| 261 | + }, |
| 262 | + { |
| 263 | + "inputs": [], |
| 264 | + "name": "rewardToken", |
| 265 | + "outputs": [{ "internalType": "address", "name": "", "type": "address" }], |
| 266 | + "stateMutability": "view", |
| 267 | + "type": "function" |
| 268 | + }, |
| 269 | + { |
| 270 | + "inputs": [{ "internalType": "uint256", "name": "_campaignId", "type": "uint256" }], |
| 271 | + "name": "setCampaignId", |
| 272 | + "outputs": [], |
| 273 | + "stateMutability": "nonpayable", |
| 274 | + "type": "function" |
| 275 | + }, |
| 276 | + { |
| 277 | + "inputs": [{ "internalType": "address", "name": "_campaignRemoteManager", "type": "address" }], |
| 278 | + "name": "setCampaignRemoteManager", |
| 279 | + "outputs": [], |
| 280 | + "stateMutability": "nonpayable", |
| 281 | + "type": "function" |
| 282 | + }, |
| 283 | + { |
| 284 | + "inputs": [{ "internalType": "uint16", "name": "_fee", "type": "uint16" }], |
| 285 | + "name": "setFee", |
| 286 | + "outputs": [], |
| 287 | + "stateMutability": "nonpayable", |
| 288 | + "type": "function" |
| 289 | + }, |
| 290 | + { |
| 291 | + "inputs": [{ "internalType": "address", "name": "_feeCollector", "type": "address" }], |
| 292 | + "name": "setFeeCollector", |
| 293 | + "outputs": [], |
| 294 | + "stateMutability": "nonpayable", |
| 295 | + "type": "function" |
| 296 | + }, |
| 297 | + { |
| 298 | + "inputs": [{ "internalType": "address", "name": "_address", "type": "address" }], |
| 299 | + "name": "setStrategistAddr", |
| 300 | + "outputs": [], |
| 301 | + "stateMutability": "nonpayable", |
| 302 | + "type": "function" |
| 303 | + }, |
| 304 | + { |
| 305 | + "inputs": [{ "internalType": "address", "name": "_votemarket", "type": "address" }], |
| 306 | + "name": "setVotemarket", |
| 307 | + "outputs": [], |
| 308 | + "stateMutability": "nonpayable", |
| 309 | + "type": "function" |
| 310 | + }, |
| 311 | + { |
| 312 | + "inputs": [], |
| 313 | + "name": "strategistAddr", |
| 314 | + "outputs": [{ "internalType": "address", "name": "", "type": "address" }], |
| 315 | + "stateMutability": "view", |
| 316 | + "type": "function" |
| 317 | + }, |
| 318 | + { |
| 319 | + "inputs": [], |
| 320 | + "name": "targetChainId", |
| 321 | + "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], |
| 322 | + "stateMutability": "view", |
| 323 | + "type": "function" |
| 324 | + }, |
| 325 | + { |
| 326 | + "inputs": [{ "internalType": "address", "name": "_newGovernor", "type": "address" }], |
| 327 | + "name": "transferGovernance", |
| 328 | + "outputs": [], |
| 329 | + "stateMutability": "nonpayable", |
| 330 | + "type": "function" |
| 331 | + }, |
| 332 | + { |
| 333 | + "inputs": [], |
| 334 | + "name": "votemarket", |
| 335 | + "outputs": [{ "internalType": "address", "name": "", "type": "address" }], |
| 336 | + "stateMutability": "view", |
| 337 | + "type": "function" |
| 338 | + }, |
| 339 | + { "stateMutability": "payable", "type": "receive" } |
| 340 | +] |
0 commit comments