ghost-dao-contracts/src/interfaces/IWeaver.sol
Uncle Fatso b1e9be968e
emit event during the weaver insertion
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
2026-09-14 10:46:40 +03:00

13 lines
621 B
Solidity

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
interface IWeaver {
event ThreadInserted(uint256 index, uint256 session);
function currentWeavingSession() external view returns (uint256);
function startWeavingSession() external view returns (uint256);
function getSlotValues(uint256 globalIndex, uint256 session, uint256 atBlock) external view returns (bytes32[] memory);
function getProof(uint256 globalIndex, uint256 session, uint256 atBlock) external view returns (bytes32[] memory);
function getRoot(uint256 session, uint256 atBlock) external view returns (bytes32, uint256);
}