cmd

package
v0.0.0-...-f05bfab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2024 License: MIT Imports: 44 Imported by: 0

Documentation

Overview

Copyright © 2024 Brevis Network

Copyright © 2024 Brevis Network

Index

Constants

View Source
const (
	QueryStatus_QS_UNKNOWN = iota
	QueryStatus_QS_TO_BE_PAID
	QueryStatus_QS_PAID
	QueryStatus_QS_COMPLETE
	QueryStatus_QS_FAILED
)

Variables

View Source
var AddressABI = AddressMetaData.ABI

AddressABI is the input ABI used to generate the binding from. Deprecated: Use AddressMetaData.ABI instead.

View Source
var AddressBin = AddressMetaData.Bin

AddressBin is the compiled bytecode used for deploying new contracts. Deprecated: Use AddressMetaData.Bin instead.

View Source
var AddressMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea264697066735822122084316ae7f90ab02dedc5c08bd3c2dea313dd1e29a325b4271a7f1a5bcf89953864736f6c63430008140033",
}

AddressMetaData contains all meta data concerning the Address contract.

View Source
var BLSApkRegABI = BLSApkRegMetaData.ABI

BLSApkRegABI is the input ABI used to generate the binding from. Deprecated: Use BLSApkRegMetaData.ABI instead.

View Source
var BLSApkRegMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"event\",\"name\":\"NewPubkeyRegistration\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"pubkeyG1\",\"type\":\"tuple\",\"indexed\":false,\"internalType\":\"structBN254.G1Point\",\"components\":[{\"name\":\"X\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"Y\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"pubkeyG2\",\"type\":\"tuple\",\"indexed\":false,\"internalType\":\"structBN254.G2Point\",\"components\":[{\"name\":\"X\",\"type\":\"uint256[2]\",\"internalType\":\"uint256[2]\"},{\"name\":\"Y\",\"type\":\"uint256[2]\",\"internalType\":\"uint256[2]\"}]}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OperatorAddedToQuorums\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"operatorId\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"},{\"name\":\"quorumNumbers\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OperatorRemovedFromQuorums\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"operatorId\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"},{\"name\":\"quorumNumbers\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"}],\"anonymous\":false}]",
}

BLSApkRegMetaData contains all meta data concerning the BLSApkReg contract.

View Source
var BrevEigenABI = BrevEigenMetaData.ABI

BrevEigenABI is the input ABI used to generate the binding from. Deprecated: Use BrevEigenMetaData.ABI instead.

View Source
var BrevEigenMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"__avsDirectory\",\"type\":\"address\",\"internalType\":\"contractIAVSDirectory\"},{\"name\":\"__registryCoordinator\",\"type\":\"address\",\"internalType\":\"contractIRegistryCoordinator\"},{\"name\":\"__stakeRegistry\",\"type\":\"address\",\"internalType\":\"contractIStakeRegistry\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"avsDirectory\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"blsApkRegistry\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractIBLSApkRegistry\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"checkSignatures\",\"inputs\":[{\"name\":\"msgHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"quorumNumbers\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"referenceBlockNumber\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"params\",\"type\":\"tuple\",\"internalType\":\"structIBLSSignatureChecker.NonSignerStakesAndSignature\",\"components\":[{\"name\":\"nonSignerQuorumBitmapIndices\",\"type\":\"uint32[]\",\"internalType\":\"uint32[]\"},{\"name\":\"nonSignerPubkeys\",\"type\":\"tuple[]\",\"internalType\":\"structBN254.G1Point[]\",\"components\":[{\"name\":\"X\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"Y\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"quorumApks\",\"type\":\"tuple[]\",\"internalType\":\"structBN254.G1Point[]\",\"components\":[{\"name\":\"X\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"Y\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"apkG2\",\"type\":\"tuple\",\"internalType\":\"structBN254.G2Point\",\"components\":[{\"name\":\"X\",\"type\":\"uint256[2]\",\"internalType\":\"uint256[2]\"},{\"name\":\"Y\",\"type\":\"uint256[2]\",\"internalType\":\"uint256[2]\"}]},{\"name\":\"sigma\",\"type\":\"tuple\",\"internalType\":\"structBN254.G1Point\",\"components\":[{\"name\":\"X\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"Y\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"quorumApkIndices\",\"type\":\"uint32[]\",\"internalType\":\"uint32[]\"},{\"name\":\"totalStakeIndices\",\"type\":\"uint32[]\",\"internalType\":\"uint32[]\"},{\"name\":\"nonSignerStakeIndices\",\"type\":\"uint32[][]\",\"internalType\":\"uint32[][]\"}]}],\"outputs\":[{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structIBLSSignatureChecker.QuorumStakeTotals\",\"components\":[{\"name\":\"signedStakeForQuorum\",\"type\":\"uint96[]\",\"internalType\":\"uint96[]\"},{\"name\":\"totalStakeForQuorum\",\"type\":\"uint96[]\",\"internalType\":\"uint96[]\"}]},{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"delegation\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractIDelegationManager\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"deregisterOperatorFromAVS\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"getOperatorRestakedStrategies\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRestakeableStrategies\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"initialize\",\"inputs\":[{\"name\":\"_initialOwner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"mustVerified\",\"inputs\":[{\"name\":\"reqIds\",\"type\":\"bytes32[]\",\"internalType\":\"bytes32[]\"}],\"outputs\":[],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"owner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"quorumNumbers\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"records\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"registerOperatorToAVS\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"operatorSignature\",\"type\":\"tuple\",\"internalType\":\"structISignatureUtils.SignatureWithSaltAndExpiry\",\"components\":[{\"name\":\"signature\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"salt\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"expiry\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"registryCoordinator\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractIRegistryCoordinator\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"renounceOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setQuorums\",\"inputs\":[{\"name\":\"newQ\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setStaleStakesForbidden\",\"inputs\":[{\"name\":\"value\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"stakeRegistry\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractIStakeRegistry\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"staleStakesForbidden\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transferOwnership\",\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"trySignatureAndApkVerification\",\"inputs\":[{\"name\":\"msgHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"apk\",\"type\":\"tuple\",\"internalType\":\"structBN254.G1Point\",\"components\":[{\"name\":\"X\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"Y\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"apkG2\",\"type\":\"tuple\",\"internalType\":\"structBN254.G2Point\",\"components\":[{\"name\":\"X\",\"type\":\"uint256[2]\",\"internalType\":\"uint256[2]\"},{\"name\":\"Y\",\"type\":\"uint256[2]\",\"internalType\":\"uint256[2]\"}]},{\"name\":\"sigma\",\"type\":\"tuple\",\"internalType\":\"structBN254.G1Point\",\"components\":[{\"name\":\"X\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"Y\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}],\"outputs\":[{\"name\":\"pairingSuccessful\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"siganatureIsValid\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"updateAVSMetadataURI\",\"inputs\":[{\"name\":\"_metadataURI\",\"type\":\"string\",\"internalType\":\"string\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"verifyRequest\",\"inputs\":[{\"name\":\"reqid\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"blockNum\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"nonSignerStakesAndSignature\",\"type\":\"tuple\",\"internalType\":\"structIBLSSignatureChecker.NonSignerStakesAndSignature\",\"components\":[{\"name\":\"nonSignerQuorumBitmapIndices\",\"type\":\"uint32[]\",\"internalType\":\"uint32[]\"},{\"name\":\"nonSignerPubkeys\",\"type\":\"tuple[]\",\"internalType\":\"structBN254.G1Point[]\",\"components\":[{\"name\":\"X\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"Y\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"quorumApks\",\"type\":\"tuple[]\",\"internalType\":\"structBN254.G1Point[]\",\"components\":[{\"name\":\"X\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"Y\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"apkG2\",\"type\":\"tuple\",\"internalType\":\"structBN254.G2Point\",\"components\":[{\"name\":\"X\",\"type\":\"uint256[2]\",\"internalType\":\"uint256[2]\"},{\"name\":\"Y\",\"type\":\"uint256[2]\",\"internalType\":\"uint256[2]\"}]},{\"name\":\"sigma\",\"type\":\"tuple\",\"internalType\":\"structBN254.G1Point\",\"components\":[{\"name\":\"X\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"Y\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"name\":\"quorumApkIndices\",\"type\":\"uint32[]\",\"internalType\":\"uint32[]\"},{\"name\":\"totalStakeIndices\",\"type\":\"uint32[]\",\"internalType\":\"uint32[]\"},{\"name\":\"nonSignerStakeIndices\",\"type\":\"uint32[][]\",\"internalType\":\"uint32[][]\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OwnershipTransferred\",\"inputs\":[{\"name\":\"previousOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"StaleStakesForbiddenUpdate\",\"inputs\":[{\"name\":\"value\",\"type\":\"bool\",\"indexed\":false,\"internalType\":\"bool\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Verified\",\"inputs\":[{\"name\":\"requestId\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"}],\"anonymous\":false}]",
}

BrevEigenMetaData contains all meta data concerning the BrevEigen contract.

View Source
var BrevisABI = BrevisMetaData.ABI

BrevisABI is the input ABI used to generate the binding from. Deprecated: Use BrevisMetaData.ABI instead.

View Source
var BrevisBin = BrevisMetaData.Bin

BrevisBin is the compiled bytecode used for deploying new contracts. Deprecated: Use BrevisMetaData.Bin instead.

View Source
var BrevisMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea264697066735822122092c5f428ae7a6eefcc4051ab0da62adfb986ac9461eb63dac4f97a3eeb32f1bb64736f6c63430008140033",
}

BrevisMetaData contains all meta data concerning the Brevis contract.

View Source
var BrevisRequestABI = BrevisRequestMetaData.ABI

BrevisRequestABI is the input ABI used to generate the binding from. Deprecated: Use BrevisRequestMetaData.ABI instead.

View Source
var BrevisRequestBin = BrevisRequestMetaData.Bin

BrevisRequestBin is the compiled bytecode used for deploying new contracts. Deprecated: Use BrevisRequestMetaData.Bin instead.

View Source
var BrevisRequestMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_feeCollector\",\"type\":\"address\"},{\"internalType\":\"contractIBrevisProof\",\"name\":\"_brevisProof\",\"type\":\"address\"},{\"internalType\":\"contractIBrevisEigen\",\"name\":\"_brevisEigen\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"requestId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"enumBrevisRequest.AskForType\",\"name\":\"askFor\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"}],\"name\":\"AskFor\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"from\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"to\",\"type\":\"uint256\"}],\"name\":\"ChallengeWindowUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"FeeCollectorUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"requestIds\",\"type\":\"bytes32[]\"},{\"indexed\":false,\"internalType\":\"bytes[]\",\"name\":\"queryURLs\",\"type\":\"bytes[]\"}],\"name\":\"OpRequestsFulfilled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"requestId\",\"type\":\"bytes32\"}],\"name\":\"ProofPost\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"requestId\",\"type\":\"bytes32\"}],\"name\":\"QueryDataPost\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"requestId\",\"type\":\"bytes32\"}],\"name\":\"RequestFulfilled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"requestId\",\"type\":\"bytes32\"}],\"name\":\"RequestRefunded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"requestId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"contractIBrevisApp\",\"name\":\"callback\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"enumBrevisRequest.Option\",\"name\":\"option\",\"type\":\"uint8\"}],\"name\":\"RequestSent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"from\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"to\",\"type\":\"uint256\"}],\"name\":\"RequestTimeoutUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"from\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"to\",\"type\":\"uint256\"}],\"name\":\"ResponseTimeoutUpdated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"askForProof\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"askForQueryData\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"brevisEigen\",\"outputs\":[{\"internalType\":\"contractIBrevisEigen\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"brevisProof\",\"outputs\":[{\"internalType\":\"contractIBrevisProof\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"challengeQueryData\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"challengeWindow\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"}],\"name\":\"collectFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeCollector\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"_requestIds\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes[]\",\"name\":\"_queryURLs\",\"type\":\"bytes[]\"}],\"name\":\"fulfillOpRequests\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_requestId\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"_chainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"_proof\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_appCircuitOutput\",\"type\":\"bytes\"}],\"name\":\"fulfillRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"keccakToMimc\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"postProof\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"postQueryData\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_requestId\",\"type\":\"bytes32\"}],\"name\":\"queryRequestStatus\",\"outputs\":[{\"internalType\":\"enumBrevisRequest.RequestStatus\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_requestId\",\"type\":\"bytes32\"}],\"name\":\"refund\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"requestExts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"canChallengeBefore\",\"type\":\"uint256\"},{\"internalType\":\"enumBrevisRequest.AskForType\",\"name\":\"askFor\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"shouldRespondBefore\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"requestTimeout\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"requests\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"refundee\",\"type\":\"address\"},{\"internalType\":\"contractIBrevisApp\",\"name\":\"callback\",\"type\":\"address\"},{\"internalType\":\"enumBrevisRequest.RequestStatus\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"enumBrevisRequest.Option\",\"name\":\"option\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"responseTimeout\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_requestId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_refundee\",\"type\":\"address\"},{\"internalType\":\"contractIBrevisApp\",\"name\":\"_callback\",\"type\":\"address\"},{\"internalType\":\"enumBrevisRequest.Option\",\"name\":\"_option\",\"type\":\"uint8\"}],\"name\":\"sendRequest\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIBrevisEigen\",\"name\":\"_brevisEigen\",\"type\":\"address\"}],\"name\":\"setBrevisEigen\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_challengeWindow\",\"type\":\"uint256\"}],\"name\":\"setChallengeWindow\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_feeCollector\",\"type\":\"address\"}],\"name\":\"setFeeCollector\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_timeout\",\"type\":\"uint256\"}],\"name\":\"setRequestTimeout\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_responseTimeout\",\"type\":\"uint256\"}],\"name\":\"setResponseTimeout\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
	Bin: "0x6080346100d857601f61158c38819003918201601f19168301916001600160401b038311848410176100dc578084926060946040528339810103126100d85780516001600160a01b039190828116908190036100d8576020820151918383168093036100d85760400151918383168093036100d8575f549160018060a01b03199233848216175f55604051953391167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3826001541617600155816003541617600355600454161760045561149b90816100f18239f35b5f80fd5b634e487b7160e01b5f52604160045260245ffdfe60806040818152600480361015610020575b505050361561001e575f80fd5b005b5f92833560e01c908162a731ed14610fe05750806301c1aa0d14610f7f5780630de4c3d714610f585780632763ce8a14610f275780632d85fa2014610ee057806332e7ed8114610c125780633f20b4c914610bf357806361b9fd7314610bb8578063622b6af414610b5757806369c228a114610b2057806369dc190314610abf5780636db03b1d146107905780637249fbb6146109a75780637ff7b0d214610917578063861a1412146108f85780638da5cb5b146108d257806395d39656146108ab5780639d8669851461082d578063a17ed96c1461080e578063a42dce8014610795578063a4514ff314610790578063b6979c3e1461075f578063c415b95c14610737578063c7f5aaa01461070f578063da03667a146104a0578063f2a9c666146102305763f2fde38b03610011573461022c57602036600319011261022c576101696110e9565b908354906001600160a01b038083169361018433861461110c565b169384156101c35750506001600160a01b031916821783557f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b8280fd5b509190608036600319011261049c5782359061024a6110d3565b90604435906001600160a01b039283831680930361049857606435936003851015610494578587526020916005835283882054610451578116801561040e5761029560025442611157565b9084519160c0830183811067ffffffffffffffff8211176103fb57899389938c96936003938a5282528782013481528983019182528960608401988c8a526080850198818a5260a08601986102e98161102a565b8952815260058b52209251835551600183015583600283019151166001600160a01b031982541617905501935116835492519160088310156103e8579174ff00000000000000000000000000000000000000007f8351e4cc62a96a972da26714bfbb019926334976bb613c36e0dc72b69cf8f5649a989694927fffffffffffffffffffff0000000000000000000000000000000000000000000075ff00000000000000000000000000000000000000000060a09c9a9896516103aa8161102a565b6103b38161102a565b60a81b16941617918a1b161717905581519485523390850152349084015260608301526103df8161102a565b6080820152a180f35b634e487b7160e01b8b5260218c5260248bfd5b60418c634e487b7160e01b5f525260245ffd5b835162461bcd60e51b8152808a01849052601560248201527f726566756e646565206e6f742070726f766964656400000000000000000000006044820152606490fd5b835162461bcd60e51b8152808a01849052601860248201527f7265717565737420616c726561647920696e20717565756500000000000000006044820152606490fd5b8680fd5b8580fd5b5080fd5b5082903461049c57608036600319011261049c5780356104be6110ab565b9067ffffffffffffffff604435818111610498576104df9036908601611048565b9190946064358281116106c3576104f99036908301611048565b9390956001600160a01b03938460035416918b51996371e8f36b60e11b8b5288868c015260209a8b81602481885afa90811561070557926105758f95938f938f98969061054e9186916106d8575b50156111da565b86519889978896879563e044095360e01b8752168c86015260248501526044840191611226565b03925af19081156106ce57889161069d575b50840361065a5750958596838752600586526003828820017401000000000000000000000000000000000000000060ff60a01b198254161790557f85e1543bf2f84fe80c6badbce3648c8539ad1df4d2b3d822938ca0538be727e6868351868152a18387526005865260038288200154169384610602578680f35b86956106336106419288958551958694850198633ceb5b5160e11b8a52602486015260448501526064840191611226565b03601f1981018352826111a0565b51925af15061064e611246565b50808280808080808680f35b875162461bcd60e51b8152908101869052601d60248201527f72657175657374496420616e642070726f6f66206e6f74206d617463680000006044820152606490fd5b90508681813d83116106c7575b6106b481836111a0565b810103126106c3575189610587565b8780fd5b503d6106aa565b89513d8a823e3d90fd5b6106f891508a3d8c116106fe575b6106f081836111a0565b8101906111c2565b5f610547565b503d6106e6565b8e513d8f823e3d90fd5b50503461049c578160031936011261049c576020906001600160a01b03600354169051908152f35b50503461049c578160031936011261049c576020906001600160a01b03600154169051908152f35b50913461078d57602036600319011261078d575061078b610782602093356112d1565b915180926110ff565bf35b80fd5b6110c2565b50503461049c57602036600319011261049c577f5d16ad41baeb009cd23eb8f6c7cde5c2e0cd5acf4a33926ab488875c37c37f38906107d26110e9565b6001600160a01b036107e881865416331461110c565b80600154921690816001600160a01b03198416176001558351921682526020820152a180f35b50503461049c578160031936011261049c576020906009549051908152f35b503461022c57602036600319011261022c5760c092829135815260056020522061089b8154926001830154926001600160a01b03906003826002830154169101549260ff8460a81c1695815197885260208801528601528116606085015260ff608085019160a01c166110ff565b6108a48161102a565b60a0820152f35b503461022c57602036600319011261022c5760209282913581526007845220549051908152f35b50503461049c578160031936011261049c576001600160a01b0360209254169051908152f35b50503461049c578160031936011261049c576020906008549051908152f35b503461022c578160031936011261022c576109306110d3565b916001600160a01b036001541633036109645750828080610961948194359061c350f161095b611246565b50611285565b80f35b906020606492519162461bcd60e51b8352820152601160248201527f6e6f742066656520636f6c6c6563746f720000000000000000000000000000006044820152fd5b503461022c5760209081600319360112610abb5783813591828252600584528482205442111561049c576001600160a01b039084846024846003541693895194859384926371e8f36b60e11b84528301525afa908115610ab157928080610a6394610a3d82957ffea410cb461deba9fe807dde02d6641d82e1bf09ecc88ecfa0f2ffadf2a1fdfe9b988491610a9a5750156111da565b878252600589526001878320918383556002830154169101549061c350f161095b611246565b818552600583526003818620017407000000000000000000000000000000000000000060ff60a01b1982541617905551908152a180f35b6106f891508b3d8d116106fe576106f081836111a0565b86513d85823e3d90fd5b8380fd5b50903461022c57602036600319011261022c577f86fe7fc31f35681a1ed77325f0cf24935a5d25b1861e7ce9ceed9cb67f2222709135610b0a6001600160a01b03855416331461110c565b600954908060095582519182526020820152a180f35b50903461022c5736600319011261049c5760243567ffffffffffffffff811161022c57610b509250369101611048565b5050611420565b50903461022c57602036600319011261022c577f87a73c061f18ffd513249d1d727921e40e348948b01e2979efb36ef4f5204a639135610ba26001600160a01b03855416331461110c565b600254908060025582519182526020820152a180f35b83823461049c57606036600319011261049c57610bd36110ab565b5060443567ffffffffffffffff811161022c57610b509250369101611048565b50503461049c578160031936011261049c576020906002549051908152f35b503461022c578160031936011261022c5767ffffffffffffffff8135818111610edc57610c42903690840161107a565b909260249384358481116106c357610c5d903690840161107a565b9390958115610e9a57848203610e96576001600160a01b038085541694853b15610e9257895163d1e3471560e01b81528b816020988985830152818381610ca88c8c8c8401916113bf565b03925af18015610e8857610e75575b508a9897989695965b848110610d8b575050505090610cde918751978089528801916113bf565b918583038187015281835280830192818360051b820101958589925b858410610d2b578a7fa1c3ef280bbac31181188d4beffe370ebae03e08d58a3aa4832b107d540c0a838b8b038ca180f35b9091929394959697601f198282030188528835601e1984360301811215610d87578301868101919035858111610d83578036038313610d8357610d7388928392600195611226565b9a01980196959401929190610cfa565b8c80fd5b8b80fd5b60039998999796978c84825416610da384898b6113fc565b35813b1561022c5782918f83928a9151948593849263e26d07d360e01b84528b8401525af18015610e6b57610e57575b5050610de08287896113fc565b358d52600588528b8d20017402000000000000000000000000000000000000000060ff60a01b19825416179055610e1960085442611157565b610e248287896113fc565b358d52600688528b8d20555f198114610e4557600101989798969596610cc0565b634e487b7160e01b8c5260118252838cfd5b610e6090611178565b610d83578c5f610dd3565b8e513d84823e3d90fd5b610e81909b919b611178565b995f610cb7565b8b513d8e823e3d90fd5b8a80fd5b8880fd5b83601260649260208b519362461bcd60e51b85528401528201527f696e76616c6964207265717565737449647300000000000000000000000000006044820152fd5b8480fd5b83823461049c57602036600319011261049c5780356001600160a01b03808216809203610abb57610f1590845416331461110c565b6001600160a01b031982541617905580f35b83823461049c57602036600319011261049c57803567ffffffffffffffff811161022c57610b509250369101611048565b50913461078d578060031936011261078d57506001600160a01b0360209254169051908152f35b50903461022c57602036600319011261022c577fedb9338f4b0faf2b899d2d7f54b90753d2a8ebb34936e381edb91b091c3e45a79135610fca6001600160a01b03855416331461110c565b600854908060085582519182526020820152a180f35b9291905034610abb576020366003190112610abb57606093829135815260066020522090815491600260ff6001830154169101549284526110208161102a565b6020840152820152f35b6003111561103457565b634e487b7160e01b5f52602160045260245ffd5b9181601f840112156110765782359167ffffffffffffffff8311611076576020838186019501011161107657565b5f80fd5b9181601f840112156110765782359167ffffffffffffffff8311611076576020808501948460051b01011161107657565b6024359067ffffffffffffffff8216820361107657565b602036600319011215611420575f80fd5b602435906001600160a01b038216820361107657565b600435906001600160a01b038216820361107657565b9060088210156110345752565b1561111357565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b9190820180921161116457565b634e487b7160e01b5f52601160045260245ffd5b67ffffffffffffffff811161118c57604052565b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff82111761118c57604052565b90816020910312611076575180151581036110765790565b156111e157565b60405162461bcd60e51b815260206004820152601760248201527f70726f6f6620616c72656164792067656e6572617465640000000000000000006044820152606490fd5b908060209392818452848401375f828201840152601f01601f1916010190565b3d15611280573d9067ffffffffffffffff821161118c5760405191611275601f8201601f1916602001846111a0565b82523d5f602084013e565b606090565b1561128c57565b60405162461bcd60e51b815260206004820152601260248201527f73656e64206e6174697665206661696c656400000000000000000000000000006044820152606490fd5b5f8181526020906005825260409060ff6003838320015460a01c166008811015611368576002148015611399575b80611385575b61137c578381526005835260ff6003838320015460a01c1660088110156113685760041480611351575b61134857600560039360ff9583525220015460a01c1690565b50505050600590565b50838152600683526002828220015442101561132f565b634e487b7160e01b82526021600452602482fd5b50505050600690565b508381526006835281812054421015611305565b508381526005835260ff6003838320015460a01c166008811015611368576003146112ff565b90918281527f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83116110765760209260051b809284830137010190565b919081101561140c5760051b0190565b634e487b7160e01b5f52603260045260245ffd5b60405162461bcd60e51b815260206004820152600f60248201527f6e6f7420696d706c656d656e74656400000000000000000000000000000000006044820152606490fdfea26469706673582212208de76c0ef54023bd4aca98f554f769b4ce2ca47d9a5a2dbfbd1aea3ef253b54f64736f6c63430008140033",
}

BrevisRequestMetaData contains all meta data concerning the BrevisRequest contract.

View Source
var (
	ChainCache = make(map[uint64]*OneChain)
)
View Source
var FeeVaultABI = FeeVaultMetaData.ABI

FeeVaultABI is the input ABI used to generate the binding from. Deprecated: Use FeeVaultMetaData.ABI instead.

View Source
var FeeVaultBin = FeeVaultMetaData.Bin

FeeVaultBin is the compiled bytecode used for deploying new contracts. Deprecated: Use FeeVaultMetaData.Bin instead.

View Source
var FeeVaultMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_feeCollector\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"FeeCollectorUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"}],\"name\":\"collectFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeCollector\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_feeCollector\",\"type\":\"address\"}],\"name\":\"setFeeCollector\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
	Bin: "0x6080346100a457601f6104bd38819003918201601f19168301916001600160401b038311848410176100a8578084926020946040528339810103126100a457516001600160a01b0390818116908190036100a4575f5460018060a01b03199033828216175f55604051933391167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3600154161760015561040090816100bd8239f35b5f80fd5b634e487b7160e01b5f52604160045260245ffdfe60806040818152600480361015610020575b505050361561001e575f80fd5b005b5f92833560e01c9081637ff7b0d214610224575080638da5cb5b146101fe578063a42dce8014610178578063c415b95c1461014c5763f2fde38b03610011573461014857602036600319011261014857610078610365565b908354906001600160a01b038083169361009333861461037f565b169384156100df57505073ffffffffffffffffffffffffffffffffffffffff1916821783557f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b8280fd5b5050346101745781600319360112610174576020906001600160a01b03600154169051908152f35b5080fd5b505034610174576020366003190112610174577f5d16ad41baeb009cd23eb8f6c7cde5c2e0cd5acf4a33926ab488875c37c37f38906101b5610365565b6001600160a01b036101cb81865416331461037f565b806001549216908173ffffffffffffffffffffffffffffffffffffffff198416176001558351921682526020820152a180f35b5050346101745781600319360112610174576001600160a01b0360209254169051908152f35b8493915034610361578160031936011261036157602435906001600160a01b03808316830361035d5760015416330361031c5750838080809386359061c350f13d156103175767ffffffffffffffff3d81811161030457835191601f8201601f19908116603f01168301908111838210176102f157845281528460203d92013e5b156102ae578280f35b906020606492519162461bcd60e51b8352820152601260248201527f73656e64206e6174697665206661696c656400000000000000000000000000006044820152fd5b634e487b7160e01b875260418652602487fd5b634e487b7160e01b865260418552602486fd5b6102a5565b62461bcd60e51b8152602084820152601160248201527f6e6f742066656520636f6c6c6563746f720000000000000000000000000000006044820152606490fd5b8580fd5b8380fd5b600435906001600160a01b038216820361037b57565b5f80fd5b1561038657565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fdfea2646970667358221220d3c32a4bd5a9586f200ad879472653aed7e6c9294e86e396564359104800f07364736f6c63430008140033",
}

FeeVaultMetaData contains all meta data concerning the FeeVault contract.

View Source
var IBrevisAppABI = IBrevisAppMetaData.ABI

IBrevisAppABI is the input ABI used to generate the binding from. Deprecated: Use IBrevisAppMetaData.ABI instead.

View Source
var IBrevisAppMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_requestId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_appCircuitOutput\",\"type\":\"bytes\"}],\"name\":\"brevisCallback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

IBrevisAppMetaData contains all meta data concerning the IBrevisApp contract.

View Source
var IBrevisEigenABI = IBrevisEigenMetaData.ABI

IBrevisEigenABI is the input ABI used to generate the binding from. Deprecated: Use IBrevisEigenMetaData.ABI instead.

View Source
var IBrevisEigenMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"reqIds\",\"type\":\"bytes32[]\"}],\"name\":\"mustVerified\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

IBrevisEigenMetaData contains all meta data concerning the IBrevisEigen contract.

View Source
var IBrevisProofABI = IBrevisProofMetaData.ABI

IBrevisProofABI is the input ABI used to generate the binding from. Deprecated: Use IBrevisProofMetaData.ABI instead.

View Source
var IBrevisProofMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_requestId\",\"type\":\"bytes32\"}],\"name\":\"getProofAppData\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_requestId\",\"type\":\"bytes32\"}],\"name\":\"hasProof\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_requestId\",\"type\":\"bytes32\"}],\"name\":\"submitOpResult\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"_chainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"_proofWithPubInputs\",\"type\":\"bytes\"}],\"name\":\"submitProof\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"_requestId\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_requestId\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"_chainId\",\"type\":\"uint64\"},{\"components\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"blkNum\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"receiptIndex\",\"type\":\"uint64\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"logIndex\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"value\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"valueFromTopic\",\"type\":\"bool\"},{\"internalType\":\"uint64\",\"name\":\"valueIndex\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"contractAddress\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"logTopic0\",\"type\":\"bytes32\"}],\"internalType\":\"structBrevis.LogInfo[]\",\"name\":\"logs\",\"type\":\"tuple[]\"}],\"internalType\":\"structBrevis.ReceiptInfo[]\",\"name\":\"receipts\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"slot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"slotValue\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"blockNumber\",\"type\":\"uint64\"}],\"internalType\":\"structBrevis.StorageInfo[]\",\"name\":\"stores\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"txHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"hashOfRawTxData\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"blockNumber\",\"type\":\"uint64\"}],\"internalType\":\"structBrevis.TransactionInfo[]\",\"name\":\"txs\",\"type\":\"tuple[]\"}],\"internalType\":\"structBrevis.ExtractInfos\",\"name\":\"_info\",\"type\":\"tuple\"}],\"name\":\"validateOpRequest\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

IBrevisProofMetaData contains all meta data concerning the IBrevisProof contract.

View Source
var IERC20ABI = IERC20MetaData.ABI

IERC20ABI is the input ABI used to generate the binding from. Deprecated: Use IERC20MetaData.ABI instead.

View Source
var IERC20MetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

IERC20MetaData contains all meta data concerning the IERC20 contract.

View Source
var OwnableABI = OwnableMetaData.ABI

OwnableABI is the input ABI used to generate the binding from. Deprecated: Use OwnableMetaData.ABI instead.

View Source
var OwnableMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

OwnableMetaData contains all meta data concerning the Ownable contract.

View Source
var RLPReaderABI = RLPReaderMetaData.ABI

RLPReaderABI is the input ABI used to generate the binding from. Deprecated: Use RLPReaderMetaData.ABI instead.

View Source
var RLPReaderBin = RLPReaderMetaData.Bin

RLPReaderBin is the compiled bytecode used for deploying new contracts. Deprecated: Use RLPReaderMetaData.Bin instead.

View Source
var RLPReaderMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea2646970667358221220f13d5db35952f1f0335d167485b80fdff1af004a8ed3a2a91170c10d1f51493464736f6c63430008140033",
}

RLPReaderMetaData contains all meta data concerning the RLPReader contract.

View Source
var SafeERC20ABI = SafeERC20MetaData.ABI

SafeERC20ABI is the input ABI used to generate the binding from. Deprecated: Use SafeERC20MetaData.ABI instead.

View Source
var SafeERC20Bin = SafeERC20MetaData.Bin

SafeERC20Bin is the compiled bytecode used for deploying new contracts. Deprecated: Use SafeERC20MetaData.Bin instead.

View Source
var SafeERC20MetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea2646970667358221220e4452412b1c842239525529cee107192565885a28e2498d223386853155461ed64736f6c63430008140033",
}

SafeERC20MetaData contains all meta data concerning the SafeERC20 contract.

View Source
var TxABI = TxMetaData.ABI

TxABI is the input ABI used to generate the binding from. Deprecated: Use TxMetaData.ABI instead.

View Source
var TxBin = TxMetaData.Bin

TxBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TxMetaData.Bin instead.

View Source
var TxMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"txRaw\",\"type\":\"bytes\"}],\"name\":\"decodeTx\",\"outputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"chainId\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"nonce\",\"type\":\"uint64\"},{\"internalType\":\"uint256\",\"name\":\"gasTipCap\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gasFeeCap\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gas\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"}],\"internalType\":\"structTx.TxInfo\",\"name\":\"info\",\"type\":\"tuple\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
	Bin: "0x6080806040523461001a57610e3a908161001f823930815050f35b5f80fdfe6040608081526004361015610012575f80fd5b5f90813560e01c63dae029d314610027575f80fd5b602090816003193601126103d55767ffffffffffffffff916004358381116103d157366023820112156103d15780600401359384116103d157602481019060248536920101116103d1576102e4946102da926102c992610085610526565b9660ff926100ba6002856100b36100ad61009f8789610591565b356001600160f81b03191690565b60f81c90565b16146105ae565b6100df6100da6100d56100ce8580886105fa565b36916106a7565b6109ff565b610a66565b926101136101056100f86100f2876106dd565b51610b79565b67ffffffffffffffff1690565b67ffffffffffffffff168b52565b6101356101256100f86100f2876106ea565b67ffffffffffffffff168b840152565b6101416100f2856106fa565b898b01526101516100f28561070a565b60608b01526101626100f28561071a565b60808b015261018c61017c6101768661072a565b51610b5b565b6001600160a01b031660a08c0152565b6101986100f28561073a565b60c08b01526101af6101a98561074a565b51610be7565b60e08b01526101c96101c36100f28661075b565b60ff1690565b956101ed6101e26101a96101e76101e26101a98a61076c565b6107a2565b9761077d565b958a6102076102026100ad61009f898861059f565b6107d8565b9582871660010361039b576102336101c361022e6100ad610228858a610637565b90610865565b6107f0565b965b61ffff8816603781116102e85750506102bd939261029d8761028f6102b5958561028961027a6102686102a5998e610648565b9d909361027481610891565b91610656565b929093519c8d968701916108f8565b916108f8565b03601f1981018852876104f5565b859716610814565b60f81b6001600160f81b03191690565b901a91610971565b535b8151910120610981565b6001600160a01b0316610100840152565b5191829182610417565b0390f35b909697945083959391925011155f146103615761035b93828261031d61031761009f61032f9661034d98610591565b98610803565b9261032782610891565b931691610673565b8c5195869491929160f81b6001600160f81b03191690888601610940565b03601f1981018352826104f5565b906102bf565b61035b93828261031d61031761009f61037d9661034d98610591565b8c5195869491929160f01b6001600160f01b03191690888601610905565b6103cb6103c66103c06103ba6103b36101c38c610803565b858a61061a565b90610825565b60f01c90565b610851565b96610235565b8480fd5b8280fd5b91908251928382525f5b848110610403575050825f602080949584010152601f8019910116010190565b6020818301810151848301820152016103e3565b6104bd906020815261043660208201845167ffffffffffffffff169052565b602083015167ffffffffffffffff1660408201526040830151606082015260608301516080820152608083015160a082015261048260a084015160c08301906001600160a01b03169052565b60c083015160e082015260e0830151610120906104ac6101009183838601526101408501906103d9565b9401516001600160a01b0316910152565b90565b634e487b7160e01b5f52604160045260245ffd5b6040810190811067ffffffffffffffff8211176104f057604052565b6104c0565b90601f8019910116810190811067ffffffffffffffff8211176104f057604052565b60405190610524826104d4565b565b60405190610120820182811067ffffffffffffffff8211176104f057604052816101005f918281528260208201528260408201528260608201528260808201528260a08201528260c0820152606060e08201520152565b634e487b7160e01b5f52603260045260245ffd5b901561059a5790565b61057d565b906001101561059a5760010190565b156105b557565b60405162461bcd60e51b815260206004820152601660248201527f6e6f7420612044796e616d6963466565547854797065000000000000000000006044820152606490fd5b909291928360011161061657831161061657600101915f190190565b5f80fd5b909291928360021161061657831161061657600201916001190190565b906003116106165760020190600190565b906002116106165790600290565b909291928360031161061657831161061657600301916002190190565b90939293848311610616578411610616578101920390565b67ffffffffffffffff81116104f057601f01601f191660200190565b9291926106b38261068b565b916106c160405193846104f5565b829481845281830111610616578281602093845f960137010152565b80511561059a5760200190565b80516001101561059a5760400190565b80516002101561059a5760600190565b80516003101561059a5760800190565b80516004101561059a5760a00190565b80516005101561059a5760c00190565b80516006101561059a5760e00190565b80516007101561059a576101000190565b80516009101561059a576101400190565b8051600a101561059a576101600190565b8051600b101561059a576101800190565b805182101561059a5760209160051b010190565b6020815191015190602081106107b6575090565b5f199060200360031b1b1690565b634e487b7160e01b5f52601160045260245ffd5b60ff60f6199116019060ff82116107eb57565b6107c4565b60ff6042199116019060ff82116107eb57565b60ff166002019060ff82116107eb57565b60ff1660c0019060ff82116107eb57565b6001600160f01b0319903581811693926002811061084257505050565b60020360031b82901b16169150565b61ffff90811660421901919082116107eb57565b6001600160f81b0319903581811693926001811061088257505050565b60010360031b82901b16169150565b6042198101919082116107eb57565b60bf198101919082116107eb57565b607f198101919082116107eb57565b60200390602082116107eb57565b5f198101919082116107eb57565b60f6198101919082116107eb57565b60b6198101919082116107eb57565b908092918237015f815290565b6001600160f81b0319909116815260f960f81b60018201526001600160f01b031990911660028201526004929182908483013701015f815290565b6001600160f81b03199182168152601f60fb1b6001820152911660028201526003929182908483013701015f815290565b80516001101561059a5760210190565b919260ff8116601b81106109cd575b509160209360809260ff5f9560405194855216868401526040830152606082015282805260015afa156109c2575f5190565b6040513d5f823e3d90fd5b601b9150929192019060ff82116107eb5791906020610990565b604051906109f4826104d4565b5f6020838281520152565b610a076109e7565b50602081519160405192610a1a846104d4565b835201602082015290565b67ffffffffffffffff81116104f05760051b60200190565b90600182018092116107eb57565b919082018092116107eb57565b5f1981146107eb5760010190565b610a6f81610b37565b1561061657610a7d81610c34565b610a8681610a25565b91610a9460405193846104f5565b818352601f19610aa383610a25565b015f5b818110610b20575050610ac7602080920151610ac181610d1a565b90610a4b565b5f905b838210610ad8575050505090565b610b1481610ae8610b1a93610c95565b90610af1610517565b8281528187820152610b03868a61078e565b52610b0e858961078e565b50610a4b565b91610a58565b90610aca565b602090610b2b6109e7565b82828801015201610aa6565b805115610b5657602060c0910151515f1a10610b5257600190565b5f90565b505f90565b601581510361061657610b756001600160a01b0391610b79565b1690565b80518015159081610baf575b501561061657610b9490610bbb565b90519060208110610ba3575090565b6020036101000a900490565b6021915011155f610b85565b906020820191610bcb8351610d1a565b9251908382018092116107eb57519283039283116107eb579190565b80511561061657610bfa6104bd91610bbb565b610c068193929361068b565b92610c1460405194856104f5565b818452601f19610c238361068b565b013660208601378360200190610d87565b805115610b56575f9060208101908151610c4d81610d1a565b81018091116107eb579151905181018091116107eb5791905b828110610c735750905090565b610c7c81610c95565b81018091116107eb57610c8f9091610a58565b90610c66565b80515f1a906080821015610caa575050600190565b60b8821015610cc55750610cc06104bd916108af565b610a3d565b9060c0811015610ce95760b51991600160b783602003016101000a91015104010190565b9060f8821015610d005750610cc06104bd916108a0565b60010151602082900360f7016101000a90040160f5190190565b515f1a6080811015610d2b57505f90565b60b881108015610d62575b15610d415750600190565b60c0811015610d5657610cc06104bd916108e9565b610cc06104bd916108da565b5060c08110158015610d36575060f88110610d36565b601f81116107eb576101000a90565b929091928315610dfe5792915b602093848410610dc957805182528481018091116107eb579381018091116107eb5791601f1981019081116107eb5791610d94565b9193509180610dd757505050565b610deb610de6610df0926108be565b610d78565b6108cc565b905182518216911916179052565b5091505056fea264697066735822122095f0b41ef8e45eae429ac1742a8be864705456cea62fac3fbd17b840b78190e664736f6c63430008140033",
}

TxMetaData contains all meta data concerning the Tx contract.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func Kspath2auth

func Kspath2auth(kspath, pass string, chainid *big.Int) (*bind.TransactOpts, error)

ecdsa keystore json to auth for onchain tx

func Kspath2priv

func Kspath2priv(kspath, pass string) (*keystore.Key, error)

func PostSig

func PostSig(chainid uint64, brvEigen string, reqid [32]byte, blkNum uint64) error

Types

type Addr

type Addr = common.Address

func Hex2addr

func Hex2addr(addr string) Addr

type Address

type Address struct {
	AddressCaller     // Read-only binding to the contract
	AddressTransactor // Write-only binding to the contract
	AddressFilterer   // Log filterer for contract events
}

Address is an auto generated Go binding around an Ethereum contract.

func DeployAddress

func DeployAddress(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Address, error)

DeployAddress deploys a new Ethereum contract, binding an instance of Address to it.

func NewAddress

func NewAddress(address common.Address, backend bind.ContractBackend) (*Address, error)

NewAddress creates a new instance of Address, bound to a specific deployed contract.

type AddressCaller

type AddressCaller struct {
	// contains filtered or unexported fields
}

AddressCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewAddressCaller

func NewAddressCaller(address common.Address, caller bind.ContractCaller) (*AddressCaller, error)

NewAddressCaller creates a new read-only instance of Address, bound to a specific deployed contract.

type AddressCallerRaw

type AddressCallerRaw struct {
	Contract *AddressCaller // Generic read-only contract binding to access the raw methods on
}

AddressCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*AddressCallerRaw) Call

func (_Address *AddressCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type AddressCallerSession

type AddressCallerSession struct {
	Contract *AddressCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts  // Call options to use throughout this session
}

AddressCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type AddressFilterer

type AddressFilterer struct {
	// contains filtered or unexported fields
}

AddressFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewAddressFilterer

func NewAddressFilterer(address common.Address, filterer bind.ContractFilterer) (*AddressFilterer, error)

NewAddressFilterer creates a new log filterer instance of Address, bound to a specific deployed contract.

type AddressRaw

type AddressRaw struct {
	Contract *Address // Generic contract binding to access the raw methods on
}

AddressRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*AddressRaw) Call

func (_Address *AddressRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*AddressRaw) Transact

func (_Address *AddressRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*AddressRaw) Transfer

func (_Address *AddressRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type AddressSession

type AddressSession struct {
	Contract     *Address          // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

AddressSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

type AddressTransactor

type AddressTransactor struct {
	// contains filtered or unexported fields
}

AddressTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewAddressTransactor

func NewAddressTransactor(address common.Address, transactor bind.ContractTransactor) (*AddressTransactor, error)

NewAddressTransactor creates a new write-only instance of Address, bound to a specific deployed contract.

type AddressTransactorRaw

type AddressTransactorRaw struct {
	Contract *AddressTransactor // Generic write-only contract binding to access the raw methods on
}

AddressTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*AddressTransactorRaw) Transact

func (_Address *AddressTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*AddressTransactorRaw) Transfer

func (_Address *AddressTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type AddressTransactorSession

type AddressTransactorSession struct {
	Contract     *AddressTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts  // Transaction auth options to use throughout this session
}

AddressTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type BLSApkReg

type BLSApkReg struct {
	BLSApkRegCaller     // Read-only binding to the contract
	BLSApkRegTransactor // Write-only binding to the contract
	BLSApkRegFilterer   // Log filterer for contract events
}

BLSApkReg is an auto generated Go binding around an Ethereum contract.

func NewBLSApkReg

func NewBLSApkReg(address common.Address, backend bind.ContractBackend) (*BLSApkReg, error)

NewBLSApkReg creates a new instance of BLSApkReg, bound to a specific deployed contract.

type BLSApkRegCaller

type BLSApkRegCaller struct {
	// contains filtered or unexported fields
}

BLSApkRegCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewBLSApkRegCaller

func NewBLSApkRegCaller(address common.Address, caller bind.ContractCaller) (*BLSApkRegCaller, error)

NewBLSApkRegCaller creates a new read-only instance of BLSApkReg, bound to a specific deployed contract.

type BLSApkRegCallerRaw

type BLSApkRegCallerRaw struct {
	Contract *BLSApkRegCaller // Generic read-only contract binding to access the raw methods on
}

BLSApkRegCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*BLSApkRegCallerRaw) Call

func (_BLSApkReg *BLSApkRegCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type BLSApkRegCallerSession

type BLSApkRegCallerSession struct {
	Contract *BLSApkRegCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts    // Call options to use throughout this session
}

BLSApkRegCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type BLSApkRegFilterer

type BLSApkRegFilterer struct {
	// contains filtered or unexported fields
}

BLSApkRegFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewBLSApkRegFilterer

func NewBLSApkRegFilterer(address common.Address, filterer bind.ContractFilterer) (*BLSApkRegFilterer, error)

NewBLSApkRegFilterer creates a new log filterer instance of BLSApkReg, bound to a specific deployed contract.

func (*BLSApkRegFilterer) FilterNewPubkeyRegistration

func (_BLSApkReg *BLSApkRegFilterer) FilterNewPubkeyRegistration(opts *bind.FilterOpts, operator []common.Address) (*BLSApkRegNewPubkeyRegistrationIterator, error)

FilterNewPubkeyRegistration is a free log retrieval operation binding the contract event 0xe3fb6613af2e8930cf85d47fcf6db10192224a64c6cbe8023e0eee1ba3828041.

Solidity: event NewPubkeyRegistration(address indexed operator, (uint256,uint256) pubkeyG1, (uint256[2],uint256[2]) pubkeyG2)

func (*BLSApkRegFilterer) FilterOperatorAddedToQuorums

func (_BLSApkReg *BLSApkRegFilterer) FilterOperatorAddedToQuorums(opts *bind.FilterOpts) (*BLSApkRegOperatorAddedToQuorumsIterator, error)

FilterOperatorAddedToQuorums is a free log retrieval operation binding the contract event 0x73a2b7fb844724b971802ae9b15db094d4b7192df9d7350e14eb466b9b22eb4e.

Solidity: event OperatorAddedToQuorums(address operator, bytes32 operatorId, bytes quorumNumbers)

func (*BLSApkRegFilterer) FilterOperatorRemovedFromQuorums

func (_BLSApkReg *BLSApkRegFilterer) FilterOperatorRemovedFromQuorums(opts *bind.FilterOpts) (*BLSApkRegOperatorRemovedFromQuorumsIterator, error)

FilterOperatorRemovedFromQuorums is a free log retrieval operation binding the contract event 0xf843ecd53a563675e62107be1494fdde4a3d49aeedaf8d88c616d85346e3500e.

Solidity: event OperatorRemovedFromQuorums(address operator, bytes32 operatorId, bytes quorumNumbers)

func (*BLSApkRegFilterer) ParseNewPubkeyRegistration

func (_BLSApkReg *BLSApkRegFilterer) ParseNewPubkeyRegistration(log types.Log) (*BLSApkRegNewPubkeyRegistration, error)

ParseNewPubkeyRegistration is a log parse operation binding the contract event 0xe3fb6613af2e8930cf85d47fcf6db10192224a64c6cbe8023e0eee1ba3828041.

Solidity: event NewPubkeyRegistration(address indexed operator, (uint256,uint256) pubkeyG1, (uint256[2],uint256[2]) pubkeyG2)

func (*BLSApkRegFilterer) ParseOperatorAddedToQuorums

func (_BLSApkReg *BLSApkRegFilterer) ParseOperatorAddedToQuorums(log types.Log) (*BLSApkRegOperatorAddedToQuorums, error)

ParseOperatorAddedToQuorums is a log parse operation binding the contract event 0x73a2b7fb844724b971802ae9b15db094d4b7192df9d7350e14eb466b9b22eb4e.

Solidity: event OperatorAddedToQuorums(address operator, bytes32 operatorId, bytes quorumNumbers)

func (*BLSApkRegFilterer) ParseOperatorRemovedFromQuorums

func (_BLSApkReg *BLSApkRegFilterer) ParseOperatorRemovedFromQuorums(log types.Log) (*BLSApkRegOperatorRemovedFromQuorums, error)

ParseOperatorRemovedFromQuorums is a log parse operation binding the contract event 0xf843ecd53a563675e62107be1494fdde4a3d49aeedaf8d88c616d85346e3500e.

Solidity: event OperatorRemovedFromQuorums(address operator, bytes32 operatorId, bytes quorumNumbers)

func (*BLSApkRegFilterer) WatchNewPubkeyRegistration

func (_BLSApkReg *BLSApkRegFilterer) WatchNewPubkeyRegistration(opts *bind.WatchOpts, sink chan<- *BLSApkRegNewPubkeyRegistration, operator []common.Address) (event.Subscription, error)

WatchNewPubkeyRegistration is a free log subscription operation binding the contract event 0xe3fb6613af2e8930cf85d47fcf6db10192224a64c6cbe8023e0eee1ba3828041.

Solidity: event NewPubkeyRegistration(address indexed operator, (uint256,uint256) pubkeyG1, (uint256[2],uint256[2]) pubkeyG2)

func (*BLSApkRegFilterer) WatchOperatorAddedToQuorums

func (_BLSApkReg *BLSApkRegFilterer) WatchOperatorAddedToQuorums(opts *bind.WatchOpts, sink chan<- *BLSApkRegOperatorAddedToQuorums) (event.Subscription, error)

WatchOperatorAddedToQuorums is a free log subscription operation binding the contract event 0x73a2b7fb844724b971802ae9b15db094d4b7192df9d7350e14eb466b9b22eb4e.

Solidity: event OperatorAddedToQuorums(address operator, bytes32 operatorId, bytes quorumNumbers)

func (*BLSApkRegFilterer) WatchOperatorRemovedFromQuorums

func (_BLSApkReg *BLSApkRegFilterer) WatchOperatorRemovedFromQuorums(opts *bind.WatchOpts, sink chan<- *BLSApkRegOperatorRemovedFromQuorums) (event.Subscription, error)

WatchOperatorRemovedFromQuorums is a free log subscription operation binding the contract event 0xf843ecd53a563675e62107be1494fdde4a3d49aeedaf8d88c616d85346e3500e.

Solidity: event OperatorRemovedFromQuorums(address operator, bytes32 operatorId, bytes quorumNumbers)

type BLSApkRegNewPubkeyRegistration

type BLSApkRegNewPubkeyRegistration struct {
	Operator common.Address
	PubkeyG1 BN254G1Point
	PubkeyG2 BN254G2Point
	Raw      types.Log // Blockchain specific contextual infos
}

BLSApkRegNewPubkeyRegistration represents a NewPubkeyRegistration event raised by the BLSApkReg contract.

type BLSApkRegNewPubkeyRegistrationIterator

type BLSApkRegNewPubkeyRegistrationIterator struct {
	Event *BLSApkRegNewPubkeyRegistration // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BLSApkRegNewPubkeyRegistrationIterator is returned from FilterNewPubkeyRegistration and is used to iterate over the raw logs and unpacked data for NewPubkeyRegistration events raised by the BLSApkReg contract.

func (*BLSApkRegNewPubkeyRegistrationIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BLSApkRegNewPubkeyRegistrationIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BLSApkRegNewPubkeyRegistrationIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BLSApkRegOperatorAddedToQuorums

type BLSApkRegOperatorAddedToQuorums struct {
	Operator      common.Address
	OperatorId    [32]byte
	QuorumNumbers []byte
	Raw           types.Log // Blockchain specific contextual infos
}

BLSApkRegOperatorAddedToQuorums represents a OperatorAddedToQuorums event raised by the BLSApkReg contract.

type BLSApkRegOperatorAddedToQuorumsIterator

type BLSApkRegOperatorAddedToQuorumsIterator struct {
	Event *BLSApkRegOperatorAddedToQuorums // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BLSApkRegOperatorAddedToQuorumsIterator is returned from FilterOperatorAddedToQuorums and is used to iterate over the raw logs and unpacked data for OperatorAddedToQuorums events raised by the BLSApkReg contract.

func (*BLSApkRegOperatorAddedToQuorumsIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BLSApkRegOperatorAddedToQuorumsIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BLSApkRegOperatorAddedToQuorumsIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BLSApkRegOperatorRemovedFromQuorums

type BLSApkRegOperatorRemovedFromQuorums struct {
	Operator      common.Address
	OperatorId    [32]byte
	QuorumNumbers []byte
	Raw           types.Log // Blockchain specific contextual infos
}

BLSApkRegOperatorRemovedFromQuorums represents a OperatorRemovedFromQuorums event raised by the BLSApkReg contract.

type BLSApkRegOperatorRemovedFromQuorumsIterator

type BLSApkRegOperatorRemovedFromQuorumsIterator struct {
	Event *BLSApkRegOperatorRemovedFromQuorums // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BLSApkRegOperatorRemovedFromQuorumsIterator is returned from FilterOperatorRemovedFromQuorums and is used to iterate over the raw logs and unpacked data for OperatorRemovedFromQuorums events raised by the BLSApkReg contract.

func (*BLSApkRegOperatorRemovedFromQuorumsIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BLSApkRegOperatorRemovedFromQuorumsIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BLSApkRegOperatorRemovedFromQuorumsIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BLSApkRegRaw

type BLSApkRegRaw struct {
	Contract *BLSApkReg // Generic contract binding to access the raw methods on
}

BLSApkRegRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*BLSApkRegRaw) Call

func (_BLSApkReg *BLSApkRegRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*BLSApkRegRaw) Transact

func (_BLSApkReg *BLSApkRegRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BLSApkRegRaw) Transfer

func (_BLSApkReg *BLSApkRegRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type BLSApkRegSession

type BLSApkRegSession struct {
	Contract     *BLSApkReg        // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

BLSApkRegSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

type BLSApkRegTransactor

type BLSApkRegTransactor struct {
	// contains filtered or unexported fields
}

BLSApkRegTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewBLSApkRegTransactor

func NewBLSApkRegTransactor(address common.Address, transactor bind.ContractTransactor) (*BLSApkRegTransactor, error)

NewBLSApkRegTransactor creates a new write-only instance of BLSApkReg, bound to a specific deployed contract.

type BLSApkRegTransactorRaw

type BLSApkRegTransactorRaw struct {
	Contract *BLSApkRegTransactor // Generic write-only contract binding to access the raw methods on
}

BLSApkRegTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*BLSApkRegTransactorRaw) Transact

func (_BLSApkReg *BLSApkRegTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BLSApkRegTransactorRaw) Transfer

func (_BLSApkReg *BLSApkRegTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type BLSApkRegTransactorSession

type BLSApkRegTransactorSession struct {
	Contract     *BLSApkRegTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts    // Transaction auth options to use throughout this session
}

BLSApkRegTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type BN254G1Point

type BN254G1Point struct {
	X *big.Int
	Y *big.Int
}

BN254G1Point is an auto generated low-level Go binding around an user-defined struct.

func ConvertToBN254G1Point

func ConvertToBN254G1Point(input *bls.G1Point) BN254G1Point

type BN254G2Point

type BN254G2Point struct {
	X [2]*big.Int
	Y [2]*big.Int
}

BN254G2Point is an auto generated low-level Go binding around an user-defined struct.

func ConvertToBN254G2Point

func ConvertToBN254G2Point(input *bls.G2Point) BN254G2Point

type BlsApkStartBlk

type BlsApkStartBlk struct {
	Block uint64 `db:"block"`
}

type BrevEigen

type BrevEigen struct {
	BrevEigenCaller     // Read-only binding to the contract
	BrevEigenTransactor // Write-only binding to the contract
	BrevEigenFilterer   // Log filterer for contract events
}

BrevEigen is an auto generated Go binding around an Ethereum contract.

func NewBrevEigen

func NewBrevEigen(address common.Address, backend bind.ContractBackend) (*BrevEigen, error)

NewBrevEigen creates a new instance of BrevEigen, bound to a specific deployed contract.

type BrevEigenCaller

type BrevEigenCaller struct {
	// contains filtered or unexported fields
}

BrevEigenCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewBrevEigenCaller

func NewBrevEigenCaller(address common.Address, caller bind.ContractCaller) (*BrevEigenCaller, error)

NewBrevEigenCaller creates a new read-only instance of BrevEigen, bound to a specific deployed contract.

func (*BrevEigenCaller) AvsDirectory

func (_BrevEigen *BrevEigenCaller) AvsDirectory(opts *bind.CallOpts) (common.Address, error)

AvsDirectory is a free data retrieval call binding the contract method 0x6b3aa72e.

Solidity: function avsDirectory() view returns(address)

func (*BrevEigenCaller) BlsApkRegistry

func (_BrevEigen *BrevEigenCaller) BlsApkRegistry(opts *bind.CallOpts) (common.Address, error)

BlsApkRegistry is a free data retrieval call binding the contract method 0x5df45946.

Solidity: function blsApkRegistry() view returns(address)

func (*BrevEigenCaller) CheckSignatures

func (_BrevEigen *BrevEigenCaller) CheckSignatures(opts *bind.CallOpts, msgHash [32]byte, quorumNumbers []byte, referenceBlockNumber uint32, params IBLSSignatureCheckerNonSignerStakesAndSignature) (IBLSSignatureCheckerQuorumStakeTotals, [32]byte, error)

CheckSignatures is a free data retrieval call binding the contract method 0x6efb4636.

Solidity: function checkSignatures(bytes32 msgHash, bytes quorumNumbers, uint32 referenceBlockNumber, (uint32[],(uint256,uint256)[],(uint256,uint256)[],(uint256[2],uint256[2]),(uint256,uint256),uint32[],uint32[],uint32[][]) params) view returns((uint96[],uint96[]), bytes32)

func (*BrevEigenCaller) Delegation

func (_BrevEigen *BrevEigenCaller) Delegation(opts *bind.CallOpts) (common.Address, error)

Delegation is a free data retrieval call binding the contract method 0xdf5cf723.

Solidity: function delegation() view returns(address)

func (*BrevEigenCaller) GetOperatorRestakedStrategies

func (_BrevEigen *BrevEigenCaller) GetOperatorRestakedStrategies(opts *bind.CallOpts, operator common.Address) ([]common.Address, error)

GetOperatorRestakedStrategies is a free data retrieval call binding the contract method 0x33cfb7b7.

Solidity: function getOperatorRestakedStrategies(address operator) view returns(address[])

func (*BrevEigenCaller) GetRestakeableStrategies

func (_BrevEigen *BrevEigenCaller) GetRestakeableStrategies(opts *bind.CallOpts) ([]common.Address, error)

GetRestakeableStrategies is a free data retrieval call binding the contract method 0xe481af9d.

Solidity: function getRestakeableStrategies() view returns(address[])

func (*BrevEigenCaller) MustVerified

func (_BrevEigen *BrevEigenCaller) MustVerified(opts *bind.CallOpts, reqIds [][32]byte) error

MustVerified is a free data retrieval call binding the contract method 0xd1e34715.

Solidity: function mustVerified(bytes32[] reqIds) view returns()

func (*BrevEigenCaller) Owner

func (_BrevEigen *BrevEigenCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BrevEigenCaller) QuorumNumbers

func (_BrevEigen *BrevEigenCaller) QuorumNumbers(opts *bind.CallOpts) ([]byte, error)

QuorumNumbers is a free data retrieval call binding the contract method 0x2a8414fd.

Solidity: function quorumNumbers() view returns(bytes)

func (*BrevEigenCaller) Records

func (_BrevEigen *BrevEigenCaller) Records(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

Records is a free data retrieval call binding the contract method 0x01e64725.

Solidity: function records(bytes32 ) view returns(bool)

func (*BrevEigenCaller) RegistryCoordinator

func (_BrevEigen *BrevEigenCaller) RegistryCoordinator(opts *bind.CallOpts) (common.Address, error)

RegistryCoordinator is a free data retrieval call binding the contract method 0x6d14a987.

Solidity: function registryCoordinator() view returns(address)

func (*BrevEigenCaller) StakeRegistry

func (_BrevEigen *BrevEigenCaller) StakeRegistry(opts *bind.CallOpts) (common.Address, error)

StakeRegistry is a free data retrieval call binding the contract method 0x68304835.

Solidity: function stakeRegistry() view returns(address)

func (*BrevEigenCaller) StaleStakesForbidden

func (_BrevEigen *BrevEigenCaller) StaleStakesForbidden(opts *bind.CallOpts) (bool, error)

StaleStakesForbidden is a free data retrieval call binding the contract method 0xb98d0908.

Solidity: function staleStakesForbidden() view returns(bool)

func (*BrevEigenCaller) TrySignatureAndApkVerification

func (_BrevEigen *BrevEigenCaller) TrySignatureAndApkVerification(opts *bind.CallOpts, msgHash [32]byte, apk BN254G1Point, apkG2 BN254G2Point, sigma BN254G1Point) (struct {
	PairingSuccessful bool
	SiganatureIsValid bool
}, error)

TrySignatureAndApkVerification is a free data retrieval call binding the contract method 0x171f1d5b.

Solidity: function trySignatureAndApkVerification(bytes32 msgHash, (uint256,uint256) apk, (uint256[2],uint256[2]) apkG2, (uint256,uint256) sigma) view returns(bool pairingSuccessful, bool siganatureIsValid)

type BrevEigenCallerRaw

type BrevEigenCallerRaw struct {
	Contract *BrevEigenCaller // Generic read-only contract binding to access the raw methods on
}

BrevEigenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*BrevEigenCallerRaw) Call

func (_BrevEigen *BrevEigenCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type BrevEigenCallerSession

type BrevEigenCallerSession struct {
	Contract *BrevEigenCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts    // Call options to use throughout this session
}

BrevEigenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*BrevEigenCallerSession) AvsDirectory

func (_BrevEigen *BrevEigenCallerSession) AvsDirectory() (common.Address, error)

AvsDirectory is a free data retrieval call binding the contract method 0x6b3aa72e.

Solidity: function avsDirectory() view returns(address)

func (*BrevEigenCallerSession) BlsApkRegistry

func (_BrevEigen *BrevEigenCallerSession) BlsApkRegistry() (common.Address, error)

BlsApkRegistry is a free data retrieval call binding the contract method 0x5df45946.

Solidity: function blsApkRegistry() view returns(address)

func (*BrevEigenCallerSession) CheckSignatures

func (_BrevEigen *BrevEigenCallerSession) CheckSignatures(msgHash [32]byte, quorumNumbers []byte, referenceBlockNumber uint32, params IBLSSignatureCheckerNonSignerStakesAndSignature) (IBLSSignatureCheckerQuorumStakeTotals, [32]byte, error)

CheckSignatures is a free data retrieval call binding the contract method 0x6efb4636.

Solidity: function checkSignatures(bytes32 msgHash, bytes quorumNumbers, uint32 referenceBlockNumber, (uint32[],(uint256,uint256)[],(uint256,uint256)[],(uint256[2],uint256[2]),(uint256,uint256),uint32[],uint32[],uint32[][]) params) view returns((uint96[],uint96[]), bytes32)

func (*BrevEigenCallerSession) Delegation

func (_BrevEigen *BrevEigenCallerSession) Delegation() (common.Address, error)

Delegation is a free data retrieval call binding the contract method 0xdf5cf723.

Solidity: function delegation() view returns(address)

func (*BrevEigenCallerSession) GetOperatorRestakedStrategies

func (_BrevEigen *BrevEigenCallerSession) GetOperatorRestakedStrategies(operator common.Address) ([]common.Address, error)

GetOperatorRestakedStrategies is a free data retrieval call binding the contract method 0x33cfb7b7.

Solidity: function getOperatorRestakedStrategies(address operator) view returns(address[])

func (*BrevEigenCallerSession) GetRestakeableStrategies

func (_BrevEigen *BrevEigenCallerSession) GetRestakeableStrategies() ([]common.Address, error)

GetRestakeableStrategies is a free data retrieval call binding the contract method 0xe481af9d.

Solidity: function getRestakeableStrategies() view returns(address[])

func (*BrevEigenCallerSession) MustVerified

func (_BrevEigen *BrevEigenCallerSession) MustVerified(reqIds [][32]byte) error

MustVerified is a free data retrieval call binding the contract method 0xd1e34715.

Solidity: function mustVerified(bytes32[] reqIds) view returns()

func (*BrevEigenCallerSession) Owner

func (_BrevEigen *BrevEigenCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BrevEigenCallerSession) QuorumNumbers

func (_BrevEigen *BrevEigenCallerSession) QuorumNumbers() ([]byte, error)

QuorumNumbers is a free data retrieval call binding the contract method 0x2a8414fd.

Solidity: function quorumNumbers() view returns(bytes)

func (*BrevEigenCallerSession) Records

func (_BrevEigen *BrevEigenCallerSession) Records(arg0 [32]byte) (bool, error)

Records is a free data retrieval call binding the contract method 0x01e64725.

Solidity: function records(bytes32 ) view returns(bool)

func (*BrevEigenCallerSession) RegistryCoordinator

func (_BrevEigen *BrevEigenCallerSession) RegistryCoordinator() (common.Address, error)

RegistryCoordinator is a free data retrieval call binding the contract method 0x6d14a987.

Solidity: function registryCoordinator() view returns(address)

func (*BrevEigenCallerSession) StakeRegistry

func (_BrevEigen *BrevEigenCallerSession) StakeRegistry() (common.Address, error)

StakeRegistry is a free data retrieval call binding the contract method 0x68304835.

Solidity: function stakeRegistry() view returns(address)

func (*BrevEigenCallerSession) StaleStakesForbidden

func (_BrevEigen *BrevEigenCallerSession) StaleStakesForbidden() (bool, error)

StaleStakesForbidden is a free data retrieval call binding the contract method 0xb98d0908.

Solidity: function staleStakesForbidden() view returns(bool)

func (*BrevEigenCallerSession) TrySignatureAndApkVerification

func (_BrevEigen *BrevEigenCallerSession) TrySignatureAndApkVerification(msgHash [32]byte, apk BN254G1Point, apkG2 BN254G2Point, sigma BN254G1Point) (struct {
	PairingSuccessful bool
	SiganatureIsValid bool
}, error)

TrySignatureAndApkVerification is a free data retrieval call binding the contract method 0x171f1d5b.

Solidity: function trySignatureAndApkVerification(bytes32 msgHash, (uint256,uint256) apk, (uint256[2],uint256[2]) apkG2, (uint256,uint256) sigma) view returns(bool pairingSuccessful, bool siganatureIsValid)

type BrevEigenFilterer

type BrevEigenFilterer struct {
	// contains filtered or unexported fields
}

BrevEigenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewBrevEigenFilterer

func NewBrevEigenFilterer(address common.Address, filterer bind.ContractFilterer) (*BrevEigenFilterer, error)

NewBrevEigenFilterer creates a new log filterer instance of BrevEigen, bound to a specific deployed contract.

func (*BrevEigenFilterer) FilterInitialized

func (_BrevEigen *BrevEigenFilterer) FilterInitialized(opts *bind.FilterOpts) (*BrevEigenInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*BrevEigenFilterer) FilterOwnershipTransferred

func (_BrevEigen *BrevEigenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BrevEigenOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BrevEigenFilterer) FilterStaleStakesForbiddenUpdate

func (_BrevEigen *BrevEigenFilterer) FilterStaleStakesForbiddenUpdate(opts *bind.FilterOpts) (*BrevEigenStaleStakesForbiddenUpdateIterator, error)

FilterStaleStakesForbiddenUpdate is a free log retrieval operation binding the contract event 0x40e4ed880a29e0f6ddce307457fb75cddf4feef7d3ecb0301bfdf4976a0e2dfc.

Solidity: event StaleStakesForbiddenUpdate(bool value)

func (*BrevEigenFilterer) FilterVerified

func (_BrevEigen *BrevEigenFilterer) FilterVerified(opts *bind.FilterOpts) (*BrevEigenVerifiedIterator, error)

FilterVerified is a free log retrieval operation binding the contract event 0xfd80962e9540d35b7e1c5b2289980b16c1b92208bc2a42634e3290ad70fc3b74.

Solidity: event Verified(bytes32 requestId)

func (*BrevEigenFilterer) ParseInitialized

func (_BrevEigen *BrevEigenFilterer) ParseInitialized(log types.Log) (*BrevEigenInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*BrevEigenFilterer) ParseOwnershipTransferred

func (_BrevEigen *BrevEigenFilterer) ParseOwnershipTransferred(log types.Log) (*BrevEigenOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BrevEigenFilterer) ParseStaleStakesForbiddenUpdate

func (_BrevEigen *BrevEigenFilterer) ParseStaleStakesForbiddenUpdate(log types.Log) (*BrevEigenStaleStakesForbiddenUpdate, error)

ParseStaleStakesForbiddenUpdate is a log parse operation binding the contract event 0x40e4ed880a29e0f6ddce307457fb75cddf4feef7d3ecb0301bfdf4976a0e2dfc.

Solidity: event StaleStakesForbiddenUpdate(bool value)

func (*BrevEigenFilterer) ParseVerified

func (_BrevEigen *BrevEigenFilterer) ParseVerified(log types.Log) (*BrevEigenVerified, error)

ParseVerified is a log parse operation binding the contract event 0xfd80962e9540d35b7e1c5b2289980b16c1b92208bc2a42634e3290ad70fc3b74.

Solidity: event Verified(bytes32 requestId)

func (*BrevEigenFilterer) WatchInitialized

func (_BrevEigen *BrevEigenFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *BrevEigenInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*BrevEigenFilterer) WatchOwnershipTransferred

func (_BrevEigen *BrevEigenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BrevEigenOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BrevEigenFilterer) WatchStaleStakesForbiddenUpdate

func (_BrevEigen *BrevEigenFilterer) WatchStaleStakesForbiddenUpdate(opts *bind.WatchOpts, sink chan<- *BrevEigenStaleStakesForbiddenUpdate) (event.Subscription, error)

WatchStaleStakesForbiddenUpdate is a free log subscription operation binding the contract event 0x40e4ed880a29e0f6ddce307457fb75cddf4feef7d3ecb0301bfdf4976a0e2dfc.

Solidity: event StaleStakesForbiddenUpdate(bool value)

func (*BrevEigenFilterer) WatchVerified

func (_BrevEigen *BrevEigenFilterer) WatchVerified(opts *bind.WatchOpts, sink chan<- *BrevEigenVerified) (event.Subscription, error)

WatchVerified is a free log subscription operation binding the contract event 0xfd80962e9540d35b7e1c5b2289980b16c1b92208bc2a42634e3290ad70fc3b74.

Solidity: event Verified(bytes32 requestId)

type BrevEigenInitialized

type BrevEigenInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

BrevEigenInitialized represents a Initialized event raised by the BrevEigen contract.

type BrevEigenInitializedIterator

type BrevEigenInitializedIterator struct {
	Event *BrevEigenInitialized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrevEigenInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the BrevEigen contract.

func (*BrevEigenInitializedIterator) Close

func (it *BrevEigenInitializedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrevEigenInitializedIterator) Error

func (it *BrevEigenInitializedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BrevEigenInitializedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BrevEigenOwnershipTransferred

type BrevEigenOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

BrevEigenOwnershipTransferred represents a OwnershipTransferred event raised by the BrevEigen contract.

type BrevEigenOwnershipTransferredIterator

type BrevEigenOwnershipTransferredIterator struct {
	Event *BrevEigenOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrevEigenOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the BrevEigen contract.

func (*BrevEigenOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrevEigenOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BrevEigenOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BrevEigenRaw

type BrevEigenRaw struct {
	Contract *BrevEigen // Generic contract binding to access the raw methods on
}

BrevEigenRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*BrevEigenRaw) Call

func (_BrevEigen *BrevEigenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*BrevEigenRaw) Transact

func (_BrevEigen *BrevEigenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BrevEigenRaw) Transfer

func (_BrevEigen *BrevEigenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type BrevEigenSession

type BrevEigenSession struct {
	Contract     *BrevEigen        // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

BrevEigenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*BrevEigenSession) AvsDirectory

func (_BrevEigen *BrevEigenSession) AvsDirectory() (common.Address, error)

AvsDirectory is a free data retrieval call binding the contract method 0x6b3aa72e.

Solidity: function avsDirectory() view returns(address)

func (*BrevEigenSession) BlsApkRegistry

func (_BrevEigen *BrevEigenSession) BlsApkRegistry() (common.Address, error)

BlsApkRegistry is a free data retrieval call binding the contract method 0x5df45946.

Solidity: function blsApkRegistry() view returns(address)

func (*BrevEigenSession) CheckSignatures

func (_BrevEigen *BrevEigenSession) CheckSignatures(msgHash [32]byte, quorumNumbers []byte, referenceBlockNumber uint32, params IBLSSignatureCheckerNonSignerStakesAndSignature) (IBLSSignatureCheckerQuorumStakeTotals, [32]byte, error)

CheckSignatures is a free data retrieval call binding the contract method 0x6efb4636.

Solidity: function checkSignatures(bytes32 msgHash, bytes quorumNumbers, uint32 referenceBlockNumber, (uint32[],(uint256,uint256)[],(uint256,uint256)[],(uint256[2],uint256[2]),(uint256,uint256),uint32[],uint32[],uint32[][]) params) view returns((uint96[],uint96[]), bytes32)

func (*BrevEigenSession) Delegation

func (_BrevEigen *BrevEigenSession) Delegation() (common.Address, error)

Delegation is a free data retrieval call binding the contract method 0xdf5cf723.

Solidity: function delegation() view returns(address)

func (*BrevEigenSession) DeregisterOperatorFromAVS

func (_BrevEigen *BrevEigenSession) DeregisterOperatorFromAVS(operator common.Address) (*types.Transaction, error)

DeregisterOperatorFromAVS is a paid mutator transaction binding the contract method 0xa364f4da.

Solidity: function deregisterOperatorFromAVS(address operator) returns()

func (*BrevEigenSession) GetOperatorRestakedStrategies

func (_BrevEigen *BrevEigenSession) GetOperatorRestakedStrategies(operator common.Address) ([]common.Address, error)

GetOperatorRestakedStrategies is a free data retrieval call binding the contract method 0x33cfb7b7.

Solidity: function getOperatorRestakedStrategies(address operator) view returns(address[])

func (*BrevEigenSession) GetRestakeableStrategies

func (_BrevEigen *BrevEigenSession) GetRestakeableStrategies() ([]common.Address, error)

GetRestakeableStrategies is a free data retrieval call binding the contract method 0xe481af9d.

Solidity: function getRestakeableStrategies() view returns(address[])

func (*BrevEigenSession) Initialize

func (_BrevEigen *BrevEigenSession) Initialize(_initialOwner common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address _initialOwner) returns()

func (*BrevEigenSession) MustVerified

func (_BrevEigen *BrevEigenSession) MustVerified(reqIds [][32]byte) error

MustVerified is a free data retrieval call binding the contract method 0xd1e34715.

Solidity: function mustVerified(bytes32[] reqIds) view returns()

func (*BrevEigenSession) Owner

func (_BrevEigen *BrevEigenSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BrevEigenSession) QuorumNumbers

func (_BrevEigen *BrevEigenSession) QuorumNumbers() ([]byte, error)

QuorumNumbers is a free data retrieval call binding the contract method 0x2a8414fd.

Solidity: function quorumNumbers() view returns(bytes)

func (*BrevEigenSession) Records

func (_BrevEigen *BrevEigenSession) Records(arg0 [32]byte) (bool, error)

Records is a free data retrieval call binding the contract method 0x01e64725.

Solidity: function records(bytes32 ) view returns(bool)

func (*BrevEigenSession) RegisterOperatorToAVS

func (_BrevEigen *BrevEigenSession) RegisterOperatorToAVS(operator common.Address, operatorSignature ISignatureUtilsSignatureWithSaltAndExpiry) (*types.Transaction, error)

RegisterOperatorToAVS is a paid mutator transaction binding the contract method 0x9926ee7d.

Solidity: function registerOperatorToAVS(address operator, (bytes,bytes32,uint256) operatorSignature) returns()

func (*BrevEigenSession) RegistryCoordinator

func (_BrevEigen *BrevEigenSession) RegistryCoordinator() (common.Address, error)

RegistryCoordinator is a free data retrieval call binding the contract method 0x6d14a987.

Solidity: function registryCoordinator() view returns(address)

func (*BrevEigenSession) RenounceOwnership

func (_BrevEigen *BrevEigenSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BrevEigenSession) SetQuorums

func (_BrevEigen *BrevEigenSession) SetQuorums(newQ []byte) (*types.Transaction, error)

SetQuorums is a paid mutator transaction binding the contract method 0x266c50a3.

Solidity: function setQuorums(bytes newQ) returns()

func (*BrevEigenSession) SetStaleStakesForbidden

func (_BrevEigen *BrevEigenSession) SetStaleStakesForbidden(value bool) (*types.Transaction, error)

SetStaleStakesForbidden is a paid mutator transaction binding the contract method 0x416c7e5e.

Solidity: function setStaleStakesForbidden(bool value) returns()

func (*BrevEigenSession) StakeRegistry

func (_BrevEigen *BrevEigenSession) StakeRegistry() (common.Address, error)

StakeRegistry is a free data retrieval call binding the contract method 0x68304835.

Solidity: function stakeRegistry() view returns(address)

func (*BrevEigenSession) StaleStakesForbidden

func (_BrevEigen *BrevEigenSession) StaleStakesForbidden() (bool, error)

StaleStakesForbidden is a free data retrieval call binding the contract method 0xb98d0908.

Solidity: function staleStakesForbidden() view returns(bool)

func (*BrevEigenSession) TransferOwnership

func (_BrevEigen *BrevEigenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*BrevEigenSession) TrySignatureAndApkVerification

func (_BrevEigen *BrevEigenSession) TrySignatureAndApkVerification(msgHash [32]byte, apk BN254G1Point, apkG2 BN254G2Point, sigma BN254G1Point) (struct {
	PairingSuccessful bool
	SiganatureIsValid bool
}, error)

TrySignatureAndApkVerification is a free data retrieval call binding the contract method 0x171f1d5b.

Solidity: function trySignatureAndApkVerification(bytes32 msgHash, (uint256,uint256) apk, (uint256[2],uint256[2]) apkG2, (uint256,uint256) sigma) view returns(bool pairingSuccessful, bool siganatureIsValid)

func (*BrevEigenSession) UpdateAVSMetadataURI

func (_BrevEigen *BrevEigenSession) UpdateAVSMetadataURI(_metadataURI string) (*types.Transaction, error)

UpdateAVSMetadataURI is a paid mutator transaction binding the contract method 0xa98fb355.

Solidity: function updateAVSMetadataURI(string _metadataURI) returns()

func (*BrevEigenSession) VerifyRequest

func (_BrevEigen *BrevEigenSession) VerifyRequest(reqid [32]byte, blockNum uint64, nonSignerStakesAndSignature IBLSSignatureCheckerNonSignerStakesAndSignature) (*types.Transaction, error)

VerifyRequest is a paid mutator transaction binding the contract method 0xe88e7868.

Solidity: function verifyRequest(bytes32 reqid, uint64 blockNum, (uint32[],(uint256,uint256)[],(uint256,uint256)[],(uint256[2],uint256[2]),(uint256,uint256),uint32[],uint32[],uint32[][]) nonSignerStakesAndSignature) returns()

type BrevEigenStaleStakesForbiddenUpdate

type BrevEigenStaleStakesForbiddenUpdate struct {
	Value bool
	Raw   types.Log // Blockchain specific contextual infos
}

BrevEigenStaleStakesForbiddenUpdate represents a StaleStakesForbiddenUpdate event raised by the BrevEigen contract.

type BrevEigenStaleStakesForbiddenUpdateIterator

type BrevEigenStaleStakesForbiddenUpdateIterator struct {
	Event *BrevEigenStaleStakesForbiddenUpdate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrevEigenStaleStakesForbiddenUpdateIterator is returned from FilterStaleStakesForbiddenUpdate and is used to iterate over the raw logs and unpacked data for StaleStakesForbiddenUpdate events raised by the BrevEigen contract.

func (*BrevEigenStaleStakesForbiddenUpdateIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrevEigenStaleStakesForbiddenUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BrevEigenStaleStakesForbiddenUpdateIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BrevEigenTransactor

type BrevEigenTransactor struct {
	// contains filtered or unexported fields
}

BrevEigenTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewBrevEigenTransactor

func NewBrevEigenTransactor(address common.Address, transactor bind.ContractTransactor) (*BrevEigenTransactor, error)

NewBrevEigenTransactor creates a new write-only instance of BrevEigen, bound to a specific deployed contract.

func (*BrevEigenTransactor) DeregisterOperatorFromAVS

func (_BrevEigen *BrevEigenTransactor) DeregisterOperatorFromAVS(opts *bind.TransactOpts, operator common.Address) (*types.Transaction, error)

DeregisterOperatorFromAVS is a paid mutator transaction binding the contract method 0xa364f4da.

Solidity: function deregisterOperatorFromAVS(address operator) returns()

func (*BrevEigenTransactor) Initialize

func (_BrevEigen *BrevEigenTransactor) Initialize(opts *bind.TransactOpts, _initialOwner common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address _initialOwner) returns()

func (*BrevEigenTransactor) RegisterOperatorToAVS

func (_BrevEigen *BrevEigenTransactor) RegisterOperatorToAVS(opts *bind.TransactOpts, operator common.Address, operatorSignature ISignatureUtilsSignatureWithSaltAndExpiry) (*types.Transaction, error)

RegisterOperatorToAVS is a paid mutator transaction binding the contract method 0x9926ee7d.

Solidity: function registerOperatorToAVS(address operator, (bytes,bytes32,uint256) operatorSignature) returns()

func (*BrevEigenTransactor) RenounceOwnership

func (_BrevEigen *BrevEigenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BrevEigenTransactor) SetQuorums

func (_BrevEigen *BrevEigenTransactor) SetQuorums(opts *bind.TransactOpts, newQ []byte) (*types.Transaction, error)

SetQuorums is a paid mutator transaction binding the contract method 0x266c50a3.

Solidity: function setQuorums(bytes newQ) returns()

func (*BrevEigenTransactor) SetStaleStakesForbidden

func (_BrevEigen *BrevEigenTransactor) SetStaleStakesForbidden(opts *bind.TransactOpts, value bool) (*types.Transaction, error)

SetStaleStakesForbidden is a paid mutator transaction binding the contract method 0x416c7e5e.

Solidity: function setStaleStakesForbidden(bool value) returns()

func (*BrevEigenTransactor) TransferOwnership

func (_BrevEigen *BrevEigenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*BrevEigenTransactor) UpdateAVSMetadataURI

func (_BrevEigen *BrevEigenTransactor) UpdateAVSMetadataURI(opts *bind.TransactOpts, _metadataURI string) (*types.Transaction, error)

UpdateAVSMetadataURI is a paid mutator transaction binding the contract method 0xa98fb355.

Solidity: function updateAVSMetadataURI(string _metadataURI) returns()

func (*BrevEigenTransactor) VerifyRequest

func (_BrevEigen *BrevEigenTransactor) VerifyRequest(opts *bind.TransactOpts, reqid [32]byte, blockNum uint64, nonSignerStakesAndSignature IBLSSignatureCheckerNonSignerStakesAndSignature) (*types.Transaction, error)

VerifyRequest is a paid mutator transaction binding the contract method 0xe88e7868.

Solidity: function verifyRequest(bytes32 reqid, uint64 blockNum, (uint32[],(uint256,uint256)[],(uint256,uint256)[],(uint256[2],uint256[2]),(uint256,uint256),uint32[],uint32[],uint32[][]) nonSignerStakesAndSignature) returns()

type BrevEigenTransactorRaw

type BrevEigenTransactorRaw struct {
	Contract *BrevEigenTransactor // Generic write-only contract binding to access the raw methods on
}

BrevEigenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*BrevEigenTransactorRaw) Transact

func (_BrevEigen *BrevEigenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BrevEigenTransactorRaw) Transfer

func (_BrevEigen *BrevEigenTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type BrevEigenTransactorSession

type BrevEigenTransactorSession struct {
	Contract     *BrevEigenTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts    // Transaction auth options to use throughout this session
}

BrevEigenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*BrevEigenTransactorSession) DeregisterOperatorFromAVS

func (_BrevEigen *BrevEigenTransactorSession) DeregisterOperatorFromAVS(operator common.Address) (*types.Transaction, error)

DeregisterOperatorFromAVS is a paid mutator transaction binding the contract method 0xa364f4da.

Solidity: function deregisterOperatorFromAVS(address operator) returns()

func (*BrevEigenTransactorSession) Initialize

func (_BrevEigen *BrevEigenTransactorSession) Initialize(_initialOwner common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address _initialOwner) returns()

func (*BrevEigenTransactorSession) RegisterOperatorToAVS

func (_BrevEigen *BrevEigenTransactorSession) RegisterOperatorToAVS(operator common.Address, operatorSignature ISignatureUtilsSignatureWithSaltAndExpiry) (*types.Transaction, error)

RegisterOperatorToAVS is a paid mutator transaction binding the contract method 0x9926ee7d.

Solidity: function registerOperatorToAVS(address operator, (bytes,bytes32,uint256) operatorSignature) returns()

func (*BrevEigenTransactorSession) RenounceOwnership

func (_BrevEigen *BrevEigenTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BrevEigenTransactorSession) SetQuorums

func (_BrevEigen *BrevEigenTransactorSession) SetQuorums(newQ []byte) (*types.Transaction, error)

SetQuorums is a paid mutator transaction binding the contract method 0x266c50a3.

Solidity: function setQuorums(bytes newQ) returns()

func (*BrevEigenTransactorSession) SetStaleStakesForbidden

func (_BrevEigen *BrevEigenTransactorSession) SetStaleStakesForbidden(value bool) (*types.Transaction, error)

SetStaleStakesForbidden is a paid mutator transaction binding the contract method 0x416c7e5e.

Solidity: function setStaleStakesForbidden(bool value) returns()

func (*BrevEigenTransactorSession) TransferOwnership

func (_BrevEigen *BrevEigenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*BrevEigenTransactorSession) UpdateAVSMetadataURI

func (_BrevEigen *BrevEigenTransactorSession) UpdateAVSMetadataURI(_metadataURI string) (*types.Transaction, error)

UpdateAVSMetadataURI is a paid mutator transaction binding the contract method 0xa98fb355.

Solidity: function updateAVSMetadataURI(string _metadataURI) returns()

func (*BrevEigenTransactorSession) VerifyRequest

func (_BrevEigen *BrevEigenTransactorSession) VerifyRequest(reqid [32]byte, blockNum uint64, nonSignerStakesAndSignature IBLSSignatureCheckerNonSignerStakesAndSignature) (*types.Transaction, error)

VerifyRequest is a paid mutator transaction binding the contract method 0xe88e7868.

Solidity: function verifyRequest(bytes32 reqid, uint64 blockNum, (uint32[],(uint256,uint256)[],(uint256,uint256)[],(uint256[2],uint256[2]),(uint256,uint256),uint32[],uint32[],uint32[][]) nonSignerStakesAndSignature) returns()

type BrevEigenVerified

type BrevEigenVerified struct {
	RequestId [32]byte
	Raw       types.Log // Blockchain specific contextual infos
}

BrevEigenVerified represents a Verified event raised by the BrevEigen contract.

type BrevEigenVerifiedIterator

type BrevEigenVerifiedIterator struct {
	Event *BrevEigenVerified // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrevEigenVerifiedIterator is returned from FilterVerified and is used to iterate over the raw logs and unpacked data for Verified events raised by the BrevEigen contract.

func (*BrevEigenVerifiedIterator) Close

func (it *BrevEigenVerifiedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrevEigenVerifiedIterator) Error

func (it *BrevEigenVerifiedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BrevEigenVerifiedIterator) Next

func (it *BrevEigenVerifiedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type Brevis

type Brevis struct {
	BrevisCaller     // Read-only binding to the contract
	BrevisTransactor // Write-only binding to the contract
	BrevisFilterer   // Log filterer for contract events
}

Brevis is an auto generated Go binding around an Ethereum contract.

func DeployBrevis

func DeployBrevis(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Brevis, error)

DeployBrevis deploys a new Ethereum contract, binding an instance of Brevis to it.

func NewBrevis

func NewBrevis(address common.Address, backend bind.ContractBackend) (*Brevis, error)

NewBrevis creates a new instance of Brevis, bound to a specific deployed contract.

type BrevisCaller

type BrevisCaller struct {
	// contains filtered or unexported fields
}

BrevisCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewBrevisCaller

func NewBrevisCaller(address common.Address, caller bind.ContractCaller) (*BrevisCaller, error)

NewBrevisCaller creates a new read-only instance of Brevis, bound to a specific deployed contract.

type BrevisCallerRaw

type BrevisCallerRaw struct {
	Contract *BrevisCaller // Generic read-only contract binding to access the raw methods on
}

BrevisCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*BrevisCallerRaw) Call

func (_Brevis *BrevisCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type BrevisCallerSession

type BrevisCallerSession struct {
	Contract *BrevisCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

BrevisCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type BrevisExtractInfos

type BrevisExtractInfos struct {
	Receipts []BrevisReceiptInfo
	Stores   []BrevisStorageInfo
	Txs      []BrevisTransactionInfo
}

BrevisExtractInfos is an auto generated low-level Go binding around an user-defined struct.

type BrevisFilterer

type BrevisFilterer struct {
	// contains filtered or unexported fields
}

BrevisFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewBrevisFilterer

func NewBrevisFilterer(address common.Address, filterer bind.ContractFilterer) (*BrevisFilterer, error)

NewBrevisFilterer creates a new log filterer instance of Brevis, bound to a specific deployed contract.

type BrevisLogInfo

type BrevisLogInfo struct {
	LogIndex        uint64
	Value           [32]byte
	ValueFromTopic  bool
	ValueIndex      uint64
	ContractAddress common.Address
	LogTopic0       [32]byte
}

BrevisLogInfo is an auto generated low-level Go binding around an user-defined struct.

type BrevisRaw

type BrevisRaw struct {
	Contract *Brevis // Generic contract binding to access the raw methods on
}

BrevisRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*BrevisRaw) Call

func (_Brevis *BrevisRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*BrevisRaw) Transact

func (_Brevis *BrevisRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BrevisRaw) Transfer

func (_Brevis *BrevisRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type BrevisReceiptInfo

type BrevisReceiptInfo struct {
	BlkNum       uint64
	ReceiptIndex uint64
	Logs         []BrevisLogInfo
}

BrevisReceiptInfo is an auto generated low-level Go binding around an user-defined struct.

type BrevisRequest

type BrevisRequest struct {
	BrevisRequestCaller     // Read-only binding to the contract
	BrevisRequestTransactor // Write-only binding to the contract
	BrevisRequestFilterer   // Log filterer for contract events
}

BrevisRequest is an auto generated Go binding around an Ethereum contract.

func DeployBrevisRequest

func DeployBrevisRequest(auth *bind.TransactOpts, backend bind.ContractBackend, _feeCollector common.Address, _brevisProof common.Address, _brevisEigen common.Address) (common.Address, *types.Transaction, *BrevisRequest, error)

DeployBrevisRequest deploys a new Ethereum contract, binding an instance of BrevisRequest to it.

func NewBrevisRequest

func NewBrevisRequest(address common.Address, backend bind.ContractBackend) (*BrevisRequest, error)

NewBrevisRequest creates a new instance of BrevisRequest, bound to a specific deployed contract.

type BrevisRequestAskFor

type BrevisRequestAskFor struct {
	RequestId [32]byte
	AskFor    uint8
	From      common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

BrevisRequestAskFor represents a AskFor event raised by the BrevisRequest contract.

type BrevisRequestAskForIterator

type BrevisRequestAskForIterator struct {
	Event *BrevisRequestAskFor // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrevisRequestAskForIterator is returned from FilterAskFor and is used to iterate over the raw logs and unpacked data for AskFor events raised by the BrevisRequest contract.

func (*BrevisRequestAskForIterator) Close

func (it *BrevisRequestAskForIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrevisRequestAskForIterator) Error

func (it *BrevisRequestAskForIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BrevisRequestAskForIterator) Next

func (it *BrevisRequestAskForIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BrevisRequestCaller

type BrevisRequestCaller struct {
	// contains filtered or unexported fields
}

BrevisRequestCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewBrevisRequestCaller

func NewBrevisRequestCaller(address common.Address, caller bind.ContractCaller) (*BrevisRequestCaller, error)

NewBrevisRequestCaller creates a new read-only instance of BrevisRequest, bound to a specific deployed contract.

func (*BrevisRequestCaller) BrevisEigen

func (_BrevisRequest *BrevisRequestCaller) BrevisEigen(opts *bind.CallOpts) (common.Address, error)

BrevisEigen is a free data retrieval call binding the contract method 0x0de4c3d7.

Solidity: function brevisEigen() view returns(address)

func (*BrevisRequestCaller) BrevisProof

func (_BrevisRequest *BrevisRequestCaller) BrevisProof(opts *bind.CallOpts) (common.Address, error)

BrevisProof is a free data retrieval call binding the contract method 0xc7f5aaa0.

Solidity: function brevisProof() view returns(address)

func (*BrevisRequestCaller) ChallengeQueryData

func (_BrevisRequest *BrevisRequestCaller) ChallengeQueryData(opts *bind.CallOpts, arg0 []byte) error

ChallengeQueryData is a free data retrieval call binding the contract method 0x2763ce8a.

Solidity: function challengeQueryData(bytes ) pure returns()

func (*BrevisRequestCaller) ChallengeWindow

func (_BrevisRequest *BrevisRequestCaller) ChallengeWindow(opts *bind.CallOpts) (*big.Int, error)

ChallengeWindow is a free data retrieval call binding the contract method 0x861a1412.

Solidity: function challengeWindow() view returns(uint256)

func (*BrevisRequestCaller) FeeCollector

func (_BrevisRequest *BrevisRequestCaller) FeeCollector(opts *bind.CallOpts) (common.Address, error)

FeeCollector is a free data retrieval call binding the contract method 0xc415b95c.

Solidity: function feeCollector() view returns(address)

func (*BrevisRequestCaller) KeccakToMimc

func (_BrevisRequest *BrevisRequestCaller) KeccakToMimc(opts *bind.CallOpts, arg0 [32]byte) ([32]byte, error)

KeccakToMimc is a free data retrieval call binding the contract method 0x95d39656.

Solidity: function keccakToMimc(bytes32 ) view returns(bytes32)

func (*BrevisRequestCaller) Owner

func (_BrevisRequest *BrevisRequestCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BrevisRequestCaller) PostProof

func (_BrevisRequest *BrevisRequestCaller) PostProof(opts *bind.CallOpts, arg0 [32]byte, arg1 uint64, arg2 []byte) error

PostProof is a free data retrieval call binding the contract method 0x61b9fd73.

Solidity: function postProof(bytes32 , uint64 , bytes ) pure returns()

func (*BrevisRequestCaller) PostQueryData

func (_BrevisRequest *BrevisRequestCaller) PostQueryData(opts *bind.CallOpts, arg0 [32]byte, arg1 []byte) error

PostQueryData is a free data retrieval call binding the contract method 0x69c228a1.

Solidity: function postQueryData(bytes32 , bytes ) pure returns()

func (*BrevisRequestCaller) QueryRequestStatus

func (_BrevisRequest *BrevisRequestCaller) QueryRequestStatus(opts *bind.CallOpts, _requestId [32]byte) (uint8, error)

QueryRequestStatus is a free data retrieval call binding the contract method 0xb6979c3e.

Solidity: function queryRequestStatus(bytes32 _requestId) view returns(uint8)

func (*BrevisRequestCaller) RequestExts

func (_BrevisRequest *BrevisRequestCaller) RequestExts(opts *bind.CallOpts, arg0 [32]byte) (struct {
	CanChallengeBefore  *big.Int
	AskFor              uint8
	ShouldRespondBefore *big.Int
}, error)

RequestExts is a free data retrieval call binding the contract method 0x00a731ed.

Solidity: function requestExts(bytes32 ) view returns(uint256 canChallengeBefore, uint8 askFor, uint256 shouldRespondBefore)

func (*BrevisRequestCaller) RequestTimeout

func (_BrevisRequest *BrevisRequestCaller) RequestTimeout(opts *bind.CallOpts) (*big.Int, error)

RequestTimeout is a free data retrieval call binding the contract method 0x3f20b4c9.

Solidity: function requestTimeout() view returns(uint256)

func (*BrevisRequestCaller) Requests

func (_BrevisRequest *BrevisRequestCaller) Requests(opts *bind.CallOpts, arg0 [32]byte) (struct {
	Deadline *big.Int
	Fee      *big.Int
	Refundee common.Address
	Callback common.Address
	Status   uint8
	Option   uint8
}, error)

Requests is a free data retrieval call binding the contract method 0x9d866985.

Solidity: function requests(bytes32 ) view returns(uint256 deadline, uint256 fee, address refundee, address callback, uint8 status, uint8 option)

func (*BrevisRequestCaller) ResponseTimeout

func (_BrevisRequest *BrevisRequestCaller) ResponseTimeout(opts *bind.CallOpts) (*big.Int, error)

ResponseTimeout is a free data retrieval call binding the contract method 0xa17ed96c.

Solidity: function responseTimeout() view returns(uint256)

type BrevisRequestCallerRaw

type BrevisRequestCallerRaw struct {
	Contract *BrevisRequestCaller // Generic read-only contract binding to access the raw methods on
}

BrevisRequestCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*BrevisRequestCallerRaw) Call

func (_BrevisRequest *BrevisRequestCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type BrevisRequestCallerSession

type BrevisRequestCallerSession struct {
	Contract *BrevisRequestCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts        // Call options to use throughout this session
}

BrevisRequestCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*BrevisRequestCallerSession) BrevisEigen

func (_BrevisRequest *BrevisRequestCallerSession) BrevisEigen() (common.Address, error)

BrevisEigen is a free data retrieval call binding the contract method 0x0de4c3d7.

Solidity: function brevisEigen() view returns(address)

func (*BrevisRequestCallerSession) BrevisProof

func (_BrevisRequest *BrevisRequestCallerSession) BrevisProof() (common.Address, error)

BrevisProof is a free data retrieval call binding the contract method 0xc7f5aaa0.

Solidity: function brevisProof() view returns(address)

func (*BrevisRequestCallerSession) ChallengeQueryData

func (_BrevisRequest *BrevisRequestCallerSession) ChallengeQueryData(arg0 []byte) error

ChallengeQueryData is a free data retrieval call binding the contract method 0x2763ce8a.

Solidity: function challengeQueryData(bytes ) pure returns()

func (*BrevisRequestCallerSession) ChallengeWindow

func (_BrevisRequest *BrevisRequestCallerSession) ChallengeWindow() (*big.Int, error)

ChallengeWindow is a free data retrieval call binding the contract method 0x861a1412.

Solidity: function challengeWindow() view returns(uint256)

func (*BrevisRequestCallerSession) FeeCollector

func (_BrevisRequest *BrevisRequestCallerSession) FeeCollector() (common.Address, error)

FeeCollector is a free data retrieval call binding the contract method 0xc415b95c.

Solidity: function feeCollector() view returns(address)

func (*BrevisRequestCallerSession) KeccakToMimc

func (_BrevisRequest *BrevisRequestCallerSession) KeccakToMimc(arg0 [32]byte) ([32]byte, error)

KeccakToMimc is a free data retrieval call binding the contract method 0x95d39656.

Solidity: function keccakToMimc(bytes32 ) view returns(bytes32)

func (*BrevisRequestCallerSession) Owner

func (_BrevisRequest *BrevisRequestCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BrevisRequestCallerSession) PostProof

func (_BrevisRequest *BrevisRequestCallerSession) PostProof(arg0 [32]byte, arg1 uint64, arg2 []byte) error

PostProof is a free data retrieval call binding the contract method 0x61b9fd73.

Solidity: function postProof(bytes32 , uint64 , bytes ) pure returns()

func (*BrevisRequestCallerSession) PostQueryData

func (_BrevisRequest *BrevisRequestCallerSession) PostQueryData(arg0 [32]byte, arg1 []byte) error

PostQueryData is a free data retrieval call binding the contract method 0x69c228a1.

Solidity: function postQueryData(bytes32 , bytes ) pure returns()

func (*BrevisRequestCallerSession) QueryRequestStatus

func (_BrevisRequest *BrevisRequestCallerSession) QueryRequestStatus(_requestId [32]byte) (uint8, error)

QueryRequestStatus is a free data retrieval call binding the contract method 0xb6979c3e.

Solidity: function queryRequestStatus(bytes32 _requestId) view returns(uint8)

func (*BrevisRequestCallerSession) RequestExts

func (_BrevisRequest *BrevisRequestCallerSession) RequestExts(arg0 [32]byte) (struct {
	CanChallengeBefore  *big.Int
	AskFor              uint8
	ShouldRespondBefore *big.Int
}, error)

RequestExts is a free data retrieval call binding the contract method 0x00a731ed.

Solidity: function requestExts(bytes32 ) view returns(uint256 canChallengeBefore, uint8 askFor, uint256 shouldRespondBefore)

func (*BrevisRequestCallerSession) RequestTimeout

func (_BrevisRequest *BrevisRequestCallerSession) RequestTimeout() (*big.Int, error)

RequestTimeout is a free data retrieval call binding the contract method 0x3f20b4c9.

Solidity: function requestTimeout() view returns(uint256)

func (*BrevisRequestCallerSession) Requests

func (_BrevisRequest *BrevisRequestCallerSession) Requests(arg0 [32]byte) (struct {
	Deadline *big.Int
	Fee      *big.Int
	Refundee common.Address
	Callback common.Address
	Status   uint8
	Option   uint8
}, error)

Requests is a free data retrieval call binding the contract method 0x9d866985.

Solidity: function requests(bytes32 ) view returns(uint256 deadline, uint256 fee, address refundee, address callback, uint8 status, uint8 option)

func (*BrevisRequestCallerSession) ResponseTimeout

func (_BrevisRequest *BrevisRequestCallerSession) ResponseTimeout() (*big.Int, error)

ResponseTimeout is a free data retrieval call binding the contract method 0xa17ed96c.

Solidity: function responseTimeout() view returns(uint256)

type BrevisRequestChallengeWindowUpdated

type BrevisRequestChallengeWindowUpdated struct {
	From *big.Int
	To   *big.Int
	Raw  types.Log // Blockchain specific contextual infos
}

BrevisRequestChallengeWindowUpdated represents a ChallengeWindowUpdated event raised by the BrevisRequest contract.

type BrevisRequestChallengeWindowUpdatedIterator

type BrevisRequestChallengeWindowUpdatedIterator struct {
	Event *BrevisRequestChallengeWindowUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrevisRequestChallengeWindowUpdatedIterator is returned from FilterChallengeWindowUpdated and is used to iterate over the raw logs and unpacked data for ChallengeWindowUpdated events raised by the BrevisRequest contract.

func (*BrevisRequestChallengeWindowUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrevisRequestChallengeWindowUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BrevisRequestChallengeWindowUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BrevisRequestFeeCollectorUpdated

type BrevisRequestFeeCollectorUpdated struct {
	From common.Address
	To   common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

BrevisRequestFeeCollectorUpdated represents a FeeCollectorUpdated event raised by the BrevisRequest contract.

type BrevisRequestFeeCollectorUpdatedIterator

type BrevisRequestFeeCollectorUpdatedIterator struct {
	Event *BrevisRequestFeeCollectorUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrevisRequestFeeCollectorUpdatedIterator is returned from FilterFeeCollectorUpdated and is used to iterate over the raw logs and unpacked data for FeeCollectorUpdated events raised by the BrevisRequest contract.

func (*BrevisRequestFeeCollectorUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrevisRequestFeeCollectorUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BrevisRequestFeeCollectorUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BrevisRequestFilterer

type BrevisRequestFilterer struct {
	// contains filtered or unexported fields
}

BrevisRequestFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewBrevisRequestFilterer

func NewBrevisRequestFilterer(address common.Address, filterer bind.ContractFilterer) (*BrevisRequestFilterer, error)

NewBrevisRequestFilterer creates a new log filterer instance of BrevisRequest, bound to a specific deployed contract.

func (*BrevisRequestFilterer) FilterAskFor

func (_BrevisRequest *BrevisRequestFilterer) FilterAskFor(opts *bind.FilterOpts, requestId [][32]byte) (*BrevisRequestAskForIterator, error)

FilterAskFor is a free log retrieval operation binding the contract event 0xe77f1579b66737e0839e75b8ee1a189f5b6b5d2e504090f76337ffde5903da3a.

Solidity: event AskFor(bytes32 indexed requestId, uint8 askFor, address from)

func (*BrevisRequestFilterer) FilterChallengeWindowUpdated

func (_BrevisRequest *BrevisRequestFilterer) FilterChallengeWindowUpdated(opts *bind.FilterOpts) (*BrevisRequestChallengeWindowUpdatedIterator, error)

FilterChallengeWindowUpdated is a free log retrieval operation binding the contract event 0xedb9338f4b0faf2b899d2d7f54b90753d2a8ebb34936e381edb91b091c3e45a7.

Solidity: event ChallengeWindowUpdated(uint256 from, uint256 to)

func (*BrevisRequestFilterer) FilterFeeCollectorUpdated

func (_BrevisRequest *BrevisRequestFilterer) FilterFeeCollectorUpdated(opts *bind.FilterOpts) (*BrevisRequestFeeCollectorUpdatedIterator, error)

FilterFeeCollectorUpdated is a free log retrieval operation binding the contract event 0x5d16ad41baeb009cd23eb8f6c7cde5c2e0cd5acf4a33926ab488875c37c37f38.

Solidity: event FeeCollectorUpdated(address from, address to)

func (*BrevisRequestFilterer) FilterOpRequestsFulfilled

func (_BrevisRequest *BrevisRequestFilterer) FilterOpRequestsFulfilled(opts *bind.FilterOpts) (*BrevisRequestOpRequestsFulfilledIterator, error)

FilterOpRequestsFulfilled is a free log retrieval operation binding the contract event 0xa1c3ef280bbac31181188d4beffe370ebae03e08d58a3aa4832b107d540c0a83.

Solidity: event OpRequestsFulfilled(bytes32[] requestIds, bytes[] queryURLs)

func (*BrevisRequestFilterer) FilterOwnershipTransferred

func (_BrevisRequest *BrevisRequestFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BrevisRequestOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BrevisRequestFilterer) FilterProofPost

func (_BrevisRequest *BrevisRequestFilterer) FilterProofPost(opts *bind.FilterOpts, requestId [][32]byte) (*BrevisRequestProofPostIterator, error)

FilterProofPost is a free log retrieval operation binding the contract event 0x799191eb766b210bea2d9052b39f21140ed9fbf3ff2fe5102fbd6bb5bc134e3e.

Solidity: event ProofPost(bytes32 indexed requestId)

func (*BrevisRequestFilterer) FilterQueryDataPost

func (_BrevisRequest *BrevisRequestFilterer) FilterQueryDataPost(opts *bind.FilterOpts, requestId [][32]byte) (*BrevisRequestQueryDataPostIterator, error)

FilterQueryDataPost is a free log retrieval operation binding the contract event 0xe4e1e2afaa20a4e7e37593d3fb41a91d496a30ea2b7ccf67a9aa9450e74af4f0.

Solidity: event QueryDataPost(bytes32 indexed requestId)

func (*BrevisRequestFilterer) FilterRequestFulfilled

func (_BrevisRequest *BrevisRequestFilterer) FilterRequestFulfilled(opts *bind.FilterOpts) (*BrevisRequestRequestFulfilledIterator, error)

FilterRequestFulfilled is a free log retrieval operation binding the contract event 0x85e1543bf2f84fe80c6badbce3648c8539ad1df4d2b3d822938ca0538be727e6.

Solidity: event RequestFulfilled(bytes32 requestId)

func (*BrevisRequestFilterer) FilterRequestRefunded

func (_BrevisRequest *BrevisRequestFilterer) FilterRequestRefunded(opts *bind.FilterOpts) (*BrevisRequestRequestRefundedIterator, error)

FilterRequestRefunded is a free log retrieval operation binding the contract event 0xfea410cb461deba9fe807dde02d6641d82e1bf09ecc88ecfa0f2ffadf2a1fdfe.

Solidity: event RequestRefunded(bytes32 requestId)

func (*BrevisRequestFilterer) FilterRequestSent

func (_BrevisRequest *BrevisRequestFilterer) FilterRequestSent(opts *bind.FilterOpts) (*BrevisRequestRequestSentIterator, error)

FilterRequestSent is a free log retrieval operation binding the contract event 0x8351e4cc62a96a972da26714bfbb019926334976bb613c36e0dc72b69cf8f564.

Solidity: event RequestSent(bytes32 requestId, address sender, uint256 fee, address callback, uint8 option)

func (*BrevisRequestFilterer) FilterRequestTimeoutUpdated

func (_BrevisRequest *BrevisRequestFilterer) FilterRequestTimeoutUpdated(opts *bind.FilterOpts) (*BrevisRequestRequestTimeoutUpdatedIterator, error)

FilterRequestTimeoutUpdated is a free log retrieval operation binding the contract event 0x87a73c061f18ffd513249d1d727921e40e348948b01e2979efb36ef4f5204a63.

Solidity: event RequestTimeoutUpdated(uint256 from, uint256 to)

func (*BrevisRequestFilterer) FilterResponseTimeoutUpdated

func (_BrevisRequest *BrevisRequestFilterer) FilterResponseTimeoutUpdated(opts *bind.FilterOpts) (*BrevisRequestResponseTimeoutUpdatedIterator, error)

FilterResponseTimeoutUpdated is a free log retrieval operation binding the contract event 0x86fe7fc31f35681a1ed77325f0cf24935a5d25b1861e7ce9ceed9cb67f222270.

Solidity: event ResponseTimeoutUpdated(uint256 from, uint256 to)

func (*BrevisRequestFilterer) ParseAskFor

func (_BrevisRequest *BrevisRequestFilterer) ParseAskFor(log types.Log) (*BrevisRequestAskFor, error)

ParseAskFor is a log parse operation binding the contract event 0xe77f1579b66737e0839e75b8ee1a189f5b6b5d2e504090f76337ffde5903da3a.

Solidity: event AskFor(bytes32 indexed requestId, uint8 askFor, address from)

func (*BrevisRequestFilterer) ParseChallengeWindowUpdated

func (_BrevisRequest *BrevisRequestFilterer) ParseChallengeWindowUpdated(log types.Log) (*BrevisRequestChallengeWindowUpdated, error)

ParseChallengeWindowUpdated is a log parse operation binding the contract event 0xedb9338f4b0faf2b899d2d7f54b90753d2a8ebb34936e381edb91b091c3e45a7.

Solidity: event ChallengeWindowUpdated(uint256 from, uint256 to)

func (*BrevisRequestFilterer) ParseFeeCollectorUpdated

func (_BrevisRequest *BrevisRequestFilterer) ParseFeeCollectorUpdated(log types.Log) (*BrevisRequestFeeCollectorUpdated, error)

ParseFeeCollectorUpdated is a log parse operation binding the contract event 0x5d16ad41baeb009cd23eb8f6c7cde5c2e0cd5acf4a33926ab488875c37c37f38.

Solidity: event FeeCollectorUpdated(address from, address to)

func (*BrevisRequestFilterer) ParseOpRequestsFulfilled

func (_BrevisRequest *BrevisRequestFilterer) ParseOpRequestsFulfilled(log types.Log) (*BrevisRequestOpRequestsFulfilled, error)

ParseOpRequestsFulfilled is a log parse operation binding the contract event 0xa1c3ef280bbac31181188d4beffe370ebae03e08d58a3aa4832b107d540c0a83.

Solidity: event OpRequestsFulfilled(bytes32[] requestIds, bytes[] queryURLs)

func (*BrevisRequestFilterer) ParseOwnershipTransferred

func (_BrevisRequest *BrevisRequestFilterer) ParseOwnershipTransferred(log types.Log) (*BrevisRequestOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BrevisRequestFilterer) ParseProofPost

func (_BrevisRequest *BrevisRequestFilterer) ParseProofPost(log types.Log) (*BrevisRequestProofPost, error)

ParseProofPost is a log parse operation binding the contract event 0x799191eb766b210bea2d9052b39f21140ed9fbf3ff2fe5102fbd6bb5bc134e3e.

Solidity: event ProofPost(bytes32 indexed requestId)

func (*BrevisRequestFilterer) ParseQueryDataPost

func (_BrevisRequest *BrevisRequestFilterer) ParseQueryDataPost(log types.Log) (*BrevisRequestQueryDataPost, error)

ParseQueryDataPost is a log parse operation binding the contract event 0xe4e1e2afaa20a4e7e37593d3fb41a91d496a30ea2b7ccf67a9aa9450e74af4f0.

Solidity: event QueryDataPost(bytes32 indexed requestId)

func (*BrevisRequestFilterer) ParseRequestFulfilled

func (_BrevisRequest *BrevisRequestFilterer) ParseRequestFulfilled(log types.Log) (*BrevisRequestRequestFulfilled, error)

ParseRequestFulfilled is a log parse operation binding the contract event 0x85e1543bf2f84fe80c6badbce3648c8539ad1df4d2b3d822938ca0538be727e6.

Solidity: event RequestFulfilled(bytes32 requestId)

func (*BrevisRequestFilterer) ParseRequestRefunded

func (_BrevisRequest *BrevisRequestFilterer) ParseRequestRefunded(log types.Log) (*BrevisRequestRequestRefunded, error)

ParseRequestRefunded is a log parse operation binding the contract event 0xfea410cb461deba9fe807dde02d6641d82e1bf09ecc88ecfa0f2ffadf2a1fdfe.

Solidity: event RequestRefunded(bytes32 requestId)

func (*BrevisRequestFilterer) ParseRequestSent

func (_BrevisRequest *BrevisRequestFilterer) ParseRequestSent(log types.Log) (*BrevisRequestRequestSent, error)

ParseRequestSent is a log parse operation binding the contract event 0x8351e4cc62a96a972da26714bfbb019926334976bb613c36e0dc72b69cf8f564.

Solidity: event RequestSent(bytes32 requestId, address sender, uint256 fee, address callback, uint8 option)

func (*BrevisRequestFilterer) ParseRequestTimeoutUpdated

func (_BrevisRequest *BrevisRequestFilterer) ParseRequestTimeoutUpdated(log types.Log) (*BrevisRequestRequestTimeoutUpdated, error)

ParseRequestTimeoutUpdated is a log parse operation binding the contract event 0x87a73c061f18ffd513249d1d727921e40e348948b01e2979efb36ef4f5204a63.

Solidity: event RequestTimeoutUpdated(uint256 from, uint256 to)

func (*BrevisRequestFilterer) ParseResponseTimeoutUpdated

func (_BrevisRequest *BrevisRequestFilterer) ParseResponseTimeoutUpdated(log types.Log) (*BrevisRequestResponseTimeoutUpdated, error)

ParseResponseTimeoutUpdated is a log parse operation binding the contract event 0x86fe7fc31f35681a1ed77325f0cf24935a5d25b1861e7ce9ceed9cb67f222270.

Solidity: event ResponseTimeoutUpdated(uint256 from, uint256 to)

func (*BrevisRequestFilterer) WatchAskFor

func (_BrevisRequest *BrevisRequestFilterer) WatchAskFor(opts *bind.WatchOpts, sink chan<- *BrevisRequestAskFor, requestId [][32]byte) (event.Subscription, error)

WatchAskFor is a free log subscription operation binding the contract event 0xe77f1579b66737e0839e75b8ee1a189f5b6b5d2e504090f76337ffde5903da3a.

Solidity: event AskFor(bytes32 indexed requestId, uint8 askFor, address from)

func (*BrevisRequestFilterer) WatchChallengeWindowUpdated

func (_BrevisRequest *BrevisRequestFilterer) WatchChallengeWindowUpdated(opts *bind.WatchOpts, sink chan<- *BrevisRequestChallengeWindowUpdated) (event.Subscription, error)

WatchChallengeWindowUpdated is a free log subscription operation binding the contract event 0xedb9338f4b0faf2b899d2d7f54b90753d2a8ebb34936e381edb91b091c3e45a7.

Solidity: event ChallengeWindowUpdated(uint256 from, uint256 to)

func (*BrevisRequestFilterer) WatchFeeCollectorUpdated

func (_BrevisRequest *BrevisRequestFilterer) WatchFeeCollectorUpdated(opts *bind.WatchOpts, sink chan<- *BrevisRequestFeeCollectorUpdated) (event.Subscription, error)

WatchFeeCollectorUpdated is a free log subscription operation binding the contract event 0x5d16ad41baeb009cd23eb8f6c7cde5c2e0cd5acf4a33926ab488875c37c37f38.

Solidity: event FeeCollectorUpdated(address from, address to)

func (*BrevisRequestFilterer) WatchOpRequestsFulfilled

func (_BrevisRequest *BrevisRequestFilterer) WatchOpRequestsFulfilled(opts *bind.WatchOpts, sink chan<- *BrevisRequestOpRequestsFulfilled) (event.Subscription, error)

WatchOpRequestsFulfilled is a free log subscription operation binding the contract event 0xa1c3ef280bbac31181188d4beffe370ebae03e08d58a3aa4832b107d540c0a83.

Solidity: event OpRequestsFulfilled(bytes32[] requestIds, bytes[] queryURLs)

func (*BrevisRequestFilterer) WatchOwnershipTransferred

func (_BrevisRequest *BrevisRequestFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BrevisRequestOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BrevisRequestFilterer) WatchProofPost

func (_BrevisRequest *BrevisRequestFilterer) WatchProofPost(opts *bind.WatchOpts, sink chan<- *BrevisRequestProofPost, requestId [][32]byte) (event.Subscription, error)

WatchProofPost is a free log subscription operation binding the contract event 0x799191eb766b210bea2d9052b39f21140ed9fbf3ff2fe5102fbd6bb5bc134e3e.

Solidity: event ProofPost(bytes32 indexed requestId)

func (*BrevisRequestFilterer) WatchQueryDataPost

func (_BrevisRequest *BrevisRequestFilterer) WatchQueryDataPost(opts *bind.WatchOpts, sink chan<- *BrevisRequestQueryDataPost, requestId [][32]byte) (event.Subscription, error)

WatchQueryDataPost is a free log subscription operation binding the contract event 0xe4e1e2afaa20a4e7e37593d3fb41a91d496a30ea2b7ccf67a9aa9450e74af4f0.

Solidity: event QueryDataPost(bytes32 indexed requestId)

func (*BrevisRequestFilterer) WatchRequestFulfilled

func (_BrevisRequest *BrevisRequestFilterer) WatchRequestFulfilled(opts *bind.WatchOpts, sink chan<- *BrevisRequestRequestFulfilled) (event.Subscription, error)

WatchRequestFulfilled is a free log subscription operation binding the contract event 0x85e1543bf2f84fe80c6badbce3648c8539ad1df4d2b3d822938ca0538be727e6.

Solidity: event RequestFulfilled(bytes32 requestId)

func (*BrevisRequestFilterer) WatchRequestRefunded

func (_BrevisRequest *BrevisRequestFilterer) WatchRequestRefunded(opts *bind.WatchOpts, sink chan<- *BrevisRequestRequestRefunded) (event.Subscription, error)

WatchRequestRefunded is a free log subscription operation binding the contract event 0xfea410cb461deba9fe807dde02d6641d82e1bf09ecc88ecfa0f2ffadf2a1fdfe.

Solidity: event RequestRefunded(bytes32 requestId)

func (*BrevisRequestFilterer) WatchRequestSent

func (_BrevisRequest *BrevisRequestFilterer) WatchRequestSent(opts *bind.WatchOpts, sink chan<- *BrevisRequestRequestSent) (event.Subscription, error)

WatchRequestSent is a free log subscription operation binding the contract event 0x8351e4cc62a96a972da26714bfbb019926334976bb613c36e0dc72b69cf8f564.

Solidity: event RequestSent(bytes32 requestId, address sender, uint256 fee, address callback, uint8 option)

func (*BrevisRequestFilterer) WatchRequestTimeoutUpdated

func (_BrevisRequest *BrevisRequestFilterer) WatchRequestTimeoutUpdated(opts *bind.WatchOpts, sink chan<- *BrevisRequestRequestTimeoutUpdated) (event.Subscription, error)

WatchRequestTimeoutUpdated is a free log subscription operation binding the contract event 0x87a73c061f18ffd513249d1d727921e40e348948b01e2979efb36ef4f5204a63.

Solidity: event RequestTimeoutUpdated(uint256 from, uint256 to)

func (*BrevisRequestFilterer) WatchResponseTimeoutUpdated

func (_BrevisRequest *BrevisRequestFilterer) WatchResponseTimeoutUpdated(opts *bind.WatchOpts, sink chan<- *BrevisRequestResponseTimeoutUpdated) (event.Subscription, error)

WatchResponseTimeoutUpdated is a free log subscription operation binding the contract event 0x86fe7fc31f35681a1ed77325f0cf24935a5d25b1861e7ce9ceed9cb67f222270.

Solidity: event ResponseTimeoutUpdated(uint256 from, uint256 to)

type BrevisRequestOpRequestsFulfilled

type BrevisRequestOpRequestsFulfilled struct {
	RequestIds [][32]byte
	QueryURLs  [][]byte
	Raw        types.Log // Blockchain specific contextual infos
}

BrevisRequestOpRequestsFulfilled represents a OpRequestsFulfilled event raised by the BrevisRequest contract.

type BrevisRequestOpRequestsFulfilledIterator

type BrevisRequestOpRequestsFulfilledIterator struct {
	Event *BrevisRequestOpRequestsFulfilled // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrevisRequestOpRequestsFulfilledIterator is returned from FilterOpRequestsFulfilled and is used to iterate over the raw logs and unpacked data for OpRequestsFulfilled events raised by the BrevisRequest contract.

func (*BrevisRequestOpRequestsFulfilledIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrevisRequestOpRequestsFulfilledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BrevisRequestOpRequestsFulfilledIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BrevisRequestOwnershipTransferred

type BrevisRequestOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

BrevisRequestOwnershipTransferred represents a OwnershipTransferred event raised by the BrevisRequest contract.

type BrevisRequestOwnershipTransferredIterator

type BrevisRequestOwnershipTransferredIterator struct {
	Event *BrevisRequestOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrevisRequestOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the BrevisRequest contract.

func (*BrevisRequestOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrevisRequestOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BrevisRequestOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BrevisRequestProofPost

type BrevisRequestProofPost struct {
	RequestId [32]byte
	Raw       types.Log // Blockchain specific contextual infos
}

BrevisRequestProofPost represents a ProofPost event raised by the BrevisRequest contract.

type BrevisRequestProofPostIterator

type BrevisRequestProofPostIterator struct {
	Event *BrevisRequestProofPost // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrevisRequestProofPostIterator is returned from FilterProofPost and is used to iterate over the raw logs and unpacked data for ProofPost events raised by the BrevisRequest contract.

func (*BrevisRequestProofPostIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrevisRequestProofPostIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BrevisRequestProofPostIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BrevisRequestQueryDataPost

type BrevisRequestQueryDataPost struct {
	RequestId [32]byte
	Raw       types.Log // Blockchain specific contextual infos
}

BrevisRequestQueryDataPost represents a QueryDataPost event raised by the BrevisRequest contract.

type BrevisRequestQueryDataPostIterator

type BrevisRequestQueryDataPostIterator struct {
	Event *BrevisRequestQueryDataPost // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrevisRequestQueryDataPostIterator is returned from FilterQueryDataPost and is used to iterate over the raw logs and unpacked data for QueryDataPost events raised by the BrevisRequest contract.

func (*BrevisRequestQueryDataPostIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrevisRequestQueryDataPostIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BrevisRequestQueryDataPostIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BrevisRequestRaw

type BrevisRequestRaw struct {
	Contract *BrevisRequest // Generic contract binding to access the raw methods on
}

BrevisRequestRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*BrevisRequestRaw) Call

func (_BrevisRequest *BrevisRequestRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*BrevisRequestRaw) Transact

func (_BrevisRequest *BrevisRequestRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BrevisRequestRaw) Transfer

func (_BrevisRequest *BrevisRequestRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type BrevisRequestRequestFulfilled

type BrevisRequestRequestFulfilled struct {
	RequestId [32]byte
	Raw       types.Log // Blockchain specific contextual infos
}

BrevisRequestRequestFulfilled represents a RequestFulfilled event raised by the BrevisRequest contract.

type BrevisRequestRequestFulfilledIterator

type BrevisRequestRequestFulfilledIterator struct {
	Event *BrevisRequestRequestFulfilled // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrevisRequestRequestFulfilledIterator is returned from FilterRequestFulfilled and is used to iterate over the raw logs and unpacked data for RequestFulfilled events raised by the BrevisRequest contract.

func (*BrevisRequestRequestFulfilledIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrevisRequestRequestFulfilledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BrevisRequestRequestFulfilledIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BrevisRequestRequestRefunded

type BrevisRequestRequestRefunded struct {
	RequestId [32]byte
	Raw       types.Log // Blockchain specific contextual infos
}

BrevisRequestRequestRefunded represents a RequestRefunded event raised by the BrevisRequest contract.

type BrevisRequestRequestRefundedIterator

type BrevisRequestRequestRefundedIterator struct {
	Event *BrevisRequestRequestRefunded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrevisRequestRequestRefundedIterator is returned from FilterRequestRefunded and is used to iterate over the raw logs and unpacked data for RequestRefunded events raised by the BrevisRequest contract.

func (*BrevisRequestRequestRefundedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrevisRequestRequestRefundedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BrevisRequestRequestRefundedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BrevisRequestRequestSent

type BrevisRequestRequestSent struct {
	RequestId [32]byte
	Sender    common.Address
	Fee       *big.Int
	Callback  common.Address
	Option    uint8
	Raw       types.Log // Blockchain specific contextual infos
}

BrevisRequestRequestSent represents a RequestSent event raised by the BrevisRequest contract.

type BrevisRequestRequestSentIterator

type BrevisRequestRequestSentIterator struct {
	Event *BrevisRequestRequestSent // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrevisRequestRequestSentIterator is returned from FilterRequestSent and is used to iterate over the raw logs and unpacked data for RequestSent events raised by the BrevisRequest contract.

func (*BrevisRequestRequestSentIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrevisRequestRequestSentIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BrevisRequestRequestSentIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BrevisRequestRequestTimeoutUpdated

type BrevisRequestRequestTimeoutUpdated struct {
	From *big.Int
	To   *big.Int
	Raw  types.Log // Blockchain specific contextual infos
}

BrevisRequestRequestTimeoutUpdated represents a RequestTimeoutUpdated event raised by the BrevisRequest contract.

type BrevisRequestRequestTimeoutUpdatedIterator

type BrevisRequestRequestTimeoutUpdatedIterator struct {
	Event *BrevisRequestRequestTimeoutUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrevisRequestRequestTimeoutUpdatedIterator is returned from FilterRequestTimeoutUpdated and is used to iterate over the raw logs and unpacked data for RequestTimeoutUpdated events raised by the BrevisRequest contract.

func (*BrevisRequestRequestTimeoutUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrevisRequestRequestTimeoutUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BrevisRequestRequestTimeoutUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BrevisRequestResponseTimeoutUpdated

type BrevisRequestResponseTimeoutUpdated struct {
	From *big.Int
	To   *big.Int
	Raw  types.Log // Blockchain specific contextual infos
}

BrevisRequestResponseTimeoutUpdated represents a ResponseTimeoutUpdated event raised by the BrevisRequest contract.

type BrevisRequestResponseTimeoutUpdatedIterator

type BrevisRequestResponseTimeoutUpdatedIterator struct {
	Event *BrevisRequestResponseTimeoutUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BrevisRequestResponseTimeoutUpdatedIterator is returned from FilterResponseTimeoutUpdated and is used to iterate over the raw logs and unpacked data for ResponseTimeoutUpdated events raised by the BrevisRequest contract.

func (*BrevisRequestResponseTimeoutUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BrevisRequestResponseTimeoutUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BrevisRequestResponseTimeoutUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BrevisRequestSession

type BrevisRequestSession struct {
	Contract     *BrevisRequest    // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

BrevisRequestSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*BrevisRequestSession) AskForProof

func (_BrevisRequest *BrevisRequestSession) AskForProof(arg0 [32]byte) (*types.Transaction, error)

AskForProof is a paid mutator transaction binding the contract method 0x6db03b1d.

Solidity: function askForProof(bytes32 ) payable returns()

func (*BrevisRequestSession) AskForQueryData

func (_BrevisRequest *BrevisRequestSession) AskForQueryData(arg0 [32]byte) (*types.Transaction, error)

AskForQueryData is a paid mutator transaction binding the contract method 0xa4514ff3.

Solidity: function askForQueryData(bytes32 ) payable returns()

func (*BrevisRequestSession) BrevisEigen

func (_BrevisRequest *BrevisRequestSession) BrevisEigen() (common.Address, error)

BrevisEigen is a free data retrieval call binding the contract method 0x0de4c3d7.

Solidity: function brevisEigen() view returns(address)

func (*BrevisRequestSession) BrevisProof

func (_BrevisRequest *BrevisRequestSession) BrevisProof() (common.Address, error)

BrevisProof is a free data retrieval call binding the contract method 0xc7f5aaa0.

Solidity: function brevisProof() view returns(address)

func (*BrevisRequestSession) ChallengeQueryData

func (_BrevisRequest *BrevisRequestSession) ChallengeQueryData(arg0 []byte) error

ChallengeQueryData is a free data retrieval call binding the contract method 0x2763ce8a.

Solidity: function challengeQueryData(bytes ) pure returns()

func (*BrevisRequestSession) ChallengeWindow

func (_BrevisRequest *BrevisRequestSession) ChallengeWindow() (*big.Int, error)

ChallengeWindow is a free data retrieval call binding the contract method 0x861a1412.

Solidity: function challengeWindow() view returns(uint256)

func (*BrevisRequestSession) CollectFee

func (_BrevisRequest *BrevisRequestSession) CollectFee(_amount *big.Int, _to common.Address) (*types.Transaction, error)

CollectFee is a paid mutator transaction binding the contract method 0x7ff7b0d2.

Solidity: function collectFee(uint256 _amount, address _to) returns()

func (*BrevisRequestSession) FeeCollector

func (_BrevisRequest *BrevisRequestSession) FeeCollector() (common.Address, error)

FeeCollector is a free data retrieval call binding the contract method 0xc415b95c.

Solidity: function feeCollector() view returns(address)

func (*BrevisRequestSession) FulfillOpRequests

func (_BrevisRequest *BrevisRequestSession) FulfillOpRequests(_requestIds [][32]byte, _queryURLs [][]byte) (*types.Transaction, error)

FulfillOpRequests is a paid mutator transaction binding the contract method 0x32e7ed81.

Solidity: function fulfillOpRequests(bytes32[] _requestIds, bytes[] _queryURLs) returns()

func (*BrevisRequestSession) FulfillRequest

func (_BrevisRequest *BrevisRequestSession) FulfillRequest(_requestId [32]byte, _chainId uint64, _proof []byte, _appCircuitOutput []byte) (*types.Transaction, error)

FulfillRequest is a paid mutator transaction binding the contract method 0xda03667a.

Solidity: function fulfillRequest(bytes32 _requestId, uint64 _chainId, bytes _proof, bytes _appCircuitOutput) returns()

func (*BrevisRequestSession) KeccakToMimc

func (_BrevisRequest *BrevisRequestSession) KeccakToMimc(arg0 [32]byte) ([32]byte, error)

KeccakToMimc is a free data retrieval call binding the contract method 0x95d39656.

Solidity: function keccakToMimc(bytes32 ) view returns(bytes32)

func (*BrevisRequestSession) Owner

func (_BrevisRequest *BrevisRequestSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BrevisRequestSession) PostProof

func (_BrevisRequest *BrevisRequestSession) PostProof(arg0 [32]byte, arg1 uint64, arg2 []byte) error

PostProof is a free data retrieval call binding the contract method 0x61b9fd73.

Solidity: function postProof(bytes32 , uint64 , bytes ) pure returns()

func (*BrevisRequestSession) PostQueryData

func (_BrevisRequest *BrevisRequestSession) PostQueryData(arg0 [32]byte, arg1 []byte) error

PostQueryData is a free data retrieval call binding the contract method 0x69c228a1.

Solidity: function postQueryData(bytes32 , bytes ) pure returns()

func (*BrevisRequestSession) QueryRequestStatus

func (_BrevisRequest *BrevisRequestSession) QueryRequestStatus(_requestId [32]byte) (uint8, error)

QueryRequestStatus is a free data retrieval call binding the contract method 0xb6979c3e.

Solidity: function queryRequestStatus(bytes32 _requestId) view returns(uint8)

func (*BrevisRequestSession) Receive

func (_BrevisRequest *BrevisRequestSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*BrevisRequestSession) Refund

func (_BrevisRequest *BrevisRequestSession) Refund(_requestId [32]byte) (*types.Transaction, error)

Refund is a paid mutator transaction binding the contract method 0x7249fbb6.

Solidity: function refund(bytes32 _requestId) returns()

func (*BrevisRequestSession) RequestExts

func (_BrevisRequest *BrevisRequestSession) RequestExts(arg0 [32]byte) (struct {
	CanChallengeBefore  *big.Int
	AskFor              uint8
	ShouldRespondBefore *big.Int
}, error)

RequestExts is a free data retrieval call binding the contract method 0x00a731ed.

Solidity: function requestExts(bytes32 ) view returns(uint256 canChallengeBefore, uint8 askFor, uint256 shouldRespondBefore)

func (*BrevisRequestSession) RequestTimeout

func (_BrevisRequest *BrevisRequestSession) RequestTimeout() (*big.Int, error)

RequestTimeout is a free data retrieval call binding the contract method 0x3f20b4c9.

Solidity: function requestTimeout() view returns(uint256)

func (*BrevisRequestSession) Requests

func (_BrevisRequest *BrevisRequestSession) Requests(arg0 [32]byte) (struct {
	Deadline *big.Int
	Fee      *big.Int
	Refundee common.Address
	Callback common.Address
	Status   uint8
	Option   uint8
}, error)

Requests is a free data retrieval call binding the contract method 0x9d866985.

Solidity: function requests(bytes32 ) view returns(uint256 deadline, uint256 fee, address refundee, address callback, uint8 status, uint8 option)

func (*BrevisRequestSession) ResponseTimeout

func (_BrevisRequest *BrevisRequestSession) ResponseTimeout() (*big.Int, error)

ResponseTimeout is a free data retrieval call binding the contract method 0xa17ed96c.

Solidity: function responseTimeout() view returns(uint256)

func (*BrevisRequestSession) SendRequest

func (_BrevisRequest *BrevisRequestSession) SendRequest(_requestId [32]byte, _refundee common.Address, _callback common.Address, _option uint8) (*types.Transaction, error)

SendRequest is a paid mutator transaction binding the contract method 0xf2a9c666.

Solidity: function sendRequest(bytes32 _requestId, address _refundee, address _callback, uint8 _option) payable returns()

func (*BrevisRequestSession) SetBrevisEigen

func (_BrevisRequest *BrevisRequestSession) SetBrevisEigen(_brevisEigen common.Address) (*types.Transaction, error)

SetBrevisEigen is a paid mutator transaction binding the contract method 0x2d85fa20.

Solidity: function setBrevisEigen(address _brevisEigen) returns()

func (*BrevisRequestSession) SetChallengeWindow

func (_BrevisRequest *BrevisRequestSession) SetChallengeWindow(_challengeWindow *big.Int) (*types.Transaction, error)

SetChallengeWindow is a paid mutator transaction binding the contract method 0x01c1aa0d.

Solidity: function setChallengeWindow(uint256 _challengeWindow) returns()

func (*BrevisRequestSession) SetFeeCollector

func (_BrevisRequest *BrevisRequestSession) SetFeeCollector(_feeCollector common.Address) (*types.Transaction, error)

SetFeeCollector is a paid mutator transaction binding the contract method 0xa42dce80.

Solidity: function setFeeCollector(address _feeCollector) returns()

func (*BrevisRequestSession) SetRequestTimeout

func (_BrevisRequest *BrevisRequestSession) SetRequestTimeout(_timeout *big.Int) (*types.Transaction, error)

SetRequestTimeout is a paid mutator transaction binding the contract method 0x622b6af4.

Solidity: function setRequestTimeout(uint256 _timeout) returns()

func (*BrevisRequestSession) SetResponseTimeout

func (_BrevisRequest *BrevisRequestSession) SetResponseTimeout(_responseTimeout *big.Int) (*types.Transaction, error)

SetResponseTimeout is a paid mutator transaction binding the contract method 0x69dc1903.

Solidity: function setResponseTimeout(uint256 _responseTimeout) returns()

func (*BrevisRequestSession) TransferOwnership

func (_BrevisRequest *BrevisRequestSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type BrevisRequestTransactor

type BrevisRequestTransactor struct {
	// contains filtered or unexported fields
}

BrevisRequestTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewBrevisRequestTransactor

func NewBrevisRequestTransactor(address common.Address, transactor bind.ContractTransactor) (*BrevisRequestTransactor, error)

NewBrevisRequestTransactor creates a new write-only instance of BrevisRequest, bound to a specific deployed contract.

func (*BrevisRequestTransactor) AskForProof

func (_BrevisRequest *BrevisRequestTransactor) AskForProof(opts *bind.TransactOpts, arg0 [32]byte) (*types.Transaction, error)

AskForProof is a paid mutator transaction binding the contract method 0x6db03b1d.

Solidity: function askForProof(bytes32 ) payable returns()

func (*BrevisRequestTransactor) AskForQueryData

func (_BrevisRequest *BrevisRequestTransactor) AskForQueryData(opts *bind.TransactOpts, arg0 [32]byte) (*types.Transaction, error)

AskForQueryData is a paid mutator transaction binding the contract method 0xa4514ff3.

Solidity: function askForQueryData(bytes32 ) payable returns()

func (*BrevisRequestTransactor) CollectFee

func (_BrevisRequest *BrevisRequestTransactor) CollectFee(opts *bind.TransactOpts, _amount *big.Int, _to common.Address) (*types.Transaction, error)

CollectFee is a paid mutator transaction binding the contract method 0x7ff7b0d2.

Solidity: function collectFee(uint256 _amount, address _to) returns()

func (*BrevisRequestTransactor) FulfillOpRequests

func (_BrevisRequest *BrevisRequestTransactor) FulfillOpRequests(opts *bind.TransactOpts, _requestIds [][32]byte, _queryURLs [][]byte) (*types.Transaction, error)

FulfillOpRequests is a paid mutator transaction binding the contract method 0x32e7ed81.

Solidity: function fulfillOpRequests(bytes32[] _requestIds, bytes[] _queryURLs) returns()

func (*BrevisRequestTransactor) FulfillRequest

func (_BrevisRequest *BrevisRequestTransactor) FulfillRequest(opts *bind.TransactOpts, _requestId [32]byte, _chainId uint64, _proof []byte, _appCircuitOutput []byte) (*types.Transaction, error)

FulfillRequest is a paid mutator transaction binding the contract method 0xda03667a.

Solidity: function fulfillRequest(bytes32 _requestId, uint64 _chainId, bytes _proof, bytes _appCircuitOutput) returns()

func (*BrevisRequestTransactor) Receive

func (_BrevisRequest *BrevisRequestTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*BrevisRequestTransactor) Refund

func (_BrevisRequest *BrevisRequestTransactor) Refund(opts *bind.TransactOpts, _requestId [32]byte) (*types.Transaction, error)

Refund is a paid mutator transaction binding the contract method 0x7249fbb6.

Solidity: function refund(bytes32 _requestId) returns()

func (*BrevisRequestTransactor) SendRequest

func (_BrevisRequest *BrevisRequestTransactor) SendRequest(opts *bind.TransactOpts, _requestId [32]byte, _refundee common.Address, _callback common.Address, _option uint8) (*types.Transaction, error)

SendRequest is a paid mutator transaction binding the contract method 0xf2a9c666.

Solidity: function sendRequest(bytes32 _requestId, address _refundee, address _callback, uint8 _option) payable returns()

func (*BrevisRequestTransactor) SetBrevisEigen

func (_BrevisRequest *BrevisRequestTransactor) SetBrevisEigen(opts *bind.TransactOpts, _brevisEigen common.Address) (*types.Transaction, error)

SetBrevisEigen is a paid mutator transaction binding the contract method 0x2d85fa20.

Solidity: function setBrevisEigen(address _brevisEigen) returns()

func (*BrevisRequestTransactor) SetChallengeWindow

func (_BrevisRequest *BrevisRequestTransactor) SetChallengeWindow(opts *bind.TransactOpts, _challengeWindow *big.Int) (*types.Transaction, error)

SetChallengeWindow is a paid mutator transaction binding the contract method 0x01c1aa0d.

Solidity: function setChallengeWindow(uint256 _challengeWindow) returns()

func (*BrevisRequestTransactor) SetFeeCollector

func (_BrevisRequest *BrevisRequestTransactor) SetFeeCollector(opts *bind.TransactOpts, _feeCollector common.Address) (*types.Transaction, error)

SetFeeCollector is a paid mutator transaction binding the contract method 0xa42dce80.

Solidity: function setFeeCollector(address _feeCollector) returns()

func (*BrevisRequestTransactor) SetRequestTimeout

func (_BrevisRequest *BrevisRequestTransactor) SetRequestTimeout(opts *bind.TransactOpts, _timeout *big.Int) (*types.Transaction, error)

SetRequestTimeout is a paid mutator transaction binding the contract method 0x622b6af4.

Solidity: function setRequestTimeout(uint256 _timeout) returns()

func (*BrevisRequestTransactor) SetResponseTimeout

func (_BrevisRequest *BrevisRequestTransactor) SetResponseTimeout(opts *bind.TransactOpts, _responseTimeout *big.Int) (*types.Transaction, error)

SetResponseTimeout is a paid mutator transaction binding the contract method 0x69dc1903.

Solidity: function setResponseTimeout(uint256 _responseTimeout) returns()

func (*BrevisRequestTransactor) TransferOwnership

func (_BrevisRequest *BrevisRequestTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type BrevisRequestTransactorRaw

type BrevisRequestTransactorRaw struct {
	Contract *BrevisRequestTransactor // Generic write-only contract binding to access the raw methods on
}

BrevisRequestTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*BrevisRequestTransactorRaw) Transact

func (_BrevisRequest *BrevisRequestTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BrevisRequestTransactorRaw) Transfer

func (_BrevisRequest *BrevisRequestTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type BrevisRequestTransactorSession

type BrevisRequestTransactorSession struct {
	Contract     *BrevisRequestTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts        // Transaction auth options to use throughout this session
}

BrevisRequestTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*BrevisRequestTransactorSession) AskForProof

func (_BrevisRequest *BrevisRequestTransactorSession) AskForProof(arg0 [32]byte) (*types.Transaction, error)

AskForProof is a paid mutator transaction binding the contract method 0x6db03b1d.

Solidity: function askForProof(bytes32 ) payable returns()

func (*BrevisRequestTransactorSession) AskForQueryData

func (_BrevisRequest *BrevisRequestTransactorSession) AskForQueryData(arg0 [32]byte) (*types.Transaction, error)

AskForQueryData is a paid mutator transaction binding the contract method 0xa4514ff3.

Solidity: function askForQueryData(bytes32 ) payable returns()

func (*BrevisRequestTransactorSession) CollectFee

func (_BrevisRequest *BrevisRequestTransactorSession) CollectFee(_amount *big.Int, _to common.Address) (*types.Transaction, error)

CollectFee is a paid mutator transaction binding the contract method 0x7ff7b0d2.

Solidity: function collectFee(uint256 _amount, address _to) returns()

func (*BrevisRequestTransactorSession) FulfillOpRequests

func (_BrevisRequest *BrevisRequestTransactorSession) FulfillOpRequests(_requestIds [][32]byte, _queryURLs [][]byte) (*types.Transaction, error)

FulfillOpRequests is a paid mutator transaction binding the contract method 0x32e7ed81.

Solidity: function fulfillOpRequests(bytes32[] _requestIds, bytes[] _queryURLs) returns()

func (*BrevisRequestTransactorSession) FulfillRequest

func (_BrevisRequest *BrevisRequestTransactorSession) FulfillRequest(_requestId [32]byte, _chainId uint64, _proof []byte, _appCircuitOutput []byte) (*types.Transaction, error)

FulfillRequest is a paid mutator transaction binding the contract method 0xda03667a.

Solidity: function fulfillRequest(bytes32 _requestId, uint64 _chainId, bytes _proof, bytes _appCircuitOutput) returns()

func (*BrevisRequestTransactorSession) Receive

func (_BrevisRequest *BrevisRequestTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*BrevisRequestTransactorSession) Refund

func (_BrevisRequest *BrevisRequestTransactorSession) Refund(_requestId [32]byte) (*types.Transaction, error)

Refund is a paid mutator transaction binding the contract method 0x7249fbb6.

Solidity: function refund(bytes32 _requestId) returns()

func (*BrevisRequestTransactorSession) SendRequest

func (_BrevisRequest *BrevisRequestTransactorSession) SendRequest(_requestId [32]byte, _refundee common.Address, _callback common.Address, _option uint8) (*types.Transaction, error)

SendRequest is a paid mutator transaction binding the contract method 0xf2a9c666.

Solidity: function sendRequest(bytes32 _requestId, address _refundee, address _callback, uint8 _option) payable returns()

func (*BrevisRequestTransactorSession) SetBrevisEigen

func (_BrevisRequest *BrevisRequestTransactorSession) SetBrevisEigen(_brevisEigen common.Address) (*types.Transaction, error)

SetBrevisEigen is a paid mutator transaction binding the contract method 0x2d85fa20.

Solidity: function setBrevisEigen(address _brevisEigen) returns()

func (*BrevisRequestTransactorSession) SetChallengeWindow

func (_BrevisRequest *BrevisRequestTransactorSession) SetChallengeWindow(_challengeWindow *big.Int) (*types.Transaction, error)

SetChallengeWindow is a paid mutator transaction binding the contract method 0x01c1aa0d.

Solidity: function setChallengeWindow(uint256 _challengeWindow) returns()

func (*BrevisRequestTransactorSession) SetFeeCollector

func (_BrevisRequest *BrevisRequestTransactorSession) SetFeeCollector(_feeCollector common.Address) (*types.Transaction, error)

SetFeeCollector is a paid mutator transaction binding the contract method 0xa42dce80.

Solidity: function setFeeCollector(address _feeCollector) returns()

func (*BrevisRequestTransactorSession) SetRequestTimeout

func (_BrevisRequest *BrevisRequestTransactorSession) SetRequestTimeout(_timeout *big.Int) (*types.Transaction, error)

SetRequestTimeout is a paid mutator transaction binding the contract method 0x622b6af4.

Solidity: function setRequestTimeout(uint256 _timeout) returns()

func (*BrevisRequestTransactorSession) SetResponseTimeout

func (_BrevisRequest *BrevisRequestTransactorSession) SetResponseTimeout(_responseTimeout *big.Int) (*types.Transaction, error)

SetResponseTimeout is a paid mutator transaction binding the contract method 0x69dc1903.

Solidity: function setResponseTimeout(uint256 _responseTimeout) returns()

func (*BrevisRequestTransactorSession) TransferOwnership

func (_BrevisRequest *BrevisRequestTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type BrevisSession

type BrevisSession struct {
	Contract     *Brevis           // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

BrevisSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

type BrevisStorageInfo

type BrevisStorageInfo struct {
	BlockHash   [32]byte
	Account     common.Address
	Slot        [32]byte
	SlotValue   [32]byte
	BlockNumber uint64
}

BrevisStorageInfo is an auto generated low-level Go binding around an user-defined struct.

type BrevisTransactionInfo

type BrevisTransactionInfo struct {
	TxHash          [32]byte
	HashOfRawTxData [32]byte
	BlockHash       [32]byte
	BlockNumber     uint64
}

BrevisTransactionInfo is an auto generated low-level Go binding around an user-defined struct.

type BrevisTransactor

type BrevisTransactor struct {
	// contains filtered or unexported fields
}

BrevisTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewBrevisTransactor

func NewBrevisTransactor(address common.Address, transactor bind.ContractTransactor) (*BrevisTransactor, error)

NewBrevisTransactor creates a new write-only instance of Brevis, bound to a specific deployed contract.

type BrevisTransactorRaw

type BrevisTransactorRaw struct {
	Contract *BrevisTransactor // Generic write-only contract binding to access the raw methods on
}

BrevisTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*BrevisTransactorRaw) Transact

func (_Brevis *BrevisTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BrevisTransactorRaw) Transfer

func (_Brevis *BrevisTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type BrevisTransactorSession

type BrevisTransactorSession struct {
	Contract     *BrevisTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

BrevisTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type DB

type DB struct {
	*gorp.DbMap
}

func NewDB

func NewDB() *DB

func (*DB) Close

func (dal *DB) Close()

func (*DB) GetAllOpPubKeys

func (db *DB) GetAllOpPubKeys() ([]*OpAddrPubKeyBO, error)

func (*DB) GetBlsApkStartBlk

func (db *DB) GetBlsApkStartBlk() (uint64, error)

func (*DB) GetToBeFulfilledQueries

func (db *DB) GetToBeFulfilledQueries(period time.Duration) ([]*Query, error)

func (*DB) SaveOpPubKey

func (db *DB) SaveOpPubKey(pubkeyBO *OpAddrPubKeyBO) error

func (*DB) SelectQuery

func (db *DB) SelectQuery(hash string, targetChainId uint64) (*Query, error)

func (*DB) UpdateBlsApkStartBlk

func (db *DB) UpdateBlsApkStartBlk(blk uint64) error

type FeeVault

type FeeVault struct {
	FeeVaultCaller     // Read-only binding to the contract
	FeeVaultTransactor // Write-only binding to the contract
	FeeVaultFilterer   // Log filterer for contract events
}

FeeVault is an auto generated Go binding around an Ethereum contract.

func DeployFeeVault

func DeployFeeVault(auth *bind.TransactOpts, backend bind.ContractBackend, _feeCollector common.Address) (common.Address, *types.Transaction, *FeeVault, error)

DeployFeeVault deploys a new Ethereum contract, binding an instance of FeeVault to it.

func NewFeeVault

func NewFeeVault(address common.Address, backend bind.ContractBackend) (*FeeVault, error)

NewFeeVault creates a new instance of FeeVault, bound to a specific deployed contract.

type FeeVaultCaller

type FeeVaultCaller struct {
	// contains filtered or unexported fields
}

FeeVaultCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewFeeVaultCaller

func NewFeeVaultCaller(address common.Address, caller bind.ContractCaller) (*FeeVaultCaller, error)

NewFeeVaultCaller creates a new read-only instance of FeeVault, bound to a specific deployed contract.

func (*FeeVaultCaller) FeeCollector

func (_FeeVault *FeeVaultCaller) FeeCollector(opts *bind.CallOpts) (common.Address, error)

FeeCollector is a free data retrieval call binding the contract method 0xc415b95c.

Solidity: function feeCollector() view returns(address)

func (*FeeVaultCaller) Owner

func (_FeeVault *FeeVaultCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

type FeeVaultCallerRaw

type FeeVaultCallerRaw struct {
	Contract *FeeVaultCaller // Generic read-only contract binding to access the raw methods on
}

FeeVaultCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*FeeVaultCallerRaw) Call

func (_FeeVault *FeeVaultCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type FeeVaultCallerSession

type FeeVaultCallerSession struct {
	Contract *FeeVaultCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts   // Call options to use throughout this session
}

FeeVaultCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*FeeVaultCallerSession) FeeCollector

func (_FeeVault *FeeVaultCallerSession) FeeCollector() (common.Address, error)

FeeCollector is a free data retrieval call binding the contract method 0xc415b95c.

Solidity: function feeCollector() view returns(address)

func (*FeeVaultCallerSession) Owner

func (_FeeVault *FeeVaultCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

type FeeVaultFeeCollectorUpdated

type FeeVaultFeeCollectorUpdated struct {
	From common.Address
	To   common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

FeeVaultFeeCollectorUpdated represents a FeeCollectorUpdated event raised by the FeeVault contract.

type FeeVaultFeeCollectorUpdatedIterator

type FeeVaultFeeCollectorUpdatedIterator struct {
	Event *FeeVaultFeeCollectorUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

FeeVaultFeeCollectorUpdatedIterator is returned from FilterFeeCollectorUpdated and is used to iterate over the raw logs and unpacked data for FeeCollectorUpdated events raised by the FeeVault contract.

func (*FeeVaultFeeCollectorUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*FeeVaultFeeCollectorUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FeeVaultFeeCollectorUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type FeeVaultFilterer

type FeeVaultFilterer struct {
	// contains filtered or unexported fields
}

FeeVaultFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewFeeVaultFilterer

func NewFeeVaultFilterer(address common.Address, filterer bind.ContractFilterer) (*FeeVaultFilterer, error)

NewFeeVaultFilterer creates a new log filterer instance of FeeVault, bound to a specific deployed contract.

func (*FeeVaultFilterer) FilterFeeCollectorUpdated

func (_FeeVault *FeeVaultFilterer) FilterFeeCollectorUpdated(opts *bind.FilterOpts) (*FeeVaultFeeCollectorUpdatedIterator, error)

FilterFeeCollectorUpdated is a free log retrieval operation binding the contract event 0x5d16ad41baeb009cd23eb8f6c7cde5c2e0cd5acf4a33926ab488875c37c37f38.

Solidity: event FeeCollectorUpdated(address from, address to)

func (*FeeVaultFilterer) FilterOwnershipTransferred

func (_FeeVault *FeeVaultFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*FeeVaultOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*FeeVaultFilterer) ParseFeeCollectorUpdated

func (_FeeVault *FeeVaultFilterer) ParseFeeCollectorUpdated(log types.Log) (*FeeVaultFeeCollectorUpdated, error)

ParseFeeCollectorUpdated is a log parse operation binding the contract event 0x5d16ad41baeb009cd23eb8f6c7cde5c2e0cd5acf4a33926ab488875c37c37f38.

Solidity: event FeeCollectorUpdated(address from, address to)

func (*FeeVaultFilterer) ParseOwnershipTransferred

func (_FeeVault *FeeVaultFilterer) ParseOwnershipTransferred(log types.Log) (*FeeVaultOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*FeeVaultFilterer) WatchFeeCollectorUpdated

func (_FeeVault *FeeVaultFilterer) WatchFeeCollectorUpdated(opts *bind.WatchOpts, sink chan<- *FeeVaultFeeCollectorUpdated) (event.Subscription, error)

WatchFeeCollectorUpdated is a free log subscription operation binding the contract event 0x5d16ad41baeb009cd23eb8f6c7cde5c2e0cd5acf4a33926ab488875c37c37f38.

Solidity: event FeeCollectorUpdated(address from, address to)

func (*FeeVaultFilterer) WatchOwnershipTransferred

func (_FeeVault *FeeVaultFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *FeeVaultOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

type FeeVaultOwnershipTransferred

type FeeVaultOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

FeeVaultOwnershipTransferred represents a OwnershipTransferred event raised by the FeeVault contract.

type FeeVaultOwnershipTransferredIterator

type FeeVaultOwnershipTransferredIterator struct {
	Event *FeeVaultOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

FeeVaultOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the FeeVault contract.

func (*FeeVaultOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*FeeVaultOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FeeVaultOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type FeeVaultRaw

type FeeVaultRaw struct {
	Contract *FeeVault // Generic contract binding to access the raw methods on
}

FeeVaultRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*FeeVaultRaw) Call

func (_FeeVault *FeeVaultRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*FeeVaultRaw) Transact

func (_FeeVault *FeeVaultRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*FeeVaultRaw) Transfer

func (_FeeVault *FeeVaultRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type FeeVaultSession

type FeeVaultSession struct {
	Contract     *FeeVault         // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

FeeVaultSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*FeeVaultSession) CollectFee

func (_FeeVault *FeeVaultSession) CollectFee(_amount *big.Int, _to common.Address) (*types.Transaction, error)

CollectFee is a paid mutator transaction binding the contract method 0x7ff7b0d2.

Solidity: function collectFee(uint256 _amount, address _to) returns()

func (*FeeVaultSession) FeeCollector

func (_FeeVault *FeeVaultSession) FeeCollector() (common.Address, error)

FeeCollector is a free data retrieval call binding the contract method 0xc415b95c.

Solidity: function feeCollector() view returns(address)

func (*FeeVaultSession) Owner

func (_FeeVault *FeeVaultSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*FeeVaultSession) Receive

func (_FeeVault *FeeVaultSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*FeeVaultSession) SetFeeCollector

func (_FeeVault *FeeVaultSession) SetFeeCollector(_feeCollector common.Address) (*types.Transaction, error)

SetFeeCollector is a paid mutator transaction binding the contract method 0xa42dce80.

Solidity: function setFeeCollector(address _feeCollector) returns()

func (*FeeVaultSession) TransferOwnership

func (_FeeVault *FeeVaultSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type FeeVaultTransactor

type FeeVaultTransactor struct {
	// contains filtered or unexported fields
}

FeeVaultTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewFeeVaultTransactor

func NewFeeVaultTransactor(address common.Address, transactor bind.ContractTransactor) (*FeeVaultTransactor, error)

NewFeeVaultTransactor creates a new write-only instance of FeeVault, bound to a specific deployed contract.

func (*FeeVaultTransactor) CollectFee

func (_FeeVault *FeeVaultTransactor) CollectFee(opts *bind.TransactOpts, _amount *big.Int, _to common.Address) (*types.Transaction, error)

CollectFee is a paid mutator transaction binding the contract method 0x7ff7b0d2.

Solidity: function collectFee(uint256 _amount, address _to) returns()

func (*FeeVaultTransactor) Receive

func (_FeeVault *FeeVaultTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*FeeVaultTransactor) SetFeeCollector

func (_FeeVault *FeeVaultTransactor) SetFeeCollector(opts *bind.TransactOpts, _feeCollector common.Address) (*types.Transaction, error)

SetFeeCollector is a paid mutator transaction binding the contract method 0xa42dce80.

Solidity: function setFeeCollector(address _feeCollector) returns()

func (*FeeVaultTransactor) TransferOwnership

func (_FeeVault *FeeVaultTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type FeeVaultTransactorRaw

type FeeVaultTransactorRaw struct {
	Contract *FeeVaultTransactor // Generic write-only contract binding to access the raw methods on
}

FeeVaultTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*FeeVaultTransactorRaw) Transact

func (_FeeVault *FeeVaultTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*FeeVaultTransactorRaw) Transfer

func (_FeeVault *FeeVaultTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type FeeVaultTransactorSession

type FeeVaultTransactorSession struct {
	Contract     *FeeVaultTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts   // Transaction auth options to use throughout this session
}

FeeVaultTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*FeeVaultTransactorSession) CollectFee

func (_FeeVault *FeeVaultTransactorSession) CollectFee(_amount *big.Int, _to common.Address) (*types.Transaction, error)

CollectFee is a paid mutator transaction binding the contract method 0x7ff7b0d2.

Solidity: function collectFee(uint256 _amount, address _to) returns()

func (*FeeVaultTransactorSession) Receive

func (_FeeVault *FeeVaultTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*FeeVaultTransactorSession) SetFeeCollector

func (_FeeVault *FeeVaultTransactorSession) SetFeeCollector(_feeCollector common.Address) (*types.Transaction, error)

SetFeeCollector is a paid mutator transaction binding the contract method 0xa42dce80.

Solidity: function setFeeCollector(address _feeCollector) returns()

func (*FeeVaultTransactorSession) TransferOwnership

func (_FeeVault *FeeVaultTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type IBLSSignatureCheckerNonSignerStakesAndSignature

type IBLSSignatureCheckerNonSignerStakesAndSignature struct {
	NonSignerQuorumBitmapIndices []uint32
	NonSignerPubkeys             []BN254G1Point
	QuorumApks                   []BN254G1Point
	ApkG2                        BN254G2Point
	Sigma                        BN254G1Point
	QuorumApkIndices             []uint32
	TotalStakeIndices            []uint32
	NonSignerStakeIndices        [][]uint32
}

IBLSSignatureCheckerNonSignerStakesAndSignature is an auto generated low-level Go binding around an user-defined struct.

type IBLSSignatureCheckerQuorumStakeTotals

type IBLSSignatureCheckerQuorumStakeTotals struct {
	SignedStakeForQuorum []*big.Int
	TotalStakeForQuorum  []*big.Int
}

IBLSSignatureCheckerQuorumStakeTotals is an auto generated low-level Go binding around an user-defined struct.

type IBrevisApp

type IBrevisApp struct {
	IBrevisAppCaller     // Read-only binding to the contract
	IBrevisAppTransactor // Write-only binding to the contract
	IBrevisAppFilterer   // Log filterer for contract events
}

IBrevisApp is an auto generated Go binding around an Ethereum contract.

func NewIBrevisApp

func NewIBrevisApp(address common.Address, backend bind.ContractBackend) (*IBrevisApp, error)

NewIBrevisApp creates a new instance of IBrevisApp, bound to a specific deployed contract.

type IBrevisAppCaller

type IBrevisAppCaller struct {
	// contains filtered or unexported fields
}

IBrevisAppCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewIBrevisAppCaller

func NewIBrevisAppCaller(address common.Address, caller bind.ContractCaller) (*IBrevisAppCaller, error)

NewIBrevisAppCaller creates a new read-only instance of IBrevisApp, bound to a specific deployed contract.

type IBrevisAppCallerRaw

type IBrevisAppCallerRaw struct {
	Contract *IBrevisAppCaller // Generic read-only contract binding to access the raw methods on
}

IBrevisAppCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*IBrevisAppCallerRaw) Call

func (_IBrevisApp *IBrevisAppCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type IBrevisAppCallerSession

type IBrevisAppCallerSession struct {
	Contract *IBrevisAppCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts     // Call options to use throughout this session
}

IBrevisAppCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type IBrevisAppFilterer

type IBrevisAppFilterer struct {
	// contains filtered or unexported fields
}

IBrevisAppFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewIBrevisAppFilterer

func NewIBrevisAppFilterer(address common.Address, filterer bind.ContractFilterer) (*IBrevisAppFilterer, error)

NewIBrevisAppFilterer creates a new log filterer instance of IBrevisApp, bound to a specific deployed contract.

type IBrevisAppRaw

type IBrevisAppRaw struct {
	Contract *IBrevisApp // Generic contract binding to access the raw methods on
}

IBrevisAppRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*IBrevisAppRaw) Call

func (_IBrevisApp *IBrevisAppRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*IBrevisAppRaw) Transact

func (_IBrevisApp *IBrevisAppRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IBrevisAppRaw) Transfer

func (_IBrevisApp *IBrevisAppRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IBrevisAppSession

type IBrevisAppSession struct {
	Contract     *IBrevisApp       // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

IBrevisAppSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*IBrevisAppSession) BrevisCallback

func (_IBrevisApp *IBrevisAppSession) BrevisCallback(_requestId [32]byte, _appCircuitOutput []byte) (*types.Transaction, error)

BrevisCallback is a paid mutator transaction binding the contract method 0x79d6b6a2.

Solidity: function brevisCallback(bytes32 _requestId, bytes _appCircuitOutput) returns()

type IBrevisAppTransactor

type IBrevisAppTransactor struct {
	// contains filtered or unexported fields
}

IBrevisAppTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewIBrevisAppTransactor

func NewIBrevisAppTransactor(address common.Address, transactor bind.ContractTransactor) (*IBrevisAppTransactor, error)

NewIBrevisAppTransactor creates a new write-only instance of IBrevisApp, bound to a specific deployed contract.

func (*IBrevisAppTransactor) BrevisCallback

func (_IBrevisApp *IBrevisAppTransactor) BrevisCallback(opts *bind.TransactOpts, _requestId [32]byte, _appCircuitOutput []byte) (*types.Transaction, error)

BrevisCallback is a paid mutator transaction binding the contract method 0x79d6b6a2.

Solidity: function brevisCallback(bytes32 _requestId, bytes _appCircuitOutput) returns()

type IBrevisAppTransactorRaw

type IBrevisAppTransactorRaw struct {
	Contract *IBrevisAppTransactor // Generic write-only contract binding to access the raw methods on
}

IBrevisAppTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*IBrevisAppTransactorRaw) Transact

func (_IBrevisApp *IBrevisAppTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IBrevisAppTransactorRaw) Transfer

func (_IBrevisApp *IBrevisAppTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IBrevisAppTransactorSession

type IBrevisAppTransactorSession struct {
	Contract     *IBrevisAppTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts     // Transaction auth options to use throughout this session
}

IBrevisAppTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*IBrevisAppTransactorSession) BrevisCallback

func (_IBrevisApp *IBrevisAppTransactorSession) BrevisCallback(_requestId [32]byte, _appCircuitOutput []byte) (*types.Transaction, error)

BrevisCallback is a paid mutator transaction binding the contract method 0x79d6b6a2.

Solidity: function brevisCallback(bytes32 _requestId, bytes _appCircuitOutput) returns()

type IBrevisEigen

type IBrevisEigen struct {
	IBrevisEigenCaller     // Read-only binding to the contract
	IBrevisEigenTransactor // Write-only binding to the contract
	IBrevisEigenFilterer   // Log filterer for contract events
}

IBrevisEigen is an auto generated Go binding around an Ethereum contract.

func NewIBrevisEigen

func NewIBrevisEigen(address common.Address, backend bind.ContractBackend) (*IBrevisEigen, error)

NewIBrevisEigen creates a new instance of IBrevisEigen, bound to a specific deployed contract.

type IBrevisEigenCaller

type IBrevisEigenCaller struct {
	// contains filtered or unexported fields
}

IBrevisEigenCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewIBrevisEigenCaller

func NewIBrevisEigenCaller(address common.Address, caller bind.ContractCaller) (*IBrevisEigenCaller, error)

NewIBrevisEigenCaller creates a new read-only instance of IBrevisEigen, bound to a specific deployed contract.

type IBrevisEigenCallerRaw

type IBrevisEigenCallerRaw struct {
	Contract *IBrevisEigenCaller // Generic read-only contract binding to access the raw methods on
}

IBrevisEigenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*IBrevisEigenCallerRaw) Call

func (_IBrevisEigen *IBrevisEigenCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type IBrevisEigenCallerSession

type IBrevisEigenCallerSession struct {
	Contract *IBrevisEigenCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts       // Call options to use throughout this session
}

IBrevisEigenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type IBrevisEigenFilterer

type IBrevisEigenFilterer struct {
	// contains filtered or unexported fields
}

IBrevisEigenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewIBrevisEigenFilterer

func NewIBrevisEigenFilterer(address common.Address, filterer bind.ContractFilterer) (*IBrevisEigenFilterer, error)

NewIBrevisEigenFilterer creates a new log filterer instance of IBrevisEigen, bound to a specific deployed contract.

type IBrevisEigenRaw

type IBrevisEigenRaw struct {
	Contract *IBrevisEigen // Generic contract binding to access the raw methods on
}

IBrevisEigenRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*IBrevisEigenRaw) Call

func (_IBrevisEigen *IBrevisEigenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*IBrevisEigenRaw) Transact

func (_IBrevisEigen *IBrevisEigenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IBrevisEigenRaw) Transfer

func (_IBrevisEigen *IBrevisEigenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IBrevisEigenSession

type IBrevisEigenSession struct {
	Contract     *IBrevisEigen     // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

IBrevisEigenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*IBrevisEigenSession) MustVerified

func (_IBrevisEigen *IBrevisEigenSession) MustVerified(reqIds [][32]byte) (*types.Transaction, error)

MustVerified is a paid mutator transaction binding the contract method 0xd1e34715.

Solidity: function mustVerified(bytes32[] reqIds) returns()

type IBrevisEigenTransactor

type IBrevisEigenTransactor struct {
	// contains filtered or unexported fields
}

IBrevisEigenTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewIBrevisEigenTransactor

func NewIBrevisEigenTransactor(address common.Address, transactor bind.ContractTransactor) (*IBrevisEigenTransactor, error)

NewIBrevisEigenTransactor creates a new write-only instance of IBrevisEigen, bound to a specific deployed contract.

func (*IBrevisEigenTransactor) MustVerified

func (_IBrevisEigen *IBrevisEigenTransactor) MustVerified(opts *bind.TransactOpts, reqIds [][32]byte) (*types.Transaction, error)

MustVerified is a paid mutator transaction binding the contract method 0xd1e34715.

Solidity: function mustVerified(bytes32[] reqIds) returns()

type IBrevisEigenTransactorRaw

type IBrevisEigenTransactorRaw struct {
	Contract *IBrevisEigenTransactor // Generic write-only contract binding to access the raw methods on
}

IBrevisEigenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*IBrevisEigenTransactorRaw) Transact

func (_IBrevisEigen *IBrevisEigenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IBrevisEigenTransactorRaw) Transfer

func (_IBrevisEigen *IBrevisEigenTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IBrevisEigenTransactorSession

type IBrevisEigenTransactorSession struct {
	Contract     *IBrevisEigenTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts       // Transaction auth options to use throughout this session
}

IBrevisEigenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*IBrevisEigenTransactorSession) MustVerified

func (_IBrevisEigen *IBrevisEigenTransactorSession) MustVerified(reqIds [][32]byte) (*types.Transaction, error)

MustVerified is a paid mutator transaction binding the contract method 0xd1e34715.

Solidity: function mustVerified(bytes32[] reqIds) returns()

type IBrevisProof

type IBrevisProof struct {
	IBrevisProofCaller     // Read-only binding to the contract
	IBrevisProofTransactor // Write-only binding to the contract
	IBrevisProofFilterer   // Log filterer for contract events
}

IBrevisProof is an auto generated Go binding around an Ethereum contract.

func NewIBrevisProof

func NewIBrevisProof(address common.Address, backend bind.ContractBackend) (*IBrevisProof, error)

NewIBrevisProof creates a new instance of IBrevisProof, bound to a specific deployed contract.

type IBrevisProofCaller

type IBrevisProofCaller struct {
	// contains filtered or unexported fields
}

IBrevisProofCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewIBrevisProofCaller

func NewIBrevisProofCaller(address common.Address, caller bind.ContractCaller) (*IBrevisProofCaller, error)

NewIBrevisProofCaller creates a new read-only instance of IBrevisProof, bound to a specific deployed contract.

func (*IBrevisProofCaller) GetProofAppData

func (_IBrevisProof *IBrevisProofCaller) GetProofAppData(opts *bind.CallOpts, _requestId [32]byte) ([32]byte, [32]byte, error)

GetProofAppData is a free data retrieval call binding the contract method 0x5984fb92.

Solidity: function getProofAppData(bytes32 _requestId) view returns(bytes32, bytes32)

func (*IBrevisProofCaller) HasProof

func (_IBrevisProof *IBrevisProofCaller) HasProof(opts *bind.CallOpts, _requestId [32]byte) (bool, error)

HasProof is a free data retrieval call binding the contract method 0xe3d1e6d6.

Solidity: function hasProof(bytes32 _requestId) view returns(bool)

func (*IBrevisProofCaller) ValidateOpRequest

func (_IBrevisProof *IBrevisProofCaller) ValidateOpRequest(opts *bind.CallOpts, _requestId [32]byte, _chainId uint64, _info BrevisExtractInfos) error

ValidateOpRequest is a free data retrieval call binding the contract method 0x2792d466.

Solidity: function validateOpRequest(bytes32 _requestId, uint64 _chainId, ((uint64,uint64,(uint64,bytes32,bool,uint64,address,bytes32)[])[],(bytes32,address,bytes32,bytes32,uint64)[],(bytes32,bytes32,bytes32,uint64)[]) _info) view returns()

type IBrevisProofCallerRaw

type IBrevisProofCallerRaw struct {
	Contract *IBrevisProofCaller // Generic read-only contract binding to access the raw methods on
}

IBrevisProofCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*IBrevisProofCallerRaw) Call

func (_IBrevisProof *IBrevisProofCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type IBrevisProofCallerSession

type IBrevisProofCallerSession struct {
	Contract *IBrevisProofCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts       // Call options to use throughout this session
}

IBrevisProofCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*IBrevisProofCallerSession) GetProofAppData

func (_IBrevisProof *IBrevisProofCallerSession) GetProofAppData(_requestId [32]byte) ([32]byte, [32]byte, error)

GetProofAppData is a free data retrieval call binding the contract method 0x5984fb92.

Solidity: function getProofAppData(bytes32 _requestId) view returns(bytes32, bytes32)

func (*IBrevisProofCallerSession) HasProof

func (_IBrevisProof *IBrevisProofCallerSession) HasProof(_requestId [32]byte) (bool, error)

HasProof is a free data retrieval call binding the contract method 0xe3d1e6d6.

Solidity: function hasProof(bytes32 _requestId) view returns(bool)

func (*IBrevisProofCallerSession) ValidateOpRequest

func (_IBrevisProof *IBrevisProofCallerSession) ValidateOpRequest(_requestId [32]byte, _chainId uint64, _info BrevisExtractInfos) error

ValidateOpRequest is a free data retrieval call binding the contract method 0x2792d466.

Solidity: function validateOpRequest(bytes32 _requestId, uint64 _chainId, ((uint64,uint64,(uint64,bytes32,bool,uint64,address,bytes32)[])[],(bytes32,address,bytes32,bytes32,uint64)[],(bytes32,bytes32,bytes32,uint64)[]) _info) view returns()

type IBrevisProofFilterer

type IBrevisProofFilterer struct {
	// contains filtered or unexported fields
}

IBrevisProofFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewIBrevisProofFilterer

func NewIBrevisProofFilterer(address common.Address, filterer bind.ContractFilterer) (*IBrevisProofFilterer, error)

NewIBrevisProofFilterer creates a new log filterer instance of IBrevisProof, bound to a specific deployed contract.

type IBrevisProofRaw

type IBrevisProofRaw struct {
	Contract *IBrevisProof // Generic contract binding to access the raw methods on
}

IBrevisProofRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*IBrevisProofRaw) Call

func (_IBrevisProof *IBrevisProofRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*IBrevisProofRaw) Transact

func (_IBrevisProof *IBrevisProofRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IBrevisProofRaw) Transfer

func (_IBrevisProof *IBrevisProofRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IBrevisProofSession

type IBrevisProofSession struct {
	Contract     *IBrevisProof     // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

IBrevisProofSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*IBrevisProofSession) GetProofAppData

func (_IBrevisProof *IBrevisProofSession) GetProofAppData(_requestId [32]byte) ([32]byte, [32]byte, error)

GetProofAppData is a free data retrieval call binding the contract method 0x5984fb92.

Solidity: function getProofAppData(bytes32 _requestId) view returns(bytes32, bytes32)

func (*IBrevisProofSession) HasProof

func (_IBrevisProof *IBrevisProofSession) HasProof(_requestId [32]byte) (bool, error)

HasProof is a free data retrieval call binding the contract method 0xe3d1e6d6.

Solidity: function hasProof(bytes32 _requestId) view returns(bool)

func (*IBrevisProofSession) SubmitOpResult

func (_IBrevisProof *IBrevisProofSession) SubmitOpResult(_requestId [32]byte) (*types.Transaction, error)

SubmitOpResult is a paid mutator transaction binding the contract method 0xe26d07d3.

Solidity: function submitOpResult(bytes32 _requestId) returns()

func (*IBrevisProofSession) SubmitProof

func (_IBrevisProof *IBrevisProofSession) SubmitProof(_chainId uint64, _proofWithPubInputs []byte) (*types.Transaction, error)

SubmitProof is a paid mutator transaction binding the contract method 0xe0440953.

Solidity: function submitProof(uint64 _chainId, bytes _proofWithPubInputs) returns(bytes32 _requestId)

func (*IBrevisProofSession) ValidateOpRequest

func (_IBrevisProof *IBrevisProofSession) ValidateOpRequest(_requestId [32]byte, _chainId uint64, _info BrevisExtractInfos) error

ValidateOpRequest is a free data retrieval call binding the contract method 0x2792d466.

Solidity: function validateOpRequest(bytes32 _requestId, uint64 _chainId, ((uint64,uint64,(uint64,bytes32,bool,uint64,address,bytes32)[])[],(bytes32,address,bytes32,bytes32,uint64)[],(bytes32,bytes32,bytes32,uint64)[]) _info) view returns()

type IBrevisProofTransactor

type IBrevisProofTransactor struct {
	// contains filtered or unexported fields
}

IBrevisProofTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewIBrevisProofTransactor

func NewIBrevisProofTransactor(address common.Address, transactor bind.ContractTransactor) (*IBrevisProofTransactor, error)

NewIBrevisProofTransactor creates a new write-only instance of IBrevisProof, bound to a specific deployed contract.

func (*IBrevisProofTransactor) SubmitOpResult

func (_IBrevisProof *IBrevisProofTransactor) SubmitOpResult(opts *bind.TransactOpts, _requestId [32]byte) (*types.Transaction, error)

SubmitOpResult is a paid mutator transaction binding the contract method 0xe26d07d3.

Solidity: function submitOpResult(bytes32 _requestId) returns()

func (*IBrevisProofTransactor) SubmitProof

func (_IBrevisProof *IBrevisProofTransactor) SubmitProof(opts *bind.TransactOpts, _chainId uint64, _proofWithPubInputs []byte) (*types.Transaction, error)

SubmitProof is a paid mutator transaction binding the contract method 0xe0440953.

Solidity: function submitProof(uint64 _chainId, bytes _proofWithPubInputs) returns(bytes32 _requestId)

type IBrevisProofTransactorRaw

type IBrevisProofTransactorRaw struct {
	Contract *IBrevisProofTransactor // Generic write-only contract binding to access the raw methods on
}

IBrevisProofTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*IBrevisProofTransactorRaw) Transact

func (_IBrevisProof *IBrevisProofTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IBrevisProofTransactorRaw) Transfer

func (_IBrevisProof *IBrevisProofTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IBrevisProofTransactorSession

type IBrevisProofTransactorSession struct {
	Contract     *IBrevisProofTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts       // Transaction auth options to use throughout this session
}

IBrevisProofTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*IBrevisProofTransactorSession) SubmitOpResult

func (_IBrevisProof *IBrevisProofTransactorSession) SubmitOpResult(_requestId [32]byte) (*types.Transaction, error)

SubmitOpResult is a paid mutator transaction binding the contract method 0xe26d07d3.

Solidity: function submitOpResult(bytes32 _requestId) returns()

func (*IBrevisProofTransactorSession) SubmitProof

func (_IBrevisProof *IBrevisProofTransactorSession) SubmitProof(_chainId uint64, _proofWithPubInputs []byte) (*types.Transaction, error)

SubmitProof is a paid mutator transaction binding the contract method 0xe0440953.

Solidity: function submitProof(uint64 _chainId, bytes _proofWithPubInputs) returns(bytes32 _requestId)

type IERC20

type IERC20 struct {
	IERC20Caller     // Read-only binding to the contract
	IERC20Transactor // Write-only binding to the contract
	IERC20Filterer   // Log filterer for contract events
}

IERC20 is an auto generated Go binding around an Ethereum contract.

func NewIERC20

func NewIERC20(address common.Address, backend bind.ContractBackend) (*IERC20, error)

NewIERC20 creates a new instance of IERC20, bound to a specific deployed contract.

type IERC20Approval

type IERC20Approval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

IERC20Approval represents a Approval event raised by the IERC20 contract.

type IERC20ApprovalIterator

type IERC20ApprovalIterator struct {
	Event *IERC20Approval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the IERC20 contract.

func (*IERC20ApprovalIterator) Close

func (it *IERC20ApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*IERC20ApprovalIterator) Error

func (it *IERC20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC20ApprovalIterator) Next

func (it *IERC20ApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IERC20Caller

type IERC20Caller struct {
	// contains filtered or unexported fields
}

IERC20Caller is an auto generated read-only Go binding around an Ethereum contract.

func NewIERC20Caller

func NewIERC20Caller(address common.Address, caller bind.ContractCaller) (*IERC20Caller, error)

NewIERC20Caller creates a new read-only instance of IERC20, bound to a specific deployed contract.

func (*IERC20Caller) Allowance

func (_IERC20 *IERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*IERC20Caller) BalanceOf

func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*IERC20Caller) TotalSupply

func (_IERC20 *IERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type IERC20CallerRaw

type IERC20CallerRaw struct {
	Contract *IERC20Caller // Generic read-only contract binding to access the raw methods on
}

IERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*IERC20CallerRaw) Call

func (_IERC20 *IERC20CallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type IERC20CallerSession

type IERC20CallerSession struct {
	Contract *IERC20Caller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

IERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*IERC20CallerSession) Allowance

func (_IERC20 *IERC20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*IERC20CallerSession) BalanceOf

func (_IERC20 *IERC20CallerSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*IERC20CallerSession) TotalSupply

func (_IERC20 *IERC20CallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type IERC20Filterer

type IERC20Filterer struct {
	// contains filtered or unexported fields
}

IERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewIERC20Filterer

func NewIERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*IERC20Filterer, error)

NewIERC20Filterer creates a new log filterer instance of IERC20, bound to a specific deployed contract.

func (*IERC20Filterer) FilterApproval

func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IERC20Filterer) FilterTransfer

func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IERC20Filterer) ParseApproval

func (_IERC20 *IERC20Filterer) ParseApproval(log types.Log) (*IERC20Approval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IERC20Filterer) ParseTransfer

func (_IERC20 *IERC20Filterer) ParseTransfer(log types.Log) (*IERC20Transfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IERC20Filterer) WatchApproval

func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IERC20Filterer) WatchTransfer

func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type IERC20Raw

type IERC20Raw struct {
	Contract *IERC20 // Generic contract binding to access the raw methods on
}

IERC20Raw is an auto generated low-level Go binding around an Ethereum contract.

func (*IERC20Raw) Call

func (_IERC20 *IERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*IERC20Raw) Transact

func (_IERC20 *IERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IERC20Raw) Transfer

func (_IERC20 *IERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IERC20Session

type IERC20Session struct {
	Contract     *IERC20           // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

IERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*IERC20Session) Allowance

func (_IERC20 *IERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*IERC20Session) Approve

func (_IERC20 *IERC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IERC20Session) BalanceOf

func (_IERC20 *IERC20Session) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*IERC20Session) TotalSupply

func (_IERC20 *IERC20Session) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*IERC20Session) Transfer

func (_IERC20 *IERC20Session) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*IERC20Session) TransferFrom

func (_IERC20 *IERC20Session) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type IERC20Transactor

type IERC20Transactor struct {
	// contains filtered or unexported fields
}

IERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.

func NewIERC20Transactor

func NewIERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*IERC20Transactor, error)

NewIERC20Transactor creates a new write-only instance of IERC20, bound to a specific deployed contract.

func (*IERC20Transactor) Approve

func (_IERC20 *IERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IERC20Transactor) Transfer

func (_IERC20 *IERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*IERC20Transactor) TransferFrom

func (_IERC20 *IERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type IERC20TransactorRaw

type IERC20TransactorRaw struct {
	Contract *IERC20Transactor // Generic write-only contract binding to access the raw methods on
}

IERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*IERC20TransactorRaw) Transact

func (_IERC20 *IERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IERC20TransactorRaw) Transfer

func (_IERC20 *IERC20TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IERC20TransactorSession

type IERC20TransactorSession struct {
	Contract     *IERC20Transactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

IERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*IERC20TransactorSession) Approve

func (_IERC20 *IERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*IERC20TransactorSession) Transfer

func (_IERC20 *IERC20TransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*IERC20TransactorSession) TransferFrom

func (_IERC20 *IERC20TransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type IERC20Transfer

type IERC20Transfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

IERC20Transfer represents a Transfer event raised by the IERC20 contract.

type IERC20TransferIterator

type IERC20TransferIterator struct {
	Event *IERC20Transfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the IERC20 contract.

func (*IERC20TransferIterator) Close

func (it *IERC20TransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*IERC20TransferIterator) Error

func (it *IERC20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC20TransferIterator) Next

func (it *IERC20TransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ISignatureUtilsSignatureWithSaltAndExpiry

type ISignatureUtilsSignatureWithSaltAndExpiry struct {
	Signature []byte
	Salt      [32]byte
	Expiry    *big.Int
}

ISignatureUtilsSignatureWithSaltAndExpiry is an auto generated low-level Go binding around an user-defined struct.

type LogInfo

type LogInfo struct {
	LogIndex         uint64
	Value            [32]byte
	IsValueFromTopic bool
	ValueIndex       uint64
	ContractAddr     common.Address
	LogTopic0        common.Hash
}

func (*LogInfo) Hash

func (l *LogInfo) Hash() []byte

type LogQueryInfo

type LogQueryInfo struct {
	LogIndex         uint64 `json:"log_index"`
	IsValueFromTopic bool   `json:"is_value_from_topic"`
	ValueIndex       uint64 `json:"value_index"`
}

type MemDAL

type MemDAL map[string]mon2.LogEventID

func (MemDAL) GetMonitorBlock

func (d MemDAL) GetMonitorBlock(key string) (uint64, int64, bool, error)

func (MemDAL) SetMonitorBlock

func (d MemDAL) SetMonitorBlock(key string, blockNum uint64, blockIdx int64) error

type MonitorBlock

type MonitorBlock struct {
	Event    string `db:"event"`
	BlockNum uint64 `db:"block_num"`
	BlockIdx int64  `db:"block_idx"`
	Restart  bool   `db:"restart"`
}

DB models

func NewMonitorBlock

func NewMonitorBlock(event string, blockNum uint64, blockIdx int64) *MonitorBlock

type MultiChainConfig

type MultiChainConfig []*OneChainConfig

func GetMcc

func GetMcc(key string) MultiChainConfig

config related defs and func

type OneChain

type OneChain struct {
	*OneChainConfig
	// contains filtered or unexported fields
}

monitor events onchain

func NewOneChain

func NewOneChain(cfg *OneChainConfig) (*OneChain, error)

func (*OneChain) Close

func (c *OneChain) Close()

func (*OneChain) MonBrevisReq

func (c *OneChain) MonBrevisReq()

watch new requests on Brevis contract

type OneChainConfig

type OneChainConfig struct {
	ChainID       uint64
	Name, Gateway string
	// blk related for monitor
	BlkInterval, BlkDelay        uint64
	MaxBlkDelta, ForwardBlkDelay uint64

	Brevis   string // hex addr of brevisRequest contract on this chain, monitor req event
	BrvEigen string // hex addr of BrevisEigen, needed in sign data to avoid replay attack

	BrvRegCo string // registry coordinator address, needed for join
	AVSDir   string // AVSDirectory contract on this chain, needed for salt sig in join

	// gateway only
	OpStateRetriever, BlsApkReg string
	// start query NewPubkeyRegistration from this blk num
	BlsApkStartBlk uint64
}

type OpAddrPubKey

type OpAddrPubKey struct {
	Addr   string `db:"addr"`
	PubKey string `db:"pubkey"`
}

func NewOpAddrPubKey

func NewOpAddrPubKey(addr common.Address, pubKey *OpPubKey) *OpAddrPubKey

type OpAddrPubKeyBO

type OpAddrPubKeyBO struct {
	Addr   common.Address
	PubKey OpPubKey
}

type OpPubKey

type OpPubKey struct {
	G1X   json.RawMessage `json:"g1_x"`
	G1Y   json.RawMessage `json:"g1_y"`
	G2XA0 json.RawMessage `json:"g2_x_a0"`
	G2XA1 json.RawMessage `json:"g2_x_a1"`
	G2YA0 json.RawMessage `json:"g2_y_a0"`
	G2YA1 json.RawMessage `json:"g2_y_a1"`
}

type OpPubKeyMap

type OpPubKeyMap struct {
	// contains filtered or unexported fields
}

simple map of operator id -> pubkey, impl required interface GetOperatorPubkeys

func NewOpPkMap

func NewOpPkMap(ec *ethclient.Client, blsapkAddr Addr, origBlk, maxBlkDelta uint64, dal *DB) (*OpPubKeyMap, error)

start and fill the map by iter through logs async, so map takes a bit time to fill

func (*OpPubKeyMap) AddOpPubkey

func (om *OpPubKeyMap) AddOpPubkey(operator Addr, pk types.OperatorPubkeys)

func (*OpPubKeyMap) GetOperatorPubkeys

func (om *OpPubKeyMap) GetOperatorPubkeys(_ context.Context, operator Addr) (val types.OperatorPubkeys, ok bool)

type Ownable

type Ownable struct {
	OwnableCaller     // Read-only binding to the contract
	OwnableTransactor // Write-only binding to the contract
	OwnableFilterer   // Log filterer for contract events
}

Ownable is an auto generated Go binding around an Ethereum contract.

func NewOwnable

func NewOwnable(address common.Address, backend bind.ContractBackend) (*Ownable, error)

NewOwnable creates a new instance of Ownable, bound to a specific deployed contract.

type OwnableCaller

type OwnableCaller struct {
	// contains filtered or unexported fields
}

OwnableCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewOwnableCaller

func NewOwnableCaller(address common.Address, caller bind.ContractCaller) (*OwnableCaller, error)

NewOwnableCaller creates a new read-only instance of Ownable, bound to a specific deployed contract.

func (*OwnableCaller) Owner

func (_Ownable *OwnableCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

type OwnableCallerRaw

type OwnableCallerRaw struct {
	Contract *OwnableCaller // Generic read-only contract binding to access the raw methods on
}

OwnableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*OwnableCallerRaw) Call

func (_Ownable *OwnableCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type OwnableCallerSession

type OwnableCallerSession struct {
	Contract *OwnableCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts  // Call options to use throughout this session
}

OwnableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*OwnableCallerSession) Owner

func (_Ownable *OwnableCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

type OwnableFilterer

type OwnableFilterer struct {
	// contains filtered or unexported fields
}

OwnableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewOwnableFilterer

func NewOwnableFilterer(address common.Address, filterer bind.ContractFilterer) (*OwnableFilterer, error)

NewOwnableFilterer creates a new log filterer instance of Ownable, bound to a specific deployed contract.

func (*OwnableFilterer) FilterOwnershipTransferred

func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*OwnableFilterer) ParseOwnershipTransferred

func (_Ownable *OwnableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*OwnableFilterer) WatchOwnershipTransferred

func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

type OwnableOwnershipTransferred

type OwnableOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

OwnableOwnershipTransferred represents a OwnershipTransferred event raised by the Ownable contract.

type OwnableOwnershipTransferredIterator

type OwnableOwnershipTransferredIterator struct {
	Event *OwnableOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OwnableOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Ownable contract.

func (*OwnableOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*OwnableOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OwnableOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OwnableRaw

type OwnableRaw struct {
	Contract *Ownable // Generic contract binding to access the raw methods on
}

OwnableRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*OwnableRaw) Call

func (_Ownable *OwnableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*OwnableRaw) Transact

func (_Ownable *OwnableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*OwnableRaw) Transfer

func (_Ownable *OwnableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type OwnableSession

type OwnableSession struct {
	Contract     *Ownable          // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

OwnableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*OwnableSession) Owner

func (_Ownable *OwnableSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*OwnableSession) TransferOwnership

func (_Ownable *OwnableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type OwnableTransactor

type OwnableTransactor struct {
	// contains filtered or unexported fields
}

OwnableTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewOwnableTransactor

func NewOwnableTransactor(address common.Address, transactor bind.ContractTransactor) (*OwnableTransactor, error)

NewOwnableTransactor creates a new write-only instance of Ownable, bound to a specific deployed contract.

func (*OwnableTransactor) TransferOwnership

func (_Ownable *OwnableTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type OwnableTransactorRaw

type OwnableTransactorRaw struct {
	Contract *OwnableTransactor // Generic write-only contract binding to access the raw methods on
}

OwnableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*OwnableTransactorRaw) Transact

func (_Ownable *OwnableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*OwnableTransactorRaw) Transfer

func (_Ownable *OwnableTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type OwnableTransactorSession

type OwnableTransactorSession struct {
	Contract     *OwnableTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts  // Transaction auth options to use throughout this session
}

OwnableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*OwnableTransactorSession) TransferOwnership

func (_Ownable *OwnableTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type PrepareQueryResponse

type PrepareQueryResponse struct {
	QueryHash string `json:"query_hash"`
	Fee       string `json:"fee"`
}

type Query

type Query struct {
	Hash          string `db:"hash"`
	ChainId       uint64 `db:"chain_id"`
	TargetChainId uint64 `db:"target_chain_id"`
	RequestData   string `db:"request_data"`
	Fee           string `db:"fee"`
	Status        uint64 `db:"status"`
	FulfillTx     string `db:"tx"`

	CreateTime time.Time `db:"create_time"`
	UpdateTime time.Time `db:"update_time"`
}

func NewQuery

func NewQuery(hash string, chainId, targetChainId uint64, requestData *RequestData, fee string) *Query

type RLPReader

type RLPReader struct {
	RLPReaderCaller     // Read-only binding to the contract
	RLPReaderTransactor // Write-only binding to the contract
	RLPReaderFilterer   // Log filterer for contract events
}

RLPReader is an auto generated Go binding around an Ethereum contract.

func DeployRLPReader

func DeployRLPReader(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *RLPReader, error)

DeployRLPReader deploys a new Ethereum contract, binding an instance of RLPReader to it.

func NewRLPReader

func NewRLPReader(address common.Address, backend bind.ContractBackend) (*RLPReader, error)

NewRLPReader creates a new instance of RLPReader, bound to a specific deployed contract.

type RLPReaderCaller

type RLPReaderCaller struct {
	// contains filtered or unexported fields
}

RLPReaderCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewRLPReaderCaller

func NewRLPReaderCaller(address common.Address, caller bind.ContractCaller) (*RLPReaderCaller, error)

NewRLPReaderCaller creates a new read-only instance of RLPReader, bound to a specific deployed contract.

type RLPReaderCallerRaw

type RLPReaderCallerRaw struct {
	Contract *RLPReaderCaller // Generic read-only contract binding to access the raw methods on
}

RLPReaderCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*RLPReaderCallerRaw) Call

func (_RLPReader *RLPReaderCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type RLPReaderCallerSession

type RLPReaderCallerSession struct {
	Contract *RLPReaderCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts    // Call options to use throughout this session
}

RLPReaderCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type RLPReaderFilterer

type RLPReaderFilterer struct {
	// contains filtered or unexported fields
}

RLPReaderFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewRLPReaderFilterer

func NewRLPReaderFilterer(address common.Address, filterer bind.ContractFilterer) (*RLPReaderFilterer, error)

NewRLPReaderFilterer creates a new log filterer instance of RLPReader, bound to a specific deployed contract.

type RLPReaderRaw

type RLPReaderRaw struct {
	Contract *RLPReader // Generic contract binding to access the raw methods on
}

RLPReaderRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*RLPReaderRaw) Call

func (_RLPReader *RLPReaderRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*RLPReaderRaw) Transact

func (_RLPReader *RLPReaderRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*RLPReaderRaw) Transfer

func (_RLPReader *RLPReaderRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type RLPReaderSession

type RLPReaderSession struct {
	Contract     *RLPReader        // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

RLPReaderSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

type RLPReaderTransactor

type RLPReaderTransactor struct {
	// contains filtered or unexported fields
}

RLPReaderTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewRLPReaderTransactor

func NewRLPReaderTransactor(address common.Address, transactor bind.ContractTransactor) (*RLPReaderTransactor, error)

NewRLPReaderTransactor creates a new write-only instance of RLPReader, bound to a specific deployed contract.

type RLPReaderTransactorRaw

type RLPReaderTransactorRaw struct {
	Contract *RLPReaderTransactor // Generic write-only contract binding to access the raw methods on
}

RLPReaderTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*RLPReaderTransactorRaw) Transact

func (_RLPReader *RLPReaderTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*RLPReaderTransactorRaw) Transfer

func (_RLPReader *RLPReaderTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type RLPReaderTransactorSession

type RLPReaderTransactorSession struct {
	Contract     *RLPReaderTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts    // Transaction auth options to use throughout this session
}

RLPReaderTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type ReceiptInfo

type ReceiptInfo struct {
	BlkNum       uint64
	ReceiptIndex uint64
	Logs         []*LogInfo
}

func (*ReceiptInfo) Hash

func (r *ReceiptInfo) Hash() []byte

type ReceiptQueryInfo

type ReceiptQueryInfo struct {
	TxHash        string          `json:"tx_hash"`
	LogQueryInfos []*LogQueryInfo `json:"log_query_infos"`
}

type ReqInfo

type ReqInfo struct {
	Id     [32]byte // reqid
	BlkNum uint64   // blk num
}

type RequestData

type RequestData struct {
	ChainId               uint64                  `json:"chain_id"`
	ReceiptQueryInfos     []*ReceiptQueryInfo     `json:"receipt_query_infos"`
	StorageQueryInfos     []*StorageQueryInfo     `json:"storage_query_infos"`
	TransactionQueryInfos []*TransactionQueryInfo `json:"transaction_query_infos"`
	TargetChainId         uint64                  `json:"target_chain_id"`
}

type RequestFilledData

type RequestFilledData struct {
	ChainId          uint64
	ReceiptInfos     []*ReceiptInfo
	StorageInfos     []*StorageInfo
	TransactionInfos []*TransactionInfo
}

func (*RequestFilledData) Hash

func (data *RequestFilledData) Hash() []byte

type SafeERC20

type SafeERC20 struct {
	SafeERC20Caller     // Read-only binding to the contract
	SafeERC20Transactor // Write-only binding to the contract
	SafeERC20Filterer   // Log filterer for contract events
}

SafeERC20 is an auto generated Go binding around an Ethereum contract.

func DeploySafeERC20

func DeploySafeERC20(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeERC20, error)

DeploySafeERC20 deploys a new Ethereum contract, binding an instance of SafeERC20 to it.

func NewSafeERC20

func NewSafeERC20(address common.Address, backend bind.ContractBackend) (*SafeERC20, error)

NewSafeERC20 creates a new instance of SafeERC20, bound to a specific deployed contract.

type SafeERC20Caller

type SafeERC20Caller struct {
	// contains filtered or unexported fields
}

SafeERC20Caller is an auto generated read-only Go binding around an Ethereum contract.

func NewSafeERC20Caller

func NewSafeERC20Caller(address common.Address, caller bind.ContractCaller) (*SafeERC20Caller, error)

NewSafeERC20Caller creates a new read-only instance of SafeERC20, bound to a specific deployed contract.

type SafeERC20CallerRaw

type SafeERC20CallerRaw struct {
	Contract *SafeERC20Caller // Generic read-only contract binding to access the raw methods on
}

SafeERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*SafeERC20CallerRaw) Call

func (_SafeERC20 *SafeERC20CallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type SafeERC20CallerSession

type SafeERC20CallerSession struct {
	Contract *SafeERC20Caller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts    // Call options to use throughout this session
}

SafeERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type SafeERC20Filterer

type SafeERC20Filterer struct {
	// contains filtered or unexported fields
}

SafeERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewSafeERC20Filterer

func NewSafeERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*SafeERC20Filterer, error)

NewSafeERC20Filterer creates a new log filterer instance of SafeERC20, bound to a specific deployed contract.

type SafeERC20Raw

type SafeERC20Raw struct {
	Contract *SafeERC20 // Generic contract binding to access the raw methods on
}

SafeERC20Raw is an auto generated low-level Go binding around an Ethereum contract.

func (*SafeERC20Raw) Call

func (_SafeERC20 *SafeERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*SafeERC20Raw) Transact

func (_SafeERC20 *SafeERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SafeERC20Raw) Transfer

func (_SafeERC20 *SafeERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type SafeERC20Session

type SafeERC20Session struct {
	Contract     *SafeERC20        // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

SafeERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

type SafeERC20Transactor

type SafeERC20Transactor struct {
	// contains filtered or unexported fields
}

SafeERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.

func NewSafeERC20Transactor

func NewSafeERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*SafeERC20Transactor, error)

NewSafeERC20Transactor creates a new write-only instance of SafeERC20, bound to a specific deployed contract.

type SafeERC20TransactorRaw

type SafeERC20TransactorRaw struct {
	Contract *SafeERC20Transactor // Generic write-only contract binding to access the raw methods on
}

SafeERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*SafeERC20TransactorRaw) Transact

func (_SafeERC20 *SafeERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SafeERC20TransactorRaw) Transfer

func (_SafeERC20 *SafeERC20TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type SafeERC20TransactorSession

type SafeERC20TransactorSession struct {
	Contract     *SafeERC20Transactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts    // Transaction auth options to use throughout this session
}

SafeERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type Server

type Server struct {
	// contains filtered or unexported fields
}
var GwServer *Server

func (*Server) DoFulfill

func (s *Server) DoFulfill(brvReq *BrevisRequest)

func (*Server) Forever

func (s *Server) Forever(brvEigen *BrevEigen)

block on blsSvc resp, and submit onchain

func (*Server) HandleGetQueryInfo

func (s *Server) HandleGetQueryInfo(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (*Server) HandlePrepareQuery

func (s *Server) HandlePrepareQuery(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (*Server) HandleSig

func (s *Server) HandleSig(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (*Server) SetNewReq

func (s *Server) SetNewReq(reqid [32]byte, blk uint64) uint32

lock, incr taskIdx, update maps, return the new taskIdx

func (*Server) TryGetTaskIdx

func (s *Server) TryGetTaskIdx(reqid [32]byte) (uint32, bool)

type SigReq

type SigReq struct {
	Chainid, Blknum uint64
	// my sig
	Sig bls.Signature
}

send sig to brevis gw

type StorageInfo

type StorageInfo struct {
	BlkHash   common.Hash
	Account   common.Address
	Slot      common.Hash
	SlotValue [32]byte
	BlkNum    uint64
}

func (*StorageInfo) Hash

func (s *StorageInfo) Hash() []byte

type StorageQueryInfo

type StorageQueryInfo struct {
	BlkHash string `json:"blk_hash"`
	Account string `json:"account"`
	Slot    string `json:"slot"`
}

type TransactionInfo

type TransactionInfo struct {
	TxHash          common.Hash
	HashOfRawTxData common.Hash
	BlkHash         common.Hash
	BlkNum          uint64
}

func (*TransactionInfo) Hash

func (t *TransactionInfo) Hash() []byte

type TransactionQueryInfo

type TransactionQueryInfo struct {
	TxHash string `json:"tx_hash"`
}

type Tx

type Tx struct {
	TxCaller     // Read-only binding to the contract
	TxTransactor // Write-only binding to the contract
	TxFilterer   // Log filterer for contract events
}

Tx is an auto generated Go binding around an Ethereum contract.

func DeployTx

func DeployTx(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Tx, error)

DeployTx deploys a new Ethereum contract, binding an instance of Tx to it.

func NewTx

func NewTx(address common.Address, backend bind.ContractBackend) (*Tx, error)

NewTx creates a new instance of Tx, bound to a specific deployed contract.

type TxCaller

type TxCaller struct {
	// contains filtered or unexported fields
}

TxCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewTxCaller

func NewTxCaller(address common.Address, caller bind.ContractCaller) (*TxCaller, error)

NewTxCaller creates a new read-only instance of Tx, bound to a specific deployed contract.

func (*TxCaller) DecodeTx

func (_Tx *TxCaller) DecodeTx(opts *bind.CallOpts, txRaw []byte) (TxTxInfo, error)

DecodeTx is a free data retrieval call binding the contract method 0xdae029d3.

Solidity: function decodeTx(bytes txRaw) pure returns((uint64,uint64,uint256,uint256,uint256,address,uint256,bytes,address) info)

type TxCallerRaw

type TxCallerRaw struct {
	Contract *TxCaller // Generic read-only contract binding to access the raw methods on
}

TxCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*TxCallerRaw) Call

func (_Tx *TxCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type TxCallerSession

type TxCallerSession struct {
	Contract *TxCaller     // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

TxCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*TxCallerSession) DecodeTx

func (_Tx *TxCallerSession) DecodeTx(txRaw []byte) (TxTxInfo, error)

DecodeTx is a free data retrieval call binding the contract method 0xdae029d3.

Solidity: function decodeTx(bytes txRaw) pure returns((uint64,uint64,uint256,uint256,uint256,address,uint256,bytes,address) info)

type TxFilterer

type TxFilterer struct {
	// contains filtered or unexported fields
}

TxFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewTxFilterer

func NewTxFilterer(address common.Address, filterer bind.ContractFilterer) (*TxFilterer, error)

NewTxFilterer creates a new log filterer instance of Tx, bound to a specific deployed contract.

type TxRaw

type TxRaw struct {
	Contract *Tx // Generic contract binding to access the raw methods on
}

TxRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*TxRaw) Call

func (_Tx *TxRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*TxRaw) Transact

func (_Tx *TxRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*TxRaw) Transfer

func (_Tx *TxRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type TxSession

type TxSession struct {
	Contract     *Tx               // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

TxSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*TxSession) DecodeTx

func (_Tx *TxSession) DecodeTx(txRaw []byte) (TxTxInfo, error)

DecodeTx is a free data retrieval call binding the contract method 0xdae029d3.

Solidity: function decodeTx(bytes txRaw) pure returns((uint64,uint64,uint256,uint256,uint256,address,uint256,bytes,address) info)

type TxTransactor

type TxTransactor struct {
	// contains filtered or unexported fields
}

TxTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewTxTransactor

func NewTxTransactor(address common.Address, transactor bind.ContractTransactor) (*TxTransactor, error)

NewTxTransactor creates a new write-only instance of Tx, bound to a specific deployed contract.

type TxTransactorRaw

type TxTransactorRaw struct {
	Contract *TxTransactor // Generic write-only contract binding to access the raw methods on
}

TxTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*TxTransactorRaw) Transact

func (_Tx *TxTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*TxTransactorRaw) Transfer

func (_Tx *TxTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type TxTransactorSession

type TxTransactorSession struct {
	Contract     *TxTransactor     // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

TxTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type TxTxInfo

type TxTxInfo struct {
	ChainId   uint64
	Nonce     uint64
	GasTipCap *big.Int
	GasFeeCap *big.Int
	Gas       *big.Int
	To        common.Address
	Value     *big.Int
	Data      []byte
	From      common.Address
}

TxTxInfo is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL