mock_aggregator_proxy

package
v2.1.0-mercury-20230522 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MockAggregatorProxyABI = MockAggregatorProxyMetaData.ABI
View Source
var MockAggregatorProxyBin = MockAggregatorProxyMetaData.Bin
View Source
var MockAggregatorProxyMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"aggregator\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"aggregator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"aggregator\",\"type\":\"address\"}],\"name\":\"updateAggregator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b5060405161019138038061019183398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b60ff806100926000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c8063245a7bfc1460375780639fe4ee47146063575b600080fd5b6000546040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b60b5606e36600460b7565b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b005b60006020828403121560c857600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811460eb57600080fd5b939250505056fea164736f6c6343000806000a",
}

Functions

This section is empty.

Types

type MockAggregatorProxy

type MockAggregatorProxy struct {
	MockAggregatorProxyCaller
	MockAggregatorProxyTransactor
	MockAggregatorProxyFilterer
	// contains filtered or unexported fields
}

func DeployMockAggregatorProxy

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

func NewMockAggregatorProxy

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

func (*MockAggregatorProxy) Address

func (_MockAggregatorProxy *MockAggregatorProxy) Address() common.Address

type MockAggregatorProxyCaller

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

func NewMockAggregatorProxyCaller

func NewMockAggregatorProxyCaller(address common.Address, caller bind.ContractCaller) (*MockAggregatorProxyCaller, error)

func (*MockAggregatorProxyCaller) Aggregator

func (_MockAggregatorProxy *MockAggregatorProxyCaller) Aggregator(opts *bind.CallOpts) (common.Address, error)

type MockAggregatorProxyCallerRaw

type MockAggregatorProxyCallerRaw struct {
	Contract *MockAggregatorProxyCaller
}

func (*MockAggregatorProxyCallerRaw) Call

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

type MockAggregatorProxyCallerSession

type MockAggregatorProxyCallerSession struct {
	Contract *MockAggregatorProxyCaller
	CallOpts bind.CallOpts
}

func (*MockAggregatorProxyCallerSession) Aggregator

func (_MockAggregatorProxy *MockAggregatorProxyCallerSession) Aggregator() (common.Address, error)

type MockAggregatorProxyFilterer

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

func NewMockAggregatorProxyFilterer

func NewMockAggregatorProxyFilterer(address common.Address, filterer bind.ContractFilterer) (*MockAggregatorProxyFilterer, error)

type MockAggregatorProxyInterface

type MockAggregatorProxyInterface interface {
	Aggregator(opts *bind.CallOpts) (common.Address, error)

	UpdateAggregator(opts *bind.TransactOpts, aggregator common.Address) (*types.Transaction, error)

	Address() common.Address
}

type MockAggregatorProxyRaw

type MockAggregatorProxyRaw struct {
	Contract *MockAggregatorProxy
}

func (*MockAggregatorProxyRaw) Call

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

func (*MockAggregatorProxyRaw) Transact

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

func (*MockAggregatorProxyRaw) Transfer

func (_MockAggregatorProxy *MockAggregatorProxyRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type MockAggregatorProxySession

type MockAggregatorProxySession struct {
	Contract     *MockAggregatorProxy
	CallOpts     bind.CallOpts
	TransactOpts bind.TransactOpts
}

func (*MockAggregatorProxySession) Aggregator

func (_MockAggregatorProxy *MockAggregatorProxySession) Aggregator() (common.Address, error)

func (*MockAggregatorProxySession) UpdateAggregator

func (_MockAggregatorProxy *MockAggregatorProxySession) UpdateAggregator(aggregator common.Address) (*types.Transaction, error)

type MockAggregatorProxyTransactor

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

func NewMockAggregatorProxyTransactor

func NewMockAggregatorProxyTransactor(address common.Address, transactor bind.ContractTransactor) (*MockAggregatorProxyTransactor, error)

func (*MockAggregatorProxyTransactor) UpdateAggregator

func (_MockAggregatorProxy *MockAggregatorProxyTransactor) UpdateAggregator(opts *bind.TransactOpts, aggregator common.Address) (*types.Transaction, error)

type MockAggregatorProxyTransactorRaw

type MockAggregatorProxyTransactorRaw struct {
	Contract *MockAggregatorProxyTransactor
}

func (*MockAggregatorProxyTransactorRaw) Transact

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

func (*MockAggregatorProxyTransactorRaw) Transfer

func (_MockAggregatorProxy *MockAggregatorProxyTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type MockAggregatorProxyTransactorSession

type MockAggregatorProxyTransactorSession struct {
	Contract     *MockAggregatorProxyTransactor
	TransactOpts bind.TransactOpts
}

func (*MockAggregatorProxyTransactorSession) UpdateAggregator

func (_MockAggregatorProxy *MockAggregatorProxyTransactorSession) UpdateAggregator(aggregator common.Address) (*types.Transaction, error)

Jump to

Keyboard shortcuts

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