dgf-prototype/ethereum/contracts/IOnValidate.sol

13 lines
268 B
Solidity
Raw Normal View History

2024-03-17 21:00:31 -05:00
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.24;
interface IOnValidate {
2024-03-27 14:03:57 -05:00
function onValidate(
bool votePasses,
bool quorumMet,
2024-03-28 15:06:14 -05:00
uint stakedFor,
uint stakedAgainst,
2024-03-27 14:03:57 -05:00
bytes calldata callbackData
) external;
2024-03-17 21:00:31 -05:00
}