errored_verifier

package
v2.4.1-scale-20230818 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErroredVerifierABI = ErroredVerifierMetaData.ABI
View Source
var ErroredVerifierBin = ErroredVerifierMetaData.Bin
View Source
var ErroredVerifierMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"activateConfig\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"activateFeed\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"deactivateConfig\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"deactivateFeed\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"latestConfigDetails\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"latestConfigDigestAndEpoch\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"weight\",\"type\":\"uint256\"}],\"internalType\":\"structCommon.AddressAndWeight[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"name\":\"setConfig\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"verify\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b50610ab7806100206000396000f3fe608060405234801561001057600080fd5b50600436106100a35760003560e01c8063564a0a7a11610076578063b70d929d1161005b578063b70d929d14610180578063ded6307c146101b6578063e84f128e146101c957600080fd5b8063564a0a7a1461015a57806394d959801461016d57600080fd5b806301ffc9a7146100a85780633d3ac1b5146101125780633dd864301461013257806352ba27d614610147575b600080fd5b6100fd6100b6366004610571565b7fffffffff00000000000000000000000000000000000000000000000000000000167f3d3ac1b5000000000000000000000000000000000000000000000000000000001490565b60405190151581526020015b60405180910390f35b610125610120366004610718565b6101ff565b6040516101099190610766565b6101456101403660046107d2565b610269565b005b61014561015536600461098b565b6102cb565b6101456101683660046107d2565b61032d565b61014561017b366004610a88565b61038f565b61019361018e3660046107d2565b6103f1565b604080519315158452602084019290925263ffffffff1690820152606001610109565b6101456101c4366004610a88565b610480565b6101dc6101d73660046107d2565b6104e2565b6040805163ffffffff948516815293909216602084015290820152606001610109565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f4661696c656420746f207665726966790000000000000000000000000000000060448201526060906064015b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4661696c656420746f20616374697661746520666565640000000000000000006044820152606401610260565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4661696c656420746f2073657420636f6e6669670000000000000000000000006044820152606401610260565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4661696c656420746f20646561637469766174652066656564000000000000006044820152606401610260565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4661696c656420746f206465616374697661746520636f6e66696700000000006044820152606401610260565b60008060006040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610260906020808252602c908201527f4661696c656420746f20676574206c617465737420636f6e666967206469676560408201527f737420616e642065706f63680000000000000000000000000000000000000000606082015260800190565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4661696c656420746f20616374697661746520636f6e666967000000000000006044820152606401610260565b60008060006040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102609060208082526023908201527f4661696c656420746f20676574206c617465737420636f6e666967206465746160408201527f696c730000000000000000000000000000000000000000000000000000000000606082015260800190565b60006020828403121561058357600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146105b357600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040805190810167ffffffffffffffff8111828210171561060c5761060c6105ba565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715610659576106596105ba565b604052919050565b600082601f83011261067257600080fd5b813567ffffffffffffffff81111561068c5761068c6105ba565b6106bd60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601610612565b8181528460208386010111156106d257600080fd5b816020850160208301376000918101602001919091529392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461071357600080fd5b919050565b6000806040838503121561072b57600080fd5b823567ffffffffffffffff81111561074257600080fd5b61074e85828601610661565b92505061075d602084016106ef565b90509250929050565b600060208083528351808285015260005b8181101561079357858101830151858201604001528201610777565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b6000602082840312156107e457600080fd5b5035919050565b600067ffffffffffffffff821115610805576108056105ba565b5060051b60200190565b600082601f83011261082057600080fd5b81356020610835610830836107eb565b610612565b82815260059290921b8401810191818101908684111561085457600080fd5b8286015b8481101561087657610869816106ef565b8352918301918301610858565b509695505050505050565b600082601f83011261089257600080fd5b813560206108a2610830836107eb565b82815260059290921b840181019181810190868411156108c157600080fd5b8286015b8481101561087657803583529183019183016108c5565b803560ff8116811461071357600080fd5b803567ffffffffffffffff8116811461071357600080fd5b600082601f83011261091657600080fd5b81356020610926610830836107eb565b82815260069290921b8401810191818101908684111561094557600080fd5b8286015b8481101561087657604081890312156109625760008081fd5b61096a6105e9565b610973826106ef565b81528185013585820152835291830191604001610949565b600080600080600080600080610100898b0312156109a857600080fd5b88359750602089013567ffffffffffffffff808211156109c757600080fd5b6109d38c838d0161080f565b985060408b01359150808211156109e957600080fd5b6109f58c838d01610881565b9750610a0360608c016108dc565b965060808b0135915080821115610a1957600080fd5b610a258c838d01610661565b9550610a3360a08c016108ed565b945060c08b0135915080821115610a4957600080fd5b610a558c838d01610661565b935060e08b0135915080821115610a6b57600080fd5b50610a788b828c01610905565b9150509295985092959890939650565b60008060408385031215610a9b57600080fd5b5050803592602090910135915056fea164736f6c6343000810000a",
}

Functions

This section is empty.

Types

type CommonAddressAndWeight

type CommonAddressAndWeight struct {
	Addr   common.Address
	Weight *big.Int
}

type ErroredVerifier

type ErroredVerifier struct {
	ErroredVerifierCaller
	ErroredVerifierTransactor
	ErroredVerifierFilterer
	// contains filtered or unexported fields
}

func NewErroredVerifier

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

func (*ErroredVerifier) Address

func (_ErroredVerifier *ErroredVerifier) Address() common.Address

type ErroredVerifierCaller

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

func NewErroredVerifierCaller

func NewErroredVerifierCaller(address common.Address, caller bind.ContractCaller) (*ErroredVerifierCaller, error)

func (*ErroredVerifierCaller) ActivateConfig

func (_ErroredVerifier *ErroredVerifierCaller) ActivateConfig(opts *bind.CallOpts, arg0 [32]byte, arg1 [32]byte) error

func (*ErroredVerifierCaller) ActivateFeed

func (_ErroredVerifier *ErroredVerifierCaller) ActivateFeed(opts *bind.CallOpts, arg0 [32]byte) error

func (*ErroredVerifierCaller) DeactivateConfig

func (_ErroredVerifier *ErroredVerifierCaller) DeactivateConfig(opts *bind.CallOpts, arg0 [32]byte, arg1 [32]byte) error

func (*ErroredVerifierCaller) DeactivateFeed

func (_ErroredVerifier *ErroredVerifierCaller) DeactivateFeed(opts *bind.CallOpts, arg0 [32]byte) error

func (*ErroredVerifierCaller) LatestConfigDetails

func (_ErroredVerifier *ErroredVerifierCaller) LatestConfigDetails(opts *bind.CallOpts, arg0 [32]byte) (uint32, uint32, [32]byte, error)

func (*ErroredVerifierCaller) LatestConfigDigestAndEpoch

func (_ErroredVerifier *ErroredVerifierCaller) LatestConfigDigestAndEpoch(opts *bind.CallOpts, arg0 [32]byte) (bool, [32]byte, uint32, error)

func (*ErroredVerifierCaller) SetConfig

func (_ErroredVerifier *ErroredVerifierCaller) SetConfig(opts *bind.CallOpts, arg0 [32]byte, arg1 []common.Address, arg2 [][32]byte, arg3 uint8, arg4 []byte, arg5 uint64, arg6 []byte, arg7 []CommonAddressAndWeight) error

func (*ErroredVerifierCaller) SupportsInterface

func (_ErroredVerifier *ErroredVerifierCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

func (*ErroredVerifierCaller) Verify

func (_ErroredVerifier *ErroredVerifierCaller) Verify(opts *bind.CallOpts, arg0 []byte, arg1 common.Address) ([]byte, error)

type ErroredVerifierCallerRaw

type ErroredVerifierCallerRaw struct {
	Contract *ErroredVerifierCaller
}

func (*ErroredVerifierCallerRaw) Call

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

type ErroredVerifierCallerSession

type ErroredVerifierCallerSession struct {
	Contract *ErroredVerifierCaller
	CallOpts bind.CallOpts
}

func (*ErroredVerifierCallerSession) ActivateConfig

func (_ErroredVerifier *ErroredVerifierCallerSession) ActivateConfig(arg0 [32]byte, arg1 [32]byte) error

func (*ErroredVerifierCallerSession) ActivateFeed

func (_ErroredVerifier *ErroredVerifierCallerSession) ActivateFeed(arg0 [32]byte) error

func (*ErroredVerifierCallerSession) DeactivateConfig

func (_ErroredVerifier *ErroredVerifierCallerSession) DeactivateConfig(arg0 [32]byte, arg1 [32]byte) error

func (*ErroredVerifierCallerSession) DeactivateFeed

func (_ErroredVerifier *ErroredVerifierCallerSession) DeactivateFeed(arg0 [32]byte) error

func (*ErroredVerifierCallerSession) LatestConfigDetails

func (_ErroredVerifier *ErroredVerifierCallerSession) LatestConfigDetails(arg0 [32]byte) (uint32, uint32, [32]byte, error)

func (*ErroredVerifierCallerSession) LatestConfigDigestAndEpoch

func (_ErroredVerifier *ErroredVerifierCallerSession) LatestConfigDigestAndEpoch(arg0 [32]byte) (bool, [32]byte, uint32, error)

func (*ErroredVerifierCallerSession) SetConfig

func (_ErroredVerifier *ErroredVerifierCallerSession) SetConfig(arg0 [32]byte, arg1 []common.Address, arg2 [][32]byte, arg3 uint8, arg4 []byte, arg5 uint64, arg6 []byte, arg7 []CommonAddressAndWeight) error

func (*ErroredVerifierCallerSession) SupportsInterface

func (_ErroredVerifier *ErroredVerifierCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

func (*ErroredVerifierCallerSession) Verify

func (_ErroredVerifier *ErroredVerifierCallerSession) Verify(arg0 []byte, arg1 common.Address) ([]byte, error)

type ErroredVerifierFilterer

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

func NewErroredVerifierFilterer

func NewErroredVerifierFilterer(address common.Address, filterer bind.ContractFilterer) (*ErroredVerifierFilterer, error)

type ErroredVerifierInterface

type ErroredVerifierInterface interface {
	ActivateConfig(opts *bind.CallOpts, arg0 [32]byte, arg1 [32]byte) error

	ActivateFeed(opts *bind.CallOpts, arg0 [32]byte) error

	DeactivateConfig(opts *bind.CallOpts, arg0 [32]byte, arg1 [32]byte) error

	DeactivateFeed(opts *bind.CallOpts, arg0 [32]byte) error

	LatestConfigDetails(opts *bind.CallOpts, arg0 [32]byte) (uint32, uint32, [32]byte, error)

	LatestConfigDigestAndEpoch(opts *bind.CallOpts, arg0 [32]byte) (bool, [32]byte, uint32, error)

	SetConfig(opts *bind.CallOpts, arg0 [32]byte, arg1 []common.Address, arg2 [][32]byte, arg3 uint8, arg4 []byte, arg5 uint64, arg6 []byte, arg7 []CommonAddressAndWeight) error

	SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

	Verify(opts *bind.CallOpts, arg0 []byte, arg1 common.Address) ([]byte, error)

	Address() common.Address
}

type ErroredVerifierRaw

type ErroredVerifierRaw struct {
	Contract *ErroredVerifier
}

func (*ErroredVerifierRaw) Call

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

func (*ErroredVerifierRaw) Transact

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

func (*ErroredVerifierRaw) Transfer

func (_ErroredVerifier *ErroredVerifierRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type ErroredVerifierSession

type ErroredVerifierSession struct {
	Contract     *ErroredVerifier
	CallOpts     bind.CallOpts
	TransactOpts bind.TransactOpts
}

func (*ErroredVerifierSession) ActivateConfig

func (_ErroredVerifier *ErroredVerifierSession) ActivateConfig(arg0 [32]byte, arg1 [32]byte) error

func (*ErroredVerifierSession) ActivateFeed

func (_ErroredVerifier *ErroredVerifierSession) ActivateFeed(arg0 [32]byte) error

func (*ErroredVerifierSession) DeactivateConfig

func (_ErroredVerifier *ErroredVerifierSession) DeactivateConfig(arg0 [32]byte, arg1 [32]byte) error

func (*ErroredVerifierSession) DeactivateFeed

func (_ErroredVerifier *ErroredVerifierSession) DeactivateFeed(arg0 [32]byte) error

func (*ErroredVerifierSession) LatestConfigDetails

func (_ErroredVerifier *ErroredVerifierSession) LatestConfigDetails(arg0 [32]byte) (uint32, uint32, [32]byte, error)

func (*ErroredVerifierSession) LatestConfigDigestAndEpoch

func (_ErroredVerifier *ErroredVerifierSession) LatestConfigDigestAndEpoch(arg0 [32]byte) (bool, [32]byte, uint32, error)

func (*ErroredVerifierSession) SetConfig

func (_ErroredVerifier *ErroredVerifierSession) SetConfig(arg0 [32]byte, arg1 []common.Address, arg2 [][32]byte, arg3 uint8, arg4 []byte, arg5 uint64, arg6 []byte, arg7 []CommonAddressAndWeight) error

func (*ErroredVerifierSession) SupportsInterface

func (_ErroredVerifier *ErroredVerifierSession) SupportsInterface(interfaceId [4]byte) (bool, error)

func (*ErroredVerifierSession) Verify

func (_ErroredVerifier *ErroredVerifierSession) Verify(arg0 []byte, arg1 common.Address) ([]byte, error)

type ErroredVerifierTransactor

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

func NewErroredVerifierTransactor

func NewErroredVerifierTransactor(address common.Address, transactor bind.ContractTransactor) (*ErroredVerifierTransactor, error)

type ErroredVerifierTransactorRaw

type ErroredVerifierTransactorRaw struct {
	Contract *ErroredVerifierTransactor
}

func (*ErroredVerifierTransactorRaw) Transact

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

func (*ErroredVerifierTransactorRaw) Transfer

func (_ErroredVerifier *ErroredVerifierTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type ErroredVerifierTransactorSession

type ErroredVerifierTransactorSession struct {
	Contract     *ErroredVerifierTransactor
	TransactOpts bind.TransactOpts
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL