witnet-solidity-bridge
Version:
Witnet Solidity Bridge contracts for EVM-compatible chains
27 lines (25 loc) • 5.32 kB
TypeScript
// This file was autogenerated by Hardhat, do not edit it.
// prettier-ignore
// tslint:disable
// eslint-disable
// biome-ignore format: see above
export interface IWitOracleTrustless$Type {
readonly _format: "hh3-artifact-1";
readonly contractName: "IWitOracleTrustless";
readonly sourceName: "contracts/interfaces/IWitOracleTrustless.sol";
readonly abi: [{"anonymous":false,"inputs":[{"components":[{"internalType":"uint32","name":"index","type":"uint32"},{"internalType":"uint32","name":"prevIndex","type":"uint32"},{"internalType":"bytes24","name":"prevRoot","type":"bytes24"},{"internalType":"bytes16","name":"ddrTalliesMerkleRoot","type":"bytes16"},{"internalType":"bytes16","name":"droTalliesMerkleRoot","type":"bytes16"},{"internalType":"uint256[4]","name":"nextCommitteeAggPubkey","type":"uint256[4]"}],"indexed":false,"internalType":"struct Witnet.Beacon","name":"head","type":"tuple"}],"name":"Rollup","type":"event"},{"inputs":[{"internalType":"Witnet.Timestamp","name":"timestamp","type":"uint64"}],"name":"determineBeaconIndexFromTimestamp","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"Witnet.Timestamp","name":"timestamp","type":"uint64"}],"name":"determineEpochFromTimestamp","outputs":[{"internalType":"Witnet.BlockNumber","name":"","type":"uint64"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint32","name":"index","type":"uint32"}],"name":"getBeaconByIndex","outputs":[{"components":[{"internalType":"uint32","name":"index","type":"uint32"},{"internalType":"uint32","name":"prevIndex","type":"uint32"},{"internalType":"bytes24","name":"prevRoot","type":"bytes24"},{"internalType":"bytes16","name":"ddrTalliesMerkleRoot","type":"bytes16"},{"internalType":"bytes16","name":"droTalliesMerkleRoot","type":"bytes16"},{"internalType":"uint256[4]","name":"nextCommitteeAggPubkey","type":"uint256[4]"}],"internalType":"struct Witnet.Beacon","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getGenesisBeacon","outputs":[{"components":[{"internalType":"uint32","name":"index","type":"uint32"},{"internalType":"uint32","name":"prevIndex","type":"uint32"},{"internalType":"bytes24","name":"prevRoot","type":"bytes24"},{"internalType":"bytes16","name":"ddrTalliesMerkleRoot","type":"bytes16"},{"internalType":"bytes16","name":"droTalliesMerkleRoot","type":"bytes16"},{"internalType":"uint256[4]","name":"nextCommitteeAggPubkey","type":"uint256[4]"}],"internalType":"struct Witnet.Beacon","name":"","type":"tuple"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getLastKnownBeacon","outputs":[{"components":[{"internalType":"uint32","name":"index","type":"uint32"},{"internalType":"uint32","name":"prevIndex","type":"uint32"},{"internalType":"bytes24","name":"prevRoot","type":"bytes24"},{"internalType":"bytes16","name":"ddrTalliesMerkleRoot","type":"bytes16"},{"internalType":"bytes16","name":"droTalliesMerkleRoot","type":"bytes16"},{"internalType":"uint256[4]","name":"nextCommitteeAggPubkey","type":"uint256[4]"}],"internalType":"struct Witnet.Beacon","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastKnownBeaconIndex","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"components":[{"internalType":"uint32","name":"index","type":"uint32"},{"internalType":"uint32","name":"prevIndex","type":"uint32"},{"internalType":"bytes24","name":"prevRoot","type":"bytes24"},{"internalType":"bytes16","name":"ddrTalliesMerkleRoot","type":"bytes16"},{"internalType":"bytes16","name":"droTalliesMerkleRoot","type":"bytes16"},{"internalType":"uint256[4]","name":"nextCommitteeAggPubkey","type":"uint256[4]"}],"internalType":"struct Witnet.Beacon","name":"beacon","type":"tuple"},{"internalType":"uint256[2]","name":"committeeAggSignature","type":"uint256[2]"},{"internalType":"uint256[4][]","name":"committeeMissingPubkeys","type":"uint256[4][]"}],"internalType":"struct Witnet.FastForward[]","name":"ff","type":"tuple[]"}],"name":"rollupBeacons","outputs":[{"components":[{"internalType":"uint32","name":"index","type":"uint32"},{"internalType":"uint32","name":"prevIndex","type":"uint32"},{"internalType":"bytes24","name":"prevRoot","type":"bytes24"},{"internalType":"bytes16","name":"ddrTalliesMerkleRoot","type":"bytes16"},{"internalType":"bytes16","name":"droTalliesMerkleRoot","type":"bytes16"},{"internalType":"uint256[4]","name":"nextCommitteeAggPubkey","type":"uint256[4]"}],"internalType":"struct Witnet.Beacon","name":"","type":"tuple"}],"stateMutability":"nonpayable","type":"function"}];
readonly bytecode: "0x";
readonly deployedBytecode: "0x";
readonly linkReferences: {};
readonly deployedLinkReferences: {};
readonly immutableReferences: {};
readonly inputSourceName: "project/contracts/interfaces/IWitOracleTrustless.sol";
readonly buildInfoId: "solc-0_8_30-47301052af11a5aa5062e9b98ca44d5e142950cf";
};
import "hardhat/types/artifacts";
declare module "hardhat/types/artifacts" {
interface ArtifactMap {
["IWitOracleTrustless"]: IWitOracleTrustless$Type;
["contracts/interfaces/IWitOracleTrustless.sol:IWitOracleTrustless"]: IWitOracleTrustless$Type;
}
}